/* Polices hébergées sur le site (licence SIL OFL, voir assets/fonts) */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff") format("woff"); font-weight: 300 500; font-style: normal; font-display: swap }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff") format("woff"); font-weight: 300 500; font-style: italic; font-display: swap }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap }
/* Eco Clean Green — feuille de styles
   Direction : sauge très clair, vert de la marque, accent tilleul ; titres Fraunces, texte Instrument Sans.
   Mise en page : itinéraire 3D plein écran, puis blocs arrondis posés sur un fond sauge. */
:root {
  --bg: #eef3ec;
  --paper: #fbfcf9;
  --ink: #132219;
  --muted: #55655a;
  --green: #2e6230;
  --deep: #163521;
  --lime: #cfe58a;
  --water: #3f8fb0;
  --line: rgba(19, 34, 25, .12);
  --line-d: rgba(251, 252, 249, .18);
  --soft-d: rgba(251, 252, 249, .72);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --r-lg: 28px;
  --r-md: 18px;
  --pad: clamp(16px, 4vw, 44px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box }
[hidden] { display: none !important }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden }
img { max-width: 100%; display: block }
a { color: inherit }
p { margin: 0 }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; text-wrap: balance; font-variation-settings: normal }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.04 }
h2 i, h1 i { color: var(--green); font-style: italic; font-weight: 350 }
button { font: inherit; color: inherit }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px }
.shell { max-width: 1260px; margin: 0 auto; padding-inline: var(--pad) }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--sans); color: var(--green); background: #e1ecd9; padding: 8px 12px; border-radius: 999px }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor }
.on-dark .tag { background: rgba(207, 229, 138, .14); color: var(--lime) }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 54ch }
.on-dark .lead { color: var(--soft-d) }
.block { padding-block: clamp(64px, 9vw, 120px) }
.head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 48px; align-items: end }
.head .tag { grid-column: 1 / -1; justify-self: start }
@media (max-width: 860px) { .head { grid-template-columns: 1fr } }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 14px; font: 600 15px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; background: var(--green); color: #fff; transition: transform .25s, background .25s }
.cta:hover { background: var(--deep); transform: translateY(-2px) }
.cta.ghost { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line) }
.cta.ghost:hover { background: #fff }
.cta svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2 }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important } }

