/* ==========================================================================
   Page de présentation de l'offre (destinée aux mairies)
   S'appuie sur les jetons de demo/assets/base.css.
   Ton : accueillant et concret. Vraies captures, illustrations sobres,
   animations légères (désactivées si l'utilisateur réduit les animations).
   ========================================================================== */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem .9rem; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
html { scroll-padding-top: 84px; }
body { background: var(--bg); font-size: 17px; }

/* ---------- Animations ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes p-float { 50% { transform: translateY(-8px); } }
@keyframes p-drift { 50% { transform: translateX(14px); } }
@keyframes p-glow { 50% { opacity: .12; transform: scale(1.15); } }
@keyframes p-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px); } }
@keyframes p-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .p-note, .p-cloud, .p-glow, .p-bounce, .p-spin, .p-chip { animation: none !important; }
}

/* ---------- En-tête ---------- */
.p-header { position: sticky; top: 0; z-index: 50; background: rgba(246,244,239,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.p-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(23,32,31,.4); }
.p-header-inner { display: flex; align-items: center; gap: .6rem; height: 72px; }
.p-brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; margin-right: auto; white-space: nowrap; }
.p-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.p-nav { display: flex; gap: .15rem; margin-right: .5rem; }
.p-nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; padding: .55rem .8rem; border-radius: 99px; min-height: 44px; display: inline-flex; align-items: center; transition: background-color .15s, color .15s; }
.p-nav a:hover { background: rgba(23,32,31,.06); color: var(--ink); }
.p-header .btn { border-radius: 99px; padding-inline: 1.2rem; }
@media (max-width: 1040px) { .p-nav { display: none; } }
@media (max-width: 560px) { .p-header-demo { display: none; } .p-header-inner .btn-primary { padding-inline: .9rem; font-size: .95rem; } }

/* ---------- Commun ---------- */
.p-section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.p-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.p-head-center { text-align: center; margin-inline: auto; }
.p-head-center .p-sub { margin-inline: auto; }
.p-label { font-weight: 700; color: var(--primary); font-size: 1rem; margin-bottom: .6rem; }
.p-title { font-size: clamp(1.85rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.p-sub { color: var(--ink-2); font-size: 1.125rem; margin-top: .75rem; max-width: 40rem; }
.p-kicker { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--primary-hover); background: var(--surface); border: 1px solid var(--line); padding: .4rem 1rem .4rem .75rem; border-radius: 99px; margin-bottom: 1.4rem; font-size: .95rem; box-shadow: var(--shadow-sm); }
.p-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }

/* Boutons : grands, arrondis, impossibles à rater */
.p-btn-big { min-height: 60px; padding: .9rem 1.75rem; font-size: 1.125rem; border-radius: 99px; gap: .6rem; }
.p-btn-big.btn-primary { box-shadow: 0 12px 26px -12px rgba(29,107,88,.85); }
.p-btn-big:hover { transform: translateY(-2px); }
.p-btn-big .ic, .p-link .ic { transition: transform .2s var(--ease); }
.p-btn-big:hover .ic, .p-link:hover .ic { transform: translateX(4px); }
.p-btn-outline { background: var(--surface); color: var(--primary-hover); border: 2px solid var(--primary); }
.p-btn-outline:hover { background: var(--primary-soft); }
.p-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 700; font-size: 1.075rem; color: var(--primary); text-decoration: none; border-bottom: 2px solid transparent; }
.p-link:hover { border-bottom-color: currentColor; }

.p-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.p-checks li { display: flex; gap: .65rem; align-items: flex-start; }
.p-checks .ic { color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; margin-top: .1rem; }

/* ---------- Accueil ---------- */
.p-hero { position: relative; padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; background: radial-gradient(60rem 30rem at 85% 30%, #FBF1DA 0%, rgba(251,241,218,0) 70%), var(--bg); }
.p-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.p-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; line-height: 1.07; letter-spacing: -.02em; text-wrap: balance; }
.p-hl { color: var(--primary); background: linear-gradient(transparent 68%, rgba(242,181,68,.45) 68%, rgba(242,181,68,.45) 92%, transparent 92%); }
.p-lead { font-size: clamp(1.1rem, 1.7vw, 1.25rem); color: var(--ink-2); margin-top: 1.25rem; max-width: 36rem; }
.p-hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.p-reassure { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--ink-2); font-weight: 700; }
.p-reassure li { display: inline-flex; align-items: center; gap: .4rem; }
.p-reassure .ic { color: var(--ok); }

