:root {
      --paper: #f7f3ec;
      --paper-2: #efe8dc;
      --ink: #202018;
      --muted: #696357;
      --line: rgba(32, 32, 24, 0.16);
      --forest: #1f4f3b;
      --forest-2: #17392d;
      --sage: #9ead92;
      --gold: #b88a3d;
      --clay: #a95c39;
      --white: #fffdf8;
      --shadow: 0 26px 80px rgba(32, 32, 24, 0.12);
      --radius: 8px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: Aptos, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
      line-height: 1.55;
      letter-spacing: 0;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; }
    .site {
      min-height: 100vh;
      overflow-x: hidden;
      background:
        linear-gradient(90deg, rgba(32,32,24,.05) 1px, transparent 1px) 0 0 / 96px 96px,
        linear-gradient(180deg, rgba(32,32,24,.04) 1px, transparent 1px) 0 0 / 96px 96px,
        var(--paper);
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 20;
      border-bottom: 1px solid rgba(32,32,24,.12);
      background: rgba(247, 243, 236, .88);
      backdrop-filter: blur(18px);
    }
    .nav-inner {
      width: min(1180px, calc(100% - 40px));
      min-height: 76px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
      text-decoration: none;
    }
    .logo {
      width: 128px;
      height: auto;
      object-fit: contain;
      flex: 0 0 auto;
    }
    .brand-mark {
      width: 1px;
      height: 34px;
      background: var(--line);
    }
    .brand-caption {
      font-size: 12px;
      line-height: 1.25;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: .12em;
      white-space: nowrap;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 22px;
      font-size: 14px;
      color: #4e493f;
    }
    .nav-links a {
      text-decoration: none;
      border-bottom: 1px solid transparent;
    }
    .nav-links a:hover { border-bottom-color: currentColor; }
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0 18px;
      border: 1px solid var(--forest);
      border-radius: 999px;
      background: var(--forest);
      color: #fffaf0;
      text-decoration: none;
      font-weight: 700;
      font-size: 14px;
      transition: transform .18s ease, background .18s ease, border-color .18s ease;
    }
    .button:hover { transform: translateY(-1px); background: var(--forest-2); border-color: var(--forest-2); }
    .button.secondary {
      background: transparent;
      color: var(--forest);
      border-color: rgba(31,79,59,.35);
    }
    .button.secondary:hover { border-color: var(--forest); background: rgba(31,79,59,.06); }

    .hero {
      position: relative;
      min-height: clamp(640px, 86svh, 820px);
      display: grid;
      align-items: center;
      border-bottom: 1px solid var(--line);
      isolation: isolate;
      overflow: hidden;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background:
        linear-gradient(115deg, rgba(247,243,236,.96) 0%, rgba(247,243,236,.74) 46%, rgba(31,79,59,.16) 100%),
        radial-gradient(circle at 72% 36%, rgba(184,138,61,.2), transparent 36%);
    }
    .plan-lines {
      position: absolute;
      inset: 0;
      z-index: -1;
      opacity: .32;
      background:
        linear-gradient(90deg, transparent 0 14%, rgba(31,79,59,.65) 14% 14.18%, transparent 14.18% 34%, rgba(31,79,59,.45) 34% 34.14%, transparent 34.14%),
        linear-gradient(0deg, transparent 0 18%, rgba(31,79,59,.38) 18% 18.13%, transparent 18.13% 58%, rgba(31,79,59,.46) 58% 58.12%, transparent 58.12%),
        linear-gradient(135deg, transparent 0 68%, rgba(184,138,61,.45) 68% 68.16%, transparent 68.16%);
      clip-path: polygon(54% 10%, 100% 0, 100% 86%, 70% 100%, 42% 74%);
    }
    .hero-inner {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
      padding: 76px 0 52px;
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 22px;
      color: var(--forest);
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .14em;
    }
    .eyebrow::before {
      content: "";
      width: 42px;
      height: 1px;
      background: var(--gold);
    }
    h1, h2, h3 {
      margin: 0;
      font-family: Georgia, "Times New Roman", serif;
      font-weight: 500;
      letter-spacing: 0;
    }
    h1 {
      max-width: 870px;
      font-size: clamp(46px, 8vw, 104px);
      line-height: .94;
    }
    .hero-copy {
      max-width: 690px;
      margin: 28px 0 0;
      font-size: clamp(18px, 2.2vw, 24px);
      color: #3f3b32;
    }
    .hero-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 34px;
    }
    .hero-meta {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      width: min(920px, 100%);
      margin-top: 58px;
      border-top: 1px solid rgba(32,32,24,.18);
      border-bottom: 1px solid rgba(32,32,24,.18);
      background: rgba(255,253,248,.38);
    }
    .meta-item {
      min-height: 92px;
      padding: 18px 18px 16px;
      border-right: 1px solid rgba(32,32,24,.14);
    }
    .meta-item:last-child { border-right: 0; }
    .meta-label {
      display: block;
      color: var(--muted);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .12em;
    }
    .meta-value {
      display: block;
      margin-top: 8px;
      color: var(--ink);
      font-weight: 800;
      font-size: clamp(17px, 2vw, 22px);
      line-height: 1.15;
    }

    .section {
      padding: 86px 0;
      border-bottom: 1px solid var(--line);
    }
    .wrap {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
    }
    .section-head {
      display: grid;
      grid-template-columns: minmax(0, .82fr) minmax(280px, .42fr);
      gap: 54px;
      align-items: end;
      margin-bottom: 42px;
    }
    h2 {
      font-size: clamp(34px, 5vw, 64px);
      line-height: 1;
    }
    .lead {
      margin: 0;
      color: #4f493f;
      font-size: 17px;
    }
    .programme {
      display: grid;
      grid-template-columns: .72fr 1fr;
      border: 1px solid var(--line);
      background: var(--white);
      box-shadow: var(--shadow);
    }
    .programme-aside {
      padding: 34px;
      background: var(--forest);
      color: #fffaf0;
    }
    .programme-aside h3 {
      font-size: 34px;
      line-height: 1.05;
    }
    .programme-aside p {
      margin: 18px 0 0;
      color: rgba(255,250,240,.76);
    }
    .programme-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .module {
      min-height: 178px;
      padding: 28px;
      border-left: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .module:nth-last-child(-n + 2) { border-bottom: 0; }
    .module-num {
      color: var(--gold);
      font-weight: 900;
      font-size: 12px;
      letter-spacing: .14em;
      text-transform: uppercase;
    }
    .module h3 {
      margin-top: 14px;
      font-family: Aptos, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
      font-size: 19px;
      font-weight: 850;
      line-height: 1.22;
    }
    .module p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 15px;
    }

    .benefits {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      border-top: 1px solid var(--line);
      border-left: 1px solid var(--line);
      background: rgba(255,253,248,.44);
    }
    .benefit {
      min-height: 220px;
      padding: 30px;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .benefit strong {
      display: block;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 25px;
      font-weight: 500;
      line-height: 1.08;
    }
    .benefit span {
      display: block;
      margin-top: 16px;
      color: var(--muted);
      font-size: 15px;
    }

    .dark-band {
      padding: 78px 0;
      background:
        linear-gradient(135deg, rgba(31,79,59,.98), rgba(23,57,45,.98)),
        var(--forest);
      color: #fffaf0;
      border-bottom: 1px solid rgba(255,255,255,.12);
    }
    .dark-grid {
      display: grid;
      grid-template-columns: .8fr 1fr;
      gap: 62px;
      align-items: start;
    }
    .dark-band h2 { max-width: 520px; }
    .modalities {
      display: grid;
      gap: 14px;
    }
    .modality {
      display: grid;
      grid-template-columns: 150px 1fr;
      gap: 18px;
      padding: 18px 0;
      border-bottom: 1px solid rgba(255,250,240,.22);
    }
    .modality b {
      color: var(--sage);
      text-transform: uppercase;
      letter-spacing: .12em;
      font-size: 12px;
    }
    .modality span { color: rgba(255,250,240,.84); }

    .trainer {
      display: grid;
      grid-template-columns: minmax(260px, .46fr) 1fr;
      gap: 54px;
      align-items: center;
    }
    .trainer-portrait {
      position: relative;
      min-height: 390px;
      border: 1px solid var(--line);
      background:
        linear-gradient(135deg, rgba(184,138,61,.16), transparent 42%),
        linear-gradient(160deg, #fffdf8, #eee3d3);
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .trainer-portrait::before {
      content: "DS";
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      color: rgba(31,79,59,.14);
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(110px, 18vw, 190px);
      line-height: 1;
    }
    .trainer-portrait::after {
      content: "Formateur immobilier";
      position: absolute;
      left: 26px;
      right: 26px;
      bottom: 24px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: .14em;
      font-size: 12px;
      font-weight: 800;
    }
    .trainer-text h2 { max-width: 700px; }
    .trainer-text p {
      max-width: 720px;
      margin: 22px 0 0;
      color: #4f493f;
      font-size: 18px;
    }
    .proofs {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 26px;
    }
    .proof {
      padding: 9px 12px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--forest);
      background: rgba(255,253,248,.52);
      font-size: 13px;
      font-weight: 800;
    }

    .faq {
      display: grid;
      grid-template-columns: .54fr 1fr;
      gap: 54px;
    }
    .qa {
      border-top: 1px solid var(--line);
    }
    details {
      padding: 24px 0;
      border-bottom: 1px solid var(--line);
    }
    summary {
      cursor: pointer;
      list-style: none;
      font-weight: 850;
      font-size: 18px;
    }
    summary::-webkit-details-marker { display: none; }
    summary::after {
      content: "+";
      float: right;
      color: var(--gold);
      font-size: 22px;
      line-height: 1;
    }
    details[open] summary::after { content: "−"; }
    details p {
      margin: 14px 0 0;
      color: var(--muted);
      max-width: 720px;
    }

    .cta {
      padding: 80px 0;
      color: #fffaf0;
      background:
        linear-gradient(90deg, rgba(23,57,45,.94), rgba(31,79,59,.86)),
        var(--forest);
    }
    .cta-inner {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 28px;
      align-items: center;
    }
    .cta h2 {
      max-width: 760px;
      color: #fffaf0;
    }
    .cta p {
      margin: 18px 0 0;
      color: rgba(255,250,240,.75);
      max-width: 700px;
    }
    .cta .button {
      background: #fffaf0;
      border-color: #fffaf0;
      color: var(--forest);
    }

    .footer {
      padding: 34px 0;
      color: var(--muted);
      font-size: 13px;
      background: #eee6d9;
    }
    .footer-inner {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
    }

    @media (max-width: 920px) {
      .nav-inner { width: min(100% - 28px, 1180px); min-height: 70px; }
      .brand-caption, .nav-links a:not(.button) { display: none; }
      .brand-mark { display: none; }
      .logo { width: 112px; }
      .hero { min-height: auto; }
      .hero-inner { width: min(100% - 30px, 1180px); padding: 66px 0 42px; }
      .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 38px; }
      .meta-item:nth-child(2) { border-right: 0; }
      .meta-item:nth-child(-n + 2) { border-bottom: 1px solid rgba(32,32,24,.14); }
      .section { padding: 62px 0; }
      .wrap { width: min(100% - 30px, 1180px); }
      .section-head, .programme, .dark-grid, .trainer, .faq, .cta-inner {
        grid-template-columns: 1fr;
        gap: 28px;
      }
      .programme-list { grid-template-columns: 1fr; }
      .module { border-left: 0; }
      .module:nth-last-child(2) { border-bottom: 1px solid var(--line); }
      .benefits { grid-template-columns: 1fr; }
      .modality { grid-template-columns: 1fr; gap: 6px; }
      .trainer-portrait { min-height: 270px; }
      .cta .button { justify-self: start; }
    }

    @media (max-width: 520px) {
      .nav-links .button { min-height: 38px; padding: 0 12px; font-size: 13px; }
      .hero-copy { font-size: 18px; }
      .hero-actions .button { width: 100%; }
      .hero-meta { grid-template-columns: 1fr; }
      .meta-item { border-right: 0; border-bottom: 1px solid rgba(32,32,24,.14); }
      .meta-item:last-child { border-bottom: 0; }
      .programme-aside, .module, .benefit { padding: 24px; }
      .footer-inner { display: grid; }
    }

.legal-page {
  min-height: 100vh;
}
.legal-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}
.legal-main h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: .96;
  margin-bottom: 34px;
}
.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.legal-section h2 {
  font-family: Aptos, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}
.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 16px;
}
.legal-section ul {
  margin: 14px 0 0;
  padding-left: 20px;
}
.legal-section a {
  color: var(--forest);
  font-weight: 800;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--forest);
  color: #fffaf0;
}
.skip-link:focus {
  left: 10px;
}
