/* Nova Parvis — site présenté aux mairies.
   Une idée : le parvis. La pierre claire, le vert des volets de mairie, le bleu émaillé des plaques de rue.
   Une seule pièce vivante : le téléphone et sa plaque, qui prennent le nom de la commune du visiteur. Le reste est
   calme, aligné à gauche, structuré par des filets. Pas de carte décorative : un tableau quand c'est un tableau. */
:root {
  --stone: #EEF0EC;
  --stone-2: #E3E7E2;
  --paper: #FFFFFF;
  --ink: #14201B;
  --ink-2: #414E48;
  --ink-3: #5C6862;
  --rule: rgb(20 32 27 / .14);
  --rule-2: rgb(20 32 27 / .26);
  --green: #1E4D3F;
  --green-2: #163B30;
  --green-tint: #DDE8E2;
  --plaque: #1E3E8C;
  --gold: #A67C0E;
  --danger: #B3261E;
  --danger-bg: #FBE9E7;
  --ok: #17694A;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --gut: clamp(20px, 4.5vw, 44px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Le pied de page reste en bas de l'écran, même sur une page courte. */
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--stone); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.018em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.05rem); line-height: 1.01; letter-spacing: -.028em; font-variation-settings: "opsz" 72; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-variation-settings: "opsz" 48; }
h3 { font-size: 1.22rem; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--green-2); }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--plaque); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Un élément marqué « hidden » reste caché, même si une règle plus bas lui donne une mise en page (grille, etc.). */
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1rem/1.2 var(--f-body); padding: .82em 1.25em; border-radius: 10px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-main { background: var(--green); color: #fff; }
.btn-main:hover { background: var(--green-2); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { font-size: 1.0625rem; padding: .95em 1.45em; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgb(238 240 236 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 700 1.24rem/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; margin-right: auto; }
.mark svg { flex: none; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; }
.top nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; }
.top .btn { padding: .62em 1em; font-size: .95rem; }
@media (max-width: 860px) { .top nav .nav-x { display: none; } .top-in { gap: 12px; } }
@media (max-width: 420px) { .top nav .nav-space { display: none; } }

/* ---------- Ouverture ---------- */
.hero { padding: clamp(36px, 6vw, 76px) 0 0; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero-txt { padding-bottom: clamp(40px, 6vw, 84px); }
.hero-lede { margin-top: 22px; font-size: clamp(1.08rem, 1.45vw, 1.24rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.hero-res { margin-top: 26px; font-size: .96rem; color: var(--ink-3); }

/* Le chercheur de commune : « quel prix pour votre commune ? » */
.finder { margin-top: 34px; max-width: 560px; }
.finder > label { display: block; font: 600 1.06rem/1.3 var(--f-display); margin-bottom: 10px; letter-spacing: -.005em; }
.finder-box { position: relative; }
.finder-in { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1.5px solid var(--rule-2); border-radius: 12px; padding: 0 14px; transition: border-color .15s, box-shadow .15s; }
.finder-in:focus-within { border-color: var(--plaque); box-shadow: 0 0 0 4px rgb(30 62 140 / .14); }
.finder-in svg { flex: none; color: var(--ink-3); }
.finder-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 1.0625rem/1.2 var(--f-body); color: var(--ink); padding: 15px 0; }
.finder-in input::placeholder { color: var(--ink-3); opacity: 1; }
.finder-list { position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--rule-2); border-radius: 12px; box-shadow: 0 18px 40px -18px rgb(20 32 27 / .35); max-height: 320px; overflow: auto; }
.finder-list li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.finder-list li span { color: var(--ink-3); font-size: .93rem; white-space: nowrap; }
.finder-list li[aria-selected="true"], .finder-list li:hover { background: var(--green-tint); }
.finder-list .finder-none { cursor: default; color: var(--ink-3); background: none; display: block; }
.finder-list .finder-act { display: block; color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
.finder-hint { margin-top: 10px; font-size: .93rem; color: var(--ink-3); }

.quote { margin-top: 18px; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 18px 20px 20px; }
.quote-h { font: 600 1.05rem/1.3 var(--f-display); }
.quote-h small { display: block; font: 400 .93rem/1.4 var(--f-body); color: var(--ink-3); margin-top: 2px; }
.quote dl { margin: 12px 0 16px; display: grid; grid-template-columns: 1fr auto; }
.quote dt, .quote dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--rule); }
.quote dd { font: 700 1.06rem/1.5 var(--f-display); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 16px; }
.quote dd small { font: 400 .86rem/1 var(--f-body); color: var(--ink-3); }
.quote .btn { width: 100%; }

/* Le téléphone et sa plaque */
.hero-art { position: relative; align-self: end; justify-self: center; width: min(100%, 372px); }
.phone { position: relative; border-radius: 38px 38px 0 0; background: #101814; padding: 11px 11px 0; box-shadow: 0 40px 70px -30px rgb(20 32 27 / .55); }
.phone-screen { border-radius: 28px 28px 0 0; overflow: hidden; background: #F4F6F3; }
.ph-sky { position: relative; aspect-ratio: 390 / 300; }
.ph-sky svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ph-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 22 16 / .34), rgb(10 22 16 / 0) 34%, rgb(10 22 16 / 0) 52%, rgb(10 22 16 / .42)); }
.ph-top { position: absolute; z-index: 1; left: 16px; right: 16px; top: 14px; display: flex; align-items: center; gap: 8px; color: #fff; font: 700 .98rem/1.2 var(--f-display); text-shadow: 0 1px 6px rgb(0 0 0 / .35); }
.ph-top i { width: 22px; height: 26px; border-radius: 4px 4px 11px 11px; background: #fff; display: grid; place-items: center; flex: none; }
.ph-top i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.ph-top span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-hello { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / .4); }
.ph-hello strong { display: block; font: 700 1.72rem/1.05 var(--f-display); letter-spacing: -.02em; }
.ph-hello span { font-size: .84rem; }
.ph-body { padding: 12px 12px 0; }
.ph-ask { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 9px 12px 9px 9px; box-shadow: 0 6px 18px -10px rgb(20 32 27 / .4); font-size: .86rem; color: var(--ink-2); margin-top: -26px; position: relative; z-index: 2; }
.ph-ask b { width: 34px; height: 34px; border-radius: 11px; background: var(--green); display: grid; place-items: center; flex: none; font-size: 1.05rem; }
.ph-ask em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-ask em strong { color: var(--ink); }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; padding-bottom: 14px; }
.ph-tiles div { background: #fff; border: 1px solid var(--rule); border-radius: 15px; padding: 11px 12px 12px; font-size: .78rem; line-height: 1.35; color: var(--ink-3); }
.ph-tiles strong { display: block; color: var(--ink); font: 700 .88rem/1.25 var(--f-display); margin-bottom: 2px; }
/* La plaque de rue : émail bleu, lettres blanches, comme au coin de chaque rue de France. */
.plaque { position: absolute; z-index: 3; left: -34px; top: 96px; max-width: 232px; background: var(--plaque); color: #fff; border-radius: 9px; padding: 5px; box-shadow: 0 14px 26px -12px rgb(14 28 70 / .7), inset 0 1px 0 rgb(255 255 255 / .22); transform: rotate(-3.2deg); transform-origin: 20% 50%; }
.plaque-in { border: 1.5px solid rgb(255 255 255 / .85); border-radius: 5px; padding: 8px 14px 9px; text-align: center; }
.plaque small { display: block; font: 600 .62rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.plaque strong { display: block; font: 700 1.02rem/1.15 var(--f-display); letter-spacing: .05em; text-transform: uppercase; margin-top: 3px; overflow-wrap: anywhere; }
.plaque.is-new { animation: plaque .55s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes plaque { from { transform: rotate(-9deg) translateY(-14px); opacity: .2; } to { transform: rotate(-3.2deg); opacity: 1; } }

/* Le parvis : un pavage en éventail, sur lequel tout le reste repose. */
.parvis { height: 58px; border-top: 1px solid var(--rule-2); background-color: var(--stone-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='42' viewBox='0 0 84 42'%3E%3Cg fill='none' stroke='%2314201B' stroke-opacity='.17' stroke-width='1.2'%3E%3Cpath d='M0 42a42 42 0 0 1 84 0M10 42a32 32 0 0 1 64 0M20 42a22 22 0 0 1 44 0M30 42a12 12 0 0 1 24 0'/%3E%3Cpath d='M-42 42a42 42 0 0 1 42-42M42 0a42 42 0 0 1 42 42M-32 42A32 32 0 0 1 0 10M84 10a32 32 0 0 1 32 32M-22 42A22 22 0 0 1 0 20M84 20a22 22 0 0 1 22 22' transform='translate(0 -21)'/%3E%3C/g%3E%3C/svg%3E"); background-size: 84px 42px; background-position: center bottom; }

/* ---------- Sections ---------- */
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band-paper { background: var(--paper); }
.band-green { background: var(--green); color: #fff; }
.band-green a { color: #fff; }
.band + .band:not(.band-paper):not(.band-green) { border-top: 1px solid var(--rule); }
.band-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 48px); }
.band-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; }
.band-green .band-head p { color: rgb(255 255 255 / .86); }

/* Les trois offres : trois colonnes qui partagent les mêmes lignes, pour comparer d'un coup d'œil. */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.offer { padding: 24px 26px 28px 0; display: flex; flex-direction: column; }
.offer + .offer { padding-left: 26px; border-left: 1px solid var(--rule); }
.offer h3 { font-size: 1.42rem; }
.offer-line { margin-top: 8px; color: var(--ink-2); min-height: 3.2em; }
.offer ul { list-style: none; margin: 18px 0 22px; padding: 0; }
.offer li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--rule); font-size: .98rem; line-height: 1.45; }
.offer li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.offer-from { margin-top: auto; font-size: .95rem; color: var(--ink-3); }
.offer-from strong { display: block; font: 700 1.55rem/1.2 var(--f-display); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.offer .btn { margin-top: 16px; align-self: flex-start; }
@media (max-width: 900px) {
  .offers { grid-template-columns: 1fr; }
  .offer, .offer + .offer { padding: 24px 0 28px; border-left: 0; }
  .offer + .offer { border-top: 2px solid var(--ink); }
  .offer-line { min-height: 0; }
}

/* La grille des prix : un vrai tableau. */
.prices { margin-top: clamp(40px, 6vw, 72px); }
.prices h3 { font-size: 1.42rem; }
.prices > p { margin-top: 8px; color: var(--ink-2); }
.table-wrap { margin-top: 20px; overflow-x: auto; }
.table-wrap:focus-visible { outline-offset: 0; }
table.grid { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
table.grid th, table.grid td { text-align: right; padding: 13px 16px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
table.grid th:first-child, table.grid td:first-child { text-align: left; padding-left: 0; }
table.grid thead th { font: 600 .98rem/1.3 var(--f-display); border-bottom: 2px solid var(--ink); vertical-align: bottom; }
table.grid tbody th { font-weight: 500; }
table.grid td { font: 600 1.04rem/1.4 var(--f-display); }
table.grid tr.is-mine th, table.grid tr.is-mine td { background: var(--green-tint); }
table.grid tr.is-mine th:first-child { box-shadow: inset 4px 0 0 var(--green); padding-left: 14px; }
.t-short { display: none; }
@media (max-width: 620px) {
  .t-long { display: none; }
  .t-short { display: inline; }
  table.grid { min-width: 0; }
  table.grid th, table.grid td { padding: 12px 0 12px 10px; font-size: .9rem; }
  table.grid td { font-size: .95rem; }
  table.grid thead th { white-space: normal; font-size: .86rem; }
  table.grid tr.is-mine th:first-child { padding-left: 10px; }
  table.grid tr.is-mine td:last-child { padding-right: 8px; }
}
.prices-note { margin-top: 14px; font-size: .95rem; color: var(--ink-3); }

/* Les étapes : c'est une vraie suite, donc elle est numérotée. */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 22px 24px 4px 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.steps li::before { content: counter(step); display: block; font: 700 2.5rem/1 var(--f-display); letter-spacing: -.03em; color: var(--green); margin-bottom: 14px; }
.steps h3 { font-size: 1.14rem; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: .99rem; }
.steps em { display: block; margin-top: 10px; font-style: normal; font-size: .9rem; color: var(--ink-3); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding: 20px 0 6px; border-left: 0; } .steps li + li { border-top: 1px solid var(--rule); } }

/* Ce que la mairie règle elle-même */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.facts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.facts li { display: grid; grid-template-columns: 11.5em 1fr; gap: 6px 20px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.facts strong { font: 600 1.04rem/1.4 var(--f-display); }
.facts span { color: var(--ink-2); font-size: .99rem; }
@media (max-width: 560px) { .facts li { grid-template-columns: 1fr; } }

/* L'assistant : une vraie conversation, avec sa source. */
.talk { background: var(--stone); border: 1px solid var(--rule); border-radius: 22px; padding: 22px 20px; max-width: 440px; }
.band-paper .talk { background: var(--stone); }
.talk-head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); margin-bottom: 16px; }
.talk-head b { width: 40px; height: 40px; border-radius: 13px; background: var(--green); display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.talk-head strong { display: block; font: 700 1.02rem/1.2 var(--f-display); }
.talk-head span { font-size: .86rem; color: var(--ink-3); }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .97rem; line-height: 1.45; margin-top: 10px; }
.msg-me { margin-left: auto; background: var(--green); color: #fff; border-bottom-right-radius: 5px; }
.msg-bot { background: var(--paper); border: 1px solid var(--rule); border-bottom-left-radius: 5px; }
.msg-src { display: block; margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--rule); font-size: .84rem; color: var(--ink-3); }
.msg-note { margin-top: 12px; font-size: .86rem; color: var(--ink-3); }

/* Questions */
.faq { border-top: 2px solid var(--ink); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; font: 600 1.12rem/1.35 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--f-body); color: var(--ink-3); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 44em; }
.faq details > div p + p { margin-top: 10px; }

/* Appel final et pied de page */
.end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.end h2 { max-width: 16em; }
.end p { margin-top: 12px; color: rgb(255 255 255 / .86); max-width: 34em; }
.band-green .btn-main { background: #fff; color: var(--green-2); }
.band-green .btn-main:hover { background: var(--stone); color: var(--green-2); }
.band-green .btn-line { color: #fff; border-color: rgb(255 255 255 / .5); }
.band-green .btn-line:hover { border-color: #fff; color: #fff; }
.end-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.foot { padding: 34px 0 44px; font-size: .95rem; color: var(--ink-3); }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: baseline; }
.foot-in strong { color: var(--ink); font: 700 1.02rem/1 var(--f-display); margin-right: auto; }
.foot a { color: var(--ink-2); }

/* ---------- Pages de formulaire ---------- */
.page { padding: clamp(32px, 5vw, 60px) 0 clamp(60px, 8vw, 100px); }
.page-head { max-width: 40em; margin-bottom: clamp(26px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.05; }
.page-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: clamp(28px, 4.5vw, 60px); align-items: start; }
@media (max-width: 940px) { .cols { grid-template-columns: 1fr; } }
.form fieldset { border: 0; margin: 0 0 34px; padding: 22px 0 0; border-top: 2px solid var(--ink); min-width: 0; }
.form legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; font: 700 1.3rem/1.25 var(--f-display); letter-spacing: -.012em; }
.form legend + * { clear: both; }
.form .lead { color: var(--ink-2); margin-bottom: 16px; }
.field { margin-top: 16px; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; font: 400 1.0625rem/1.3 var(--f-body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--rule-2); border-radius: 10px; padding: 12px 13px; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--plaque); box-shadow: 0 0 0 4px rgb(30 62 140 / .14); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.hint { margin-top: 6px; font-size: .93rem; color: var(--ink-3); }
.err { margin-top: 6px; font-size: .95rem; font-weight: 600; color: var(--danger); }
.manual-link { margin-top: 10px; font-size: .95rem; }
.manual-link button { font: inherit; color: var(--green); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.manual-link button:hover { color: var(--green-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row3 { display: grid; grid-template-columns: 1.6fr .8fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row2, .row3 { grid-template-columns: 1fr; } }
.alert { background: var(--danger-bg); border: 1px solid rgb(179 38 30 / .35); color: #6B140F; border-radius: 12px; padding: 14px 16px; margin-bottom: 26px; }
.alert strong { display: block; }
.alert ul { margin: 6px 0 0; padding-left: 1.15em; }
.alert a { color: inherit; }
.picked { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--green-tint); font-size: .98rem; }
.picked strong { font-family: var(--f-display); }
/* Choix exclusifs présentés en lignes : le texte entier est cliquable. */
.choices { display: grid; gap: 10px; margin-top: 6px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-in { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: start; background: var(--paper); border: 1.5px solid var(--rule-2); border-radius: 12px; padding: 14px 16px; }
.choice-in::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-3); margin-top: 2px; grid-row: span 2; background: var(--paper); }
.choice input:checked + .choice-in { border-color: var(--green); background: #F5FAF7; box-shadow: inset 0 0 0 1px var(--green); }
.choice input:checked + .choice-in::before { border-color: var(--green); background: radial-gradient(circle, var(--green) 0 5px, #fff 6px); }
.choice input:focus-visible + .choice-in { outline: 3px solid var(--plaque); outline-offset: 2px; }
.choice strong { font: 600 1.06rem/1.3 var(--f-display); }
.choice-price { font: 700 1.04rem/1.3 var(--f-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.choice-in > span:last-child { grid-column: 2 / -1; color: var(--ink-2); font-size: .96rem; }
.tick { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin-top: 14px; cursor: pointer; }
.tick input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.submit p { color: var(--ink-3); font-size: .95rem; flex: 1; min-width: 220px; }

.recap { position: sticky; top: 90px; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 22px 24px; }
@media (max-width: 940px) { .recap { position: static; } }
.recap h2 { font-size: 1.24rem; }
.recap dl { margin: 14px 0 0; }
.recap dt { font-size: .9rem; color: var(--ink-3); margin-top: 12px; }
.recap dd { margin: 2px 0 0; font: 600 1.04rem/1.35 var(--f-display); }
.recap-total { margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.recap-total strong { font: 700 1.5rem/1.1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.recap-total span { font-size: .92rem; color: var(--ink-3); }
.recap small { display: block; margin-top: 6px; font-size: .9rem; color: var(--ink-3); }
.recap ol { margin: 18px 0 0; padding: 16px 0 0 1.2em; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--ink-2); }
.recap ol li + li { margin-top: 7px; }

/* Pages simples (confirmation, textes légaux) */
.note { max-width: 660px; }
.note h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.06; }
.note > p { margin-top: 16px; font-size: 1.12rem; color: var(--ink-2); }
.note .box { margin-top: 26px; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 24px; }
.note .box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.note .box dt { color: var(--ink-3); }
.note .box dd { margin: 0; font-weight: 600; }
.note .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.note .test { margin-top: 26px; padding: 14px 16px; border: 1.5px dashed var(--gold); border-radius: 12px; font-size: .96rem; overflow-wrap: anywhere; }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.06; }
.prose h2 { font-size: 1.4rem; margin-top: 38px; }
.prose p, .prose ul { margin-top: 12px; color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose .todo { background: #FFF6DA; border-radius: 4px; padding: 0 4px; color: #5F4600; }
.prose .updated { color: var(--ink-3); font-size: .95rem; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-txt { padding-bottom: 8px; }
  .hero-art { width: min(100%, 330px); margin-top: 26px; }
  .plaque { left: -12px; top: 84px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .plaque.is-new { animation: none; } * { transition: none !important; } }
@media print { .top, .parvis, .foot { display: none; } body { background: #fff; } }