.p-showcase { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; padding-bottom: 28px; }
.p-town { position: absolute; left: -6%; bottom: 0; width: 112%; height: auto; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.p-cloud { animation: p-drift 9s ease-in-out infinite; }
.p-cloud-2 { animation-duration: 12s; animation-delay: -4s; }
.p-glow { transform-box: fill-box; transform-origin: center; animation: p-glow 3.2s ease-in-out infinite; }
.p-screen { display: block; text-decoration: none; transition: transform .35s var(--ease); }
.p-screen:hover { transform: translateY(-6px); }
.p-phone { position: relative; z-index: 1; width: min(260px, 62vw); margin-bottom: 40px; border-radius: 36px; padding: 9px; background: #17201F; box-shadow: 0 40px 70px -30px rgba(23,32,31,.6), inset 0 0 0 1.5px #3a4543; }
.p-frame { display: block; position: relative; overflow: hidden; background: var(--bg); }
.p-phone .p-frame { aspect-ratio: 390 / 800; border-radius: 28px; }
.p-frame iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; background: var(--bg); }

.p-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: .65rem .95rem .65rem .65rem; box-shadow: 0 18px 40px -18px rgba(23,32,31,.35); font-size: .9rem; line-height: 1.25; animation: p-float 6s ease-in-out infinite; }
.p-note b { display: block; font-family: var(--font-head); }
.p-note small { color: var(--muted); font-size: .82rem; }
.p-note-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-soft); color: #6B4700; flex: none; }
.p-note-ic.ok { background: var(--ok-soft); color: var(--ok); }
.p-note-1 { top: 46%; left: 0; }
.p-note-2 { top: 10%; right: 0; animation-delay: -3s; }

@media (max-width: 900px) {
  .p-hero-grid { grid-template-columns: 1fr; }
  .p-hero-text { text-align: center; }
  .p-lead { margin-inline: auto; }
  .p-hero-cta, .p-reassure { justify-content: center; }
  .p-showcase { max-width: 560px; width: 100%; margin-inline: auto; min-height: 0; }
}
@media (max-width: 560px) {
  .p-hero-cta .btn { width: 100%; }
  .p-note { display: none; }
  .p-phone { margin-bottom: 24px; }
}

/* ---------- Comment ça marche ---------- */
.p-how { background: var(--surface); border-block: 1px solid var(--line); }
.p-how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.p-how-list li { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: 24px; padding: 1rem 1rem 1.6rem; transition: transform .25s var(--ease), box-shadow .25s; }
.p-how-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.p-illu { border-radius: 18px; aspect-ratio: 240 / 150; display: grid; place-items: center; margin-bottom: 1.4rem; overflow: hidden; }
.p-illu svg { width: 100%; height: 100%; }
.p-illu-sun { background: var(--sun-soft); }
.p-illu-green { background: var(--primary-soft); }
.p-illu-blue { background: var(--info-soft); }
.p-bounce { transform-box: fill-box; animation: p-bounce 2.6s ease-in-out infinite; }
.p-how-n { position: absolute; top: calc(1rem + 12px); left: calc(1rem + 12px); width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 4px var(--surface-2); }
.p-how-list h3 { font-size: 1.3rem; font-weight: 800; margin: 0 .5rem .45rem; }
.p-how-list p { color: var(--ink-2); margin: 0 .5rem; }
@media (max-width: 860px) { .p-how-list { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }

/* ---------- Fonctionnalités ---------- */
.p-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(3.5rem, 8vw, 6rem); }
.p-feature-rev .p-feature-text { order: 2; }
.p-feature-text { display: grid; gap: 1rem; justify-items: start; }
.p-feature-text .p-label { margin: .25rem 0 -.6rem; }
.p-feature-text h3 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 800; line-height: 1.15; text-wrap: balance; }
.p-feature-text > p { color: var(--ink-2); font-size: 1.075rem; }
.p-feature-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -10px rgba(29,107,88,.8); }
.p-feature-visual { position: relative; padding: clamp(1rem, 3vw, 2rem); }
.p-feature-visual::before { content: ""; position: absolute; inset: 0; border-radius: 32px; background: var(--primary-soft); transform: rotate(-2deg); }
.p-feature-rev .p-feature-visual::before { background: var(--sun-soft); transform: rotate(2deg); }
.p-browser { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 70px -40px rgba(23,32,31,.55); text-decoration: none; transition: transform .35s var(--ease); }
.p-browser:hover { transform: translateY(-4px); }
.p-browser-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #EFECE4; border-bottom: 1px solid var(--line); }
.p-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5D0C4; }
.p-browser-bar em { font-style: normal; font-size: .75rem; color: var(--muted); margin: 0 auto; padding: .1rem .9rem; background: var(--surface); border-radius: 99px; font-weight: 700; }
.p-browser .p-frame { aspect-ratio: 1280 / 800; }
.p-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: .55rem 1rem; font-weight: 700; font-size: .92rem; box-shadow: 0 16px 32px -16px rgba(23,32,31,.4); animation: p-float 7s ease-in-out infinite; }
.p-chip .ic { color: var(--primary); }
.p-chip-a { left: -.5rem; bottom: 1rem; }
.p-chip-b { right: -.5rem; top: 1.25rem; animation-delay: -3s; }
@media (max-width: 900px) {
  .p-feature { grid-template-columns: 1fr; }
  .p-feature-rev .p-feature-text { order: 0; }
}