/* Barre de navigation flottante */
.bar { position: fixed; z-index: 50; top: calc(env(safe-area-inset-top, 0px) + 12px); left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 24px)); display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 16px; border-radius: 20px; background: rgba(251, 252, 249, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 30px -12px rgba(19, 34, 25, .25) }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--green); margin-right: auto }
.logo img { width: 34px; height: 34px }
.logo b { font: 700 18px/1 var(--sans); letter-spacing: -.01em }
.menu { display: flex; gap: 4px }
.menu a { text-decoration: none; font: 500 14.5px/1 var(--sans); color: var(--muted); padding: 10px 12px; border-radius: 10px; transition: background .2s, color .2s }
.menu a:hover, .menu a[aria-current="true"] { background: #e3ecdd; color: var(--ink) }
.bar .cta { padding: 12px 16px; font-size: 14px; white-space: nowrap }
.bar .short { display: none }
@media (max-width: 480px) { .bar .long { display: none } .bar .short { display: inline } .logo b { font-size: 16px } }
@media (max-width: 960px) { .menu { display: none } }

/* Parcours 3D */
#film, #parcours { position: relative; height: 620vh; background: linear-gradient(180deg, #a9c6dc 0%, #e8ecdf 55%, #dfe7d4 100%) }
#film .stage, #parcours .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden }
#scene3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block }
#film.no3d .stage, #parcours.no3d .stage { background: url("../img/vue.jpg") center / cover no-repeat }
.veil { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(19, 34, 25, .35) 100%), linear-gradient(0deg, rgba(19, 34, 25, .38) 0%, transparent 38%) }
.stopcard { position: absolute; left: var(--pad); bottom: clamp(24px, 6vh, 64px); width: min(560px, calc(100% - 2 * var(--pad) - 210px)); padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-lg); background: rgba(251, 252, 249, .82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 30px 60px -30px rgba(10, 30, 15, .45); display: grid; gap: 14px; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1); pointer-events: none }
.stopcard.on { opacity: 1; transform: none; pointer-events: auto }
.stopcard .step { font: 600 13px/1 var(--sans); color: var(--muted) }
.stopcard .step b { color: var(--green) }
.stopcard h1, .stopcard h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04 }
.stopcard.intro { width: min(680px, calc(100% - 2 * var(--pad) - 210px)) }
.stopcard.intro h1 { font-size: clamp(38px, 5.2vw, 70px) }
.stopcard p { color: var(--muted) }
.stopcard .go { justify-self: start; display: inline-flex; gap: 8px; align-items: center; font: 600 15px/1 var(--sans); color: var(--green); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 4px }
.stopcard .row { display: flex; flex-wrap: wrap; gap: 10px }
.route { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; padding: 12px; border-radius: 22px; background: rgba(251, 252, 249, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px) }
.route::before { content: ""; position: absolute; left: 27px; top: 26px; bottom: 26px; width: 2px; background: var(--line) }
.route i { position: absolute; left: 27px; top: 26px; width: 2px; height: 0; background: var(--green); transition: height .3s }
.route button { all: unset; position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 12px; cursor: pointer; font: 500 14px/1.2 var(--sans); color: var(--muted); transition: background .2s, color .2s }
.route button::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px #a7b5a9; flex: none; transition: background .2s, box-shadow .2s; position: relative; z-index: 1 }
.route button.done::before { background: var(--green); box-shadow: inset 0 0 0 2px var(--green) }
.route button.on { background: #fff; color: var(--ink); font-weight: 600 }
.route button.on::before { background: var(--lime); box-shadow: inset 0 0 0 3px var(--green) }
.route button:hover { color: var(--ink) }
.route button:focus-visible { outline: 2px solid var(--green) }
.scrollhint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font: 600 12px/1 var(--sans); color: #fff; letter-spacing: .04em; transition: opacity .4s; text-shadow: 0 1px 6px rgba(0, 0, 0, .3) }
.scrollhint span { width: 22px; height: 34px; border-radius: 12px; border: 2px solid #fff; position: relative }
.scrollhint span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s ease-in-out infinite }
@keyframes wheel { 50% { transform: translateY(8px); opacity: .3 } }
@media (max-width: 900px) {
  .route { top: calc(env(safe-area-inset-top, 0px) + 80px); right: auto; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 8px 10px }
  .route::before, .route i { display: none }
  .route button { padding: 4px; font-size: 0; gap: 0 }
  .route button span { display: none }
  .stopcard, .stopcard.intro { left: 12px; right: 12px; width: auto; bottom: 16px; padding: 18px; gap: 10px }
  .stopcard p { font-size: 15px; line-height: 1.45 }
  .stopcard h2 { font-size: 28px }
  .stopcard.intro h1 { font-size: clamp(32px, 9vw, 44px) }
  .scrollhint { display: none }
}

/* Engagement */
.statement { font: 350 clamp(28px, 4.2vw, 56px)/1.18 var(--serif); letter-spacing: -.02em; max-width: 24ch; margin-top: 26px }
.statement .pic { display: inline-block; width: 1.9em; height: .95em; border-radius: 999px; vertical-align: -.1em; background: center / cover no-repeat; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); margin-inline: .08em }
.statement em { font-style: italic; color: var(--green) }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px }
.fact { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line) }
.fact b { font: 400 clamp(28px, 3vw, 38px)/1 var(--serif); color: var(--green); font-variant-numeric: tabular-nums }
.fact span { font: 500 14.5px/1.3 var(--sans); color: var(--muted); max-width: 22ch }
.ticker { margin-top: clamp(48px, 7vw, 80px); overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent) }
.ticker div { display: flex; gap: 40px; width: max-content; animation: slide 46s linear infinite }
.ticker span { font: 400 clamp(20px, 2.2vw, 28px)/1 var(--serif); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px }
.ticker span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px #e1ecd9 }
@keyframes slide { to { transform: translateX(-50%) } }

