:root {

      --night: #18202E;
      --night-2: #222C3E;
      --night-line: #34405A;
      --on-night: #F4F2FB;
      --on-night-soft: #C5C9DA;
      --lavande-night: #B8B0E8;
      --ocre-night: #F0A07C;

      --bg: #F7F6FC;
      --white: #FFFFFF;
      --lavande-pale: #ECE9F6;
      --lavande-pale-2: #E0DCF0;
      --line: #DDD9EA;
      --line-strong: #8A84A8;
      --ink: #18202E;
      --ink-soft: #333A4C;
      --muted: #5D6377;

      --lavande: #8C84C4;
      --lavande-text: #574F94;

      --ocre: #B4462A;
      --ocre-hover: #983820;
      --ocre-text: #A23D24;
      --ocre-pale: #F8E6DF;
      --error: #B42318;
      --font-head: "Familjen Grotesk", "Segoe UI", Arial, sans-serif;
      --font-body: "Vollkorn", Georgia, "Times New Roman", serif;
      --font-ui: "Familjen Grotesk", "Segoe UI", Arial, sans-serif;
      --radius: 14px;
      --radius-sm: 10px;
      --pill: 999px;
      --container: 1200px;
      --gutter: 16px;
      --header-h: 68px;
      --shadow-card: 0 28px 60px -30px rgba(9, 13, 22, .75);
      --focus: var(--lavande-text);
      --vent-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 22' fill='none' stroke-linecap='round' stroke-width='2.2'%3E%3Cpath d='M2 7c5-3 9 1 14-2s8-3 12-4' stroke='%238C84C4'/%3E%3Cpath d='M7 13c5-3 9 1 14-2s8-3 13-4' stroke='%23574F94'/%3E%3Cpath d='M2 19c5-3 9 1 14-2s6-2 9-3' stroke='%23B4462A'/%3E%3C/svg%3E");
      --vent-mark-night: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 22' fill='none' stroke-linecap='round' stroke-width='2.2'%3E%3Cpath d='M2 7c5-3 9 1 14-2s8-3 12-4' stroke='%23B8B0E8'/%3E%3Cpath d='M7 13c5-3 9 1 14-2s8-3 13-4' stroke='%238C84C4'/%3E%3Cpath d='M2 19c5-3 9 1 14-2s6-2 9-3' stroke='%23F0A07C'/%3E%3C/svg%3E");
      --vent-gust: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 18' fill='none' stroke-linecap='round' stroke-width='1.6' stroke-opacity='1'%3E%3Cpath d='M2 9c16-6 30 3 48-2s30-6 48-6' stroke='%238C84C4'/%3E%3Cpath d='M40 15c18-6 32 2 52-3s34-6 66-7' stroke='%23574F94'/%3E%3Cpath d='M14 16c8-3 14 1 22-1' stroke='%23B4462A'/%3E%3C/svg%3E");
      --vent-gust-night: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 18' fill='none' stroke-linecap='round' stroke-width='1.6' stroke-opacity='.45'%3E%3Cpath d='M2 9c16-6 30 3 48-2s30-6 48-6' stroke='%23B8B0E8'/%3E%3Cpath d='M40 15c18-6 32 2 52-3s34-6 66-7' stroke='%238C84C4'/%3E%3Cpath d='M14 16c8-3 14 1 22-1' stroke='%23F0A07C'/%3E%3C/svg%3E");
      --vent-underline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 8' fill='none' stroke-linecap='round' stroke-width='2.4'%3E%3Cpath d='M2 6c8-5 14 1 22-2s12-3 18-3' stroke='%23B4462A'/%3E%3Cpath d='M46 3c4-1 8 0 16-2' stroke='%238C84C4'/%3E%3C/svg%3E");
      --vent-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10' fill='none' stroke-linecap='round' stroke-width='2'%3E%3Cpath d='M1.5 6.5c3-2.4 5 .6 8-1s4-2.5 7-3' stroke='%23574F94'/%3E%3C/svg%3E");
      --vent-hero: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 720' fill='none' stroke-linecap='round' stroke-width='1.5'%3E %3Cg stroke='%23B8B0E8' stroke-opacity='.16'%3E %3Cpath d='M-40 520C200 440 360 560 620 470S1000 330 1480 300'/%3E %3Cpath d='M-40 610C240 540 420 640 700 560S1100 430 1480 420'/%3E %3Cpath d='M200 300C380 240 520 320 720 260S980 170 1200 150'/%3E %3Cpath d='M820 660C980 610 1100 670 1260 620S1400 580 1480 570'/%3E %3Cpath d='M-40 200C120 160 220 210 360 170'/%3E %3Cpath d='M940 120C1060 90 1150 130 1260 100S1400 60 1480 56'/%3E %3C/g%3E %3Cpath d='M60 680C220 630 330 690 470 650' stroke='%23F0A07C' stroke-opacity='.32'/%3E %3C/svg%3E");
      --hero-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0 56V34C200 10 380 48 640 30S1080 2 1440 22V56Z' fill='%23ECE9F6'/%3E%3C/svg%3E");
    }
    @media (min-width: 640px) { :root { --gutter: 28px; } }
    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; }
    body { margin: 0; font-family: var(--font-body); font-size: 1.125rem; line-height: 1.62; color: var(--ink-soft); background: var(--bg); overflow-x: hidden; }
    svg { display: block; }
    a { color: var(--lavande-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
    a:hover { color: var(--ocre-text); }
    :focus-visible { outline: 3px solid var(--lavande-text); outline-offset: 3px; border-radius: 4px; }
    .gabarit { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
    .portail-haut { position: sticky; top: 0; z-index: 100; background: var(--night); border-bottom: 1px solid var(--night-line); }
    .portail-haut .gabarit { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
    .portail-haut a:focus-visible { outline-color: var(--lavande-night); }
    .blason { display: inline-flex; align-items: center; gap: 10px; color: var(--on-night); text-decoration: none; }
    .blason-pictomarque { width: 34px; height: 34px; flex: none; }
    .blason-corpus { display: flex; flex-direction: column; line-height: 1; }
    .blason-susucription { font: 600 .66rem var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--lavande-night); }
    .blason-bourg { margin-top: 3px; font: 700 1.28rem var(--font-head); letter-spacing: -.03em; color: var(--on-night); }
    .foyer-raccord { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; font: 600 .95rem var(--font-ui); color: var(--on-night); text-decoration: none; border: 1px solid var(--night-line); border-radius: var(--pill); background: var(--night-2); }
    .foyer-raccord:hover { color: var(--on-night); border-color: var(--lavande-night); }
    body { display: flex; flex-direction: column; min-height: 100vh; }
    main { flex: 1 0 auto; padding: 52px 0 80px; }
    .folio { max-width: 760px; margin: 0 auto; }
    h1 { font: 700 clamp(2rem, 1.4rem + 2.4vw, 2.9rem) var(--font-head); line-height: 1.06; letter-spacing: -.035em; color: var(--ink); margin: 0 0 .6em; }
    h1::before { content: ""; display: block; width: 40px; height: 24px; margin: 0 0 14px; background: var(--vent-mark) no-repeat left center / contain; }
    h2 { position: relative; font: 700 clamp(1.25rem, 1.12rem + .5vw, 1.45rem) var(--font-head); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); margin: 2.2em 0 .5em; padding-top: 30px; }
    h2::before { content: ""; position: absolute; left: 0; top: 0; width: 130px; height: 16px; background: var(--vent-gust) no-repeat left center / contain; }
    p { margin: 0 0 1.05em; }
    strong { color: var(--ink); font-weight: 600; }
    .remerciement-plaquette { position: relative; padding: 30px 24px; background: var(--white); border-radius: var(--radius); border-top: 4px solid var(--ocre); box-shadow: 0 28px 60px -34px rgba(24, 32, 46, .45); }
    .poussoir { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; font: 700 1.02rem var(--font-ui); color: var(--white); background: var(--ocre); border: 0; border-radius: var(--pill); text-decoration: none; }
    .poussoir:hover { background: var(--ocre-hover); color: var(--white); }
    .poussoir:focus-visible { outline-color: var(--ink); }
    @media (min-width: 640px) { .remerciement-plaquette { padding: 38px 42px; } }
    .portail-pied { background: var(--night) var(--vent-gust-night) no-repeat right var(--gutter) top 24px / 180px auto; color: var(--on-night-soft); padding: 44px 0 26px; font: 400 .98rem var(--font-ui); }
    .portail-pied a { color: var(--on-night); }
    .portail-pied a:hover { color: var(--lavande-night); }
    .portail-pied a:focus-visible { outline-color: var(--lavande-night); }
    .portail-pied p { margin: 0 0 8px; }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
