/* ==========================================================================
   AI-AMI — Feuille de style principale
   Polices auto-hébergées (DM Sans, DM Mono, Playfair Display — licences OFL)
   ========================================================================== */

/* ---------- DM Mono 400 ---------- */
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/1da14b815e6d548a3bd6ae032c71e137.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/e5331eac46d9158991388d869b951589.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- DM Mono 500 ---------- */
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/a34d589da5204b0c8149e1b297977985.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/dc80aa10ddb500421c762e73b070c088.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- DM Sans 400 / 500 / 600 / 700 ---------- */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/b38d5bb135281eca5bde4b7c42a46d5f.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ed656a5d8379d96ea9d69ed4f49fe375.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/b38d5bb135281eca5bde4b7c42a46d5f.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ed656a5d8379d96ea9d69ed4f49fe375.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/b38d5bb135281eca5bde4b7c42a46d5f.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/ed656a5d8379d96ea9d69ed4f49fe375.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/b38d5bb135281eca5bde4b7c42a46d5f.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/ed656a5d8379d96ea9d69ed4f49fe375.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Playfair Display 500 italic ---------- */
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/1a57d757aee92a4439482b9e7293a142.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/695ead80383503367554c11a5d4ef20a.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/33646ece2b02cf99219edbc119d81591.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/3b8b30005995d481d798862b3fbdc13b.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Playfair Display 500 / 600 normal ---------- */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/357d03a441eb58868eb3229743034733.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/676ce71b66101deb9c4c3fe0e2150b49.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/7b955525b6f334a33a84897bf2632bb3.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/dc5e9b61b72889df228cbc5645322555.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/357d03a441eb58868eb3229743034733.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/676ce71b66101deb9c4c3fe0e2150b49.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/7b955525b6f334a33a84897bf2632bb3.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/dc5e9b61b72889df228cbc5645322555.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Thème & variables
   ========================================================================== */
:root {
  --paper: #f3f0e8;
  --surface: #ebe7dc;
  --ink: #071b47;
  --muted: #40516f;
  --line: #c7c4ba;
  --blue: #061d55;
  --blue-2: #123678;
  --accent: #a33d32;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  --transition: all 0.25s ease-in-out;
}
html[data-theme="dark"] {
  --paper: #071333;
  --surface: #0c1d46;
  --ink: #f2f0e9;
  --muted: #bdc8dc;
  --line: #2a3d66;
  --blue: #021034;
  --blue-2: #193f87;
  --accent: #eb897b;
}
* {
  box-sizing: border-box;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  transition:
    background var(--transition),
    color var(--transition);
}
::selection {
  background: var(--accent);
  color: var(--paper);
}

/* Accessibilité : lien d'évitement + focus visible */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--paper);
  padding: 10px 16px;
  font: 600 12px var(--mono);
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site {
  max-width: 1320px;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

/* Bandeau */
.top-bar {
  background: var(--blue-2);
  color: #f5f2e8;
  font: 500 11px var(--mono);
  padding: 8px 6.5%;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* En-tête */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 6.5%;
  border-bottom: 1px solid var(--line);
}
.brand {
  font: 600 30px var(--serif);
  letter-spacing: -1px;
}
.brand a {
  color: inherit;
  text-decoration: none;
}
.tagline {
  max-width: 600px;
  margin-top: 6px;
  font: 500 10.5px/1.5 var(--mono);
  text-transform: uppercase;
  color: var(--muted);
}
.tools {
  display: flex;
  align-items: center;
  gap: 20px;
  font: 500 12px var(--mono);
}
.tools button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.theme {
  display: flex;
  gap: 10px;
  align-items: center;
}
.switch {
  display: block;
  width: 34px;
  height: 20px;
  background: var(--blue-2);
  border: 1px solid var(--ink);
  border-radius: 99px;
  position: relative;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border-radius: 50%;
  transition: transform 0.2s ease;
}
html[data-theme="dark"] .switch::after {
  transform: translateX(14px);
}
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}
.burger-btn span {
  display: block;
  width: 20px;
  border-top: 2px solid var(--ink);
}

/* Navigation principale */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 12px 6.5%;
  border-bottom: 1px solid var(--line);
  font: 500 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}
.main-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* Grille */
.grid {
  display: grid;
}

/* Panneaux */
.panel {
  padding: 40px 6.5%;
  border-bottom: 1px solid var(--line);
}
.section-title {
  font: 600 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin: 0 0 8px;
}
.hero {
  padding: 50px 6.5%;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font: 500 clamp(32px, 5.5vw, 56px)/1.05 var(--serif);
  letter-spacing: -1.5px;
  max-width: 850px;
  margin: 16px 0 12px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.positioning {
  font: 600 19px var(--sans);
  letter-spacing: -0.5px;
  color: var(--blue-2);
  margin: 0 0 20px;
}
html[data-theme="dark"] .positioning {
  color: var(--accent);
}
.lead {
  font-size: 17px;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 0 30px;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}
.benefit h3 {
  font: 600 12px var(--mono);
  text-transform: uppercase;
  margin: 0 0 12px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
}
.benefit ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.6;
}
.benefit li {
  margin-bottom: 4px;
}

.members {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 24px;
}
.members p {
  word-spacing: 8px;
  font-size: 14px;
  font-weight: 500;
  margin: 12px 0 0;
  line-height: 1.8;
  opacity: 0.9;
}