/* Métiers */
#metiers { background: var(--deep); color: var(--paper); border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0 }
#metiers h2 i { color: var(--lime) }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px }
.cats button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 14px; font: 600 15px/1 var(--sans); color: var(--soft-d); background: rgba(251, 252, 249, .06); box-shadow: inset 0 0 0 1px var(--line-d); transition: background .2s, color .2s }
.cats button svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.cats button:hover { color: #fff }
.cats button[aria-selected="true"] { background: var(--lime); color: var(--deep); box-shadow: none }
.cats button:focus-visible { outline: 2px solid var(--lime) }
.panel { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3.5vw, 48px); margin-top: 28px; align-items: start }
@media (max-width: 960px) { .panel { grid-template-columns: 1fr } }
.viewer { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: #0f2618 }
.viewer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease }
.viewer img.before { opacity: 0 }
.viewer[data-show="avant"] img.before { opacity: 1 }
.viewer .ab { position: absolute; left: 14px; top: 14px; display: flex; padding: 4px; border-radius: 14px; background: rgba(15, 30, 20, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }
.viewer .ab button { all: unset; cursor: pointer; font: 600 14px/1 var(--sans); color: #fff; padding: 10px 14px; border-radius: 10px }
.viewer .ab button[aria-pressed="true"] { background: #fff; color: var(--deep) }
.viewer .ab button:focus-visible { outline: 2px solid var(--lime) }
.viewer .hold { position: absolute; right: 14px; bottom: 14px; font: 500 13px/1.2 var(--sans); color: #fff; background: rgba(15, 30, 20, .55); padding: 9px 12px; border-radius: 10px; backdrop-filter: blur(8px) }
.viewer .cap { position: absolute; left: 14px; bottom: 14px; font: 600 14px/1.2 var(--sans); color: var(--deep); background: var(--lime); padding: 9px 12px; border-radius: 10px }
.visual { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(80% 70% at 30% 20%, rgba(207, 229, 138, .25), transparent 60%), linear-gradient(140deg, #1f4b2c, #0f2618) }
.visual svg { width: 42%; height: auto; stroke: var(--lime); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .9 }
.visual p { position: absolute; left: 24px; right: 24px; bottom: 22px; font: 400 clamp(20px, 2.2vw, 28px)/1.2 var(--serif); color: #fff }
.strip { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin }
.strip button { all: unset; cursor: pointer; flex: none; width: 96px; border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; opacity: .55; transition: opacity .2s, box-shadow .2s }
.strip button img { width: 100%; height: 100%; object-fit: cover }
.strip button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--lime) }
.strip button:hover { opacity: 1 }
.strip button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px }
.detail { display: grid; gap: 18px; min-width: 0 }
.detail h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08 }
.detail p { color: var(--soft-d) }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line-d) }
.checks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--lime) center / 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163521' stroke-width='3.4'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") }
#metiers .cta { background: var(--lime); color: var(--deep); justify-self: start }
#metiers .cta:hover { background: #fff }

