/* ============================================================
   ACCÈS AU DROIT POUR TOUS — feuille de style autonome
   Même charte que fwh-legal.ma : blanc pur, encre, or (filets), vert (accents),
   un seul bandeau marocain au bord droit.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --paper: #FFFFFF;
  --ink: #0B0B0B;
  --ink-2: #333333;
  --line: #E6E6E6;
  --line-2: #CFCFCF;
  --gold: #B08D4A;
  --gold-dark: #9A7A3C;
  --green: #006233;
  --serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --sans: 'Montserrat', 'Gill Sans', Arial, sans-serif;
  --band-w: 4px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Bandeau marocain : seul élément rouge/vert de la page */
body::before {
  content: ''; position: fixed; top: 0; right: 0; bottom: 0; width: var(--band-w);
  background: url('bande-bord-ma.svg') center top / 100% 100% no-repeat;
  z-index: 10000; pointer-events: none;
}
@media (max-width: 768px) { :root { --band-w: 3px; } }

/* En-tête */
.head { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); }
.head__inner { max-width: 1240px; margin: 0 auto; padding: 0.9rem clamp(1.25rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.head__logo img { width: 390px; max-width: calc(100vw - 110px); height: auto; }
.menu { display: flex; align-items: center; gap: 0.25rem; }
.menu a { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); padding: 0.5rem 0.7rem; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.menu a.menu__cta { color: var(--ink); background: var(--gold); border-radius: 2px; margin-left: 0.5rem; border-bottom: none; }
.menu a.menu__cta:hover { background: var(--gold-dark); }
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); }
@media (max-width: 900px) {
  .burger { display: flex; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 0.75rem clamp(1.25rem, 4vw, 3rem) 1.25rem; border-bottom: 1px solid var(--line); gap: 0; }
  .menu.open { display: flex; }
  .menu a { padding: 0.85rem 0; font-size: 0.8rem; border-bottom: 1px solid var(--line); }
  .menu a.menu__cta { margin: 0.9rem 0 0; text-align: center; }
}

/* Mise en page */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.narrow { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 1rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); margin-bottom: 1.25rem; }
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h1 em, h2 em { color: var(--green); font-style: italic; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; }
p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.85; }
p + p { margin-top: 1rem; }
.lead { font-size: 1.15rem; color: var(--ink); max-width: 62ch; }
.lead--rule { border-left: 3px solid var(--gold); padding-left: 1.5rem; }
.link { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero h1 { max-width: 18ch; margin-bottom: 1.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.btn { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.95rem 2rem; border-radius: 2px; transition: background .25s, color .25s; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--line { color: var(--green); border: 1px solid var(--gold); }
.btn--line:hover { background: var(--gold); color: var(--ink); }

/* Grilles et cartes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; counter-reset: s; }
.step { border: 1px solid var(--line-2); border-top: 3px solid var(--gold); padding: 1.75rem 1.75rem 2rem; }
.step__num { font-family: var(--serif); font-size: 2.4rem; color: var(--green); line-height: 1; display: block; margin-bottom: 1rem; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.25rem; }
.card { border: 1px solid var(--line-2); padding: 1.75rem 1.9rem; }
.card--gold { border-color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.tag { font-size: 0.82rem; font-weight: 600; color: var(--ink); border: 1px solid var(--line-2); padding: 0.45rem 0.9rem; border-radius: 2px; }
.ticks { margin-top: 1.25rem; display: grid; gap: 0.7rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-size: 1.02rem; line-height: 1.65; color: var(--ink); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 1rem; height: 2px; background: var(--green); }
.note { margin-top: 2.25rem; border-top: 1px solid var(--line-2); padding-top: 1.25rem; font-size: 0.95rem; }
@media (max-width: 900px) { .steps, .cols { grid-template-columns: minmax(0, 1fr); } }

/* Formulaire */
.form { margin-top: 2rem; display: grid; gap: 1.25rem; max-width: 720px; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 2px; padding: 0.85rem 1rem; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field small { font-size: 0.85rem; color: var(--ink-2); line-height: 1.5; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 700px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.consent { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.3rem; accent-color: var(--green); flex-shrink: 0; }
.ok { display: none; margin-top: 1.5rem; border: 1px solid var(--gold); padding: 1.25rem 1.5rem; font-size: 1rem; color: var(--ink); max-width: 720px; }
.ok.show { display: block; }

/* Pied de page */
.foot { border-top: 1px solid var(--line-2); padding: 3rem 0 2.5rem; margin-top: 2rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot__logo { width: 380px; max-width: 100%; height: auto; margin-bottom: 1rem; }
.foot h4 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 0.9rem; }
.foot li { margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--ink); }
.foot li a:hover, .foot p a:hover { color: var(--green); }
.foot p { font-size: 0.92rem; line-height: 1.7; }
.foot__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-2); }
@media (max-width: 800px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } }
