/* Réseau Réemploi BFC — feuille de style du site public */
:root {
  --orange: #E48321;
  --orange-d: #C2650F;
  --orange-txt: #8A4A0B;
  --olive: #555939;
  --olive-l: #858B58;
  --olive-bg: #EEF0E4;
  --beige: #F5F1E9;
  --rose: #FAECE3;
  --ink: #222222;
  --ink-2: #3D3D3D;
  --muted: #5C5C5C;
  --line: #E4DED1;
  --r: 4px;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Poppins', system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--orange-txt); }
a:hover { color: var(--olive); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 14px; }
.small { font-size: 13px; color: var(--muted); }
.center { text-align: center; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-txt); margin-bottom: .6em; }

/* Boutons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: 3px; background: var(--olive); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid var(--olive); font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: #42452B; color: #fff; }
.btn-ghost { background: #fff; color: var(--olive); }
.btn-ghost:hover { background: var(--olive-bg); color: var(--olive); }
.btn-white { background: #fff; color: var(--olive); border-color: #fff; }
.btn-white:hover { background: var(--beige); color: var(--olive); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Bandeau plateforme + en-tête */
.draft-bar { background: #7A3F08; color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; }
.topbar { background: var(--olive); color: #fff; font-size: 13px; }
.topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; font-weight: 600; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 10; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand img { height: 64px; width: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 14px; font-weight: 500; font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--orange-txt); }
.nav a[aria-current="page"] { color: var(--orange-txt); font-weight: 600; border-bottom-color: var(--orange); }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; min-height: 44px; padding: 8px 16px; border: 2px solid var(--olive); background: #fff; color: var(--olive); font: inherit; font-weight: 600; border-radius: 3px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* Blocs : fonds et espacements */
.blk { padding: 88px 0; position: relative; }
.blk.bg-white + .blk.bg-white { padding-top: 0; }
.bg-beige { background: var(--beige); }
.bg-rose { background: var(--rose); }
.bg-olive { background: var(--olive); color: #fff; }
.bg-olive a:not(.btn) { color: #fff; }
.bg-olive .eyebrow { color: #F2C99C; }
.bg-olive .lead, .bg-olive .lead p { color: #EDEBE0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.sec-head > div { max-width: 820px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center > div { margin: 0 auto; }
.lead p { font-size: 17px; color: var(--ink-2); margin-bottom: 0; }
.lead p + p { margin-top: .8em; }
.boxed { background: var(--beige); border-radius: var(--r); padding: 56px 40px; }
.bg-beige .boxed { background: #fff; }
.boxed-line { background: #fff; border: 2px solid var(--line); }
@media (max-width: 640px) { .blk { padding: 56px 0; } .boxed { padding: 32px 20px; } }

/* Hero */
.blk-hero { overflow: hidden; padding: 80px 0 72px; }
.deco { position: absolute; width: 280px; height: 280px; border-radius: 50%; pointer-events: none; }
.deco-l { top: -140px; left: -140px; background: var(--orange); }
.deco-r { top: -110px; right: -110px; width: 260px; height: 260px; border: 34px solid var(--olive-l); }
.hero-in { position: relative; }
.hero-center { text-align: center; max-width: 1040px; }
.hero-center .btns { justify-content: center; }
.hero-center .hero-lead { margin: 0 auto; }
.hero-lead { max-width: 800px; }
.hero-lead p { font-size: 19px; color: var(--ink-2); }
.hl { color: var(--orange-d); }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.blk-hero + .blk-verbs { margin-top: -72px; }

/* Verbes */
.blk-verbs { padding: 22px 0; }
.verbs { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 22px; font-weight: 700; }
.verbs .dot { color: var(--orange); }

/* Texte */
.rt-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.prose p { font-size: 17px; color: var(--ink-2); line-height: 1.75; }
.prose ul { padding-left: 1.2em; }
.rt-aside { background: var(--olive-bg); border-radius: var(--r); padding: 32px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 860px) { .rt-split { grid-template-columns: 1fr; gap: 32px; } }

/* Texte + image */
.ti { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.ti-right { flex-direction: row-reverse; }
.ti-box { background: var(--olive); color: #fff; border-radius: var(--r); padding: 48px; }
.ti-box a { color: #fff; }
.ti-box .eyebrow { color: #F2C99C; }
.ti-box p { color: #EDEBE0; }
.ti-img { flex: 0 0 auto; background: #fff; border-radius: var(--r); padding: 20px; }
.ti-img img { max-height: 120px; width: auto; display: block; }
.ti-txt { flex: 1 1 480px; }
.ti-txt h2 { font-size: 28px; }

/* Introduction + cartes empilées */
.ic { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.ic-l { flex: 1 1 360px; }
.ic-l p { font-size: 17px; color: var(--ink-2); }
.ic-r { flex: 2 1 560px; display: grid; gap: 14px; }
.ic-card { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border-radius: var(--r); }
.ic-card h3 { margin-bottom: .3em; }
.ic-card p { margin: 0; font-size: 15px; color: var(--ink-2); }
.ic-card.t1 { background: var(--olive-bg); }
.ic-card.t2 { background: #FCEEE2; }
.ic-card.t3 { background: var(--beige); }
.ic-ico { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--olive); display: flex; align-items: center; justify-content: center; }
.t2 .ic-ico { background: var(--orange-d); }

/* Cartes */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r); }
.card p { margin: 0; font-size: 15px; color: var(--ink-2); }
.card h3 { margin: 0; }
.card .more { margin-top: auto; padding-top: 6px; }
.card .kicker, .kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); margin: 0; }
.card .sub { font-weight: 600; color: var(--orange-txt); }
.cards-line .card { border: 1px solid var(--line); background: #fff; }
.bg-beige .cards-line .card { border-color: transparent; }
.cards-fill .card { background: var(--beige); }
.bg-beige .cards-fill .card { background: #fff; }
.cards-badge .card { background: #fff; align-items: center; text-align: center; padding: 32px 26px; }
.badge { display: inline-block; padding: 10px 22px; border-radius: var(--r); background: var(--olive); color: #fff; font-size: 17px; }
.badge-o { background: var(--orange-d); }
.cards-numbered .card { background: #fff; color: var(--ink); }
.cards-numbered .num { font-weight: 700; font-size: 14px; color: var(--orange-d); }
.bg-olive .cards-numbered .card p { color: var(--ink-2); }
.bg-olive .card .more { color: var(--orange-txt); }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; }
.step-n { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: var(--olive); color: #fff; font-weight: 800; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; }
.steps-circles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.steps-circles li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.steps-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps-inline li, .steps-list li { display: flex; gap: 12px; align-items: flex-start; }
.steps-inline .step-n, .steps-list .step-n { width: 40px; height: 40px; font-size: 16px; }
.bg-olive .steps-inline .step-n { background: #fff; color: var(--olive); }
.steps-inline .step-t, .steps-list .step-t { padding-top: 7px; }
.steps-list { display: grid; gap: 14px; margin: 0 0 1em; }
.blk-steps .btns { margin-top: 28px; }
.bg-olive .btn { background: #fff; color: var(--olive); border-color: #fff; }

/* Onglets */
.tabs { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.tablist { flex: 1 1 300px; display: grid; gap: 10px; }
.tablist button { text-align: left; font: inherit; cursor: pointer; border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--r); padding: 16px 18px; min-height: 44px; }
.tablist button strong { display: block; font-size: 16px; }
.tablist button span { display: block; font-size: 14px; margin-top: 4px; color: var(--muted); }
.tablist button[aria-selected="true"] { background: var(--olive); border-color: var(--olive); color: #fff; }
.tablist button[aria-selected="true"] span { color: #EDEBE0; }
.tabpanel { flex: 999 1 540px; min-width: 0; border: 1px solid var(--line); border-radius: var(--r); padding: 36px; }
.tabpanel h3 { font-size: 24px; }
.tabpanel p { color: var(--ink-2); }
.tag { display: inline-block; padding: 8px 14px; border-radius: 3px; background: var(--olive); color: #fff !important; font-size: 15px; font-weight: 600; }
.greylist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.greylist li { background: #F3F3F1; border-radius: 3px; padding: 14px 18px; font-size: 15px; }
.note { background: var(--rose); border-left: 0; border-radius: var(--r); padding: 18px 20px; margin: 0 0 16px; }
.note-t { font-size: 13px; font-weight: 700; color: var(--orange-txt); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4em; }
.note p { font-size: 15px; margin: 0; }

/* Niveaux */
.levels { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.levels li { background: #fff; border-radius: var(--r); padding: 28px; }
.levels p { color: var(--ink-2); font-size: 15px; margin: 0; }
.lvl { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.lvl-1 { background: var(--olive-bg); color: var(--olive); }
.lvl-2 { background: var(--olive-l); color: #fff; }
.lvl-3 { background: var(--olive); color: #fff; }

/* Filières */
.filieres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.filieres li { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.filieres h3, .filieres p { margin: 0; }
.filieres p { font-size: 14px; color: var(--ink-2); }
.filieres .ref { font-size: 13px; font-weight: 600; color: var(--olive); }

/* Logos */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.logos li { background: #fff; border-radius: var(--r); height: 112px; display: flex; }
.logos li > * { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px; }
.logos img { max-height: 80px; width: auto; }
.logos a { border-radius: var(--r); transition: box-shadow .15s; }
.logos a:hover { box-shadow: 0 0 0 2px var(--orange); }
.bg-white .logos li { border: 1px solid var(--line); }

/* Membres détaillés */
.mlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; }
@media (max-width: 420px) { .mlist { grid-template-columns: 1fr; } }
.mcard { display: flex; gap: 20px; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 20px; }
.bg-beige .mcard { border-color: transparent; }
.mcard h3 { font-size: 17px; margin-bottom: .3em; }
.mcard p { font-size: 14px; color: var(--ink-2); margin: 0 0 6px; }
.mcard .more { font-size: 14px; }
.mlogo { flex: 0 0 130px; height: 84px; display: flex; align-items: center; justify-content: center; }
.mlogo img { max-height: 76px; max-width: 130px; }
.mlogo.big { flex-basis: 200px; height: 120px; }
.mlogo.big img { max-height: 110px; max-width: 190px; }
.footnote { margin-top: 20px; background: var(--beige); border-radius: var(--r); padding: 16px 20px; font-size: 15px; }

/* Sélecteur */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.chip { font: inherit; font-size: 15px; cursor: pointer; min-height: 44px; padding: 8px 18px; border-radius: 3px; border: 2px solid #D9D3C5; background: #fff; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: #fff; font-weight: 600; }
.sel-panel { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.sel-panel > div:last-child { flex: 1 1 380px; }
.sel-panel h3 { font-size: 24px; }
.sel-panel .links { display: flex; flex-wrap: wrap; gap: 16px; }

/* Appel à l'action */
.cta { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; border-radius: var(--r); padding: 48px; max-width: 1040px; margin: 0 auto; }
.cta-txt { flex: 1 1 420px; }
.cta-txt h2 { font-size: 28px; }
.cta-txt p { margin: 0 0 .4em; color: var(--ink-2); font-size: 17px; }
.cta .mail { font-weight: 700; font-size: 18px; }
.cta-rose { background: var(--rose); }
.cta-olive { background: var(--olive); color: #fff; }
.cta-olive p, .cta-olive a { color: #EDEBE0 !important; }
.cta-plain { flex-direction: column; text-align: center; justify-content: center; }
.cta-plain .cta-txt { flex: none; }

/* Contact */
.blk-contact_form { padding-top: 56px; }
.contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-l { flex: 1 1 360px; }
.contact-l h1 { font-size: clamp(30px, 3.6vw, 44px); }
.contact-l p { color: var(--ink-2); font-size: 17px; }
.h-sm { font-size: 20px; margin-top: 28px; }
.mailbox { display: flex; gap: 14px; align-items: center; background: var(--rose); border-radius: var(--r); padding: 20px; margin: 8px 0; }
.mailbox a { font-weight: 700; font-size: 18px; }
.mailbox-ico { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--orange-d); display: flex; align-items: center; justify-content: center; }
.contact-r { flex: 1 1 520px; background: var(--beige); border-radius: var(--r); padding: 36px; scroll-margin-top: 20px; }
@media (max-width: 640px) { .contact-r { padding: 22px; } .cta, .ti-box, .tabpanel, .sel-panel { padding: 24px; } }
.form { display: grid; gap: 18px; }
.form h2 { font-size: 22px; margin: 0; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { min-height: 46px; padding: 10px 12px; border-radius: 3px; border: 1px solid #B9B2A3; font: inherit; font-size: 15px; font-weight: 400; background: #fff; color: var(--ink); }
.form textarea { resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.form .radio { flex-direction: row; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: #fff; border-radius: 3px; font-weight: 400; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13px; line-height: 1.5; }
.form .check input { margin-top: 4px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { background: #FBE3E1; color: #8A1F17; border-radius: 3px; padding: 12px 16px; font-size: 14px; }
.form-errors ul { margin: 0; padding-left: 18px; }
.form-ok h2 { font-size: 26px; }

/* Pied de page */
.footer-logos { background: var(--beige); padding: 44px 0; }
.fl-in { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.fl-t { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); margin-bottom: 14px; }
.fl-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.fl-row a { background: #fff; border-radius: var(--r); padding: 8px; display: block; }
.fl-row img { height: 80px; width: auto; display: block; }
.footer-main { background: var(--olive); color: #fff; padding: 40px 0; font-size: 14px; }
.fm-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.fm-in > div { display: flex; flex-direction: column; gap: 8px; }
.fm-in a { color: #fff; }
.fm-in a.strong { font-weight: 600; }
.fm-name { font-weight: 700; font-size: 17px; margin: 0; }
.fm-tag { color: #EDEBE0; margin: 0; }
.fm-t { font-weight: 600; margin: 0; }