/* Suivi */
#suivi { background: var(--deep); color: var(--paper); padding-top: 0 }
#suivi .inner { background: var(--paper); color: var(--ink); border-radius: clamp(28px, 4vw, 48px); padding: clamp(28px, 5vw, 64px) }
.year { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: 40px; align-items: center }
@media (max-width: 920px) { .year { grid-template-columns: 1fr } }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px }
@media (max-width: 520px) { .months { grid-template-columns: repeat(3, 1fr) } }
.months button { all: unset; min-width: 0; cursor: pointer; display: grid; gap: 6px; padding: 12px 10px; border-radius: 14px; background: #edf2e9; transition: transform .2s, background .2s; text-align: left }
.months button b { font: 600 14px/1 var(--sans) }
.months button span { display: block; height: 6px; border-radius: 3px; background: var(--c) }
.months button small { font: 500 12px/1.2 var(--sans); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.months button[aria-pressed="true"] { background: var(--deep); color: #fff; transform: translateY(-3px) }
.months button[aria-pressed="true"] small { color: var(--soft-d) }
.months button:focus-visible { outline: 2px solid var(--green) }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font: 500 13px/1 var(--sans); color: var(--muted) }
.legend span { display: inline-flex; align-items: center; gap: 6px }
.legend span::before { content: ""; width: 12px; height: 6px; border-radius: 3px; background: var(--c) }
.freq { display: inline-flex; margin-top: 22px; padding: 4px; border-radius: 14px; background: #edf2e9 }
.freq button { all: unset; cursor: pointer; padding: 10px 14px; border-radius: 10px; font: 600 14px/1 var(--sans); color: var(--muted) }
.freq button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .3) }
.freq button:focus-visible { outline: 2px solid var(--green) }
.rapport { border-radius: var(--r-lg); background: #fff; box-shadow: 0 30px 70px -40px rgba(19, 34, 25, .5), inset 0 0 0 1px var(--line); overflow: hidden }
.rapport header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 20px 22px; background: #f2f6ef; align-items: center }
.rapport header small { display: block; font: 600 12.5px/1.3 var(--sans); color: var(--muted) }
.rapport header strong { font: 400 21px/1.2 var(--serif) }
.rapport .badge { font: 700 12px/1 var(--sans); background: var(--green); color: #fff; padding: 8px 10px; border-radius: 8px; white-space: nowrap }
.rapport ul { list-style: none; margin: 0; padding: 14px 22px; display: grid; gap: 10px }
.rapport li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; animation: pop .45s both }
.rapport li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--green) center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") }
@keyframes pop { from { opacity: 0; transform: translateX(-8px) } }
.rapport .ph { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 22px 18px }
.rapport figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3 }
.rapport figure img { width: 100%; height: 100%; object-fit: cover }
.rapport figcaption { position: absolute; left: 8px; top: 8px; font: 700 11.5px/1 var(--sans); background: #fff; padding: 6px 8px; border-radius: 7px }
.rapport footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 22px; border-top: 1px dashed var(--line); font: 500 13.5px/1.3 var(--sans); color: var(--muted) }

