/* Ristourne : charte « pop et illustrée » */
[hidden] { display: none !important; }
:root {
  --night: #1B2A4E;
  --night-soft: #4A5675;
  --coral: #E14B2A;
  --coral-light: #FF6B4A;
  --sun: #FFC93C;
  --sky: #8EC5FF;
  --mint: #7ED9B3;
  --peach: #FFF4EA;
  --peach-deep: #FDE3D3;
  --white: #FFFFFF;
  --line: #F1E3D6;
  --shadow: 0 10px 30px -12px rgba(27, 42, 78, 0.18);
  --font-title: "Fredoka", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--peach);
  color: var(--night);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--night); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.45em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* En-tête */
.site-header { padding: 22px 0 10px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-weight: 700; font-size: 1.5rem;
  color: var(--night); text-decoration: none; letter-spacing: -0.02em;
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--sun); display: grid; place-items: center;
  transform: rotate(-6deg);
}
.logo-mark svg { width: 22px; height: 26px; }
.pill-night {
  background: var(--night); color: var(--sun);
  font-weight: 700; font-size: 0.85rem;
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}

/* Pastilles */
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 26px 0 22px; }
.tag-offer {
  background: var(--coral); color: var(--white);
  font-family: var(--font-title); font-weight: 600; font-size: 1rem;
  padding: 8px 16px; border-radius: 12px;
  transform: rotate(-2deg);
  box-shadow: 0 6px 14px -6px rgba(225, 75, 42, 0.6);
}
.tag-soft {
  background: var(--peach-deep); color: #B23A1F;
  font-weight: 700; font-size: 0.88rem;
  padding: 6px 14px; border-radius: 999px;
}
.chip {
  display: inline-block; font-weight: 700; font-size: 0.82rem;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.chip-sky { background: #DCEBFF; color: var(--night); }
.chip-sun { background: #FFEFC2; color: var(--night); }

/* Surlignage du titre */
.mark {
  background: var(--sun);
  border-radius: 12px;
  padding: 0 0.18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Hero */
.hero { padding-bottom: 72px; }
.hero-title { max-width: 15em; margin-bottom: 0.5em; }
.hero-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
.hero-text p { font-size: 1.08rem; color: var(--night-soft); max-width: 31em; }
.hero-text strong { color: var(--night); }

.counter {
  background: var(--white); border-radius: 18px; padding: 18px 20px;
  box-shadow: var(--shadow); max-width: 440px; margin: 26px 0 16px;
}
.counter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.counter-top span { font-weight: 700; font-size: 0.95rem; }
.counter-top strong { font-family: var(--font-title); font-size: 1.15rem; }
.counter-top strong em { font-style: normal; color: var(--coral); }
.bar { height: 10px; background: var(--peach-deep); border-radius: 999px; margin: 12px 0 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--coral-light); border-radius: 999px; }
.counter small { color: var(--night-soft); font-size: 0.82rem; }

.explain {
  background: var(--white); border-radius: 16px; max-width: 440px;
  box-shadow: var(--shadow);
}
.explain summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; font-weight: 700; font-size: 0.95rem;
}
.explain summary::-webkit-details-marker { display: none; }
.q-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--sky); color: var(--night);
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; flex: none;
}
.explain p { padding: 0 18px 16px; margin: 0; color: var(--night-soft); font-size: 0.95rem; }