.p-options { background: #17201F; color: #D7E0DD; border-radius: 28px; padding: clamp(1.6rem, 4vw, 2.75rem); }
.p-options-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; }
.p-options h3 { font-size: 1.5rem; font-weight: 800; color: #fff; }
.p-options-head p { color: #A9B6B2; }
.p-options ul { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .p-options ul { grid-template-columns: 1fr; } }
.p-options li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 1.25rem; transition: background-color .2s, transform .25s var(--ease); }
.p-options li:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.p-opt-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--sun); color: #17201F; display: grid; place-items: center; margin-bottom: .9rem; }
.p-options b { font-family: var(--font-head); font-size: 1.1rem; color: #fff; }
.p-options li p { color: #B9C4C0; font-size: .97rem; margin-top: .3rem; }
.p-options-note { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.5rem; font-weight: 700; color: #fff; }
.p-options-note .ic { color: var(--sun); margin-top: .15rem; }

/* ---------- Personnalisation ---------- */
.p-custom { background: var(--surface); border-block: 1px solid var(--line); }
.p-custom-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .p-custom-grid { grid-template-columns: 1fr; } }
.p-custom-form { display: grid; gap: 1.1rem; margin-top: 1.75rem; max-width: 26rem; }
.p-swatches { border: 0; padding: 0; margin: 0; }
.p-swatch-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .2rem; }
.p-swatch-row label { position: relative; }
.p-swatch-row input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.p-swatch-row span { display: block; width: 48px; height: 48px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .15s, transform .15s; cursor: pointer; }
.p-swatch-row label:hover span { transform: scale(1.08); }
.p-swatch-row input:checked + span { box-shadow: 0 0 0 3px var(--ink); }
.p-swatch-row input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 3px; }