/* Carte */
.mapwrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); margin-top: 40px; align-items: center }
@media (max-width: 920px) { .mapwrap { grid-template-columns: 1fr } }
.dots { position: relative; max-width: 620px; width: 100%; justify-self: center }
.dots svg { width: 100%; height: auto; display: block; overflow: visible }
.dots .g { fill: #c9d6c6 }
.dots .s { fill: var(--green) }
.dots .s.pulse { animation: blink 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center }
@keyframes blink { 50% { transform: scale(1.6); fill: #6aa84f } }
.dots .ref { fill: var(--lime); stroke: var(--deep); stroke-width: 1.6; cursor: pointer }
.dots .ref.on { fill: var(--deep); stroke: var(--lime) }
.dots .tip { position: absolute; transform: translate(-50%, -130%); pointer-events: none; font: 600 13px/1.2 var(--sans); background: var(--deep); color: #fff; padding: 8px 10px; border-radius: 10px; white-space: nowrap; opacity: 0; transition: opacity .2s }
.dots .tip.on { opacity: 1 }
.count { font: 350 clamp(84px, 11vw, 150px)/.9 var(--serif); color: var(--green); letter-spacing: -.04em }
.count sup { font-size: .4em; vertical-align: .9em }
.refs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px }
@media (max-width: 560px) { .refs { grid-template-columns: 1fr } }
.refs button { all: unset; cursor: pointer; display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s }
.refs button { min-width: 0; align-content: start }
.refs button b { font: 600 15px/1.15 var(--sans) }
.refs button b span { font-weight: 500; color: var(--muted) }
.refs button small { font: 500 13px/1.35 var(--sans); color: var(--muted) }
.refs button.on, .refs button:hover { background: #e1ecd9 }
.refs button:focus-visible { outline: 2px solid var(--green) }
.note { font: 500 13px/1.4 var(--sans); color: var(--muted); margin-top: 14px }

/* Méthode */
.method { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 80px); align-items: start }
@media (max-width: 860px) { .method { grid-template-columns: 1fr } }
.method .stick { position: sticky; top: 110px; display: grid; gap: 20px }
@media (max-width: 860px) { .method .stick { position: static } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 22px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s }
.steps li::before { content: counter(s); grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #e1ecd9; color: var(--green); font: 400 30px/1 var(--serif) }
.steps li:last-child::before { background: var(--green); color: #fff }
.steps b { font: 600 18px/1.3 var(--sans); align-self: end }
.steps p { color: var(--muted); font-size: 15.5px }

/* Contact */
.contact-card { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: clamp(28px, 4vw, 44px); overflow: hidden; background: var(--paper); box-shadow: 0 40px 80px -50px rgba(19, 34, 25, .5), inset 0 0 0 1px var(--line) }
@media (max-width: 900px) { .contact-card { grid-template-columns: 1fr } }
.contact-side { position: relative; padding: clamp(24px, 4vw, 48px); background: linear-gradient(160deg, rgba(22, 53, 33, .9), rgba(22, 53, 33, .96)), url("../img/photos/amenagement-b.jpg") center / cover; color: var(--paper); display: grid; gap: 22px; align-content: start }
.contact-side h2 { color: #fff }
.contact-side h2 i { color: var(--lime) }
.coord { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line-d) }
.coord small { font: 600 13px/1 var(--sans); color: var(--lime) }
.coord strong { font: 400 clamp(20px, 2vw, 26px)/1.25 var(--serif); overflow-wrap: anywhere }
.copy { all: unset; cursor: pointer; justify-self: start; font: 600 13px/1 var(--sans); color: var(--soft-d); border-bottom: 1px solid var(--line-d); padding-bottom: 3px; margin-top: 4px }
.copy:hover { color: #fff }
form { padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px }
@media (max-width: 560px) { form { grid-template-columns: 1fr } }
.fld { display: grid; gap: 7px; min-width: 0 }
.fld.wide { grid-column: 1 / -1 }
.fld label, .fld .lbl { font: 600 14px/1.2 var(--sans) }
.fld input, .fld textarea { font: inherit; font-size: 16px; color: var(--ink); background: #f2f6ef; border: 1px solid transparent; border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s, background .2s }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--green); background: #fff }
.fld textarea { min-height: 110px; resize: vertical }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr 1fr } }
.tiles button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: #f2f6ef; font: 600 14px/1.2 var(--sans); box-shadow: inset 0 0 0 1px transparent; transition: background .2s, box-shadow .2s }
.tiles button svg { flex: none; width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.tiles button[aria-pressed="true"] { background: #e1ecd9; box-shadow: inset 0 0 0 2px var(--green) }
.tiles button:focus-visible { outline: 2px solid var(--green) }
.formmsg { grid-column: 1 / -1; font: 500 15px/1.4 var(--sans); color: var(--green) }

/* Pied de page */
.foot { background: var(--deep); color: var(--soft-d); padding-block: 56px 32px; margin-top: clamp(64px, 9vw, 120px) }
.foot .big { font: 400 clamp(46px, 9vw, 132px)/.9 var(--serif); color: var(--paper); letter-spacing: -.04em }
.foot .big i { color: var(--lime) }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-d) }
@media (max-width: 720px) { .cols { grid-template-columns: 1fr } }
.cols h3 { font: 600 14px/1 var(--sans); color: var(--lime); margin-bottom: 14px; letter-spacing: 0 }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px }
.cols a { text-decoration: none }
.cols a:hover { color: #fff }
.linkbtn { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px }
.linkbtn:hover { color: #fff }
.legal { margin-top: 36px; font-size: 13px }
dialog { border: 0; border-radius: 24px; padding: 0; max-width: min(640px, calc(100% - 24px)); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5) }
dialog::backdrop { background: rgba(10, 25, 15, .5); backdrop-filter: blur(4px) }
dialog .in { padding: 28px; display: grid; gap: 12px; font-size: 15px; color: var(--ink) }
dialog h2 { font-size: 30px }
dialog .x { justify-self: end }

/* Apparitions */
.fade { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1), filter .9s ease }
.fade.wait { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(6px) }

/* Film d'ouverture */
#film { background: #02050b }
#film3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block }
#film .stopcard { opacity: 0; visibility: hidden; transition: none; pointer-events: auto }
#film .stopcard.intro { opacity: 1; visibility: visible }
.flash { position: absolute; inset: 0; background: #f4f6f2; opacity: 0; pointer-events: none }
.filmbar { position: absolute; left: var(--pad); right: var(--pad); bottom: 10px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25) }
.filmbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--lime) }
#film .stopcard { width: min(560px, calc(100% - 2 * var(--pad))) }
#film .stopcard.intro { width: min(680px, calc(100% - 2 * var(--pad))) }

.filmctl { position: absolute; right: var(--pad); bottom: 24px; z-index: 5; font: 600 14px/1 var(--sans); color: #fff; background: rgba(15, 30, 20, .55); border: 0; border-radius: 12px; padding: 11px 14px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }
.filmctl:hover { background: rgba(15, 30, 20, .75) }
#film .scrollhint { display: flex }
@media (max-width: 900px) { #film .scrollhint { display: flex; bottom: 26px; top: auto } #film .stopcard.intro { bottom: 70px } }

/* Métier sans photo : pas de visionneuse, détails sur toute la largeur */
.panel.nophoto { grid-template-columns: 1fr }
.panel.nophoto > div:first-child { display: none }
.panel.nophoto .detail { max-width: 860px }
.panel.nophoto .checks { grid-template-columns: 1fr 1fr; column-gap: 32px }
@media (max-width: 640px) { .panel.nophoto .checks { grid-template-columns: 1fr } }

.dots .tip { white-space: normal; width: max-content; max-width: 230px; line-height: 1.35; font-weight: 500 }
.dots .tip b { font-weight: 700 }

/* Pages légales */
.doc { max-width: 820px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 120px) var(--pad) 80px }
.doc h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin: 14px 0 10px }
.doc .upd { color: var(--muted); font-size: 15px }
.doc h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 44px 0 12px; line-height: 1.2 }
.doc p, .doc li { color: #2c3a30; max-width: 70ch }
.doc p + p { margin-top: 10px }
.doc ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0 }
.doc a { color: var(--green) }
.doc .card { background: var(--paper); border-radius: var(--r-md); padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--line); margin-top: 18px }
.doc .card p { margin: 0 }
.doc .back { display: inline-flex; margin-top: 40px }
.foot .cols a, .foot .linkbtn { color: inherit }

/* Bandeau cookies */
.consent { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); margin: 0 auto; max-width: 720px; background: var(--paper); color: var(--ink); border-radius: 20px; padding: 18px 20px; box-shadow: 0 20px 60px -20px rgba(10, 25, 15, .5), inset 0 0 0 1px var(--line); display: grid; gap: 12px }
.consent p { font-size: 15px; line-height: 1.5; color: #2c3a30 }
.consent p b { color: var(--ink) }
.consent .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.consent .cta { padding: 12px 16px; font-size: 14px }
.consent a { color: var(--green); font: 600 14px/1 var(--sans); margin-left: 4px }

/* Formulaire : consentement */
.fld.check { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start }
.fld.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); padding: 0 }
.fld.check label { font: 500 14px/1.45 var(--sans); color: var(--muted); letter-spacing: 0; text-transform: none }
.fld.check a { color: var(--green) }
.doc a.cta { color: #fff }
.doc a.cta:hover { color: #fff }

.coord a.copy { text-decoration: none; justify-self: start }
.foot a[href^="tel:"] { text-decoration: none }