/* Carte d'inscription */
.signup {
  position: relative; background: var(--white); border-radius: 26px;
  padding: 34px 30px 30px; box-shadow: 0 24px 50px -24px rgba(27, 42, 78, 0.28);
}
.signup h2 { font-size: 1.6rem; padding-right: 64px; }
.signup p { color: var(--night-soft); font-size: 0.95rem; }
.badge-offer {
  position: absolute; top: -26px; right: 10px;
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--coral-light); color: var(--white);
  display: grid; place-items: center; text-align: center;
  transform: rotate(12deg);
  font-family: var(--font-title); font-weight: 700; line-height: 1.05;
  box-shadow: 0 8px 18px -8px rgba(225, 75, 42, 0.7);
}
.badge-offer span { display: block; font-size: 1.05rem; }
.badge-offer small { display: block; font-size: 0.66rem; font-family: var(--font-body); font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.checklist li {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--peach); border-radius: 12px; padding: 10px 14px; font-size: 0.95rem;
}
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231B2A4E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.btn {
  display: block; width: 100%; text-align: center;
  background: var(--coral); color: var(--white);
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  padding: 16px 22px; border-radius: 999px; border: 0;
  box-shadow: 0 10px 20px -10px rgba(225, 75, 42, 0.8);
}
.btn:hover { background: #C93F21; color: var(--white); }
.fine { margin-top: 14px; font-size: 0.8rem; color: var(--night-soft); text-align: center; }

/* Sections */
.section { padding: 72px 0; }
.section-head { max-width: 34em; margin-bottom: 36px; }
.section-head p { color: var(--night-soft); }

.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px; counter-reset: step;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step;
  background: var(--white); border-radius: 22px; padding: 24px 20px 26px;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  font-family: var(--font-title); font-weight: 700; font-size: 1.15rem;
  transform: rotate(-5deg);
}
.steps li:nth-child(1)::before { background: var(--sun); }
.steps li:nth-child(2)::before { background: var(--sky); }
.steps li:nth-child(3)::before { background: var(--mint); }
.steps li:nth-child(4)::before { background: var(--coral-light); }
.steps p { color: var(--night-soft); font-size: 0.92rem; margin: 0; }

/* Ce qu'on vérifie */
.checks { display: grid; gap: 14px; }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .checks { grid-template-columns: repeat(3, 1fr); } }
.check {
  background: var(--white); border-radius: 18px; padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.check i {
  flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 7px;
}
.check:nth-child(6n+1) i { background: var(--coral-light); }
.check:nth-child(6n+2) i { background: var(--sun); }
.check:nth-child(6n+3) i { background: var(--sky); }
.check:nth-child(6n+4) i { background: var(--mint); }
.check:nth-child(6n+5) i { background: var(--coral-light); }
.check:nth-child(6n+6) i { background: var(--sun); }
.check h3 { margin-bottom: 4px; font-size: 1.05rem; }
.check p { margin: 0; color: var(--night-soft); font-size: 0.92rem; }

/* Pourquoi gratuit */
.why {
  background: var(--sky); border-radius: 28px; padding: 34px 32px;
  display: grid; gap: 26px; align-items: center;
}
@media (min-width: 860px) { .why { grid-template-columns: 1fr auto; padding: 38px 40px; } }
.why h2 { font-size: 1.8rem; }
.why p { margin: 0; max-width: 40em; }
.price-card {
  background: var(--white); border-radius: 18px; padding: 16px 22px;
  transform: rotate(-2deg); box-shadow: var(--shadow); min-width: 220px;
}
.price-card small { display: block; font-size: 0.78rem; font-weight: 700; color: var(--night-soft); }
.price-card strong { display: block; font-family: var(--font-title); font-size: 1.45rem; margin: 2px 0; }
.price-card span { font-size: 0.85rem; }

/* Formulaire */
.form-section .section-head { margin-bottom: 24px; }
.form-box {
  background: var(--white); border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow); min-height: 320px;
}
.form-box iframe { width: 100%; height: 900px; border: 0; display: block; }
.form-fallback { padding: 32px; }
.form-fallback p { color: var(--night-soft); }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq h2 { margin-bottom: 18px; }
.faq details { background: var(--white); border-radius: 16px; box-shadow: 0 6px 18px -12px rgba(27, 42, 78, 0.25); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sun); color: var(--night);
  display: grid; place-items: center; font-weight: 700; line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--night-soft); }