.panel h2 {
  font: 500 clamp(22px, 3.5vw, 30px)/1.2 var(--sans);
  letter-spacing: -1px;
  margin: 16px 0;
}
.panel p {
  font-size: 15px;
  line-height: 1.65;
  max-width: 600px;
}
.statement {
  font: 500 21px/1.35 var(--sans);
  letter-spacing: -0.5px;
  max-width: 480px;
  margin: 16px 0;
  color: var(--blue-2);
}
html[data-theme="dark"] .statement {
  color: var(--accent);
}

.links {
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  transition: padding-left 0.2s ease;
}
.links a:hover,
.links a:focus-visible {
  padding-left: 6px;
  color: var(--accent);
}
.links a::after {
  content: "→";
  font-family: var(--mono);
}
.number {
  font: 600 11px var(--mono);
  display: inline-block;
  width: 28px;
  color: var(--accent);
}

/* Domaines d'action */
.impact {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.impact div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.impact strong {
  display: block;
  font: 500 18px var(--sans);
  color: var(--blue-2);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
html[data-theme="dark"] .impact strong {
  color: var(--accent);
}
.impact span {
  font-size: 14.5px;
  color: var(--muted);
  display: block;
  line-height: 1.55;
}

.panel ol,
.panel ul {
  padding-left: 20px;
  margin: 16px 0;
}
.panel li {
  font-size: 14.5px;
  margin-bottom: 8px;
  line-height: 1.55;
}

/* Graphe */
.graph-container {
  margin-top: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.graph-svg {
  width: 100%;
  height: auto;
  max-width: 480px;
}
.graph-node {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.5;
  transition: var(--transition);
}
.graph-node:hover {
  fill: var(--accent);
  stroke: var(--accent);
}
.graph-text {
  font-family: var(--mono);
  font-size: 10px;
  fill: var(--ink);
  font-weight: 500;
  pointer-events: none;
}
.graph-edge {
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 4 2;
}

/* CTA */
.cta-card {
  background: var(--surface);
  padding: 20px;
  margin-top: 20px;
  border-left: 3px solid var(--accent);
}
.cta-card p {
  font-size: 14.5px;
  margin: 0 0 12px;
  font-weight: 500;
}
.button {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font: 600 11px var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  background: transparent;
  cursor: pointer;
}
.button:hover,
.button:focus-visible {
  background: var(--accent);
  color: var(--paper);
}
.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Contact */
.contact-panel address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.8;
}
.contact-panel a {
  color: var(--accent);
}
.contact-meta {
  font: 500 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-top: 20px;
}

/* Formulaire de contact */
.contact-form {
  margin-top: 24px;
  max-width: 480px;
}
.field {
  margin: 0 0 16px;
}
.field label {
  display: block;
  font: 600 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 15px var(--sans);
  border-radius: 2px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
/* Piège à robots (honeypot) : hors écran, pas display:none, pour ne pas être ignoré par les bots simples */
.field--hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 16px;
  font: 500 13.5px var(--sans);
  min-height: 1.5em;
}
.form-status--success {
  color: var(--blue-2);
}
html[data-theme="dark"] .form-status--success {
  color: var(--accent);
}
.form-status--error {
  color: var(--accent);
}
.contact-fallback {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Accordéon */
.accordion {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 14px;
}
.accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: "+";
  font-family: var(--mono);
}
.accordion details[open] summary::after {
  content: "−";
}
.accordion p {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* Pied de page */
.footer {
  background: var(--blue);
  color: #f5f2e8;
  padding: 44px 6.5% 24px;
  display: grid;
  gap: 32px;
}
.footer .brand {
  font-size: 26px;
}
.footer p {
  font-size: 13.5px;
  max-width: 500px;
  opacity: 0.85;
  margin: 8px 0 0;
}
.footer .signature {
  font-style: italic;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 15px;
  margin-top: 15px;
  display: block;
}
.footer h2 {
  font: 600 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  margin: 0 0 12px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
}
.footer li {
  margin-bottom: 8px;
}
.footer a {
  color: #f5f2e8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer a:hover,
.footer a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
.footer .legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(245, 242, 232, 0.2);
  padding-top: 16px;
}
.footer .legal small {
  font: 10px var(--mono);
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Pages légales autonomes (mentions-legales.html, confidentialite.html) */
.legal-page h2 {
  margin-top: 32px;
}
.legal-page h2:first-of-type {
  margin-top: 16px;
}

/* Breakpoints */
@media (min-width: 860px) {
  body {
    padding: 20px;
  }
  .grid {
    grid-template-columns: 1.15fr 0.9fr 0.95fr;
  }
  .hero {
    grid-column: 1;
    padding: 45px 8%;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .column {
    display: flex;
    flex-direction: column;
  }
  .column:not(:last-child) {
    border-right: 1px solid var(--line);
  }
  .panel {
    padding: 35px 9%;
    flex: 1;
  }
  .panel:last-child {
    border-bottom: 0;
  }
  .footer {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    border-top: 1px solid var(--line);
  }
  .burger-btn {
    display: none;
  }
}
@media (max-width: 859px) {
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
  }
  .main-nav.open {
    display: flex;
  }
}
@media (max-width: 600px) {
  .benefits {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tools span:not(.switch) {
    display: none;
  }
}
