/* Siloé · styles de la zone « sell » : vendre, candidature, espace créateur. Chargé après styles.css.
   Échelle commune : titres --h1 / --h2 / --h3, rayons --r-sm / --r / --r-lg, en-tête collant --head-h. */

/* ---------- page Vendre ---------- */
.sell-hero .txt { padding: clamp(28px, 4.5vw, 60px); gap: 18px; }
.sell-hero h1 { font-size: var(--h1); }
.sell-hero .pour { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .08); font-size: 14.5px; max-width: 480px; }
.sell-hero .pour b { font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-onDark { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn-onDark:hover { box-shadow: inset 0 0 0 1.5px #fff; }

.gains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gains > div { padding: 22px; border-radius: var(--r-lg); background: var(--white); display: grid; gap: 10px; align-content: start; }
.gains h3 { font-size: var(--h3); font-weight: 600; line-height: 1.3; }
.gains p { font-size: 14px; }
.gain-tag { justify-self: start; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--apricot-soft); color: var(--apricot-deep); font-size: 12px; font-weight: 600; }

.cost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.cost > div { padding: 28px; border-radius: var(--r-lg); display: grid; gap: 12px; align-content: start; }
.cost-main { background: var(--apricot-soft); }
.prop-tag { justify-self: start; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--white); color: var(--apricot-deep); font-size: 12px; font-weight: 600; }
.big-num { font: 400 64px/1 var(--display); }
.cost-main p { font-size: 15px; }
.sim { background: var(--white); }
.sim h3 { font-size: var(--h3); }
.sim-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: end; }
.sim-fields .field { align-content: end; }
.sim-note { font-size: 12.5px; color: var(--ink-3); }
.sim-out { padding: 16px; border-radius: var(--r); background: var(--paper); display: grid; gap: 6px; }
.sim-main { font-size: 17px; line-height: 1.4; }
.sim-main b { font-weight: 700; }

.steps-big { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: st; }
.steps-big li { counter-increment: st; padding: 22px; border-radius: var(--r-lg); background: var(--white); display: grid; gap: 8px; align-content: start; }
.steps-big li::before { content: counter(st); font: 400 40px/1 var(--display); color: var(--apricot-deep); }
.steps-big b { font-weight: 600; }
.steps-big span { font-size: 14px; }

.sell-band p { font-size: 15px; }

/* FAQ : titre à gauche, questions à droite */
.faq-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.faq-sec .section-head { margin-bottom: 0; }

/* ---------- candidature ---------- */
.apply { max-width: none; }
.apply-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.draft-note { font-size: 13px; color: var(--ink-3); }
.apply-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 13.5px; color: var(--ink-3); }
.apply-steps li { display: flex; align-items: center; gap: 7px; }
.apply-steps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sand-2); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.apply-steps li.done span { background: var(--green); color: #fff; }
.apply-steps li.on { color: var(--ink); font-weight: 600; }
.apply-steps li.on span { background: var(--ink); color: #fff; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 20px; align-items: start; }
.apply-form, .pv-wrap { min-width: 0; }
.apply-form { padding: 28px; max-width: 640px; }
.apply-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.apply-form .apply-nav .btn-lg { min-width: 180px; }
.pv-wrap { border-radius: var(--r-lg); background: var(--sand); padding: 16px; }
.pv-wrap > summary { font-weight: 600; cursor: pointer; padding: 4px 4px 12px; }
.pv-wrap > p { margin-top: 12px; }
.next { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 10px; text-align: left; }
.next li { padding: 18px 20px; border-radius: var(--r); background: var(--white); display: grid; gap: 4px; }
.next b { font-weight: 600; }
.confirm .cta-row { justify-content: center; }

/* Focus visible sur les champs : anneau bleu, pas de contour par défaut */
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (min-width: 960px) {
  .apply-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .pv-wrap { position: sticky; top: calc(var(--head-h) + 16px); }
}

/* ---------- aperçu de la page boutique ---------- */
.pv-card { background: var(--white); border-radius: var(--r); overflow: hidden; }
.pv-cover { position: relative; aspect-ratio: 4 / 3; background: var(--sand-2); }
.pv-cover img { width: 100%; height: 100%; object-fit: cover; }
.pv-note { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .92); font-size: 11.5px; color: var(--ink-2); }
.pv-body { padding: 16px; display: grid; gap: 10px; }
.pv-top { display: flex; gap: 12px; align-items: center; }
.pv-top .mono { width: 44px; height: 44px; flex: none; font-size: 18px; border: 0; margin: 0; }
.pv-name { font-size: 17px; line-height: 1.3; }
.pv-tag { font-size: 14px; color: var(--ink-2); }
.pv-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-cats span { height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 99px; background: var(--sand); font-size: 12px; font-weight: 600; }
.pv-story { font-size: 14px; line-height: 1.5; }
.pv-verse { font-size: 16px; line-height: 1.35; padding: 12px 14px; border-radius: var(--r-sm); background: var(--apricot-soft); }
.ph-txt { color: var(--ink-3); font-style: italic; font-weight: 400; }

/* ---------- espace créateur ---------- */
.dash nav { top: calc(var(--head-h) + 16px); }
.dash-main { display: grid; gap: 16px; min-width: 0; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.head-row h2 { margin: 0; }
.todo { list-style: none; margin: 0; padding: 0; display: grid; }
.todo li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.todo li:first-child { border-top: 0; }
.lines { display: grid; }
.lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.lines > div:first-child { border-top: 0; padding-top: 0; }
.lines .total { font-weight: 700; font-size: 16px; }
.inline-link { font-weight: 600; text-decoration: underline; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.split > .form { margin: 0; }
.split .btn-dark { justify-self: start; }
.pv-side { display: grid; gap: 10px; }
.addp > summary { list-style: none; display: inline-flex; cursor: pointer; }
.addp > summary::-webkit-details-marker { display: none; }
.addp-form { margin-top: 14px; padding: 20px; background: var(--paper); box-shadow: none; }
.addp-form .row2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.addp-form select { width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--field-line); }

@media (min-width: 1100px) {
  .split { grid-template-columns: minmax(0, 1fr) 320px; }
  .split > .pv-side { position: sticky; top: calc(var(--head-h) + 16px); }
}

/* ---------- tailles d'écran ---------- */
@media (min-width: 961px) {
  .sim-fields .field > span:first-child { min-height: 40px; display: flex; align-items: flex-end; }
}
@media (max-width: 960px) {
  .gains, .steps-big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost { grid-template-columns: minmax(0, 1fr); }
  .sim-fields { grid-template-columns: minmax(0, 1fr); }
  .faq-sec { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 680px) {
  .gains, .steps-big { grid-template-columns: minmax(0, 1fr); }
  .apply-form { padding: 22px; }
  .addp-form .row2 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- repasse Manne franche : Vendre ---------- */
/* Photo en corbeille, dans l'aplat encre, avec une marge autour */
.sell-hero .ph img { left: 40px; top: 40px; right: 0; bottom: 0; width: calc(100% - 40px); height: calc(100% - 40px); border-radius: var(--r-lg) var(--r-lg) 50% 50% / var(--r-lg) var(--r-lg) 16% 16%; }
/* Bandeau final : bande ciel au lieu d'un second aplat encre */
.sell-band { background: var(--sky); color: var(--ink); }
.sell-band p { opacity: 1; color: var(--ink-2); }
@media (max-width: 960px) { .sell-hero .ph img { left: 24px; top: 24px; width: calc(100% - 24px); height: calc(100% - 24px); } }