/* Pied de page */
.site-footer { background: var(--night); color: #DCE3F2; padding: 26px 0; margin-top: 72px; font-size: 0.88rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.site-footer b { font-family: var(--font-title); color: var(--white); font-size: 1.05rem; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--sun); }

/* Bandeau de pause */
.pause-banner {
  background: var(--sun); color: var(--night);
  text-align: center; font-weight: 700; padding: 12px 16px;
}
.pause-banner[hidden] { display: none; }

/* Pages juridiques */
.legal { padding: 30px 0 20px; }
.legal .wrap { max-width: 780px; }
.legal article { background: var(--white); border-radius: 26px; padding: 36px 34px; box-shadow: var(--shadow); }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal .updated { color: var(--night-soft); font-size: 0.92rem; }
.todo { background: var(--sun); padding: 0 4px; border-radius: 4px; }
@media (max-width: 560px) { .legal article { padding: 26px 20px; } }
@media (min-width: 1180px) { .badge-offer { right: -14px; } }
@media (max-width: 480px) {
  .pill-night { font-size: 0.72rem; padding: 6px 10px; }
  .logo { font-size: 1.3rem; }
}

/* ===== Version simplifiée (octobre) ===== */
.btn-small {
  background: var(--night); color: var(--white);
  font-weight: 700; font-size: 0.92rem; text-decoration: none;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
}
.btn-small:hover { background: var(--coral); color: var(--white); }

.hero { padding: 18px 0 64px; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.hero-text .tag-offer { display: inline-block; margin-bottom: 22px; }
.hero-text h1 { max-width: 13em; }
.lead { font-size: 1.12rem; color: var(--night-soft); max-width: 31em; margin-bottom: 26px; }
.btn-hero { display: inline-block; width: auto; padding: 17px 30px; font-size: 1.08rem; }
.chips { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-weight: 700; font-size: 0.85rem; padding: 6px 13px; border-radius: 999px; }
.chip-mint { background: #DDF5EA; }
.chips .chip-sun { background: #FFEFC2; }
.chips .chip-sky { background: #DCEBFF; }
.explain { max-width: 520px; }
.explain[open] summary { padding-bottom: 8px; }

/* Courrier annoté */
.decompte-fig { margin: 0; justify-self: center; width: 100%; max-width: 470px; }
.decompte {
  position: relative; background: var(--white);
  border-radius: 22px; padding: 26px 24px 30px;
  box-shadow: 0 26px 50px -26px rgba(27, 42, 78, 0.35);
  transform: rotate(-2deg);
  border: 2px solid var(--night);
}
.decompte-head {
  display: flex; justify-content: space-between; gap: 12px;
  background: #FFEFC2; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px;
}
.decompte-head strong { font-family: var(--font-title); font-size: 1rem; line-height: 1.2; }
.decompte-head span { font-size: 0.75rem; color: var(--night-soft); text-align: right; line-height: 1.35; }
.decompte table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.decompte td { padding: 6px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.decompte td.amount { text-align: right; white-space: nowrap; padding-left: 12px; font-variant-numeric: tabular-nums; font-weight: 500; }
.decompte tr.struck .label, .decompte tr.struck td.amount {
  text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; color: var(--night-soft);
}
.decompte .note {
  display: inline-block; margin-top: 3px; margin-left: 6px;
  font-size: 0.72rem; font-weight: 700; color: #B23A1F;
  background: var(--peach-deep); border-radius: 999px; padding: 1px 9px;
}
.decompte tr.struck .note { margin-left: 6px; }
.decompte tr.total td { border-bottom: none; padding-top: 9px; font-weight: 700; }
.decompte tr.total.first td { border-top: 2px solid var(--night); }
.decompte .was { text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.decompte .result {
  margin-top: 12px; padding: 12px 16px; border-radius: 14px;
  background: var(--sun); display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-title); font-weight: 700; font-size: 1.12rem;
}
.decompte .stamp {
  position: absolute; right: -12px; bottom: -20px; transform: rotate(10deg);
  background: var(--mint); color: var(--night);
  font-family: var(--font-title); font-weight: 700; font-size: 1rem;
  padding: 6px 14px; border-radius: 12px; border: 2px solid var(--night);
}
.decompte-fig figcaption { margin-top: 30px; text-align: center; font-size: 0.85rem; color: var(--night-soft); }

/* Envoi */
.send { padding-top: 40px; }
.send-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .send-grid { grid-template-columns: 0.75fr 1.25fr; gap: 48px; } }
.mini-steps { list-style: none; padding: 0; margin: 8px 0 24px; counter-reset: s; display: grid; gap: 12px; }
.mini-steps li {
  counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center;
}
.mini-steps li::before {
  content: counter(s); grid-row: span 2;
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--font-title); font-weight: 700; transform: rotate(-5deg);
}
.mini-steps li:nth-child(1)::before { background: var(--sun); }
.mini-steps li:nth-child(2)::before { background: var(--sky); }
.mini-steps li:nth-child(3)::before { background: var(--mint); }
.mini-steps b { font-size: 1.02rem; }
.mini-steps span { color: var(--night-soft); font-size: 0.9rem; }
.send .counter { margin: 0 0 14px; }
.fine-left { font-size: 0.85rem; color: var(--night-soft); }
.form-box iframe { height: 760px; }

/* Bouton fixe mobile */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 20;
    transition: opacity .2s ease, transform .2s ease;
  }
  .sticky-cta.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
  .site-footer { padding-bottom: 90px; }
  .btn-hero { display: block; width: 100%; }
  .decompte { padding: 22px 16px 28px; }
  .decompte .stamp { right: 6px; }
}
@media (max-width: 400px) { .btn-small { font-size: 0.8rem; padding: 8px 12px; } }

/* ===== Formulaire maison ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; }
.form-box { min-height: 0; padding: 26px; }
@media (max-width: 560px) { .form-box { padding: 18px; border-radius: 22px; } }
.rform { display: grid; gap: 18px; }

.drop {
  background: var(--sun); border-radius: 22px;
  padding: 26px 20px 22px; text-align: center;
  border: 3px dashed transparent;
  transition: border-color .15s ease, background-color .15s ease;
}
.drop.is-over { border-color: var(--night); background: #FFD866; }
.drop.has-files { padding: 16px 20px; }
.drop.has-files .drop-art, .drop.has-files .drop-hint { display: none; }
.drop-art svg { width: 76px; height: 62px; margin: 0 auto 8px; }
.drop-title { font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; margin: 0 0 14px; }
.drop.has-files .drop-title { font-size: 1.05rem; margin-bottom: 10px; }
.drop-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.btn-night {
  display: inline-block; cursor: pointer;
  background: var(--night); color: var(--white);
  font-weight: 700; font-size: 1.02rem;
  padding: 13px 26px; border-radius: 999px;
}
.btn-night:hover { background: #2A3D6B; }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 0.95rem; }
.link.muted { text-decoration: none; cursor: default; font-weight: 500; }
.drop-hint { margin: 12px 0 0; font-size: 0.88rem; }
input[type="file"]:focus-visible + * , .drop:focus-within .btn-night { outline: 3px solid var(--coral); outline-offset: 3px; }

/* Ordinateur ou mobile : on montre le bon bouton */
.only-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .only-touch { display: inline-block; }
  .only-desk { display: none; }
}

.files { list-style: none; padding: 0; margin: -4px 0 0; display: grid; gap: 10px; }
.files:empty { display: none; }
.files li {
  display: grid; grid-template-columns: 48px 1fr auto auto; gap: 12px; align-items: center;
  background: var(--white); border: 2px solid var(--line); border-radius: 16px; padding: 8px 10px;
}
.thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--peach-deep); color: #B23A1F; display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; }
.meta { min-width: 0; display: grid; }
.meta b { font-size: 0.95rem; }
.meta span { font-size: 0.8rem; color: var(--night-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ok {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231B2A4E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.rm {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--peach); color: var(--night); font-size: 1.3rem; line-height: 1;
}
.rm:hover { background: var(--peach-deep); }

.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 0.98rem; }
.field input {
  font: inherit; font-size: 1.05rem; color: var(--night);
  background: var(--peach); border: 2px solid var(--line); border-radius: 14px;
  padding: 14px 16px; width: 100%;
}
.field input::placeholder { color: #A39C98; }
.field input:focus { outline: none; border-color: var(--night); background: var(--white); }

.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 0.86rem; color: var(--night-soft); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--coral); cursor: pointer; }
.consent a { color: var(--night); }