.p-preview { --c: #1D6B58; border-radius: 24px; border: 1px solid var(--line); background: #F6F4EF; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(23,32,31,.5); }
.pv-head { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: rgba(255,255,255,.7); border-bottom: 1px solid var(--line); }
.pv-logo { width: 38px; height: 38px; border-radius: 11px; background: var(--c); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; transition: background-color .25s; }
.pv-name { display: grid; line-height: 1.05; margin-right: auto; min-width: 0; }
.pv-name small { font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.pv-name strong { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-btn, .pv-cta { background: var(--c); color: #fff; font-weight: 700; border-radius: 10px; padding: .45rem .8rem; font-size: .85rem; transition: background-color .25s; white-space: nowrap; }
.pv-body { padding: 1.4rem 1.2rem 1.3rem; }
.pv-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; background: color-mix(in srgb, var(--c) 13%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); }
.pv-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.1; letter-spacing: -.02em; margin: .7rem 0 1rem; }
.pv-title em { font-style: normal; color: var(--c); transition: color .25s; }
.pv-cta { display: inline-block; padding: .65rem 1rem; }
.pv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.2rem; }
.pv-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .7rem; display: grid; gap: .25rem; font-size: .8rem; }
.pv-card i { height: 46px; border-radius: 8px; background: color-mix(in srgb, var(--c) 16%, #fff); margin-bottom: .2rem; transition: background-color .25s; }
.pv-card b { font-size: .85rem; line-height: 1.25; }
.pv-card small { color: var(--muted); }
.pv-bar { display: block; height: 5px; border-radius: 99px; background: var(--line-2); overflow: hidden; margin-top: .2rem; }
.pv-bar span { display: block; width: 60%; height: 100%; background: var(--c); transition: background-color .25s; }

/* ---------- Confiance (RGPD) ---------- */
.p-trust { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .p-trust { grid-template-columns: 1fr; } }
.p-trust-illu { width: 150px; height: 150px; margin-bottom: 1.25rem; }
.p-spin { transform-box: view-box; transform-origin: 110px 110px; animation: p-spin 60s linear infinite; }
.p-trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 600px) { .p-trust-list { grid-template-columns: 1fr; } }
.p-trust-list li { display: flex; gap: .85rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.15rem; }
.p-trust-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.p-trust-list b { font-family: var(--font-head); font-size: 1.05rem; }
.p-trust-list p { color: var(--ink-2); font-size: .95rem; margin-top: .15rem; }
.p-footnote { margin-top: 1.5rem; color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.p-faq-section { padding-top: 0; }
.p-faq-wrap { max-width: 820px; }
.p-faq { display: grid; gap: .6rem; }
.p-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.p-faq details[open] { border-color: #cfe0d8; box-shadow: var(--shadow); }
.p-faq summary { cursor: pointer; list-style: none; padding: 1rem 3.4rem 1rem 1.25rem; font-weight: 700; font-size: 1.075rem; position: relative; min-height: 62px; display: flex; align-items: center; }
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; font-weight: 700; transition: transform .25s var(--ease), background-color .2s, color .2s; }
.p-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--primary); color: #fff; }
.p-faq details p { padding: 0 1.25rem 1.15rem; color: var(--ink-2); }

/* ---------- Devis ---------- */
.p-devis { position: relative; overflow: hidden; background: var(--primary); color: #E4F1EC; }
.p-devis-deco { position: absolute; left: 0; bottom: 0; width: 100%; height: 160px; pointer-events: none; }
.p-devis .p-title, .p-devis h3 { color: #fff; }
.p-devis .p-label { color: var(--sun); }
.p-devis-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 920px) { .p-devis-grid { grid-template-columns: 1fr; } }
.p-devis-intro > p { font-size: 1.15rem; margin: .8rem 0 2rem; }
.p-devis-intro h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem; }
.p-next { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; counter-reset: n; }
.p-next li { counter-increment: n; display: flex; gap: .8rem; align-items: center; }
.p-next li::before { content: counter(n); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sun); color: #17201F; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.p-next b { color: #fff; }
.p-form { background: var(--surface); color: var(--ink); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.p-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; margin-bottom: 1.25rem; }
.p-form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .p-form-grid { grid-template-columns: 1fr; } }
.p-modules { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.p-modules legend { margin-bottom: .45rem; }
@media (max-width: 560px) { .p-modules { grid-template-columns: 1fr; } }
.p-check { display: flex; gap: .6rem; align-items: center; padding: .6rem .75rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; min-height: 48px; font-size: .95rem; transition: border-color .15s, background-color .15s; }
.p-check:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.p-check input { width: 20px; height: 20px; accent-color: var(--primary); flex: none; margin: 0; }
.p-form .error-msg { margin: 0 0 1rem; }
.p-form-legal { margin-top: .8rem; font-size: .85rem; color: var(--muted); text-align: center; }
.p-form-legal a { color: inherit; }
.p-form-done { display: grid; justify-items: center; text-align: center; gap: .8rem; padding-block: 3rem; }
.p-form-done:focus { outline: none; }
.p-form-done h3 { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.p-form-done p { color: var(--ink-2); max-width: 26rem; }
.p-done-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }

/* ---------- Pied de page ---------- */
.p-footer { padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.p-footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.p-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.p-footer nav a { color: var(--ink-2); font-weight: 700; text-decoration: none; padding: .4rem 0; }
.p-footer nav a:hover { color: var(--primary); text-decoration: underline; }
.p-footer-legal { flex-basis: 100%; padding-top: .9rem; border-top: 1px solid var(--line-2); }
.p-footer .p-footer-legal a { font-weight: 400; font-size: .9rem; color: var(--muted); }
.p-mobile-cta { display: none; }
@media (max-width: 720px) {
  .p-mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 1.25rem 16px calc(.75rem + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 60%, rgba(246,244,239,0)); pointer-events: none; transition: opacity .2s, transform .2s; }
  .p-mobile-cta .btn { pointer-events: auto; border-radius: 99px; }
  .p-mobile-cta.is-hidden { opacity: 0; transform: translateY(100%); }
  .p-footer { padding-bottom: 6.5rem; }
}