.err { margin: -6px 0 0; color: #B23A1F; font-weight: 700; font-size: 0.88rem; }
.err-center { text-align: center; margin-top: 0; }
.rform .btn { cursor: pointer; font-family: inherit; }
.rform .btn:disabled { opacity: 0.7; cursor: wait; }

.done { text-align: center; padding: 30px 10px; outline: none; }
.done-mascot svg { width: 86px; height: 104px; margin: 0 auto 14px; transform: rotate(-6deg); }
.done h3 { font-size: 1.8rem; }
.done p { color: var(--night-soft); max-width: 26em; margin-inline: auto; }
.send-grid { align-items: center; }
@media (max-width: 959px) {
  .mini-steps { display: none; }
  .send .counter { margin-bottom: 0; }
  .send-text .fine-left { display: none; }
}

/* Formulaire plus étroit */
@media (min-width: 960px) {
  .send-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 64px; justify-content: space-between; }
}
.form-box { width: 100%; max-width: 540px; justify-self: center; }

/* ===== Deux parcours ===== */
.hero-alt { margin: 14px 0 0; font-size: 0.95rem; color: var(--night-soft); }
.hero-alt a { color: var(--night); font-weight: 700; }
.choice-title { margin-bottom: 18px; }
.choice { display: grid; gap: 14px; margin-bottom: 36px; }
@media (min-width: 720px) { .choice { grid-template-columns: 1fr 1fr; } }
.choice-card {
  display: flex; align-items: center; gap: 16px; text-align: left; cursor: pointer;
  font: inherit; color: var(--night);
  background: var(--white); border: 3px solid transparent; border-radius: 22px;
  padding: 18px 20px; box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .15s ease;
}
.choice-card:hover { transform: translateY(-1px); }
.choice-card[aria-selected="true"] { border-color: var(--night); }
.choice-card[aria-selected="false"] { opacity: 0.75; }
.choice-card[aria-selected="false"]:hover { opacity: 1; }
.choice-ico { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; transform: rotate(-5deg); }
.choice-ico svg { width: 30px; height: 30px; }
.ico-sun { background: var(--sun); }
.ico-sky { background: var(--sky); }
.choice-txt { display: grid; gap: 2px; }
.choice-txt b { font-family: var(--font-title); font-weight: 600; font-size: 1.12rem; line-height: 1.2; }
.choice-txt span { color: var(--night-soft); font-size: 0.95rem; }
.choice-card[aria-selected="true"] .choice-txt span { color: var(--coral); font-weight: 700; }
.panel-title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.panel-lead { color: var(--night-soft); }
@media (max-width: 959px) { #panel-demande .mini-steps { display: none; } }

.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field input.is-bad { border-color: #E14B2A; }
.opt { font-weight: 500; color: var(--night-soft); }
.hint { margin: 0; font-size: 0.82rem; color: var(--night-soft); }

.letter-out { outline: none; display: grid; gap: 14px; }
.letter-out h3 { font-size: 1.4rem; margin: 0; }
.letter {
  white-space: pre-wrap; font-family: var(--font-body); font-size: 0.9rem; line-height: 1.55;
  background: var(--peach); border: 2px solid var(--line); border-radius: 16px;
  padding: 18px; margin: 0; max-height: 420px; overflow: auto;
}
.letter-actions { display: grid; gap: 10px; justify-items: center; }
.letter-actions .btn { width: 100%; }
.letter-actions .btn-night { width: 100%; text-align: center; text-decoration: none; }
button.link { background: none; border: 0; padding: 4px; font: inherit; font-weight: 700; color: var(--night); }
#l-edit { justify-self: center; font-weight: 500; font-size: 0.9rem; }

@media print {
  body.print-letter * { visibility: hidden; }
  body.print-letter .letter, body.print-letter .letter * { visibility: visible; }
  body.print-letter .letter { position: absolute; left: 0; top: 0; width: 100%; max-height: none; overflow: visible; border: 0; background: #fff; font-size: 12pt; }
}
.hint.center { text-align: center; }
.decompte td.amount .was { color: var(--night-soft); }

/* Avertissement parcours demande */
.warn {
  background: #FFF6DB; border: 2px solid var(--sun); border-radius: 16px;
  padding: 16px 18px; font-size: 0.9rem; color: var(--night);
}
.warn p { margin: 0 0 8px; }
.warn p:last-child { margin-bottom: 0; }
.warn-title { font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.warn-sub { font-weight: 700; margin-bottom: 4px !important; }
.warn ul { margin: 0 0 8px; padding-left: 1.2em; }
.warn li { margin-bottom: 2px; }
