/* ============ Polices (SIL OFL 1.1, auto-hébergées) ============ */
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/schibsted-latin.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: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/schibsted-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/newsreader-latin.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: "Repli texte"; src: local("Arial"); size-adjust: 101%; ascent-override: 96%; descent-override: 25%; }
@font-face { font-family: "Repli titre"; src: local("Georgia"); size-adjust: 96%; ascent-override: 92%; descent-override: 26%; }

/* ============ Jetons ============ */
:root {
  --papier: #eceee8;
  --fiche: #f9faf6;
  --encre: #14201a;
  --encre-2: rgb(20 32 26 / 0.68);
  --encre-3: rgb(20 32 26 / 0.46);
  --filet: rgb(20 32 26 / 0.12);
  --nuit: #0f2a1f;
  --clair: #eef1e8;
  --clair-2: rgb(238 241 232 / 0.76);
  --clair-3: rgb(238 241 232 / 0.56);
  --filet-clair: rgb(238 241 232 / 0.14);
  --sapin: #1e4a37;
  --sapin-appui: #163829;
  --surligneur: #ebde3f;

  --texte: "Schibsted Grotesk", "Repli texte", system-ui, sans-serif;
  --titre: "Newsreader", "Repli titre", Georgia, serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ui: cubic-bezier(0.2, 0, 0, 1);
  --ease-press: cubic-bezier(0.65, 0, 0.36, 1);

  --marge: 16px;
  --section: clamp(80px, 10vw, 144px);
  --max: 1280px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --grain-clair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (min-width: 640px) { :root { --marge: 24px; } }
@media (min-width: 1024px) { :root { --marge: 40px; } }

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--papier) var(--grain); color: var(--encre);
  font-family: var(--texte); font-size: 1.0625rem; line-height: 1.55; letter-spacing: -0.006em;
  font-synthesis: none; font-kerning: normal; -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
::selection { background: var(--surligneur); color: var(--encre); }
img, svg { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--sapin); outline-offset: 3px; border-radius: 6px; }
.heros-panneau :focus-visible, .section-sombre :focus-visible, .contact-bloc :focus-visible { outline-color: var(--surligneur); }
.saut { position: absolute; left: var(--marge); top: -60px; background: var(--encre); color: var(--fiche); padding: 10px 16px; border-radius: 8px; z-index: 20; text-decoration: none; }
.saut:focus { top: 12px; }
.cadre { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--marge); }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--titre); font-weight: 450; font-optical-sizing: auto; }
h1 { font-size: clamp(2.55rem, 1.35rem + 4.2vw, 4.9rem); line-height: 1.0; letter-spacing: -0.028em; }
.titre-section { font-size: clamp(2.05rem, 1.4rem + 2.5vw, 3.6rem); line-height: 1.04; letter-spacing: -0.022em; max-width: 18ch; margin-bottom: clamp(36px, 5vw, 64px); }
h3 { font-weight: 640; letter-spacing: -0.018em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }

/* ============ En-tête ============ */
.entete { padding-block: 14px; }
.entete .cadre { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nom { font-weight: 700; letter-spacing: -0.02em; text-decoration: none; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; white-space: nowrap; }
.nom svg { width: 24px; height: 24px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav-offres { display: flex; gap: 2px; }
.nav-offres a { text-decoration: none; padding: 10px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; color: var(--encre-2); font-size: 0.98rem; transition: color 150ms var(--ease-ui), background-color 150ms var(--ease-ui); }
.nav-offres a[aria-current="page"] { color: var(--encre); font-weight: 600; }
.nav-contact { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 10px 18px; margin-left: 8px; border-radius: 999px; background: var(--sapin); color: #f8f8f3; font-weight: 600; font-size: 0.98rem; transition: background-color 150ms var(--ease-ui); }
@media (hover: hover) and (pointer: fine) {
  .nav-offres a:hover { color: var(--encre); background: rgb(20 32 26 / 0.06); }
  .nav-contact:hover { background: var(--sapin-appui); }
}
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--encre); color: var(--clair); font-weight: 600; font-size: 0.98rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu-liste { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 2 * var(--marge))); background: var(--fiche); border-radius: 18px; padding: 8px; display: grid; z-index: 10;
  box-shadow: 0 0 0 1px rgb(20 32 26 / 0.08), 0 18px 40px -12px rgb(15 42 31 / 0.35); }
.menu-liste a { text-decoration: none; padding: 14px; border-radius: 12px; min-height: 48px; display: flex; align-items: center; }
.menu-liste a[aria-current="page"] { background: rgb(20 32 26 / 0.06); font-weight: 600; }
.menu-liste .menu-contact { background: var(--sapin); color: #f8f8f3; margin-top: 6px; justify-content: center; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] .menu-liste { animation: menu-entree 200ms var(--ease-out); transform-origin: top right; }
}
@keyframes menu-entree { from { opacity: 0; transform: scale(0.96) translateY(-4px); } }
@media (max-width: 1180px) {
  .nav-offres, .nav-contact { display: none; }
  .menu { display: block; }
}

/* ============ Boutons ============ */
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 15px 28px; border-radius: 999px;
  background: var(--sapin); color: #f8f8f3; font: 640 1.0625rem/1.2 var(--texte); letter-spacing: -0.01em; text-decoration: none; border: 0; cursor: pointer;
  transition: background-color 150ms var(--ease-ui), transform 120ms var(--ease-press);
}
.bouton:active { transform: scale(0.97); }
.bouton-clair { background: var(--surligneur); color: var(--encre); }
.bouton-clair:active { background: #d9cc2e; }
@media (hover: hover) and (pointer: fine) { .bouton:hover { background: var(--sapin-appui); } .bouton-clair:hover { background: #f3e85a; } }
.lien-texte { font-weight: 560; min-height: 44px; display: inline-flex; align-items: center; }

/* ============ Héros : le panneau de nuit ============ */
.heros { padding-top: 4px; }
.heros-panneau {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 105% -20%, rgb(64 120 92 / 0.45), transparent 60%),
    var(--grain-clair), var(--nuit);
  color: var(--clair); border-radius: 28px;
  padding: clamp(28px, 5.5vw, 80px) clamp(20px, 5vw, 72px);
  display: grid; gap: clamp(40px, 5vw, 64px); align-items: center;
}
@media (min-width: 1080px) { .heros-panneau { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(780px, calc(100svh - 96px)); } }
.heros-texte h1 { max-width: 14ch; }
.heros-offre .heros-texte h1 { max-width: 16ch; font-size: clamp(2.35rem, 1.35rem + 3.6vw, 4.5rem); }
.chapeau { margin-top: 26px; font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem); line-height: 1.5; color: var(--clair-2); max-width: 44ch; }
.heros .lien-texte { color: var(--clair); }
.fil { display: flex; gap: 8px; font-size: 0.95rem; color: var(--clair-3); margin-bottom: 22px; flex-wrap: wrap; }
.fil a { color: var(--clair-2); }
.heros-demo { position: relative; display: grid; gap: 14px; justify-items: start; }
.rejouer { font: 560 0.95rem/1 var(--texte); color: var(--clair-2); background: none; border: 0; padding: 12px 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

@media (prefers-reduced-motion: no-preference) {
  .heros-texte > * { animation: monter 900ms var(--ease-out) both; }
  .heros-texte > :nth-child(2) { animation-delay: 80ms; }
  .heros-texte > :nth-child(3) { animation-delay: 160ms; }
  .heros-texte > :nth-child(4) { animation-delay: 240ms; }
  .heros-demo > .ui { animation: poser 1100ms 200ms var(--ease-out) both; }
}
@keyframes monter { from { opacity: 0; transform: translateY(18px); } }
@keyframes poser { from { opacity: 0; transform: translateY(28px) scale(0.98); } }

/* ============ Maquettes d'interface ============ */
.ui {
  width: 100%; background: var(--fiche); color: var(--encre); border-radius: 16px; overflow: hidden; font-size: 0.875rem; line-height: 1.35; letter-spacing: -0.004em;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06), 0 2px 4px rgb(0 0 0 / 0.12), 0 24px 48px -16px rgb(0 0 0 / 0.45), 0 60px 90px -40px rgb(0 0 0 / 0.5);
}
.ui-barre { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--filet); background: rgb(20 32 26 / 0.025); }
.ui-points { display: flex; gap: 6px; }
.ui-points i { width: 9px; height: 9px; border-radius: 50%; background: rgb(20 32 26 / 0.14); }
.ui-titre { font-weight: 620; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-outil { font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgb(20 32 26 / 0.07); color: var(--encre-2); white-space: nowrap; }
.ui-corps { padding: 14px; }
.ui-sous { color: var(--encre-2); margin-bottom: 10px; }
.ui-pied { margin-top: 10px; color: var(--encre-2); font-size: 0.8125rem; }
.ui svg { width: 14px; height: 14px; flex: none; }

/* Tableau de comptes */
.tableau { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-height: 318px; }
.colonne { background: rgb(20 32 26 / 0.04); border-radius: 12px; padding: 10px; }
.colonne-nom { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--encre-2); margin-bottom: 10px; padding-inline: 2px; }
.compte { font-variant-numeric: tabular-nums; background: rgb(20 32 26 / 0.07); border-radius: 999px; padding: 1px 8px; }
.pile { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.carte { position: relative; background: #fff; border-radius: 10px; padding: 10px 11px; display: grid; gap: 2px; box-shadow: 0 0 0 1px rgb(20 32 26 / 0.08), 0 1px 2px rgb(20 32 26 / 0.06);
  transition: transform 650ms var(--ease-out), box-shadow 300ms var(--ease-ui); }
.carte b { font-weight: 640; font-size: 0.84rem; }
.carte > span:not(.etat) { color: var(--encre-2); font-size: 0.76rem; }
.puce { justify-self: start; margin-top: 6px; font-style: normal; font-size: 0.74rem; font-weight: 560; padding: 2px 8px; border-radius: 999px; background: rgb(20 32 26 / 0.06); transition: background-color 300ms var(--ease-ui); }
.carte.gagne .puce { background: var(--surligneur); }
.carte.bouge { box-shadow: 0 0 0 1.5px var(--sapin), 0 10px 22px -8px rgb(15 42 31 / 0.35); z-index: 2; }
.etat { display: none; }
@media (max-width: 719px) {
  .tableau { grid-template-columns: 1fr; gap: 8px; min-height: 0; }
  .colonne, .pile { display: contents; }
  .colonne-nom { display: none; }
  .carte { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; }
  .carte b, .carte > span:not(.etat), .puce { grid-column: 1; }
  .etat { display: block; grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 0.72rem; font-weight: 600; color: var(--encre-2); padding: 3px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--filet); white-space: nowrap; }
  .carte.gagne .etat { background: var(--sapin); color: #f8f8f3; box-shadow: none; }
}

/* Liste qualifiée */
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.liste li { display: grid; gap: 2px; padding: 11px 12px; border-radius: 8px; }
.liste b { font-weight: 620; }
.liste span { color: var(--encre-2); }
.liste .retenue { background: rgb(235 222 63 / 0.55); }
.liste .ecartee b { color: var(--encre-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* Contacts trouvés */
.contacts { list-style: none; margin: 0; padding: 0; }
.contacts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 11px 2px; border-top: 1px solid var(--filet); }
.contacts .role { font-weight: 560; }
.statut { display: inline-flex; align-items: center; gap: 6px; color: var(--sapin); font-weight: 560; white-space: nowrap; font-size: 0.8rem; }

/* Séquence */
.sequence { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pas { display: grid; grid-template-columns: 54px 70px minmax(0, 1fr); gap: 8px; align-items: center; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgb(20 32 26 / 0.07); }
.pas .jour { font-weight: 620; font-variant-numeric: tabular-nums; }
.pas .canal { font-size: 0.76rem; font-weight: 600; color: var(--encre-2); }
.pas.rdv { background: var(--surligneur); box-shadow: none; }
.pas.rdv .canal { color: var(--encre); }
.pas.stop { background: transparent; box-shadow: inset 0 0 0 1px var(--filet); color: var(--encre-3); }
.pas.stop .canal { color: var(--encre-3); }
.transmis { margin-top: 12px; display: flex; align-items: center; gap: 8px; color: var(--sapin); font-weight: 600; }
@media (max-width: 420px) { .pas { grid-template-columns: 50px minmax(0, 1fr); } .pas .quoi { grid-column: 1 / -1; } }

/* Appel commenté */
.onde { position: relative; display: flex; align-items: center; gap: 3px; height: 56px; padding: 0 2px; margin-bottom: 12px; }
.onde i { flex: 1; min-width: 2px; height: calc(var(--v) * 10%); border-radius: 2px; background: rgb(20 32 26 / 0.22); }
.onde i:nth-child(-n+14) { background: var(--sapin); }
.onde .tete { position: absolute; top: 2px; bottom: 2px; left: var(--p); width: 2px; background: var(--encre); border-radius: 2px; }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.notes li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; padding: 9px 10px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px rgb(20 32 26 / 0.07); }
.notes .t { font-weight: 620; color: var(--encre-2); }
.notes .a-revoir { background: var(--surligneur); box-shadow: none; }
.notes .a-revoir .t { color: var(--encre); }

/* Tableau de bord */
.legende { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.76rem; color: var(--encre-2); margin-bottom: 14px; }
.legende span { display: inline-flex; align-items: center; gap: 6px; }
.legende span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.legende .l1::before { background: rgb(20 32 26 / 0.18); }
.legende .l2::before { background: rgb(30 74 55 / 0.55); }
.legende .l3::before { background: var(--sapin); box-shadow: inset 0 0 0 2px var(--surligneur); }
.barres { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; height: 170px; align-items: end; border-bottom: 1px solid var(--filet); padding-bottom: 1px; }
.sem { display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.sem i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; }
.sem .b1 { background: rgb(20 32 26 / 0.18); }
.sem .b2 { background: rgb(30 74 55 / 0.55); }
.sem .b3 { background: var(--sapin); box-shadow: inset 0 2px 0 var(--surligneur); }

/* Workflow */
.workflow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.workflow::before { content: ""; position: absolute; left: 20px; top: 16px; bottom: 16px; width: 2px; background: rgb(20 32 26 / 0.12); }
.workflow li { position: relative; display: grid; gap: 4px; padding: 10px 12px 10px 42px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgb(20 32 26 / 0.07); }
.workflow li::before { content: ""; position: absolute; left: 15px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--fiche); box-shadow: inset 0 0 0 2px var(--sapin); }
.workflow li:first-child::before { background: var(--surligneur); box-shadow: inset 0 0 0 2px var(--encre); }
.workflow .qui { font-size: 0.74rem; font-weight: 600; color: var(--encre-2); }
.workflow .quoi { font-weight: 560; }

/* ============ Références ============ */
.references { padding-block: clamp(40px, 6vw, 72px); }
.references h2 { font-family: var(--texte); font-size: 0.98rem; font-weight: 560; letter-spacing: -0.005em; color: var(--encre-2); margin-bottom: 24px; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px clamp(32px, 4vw, 56px); }
.logos img { width: auto; height: var(--h); }
@media (max-width: 640px) {
  .logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; justify-items: start; }
  .logos img { height: calc(var(--h) * 0.66); max-width: 100%; }
}

/* ============ Sections ============ */
.section { padding-block: var(--section); border-top: 1px solid var(--filet); }
.deux-colonnes { display: grid; gap: 4px; }
@media (min-width: 960px) {
  .deux-colonnes { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .deux-colonnes .titre-section { margin-bottom: 0; }
}
.intro-section { color: var(--encre-2); max-width: 34ch; margin-top: -20px; margin-bottom: 28px; }
@media (min-width: 960px) { .intro-section { margin-top: 20px; margin-bottom: 0; } }

/* Offres en liste éditoriale */
.offres-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--encre); }
.offres-liste li { border-bottom: 1px solid var(--filet); }
.offre-ligne { position: relative; display: grid; gap: 10px; padding: 28px 52px 28px 0; text-decoration: none; }
.offre-nom { font-family: var(--titre); font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem); line-height: 1.05; letter-spacing: -0.02em; transition: color 200ms var(--ease-ui); }
.offre-texte { color: var(--encre-2); max-width: 52ch; }
.fleche { position: absolute; right: 0; top: 34px; width: 28px; height: 28px; padding: 8px; box-sizing: content-box; margin: -8px; border-radius: 999px; transition: transform 300ms var(--ease-out), background-color 200ms var(--ease-ui); }
@media (min-width: 900px) {
  .offre-ligne { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 56px; gap: 40px; align-items: center; padding: 40px 0; }
  .offre-ligne .fleche { position: static; justify-self: end; margin: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .offre-ligne:hover .offre-nom { color: var(--sapin); }
  .offre-ligne:hover .fleche { transform: translateX(6px); background: var(--surligneur); }
}

/* Récit de la méthode (section sombre) */
.section-sombre { background: radial-gradient(90% 60% at -10% 0%, rgb(64 120 92 / 0.35), transparent 60%), var(--grain-clair), var(--nuit); color: var(--clair); border-top: 0; }
.section-sombre .titre-section { color: var(--clair); }
.recit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.recit > * { min-width: 0; }
.recit-etapes { list-style: none; margin: 0; padding: 0; }
.recit-etape { padding-block: 28px; border-top: 1px solid var(--filet-clair); }
.recit-etape h3 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem); }
.recit-etape .num { font-family: var(--titre); font-weight: 400; font-size: 1.1em; color: var(--surligneur); font-variant-numeric: tabular-nums; }
.recit-etape > p { margin-top: 10px; color: var(--clair-2); max-width: 44ch; }
.recit-mobile { margin-top: 22px; }
.recit-scene { display: none; }
@media (min-width: 1024px) {
  .recit { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
  .recit-etape { min-height: clamp(260px, 40vh, 380px); display: flex; flex-direction: column; justify-content: center; opacity: 0.38; transition: opacity 400ms var(--ease-ui); }
  .recit-etape.actif { opacity: 1; }
  .recit-mobile { display: none; }
  .recit-scene { display: grid; position: sticky; top: max(80px, calc(50vh - 300px)); height: min(600px, 64vh); align-self: start; align-items: center; }
  .recit-ecran { grid-area: 1 / 1; opacity: 0; transform: translateY(14px) scale(0.985); transition: opacity 450ms var(--ease-out), transform 600ms var(--ease-out); pointer-events: none; }
  .recit-ecran.actif { opacity: 1; transform: none; }
}

/* Outils */
.outils { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
@media (min-width: 700px) { .outils { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.outils li { display: grid; gap: 6px; padding-block: 22px; border-top: 1px solid var(--filet); }
.outils strong { font-family: var(--titre); font-weight: 450; font-size: 1.85rem; line-height: 1.1; letter-spacing: -0.02em; }
.outils span { color: var(--encre-2); }

/* Listes simples */
.principes, .pour-qui, .inclus { list-style: none; margin: 0; padding: 0; display: grid; }
.principes li, .pour-qui li { padding-block: 22px; border-top: 1px solid var(--filet); color: var(--encre-2); max-width: 60ch; }
.principes strong { color: var(--encre); font-weight: 640; }
.pour-qui li { color: var(--encre); font-family: var(--titre); font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem); line-height: 1.3; letter-spacing: -0.012em; }
.inclus li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding-block: 16px; border-top: 1px solid var(--filet); }
.inclus svg { width: 20px; height: 20px; margin-top: 3px; color: var(--sapin); }

/* Étapes d'une offre */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; counter-reset: etape; }
@media (min-width: 760px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; } }
@media (min-width: 1100px) { .etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.etape { counter-increment: etape; border-top: 1px solid var(--encre); padding-top: 18px; }
.etape::before { content: counter(etape); display: block; font-family: var(--titre); font-size: 2.6rem; line-height: 1; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.etape h3 { margin-bottom: 8px; font-size: 1.25rem; }
.etape p { color: var(--encre-2); }

/* Questions */
.faq { border-top: 1px solid var(--encre); }
.question { border-bottom: 1px solid var(--filet); }
.question summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 16px; padding-block: 22px; align-items: center; }
.question summary::-webkit-details-marker { display: none; }
.question summary h3 { font-size: 1.12rem; font-weight: 620; }
.reponse { color: var(--encre-2); padding-bottom: 24px; max-width: 60ch; }
.plus { width: 44px; height: 44px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--filet); display: grid; place-items: center; transition: background-color 150ms var(--ease-ui); }
.plus svg { width: 18px; height: 18px; transition: transform 300ms var(--ease-out); }
details[open] .plus svg { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .question summary:hover .plus { background: rgb(20 32 26 / 0.06); } }
@supports (interpolate-size: allow-keywords) {
  .question { interpolate-size: allow-keywords; }
  .question::details-content { height: 0; overflow: clip; transition: height 300ms var(--ease-out), content-visibility 300ms allow-discrete; }
  .question[open]::details-content { height: auto; }
}

/* Autres offres */
.autres { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .autres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.autres a { position: relative; display: grid; gap: 8px; padding: 24px 64px 24px 24px; border-radius: 18px; text-decoration: none; height: 100%; background: var(--fiche); box-shadow: 0 0 0 1px rgb(20 32 26 / 0.08); transition: box-shadow 200ms var(--ease-ui); }
.autres strong { font-family: var(--titre); font-weight: 450; font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.018em; }
.autres span { color: var(--encre-2); font-size: 0.98rem; }
.autres .fleche { top: 24px; right: 24px; }
@media (hover: hover) and (pointer: fine) {
  .autres a:hover { box-shadow: 0 0 0 1.5px var(--sapin); }
  .autres a:hover .fleche { transform: translateX(4px); background: var(--surligneur); }
}

/* ============ Contact ============ */
.section-contact { padding-block: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 40px); }
.contact-bloc { background: radial-gradient(100% 120% at 110% 120%, rgb(64 120 92 / 0.45), transparent 60%), var(--grain-clair), var(--nuit); color: var(--clair); border-radius: 28px; padding: clamp(32px, 6vw, 88px) clamp(22px, 6vw, 80px); display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-bloc { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: end; } }
.contact-bloc h2 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.2rem); line-height: 1; letter-spacing: -0.028em; max-width: 10ch; }
.contact-droite p { color: var(--clair-2); max-width: 44ch; margin-bottom: 28px; }
.contact-droite .adresse { margin: 14px 0 0; font-size: 0.95rem; color: var(--clair-3); }
.adresse button { font: inherit; color: var(--clair); background: none; border: 0; padding: 10px 0; margin-left: 8px; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; min-height: 44px; }

/* ============ Pied ============ */
.pied { padding-block: 36px 56px; font-size: 0.95rem; color: var(--encre-2); }
.pied .cadre { display: grid; gap: 20px; }
@media (min-width: 900px) { .pied .cadre { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; } }
.pied-nom { color: var(--encre); font-weight: 650; display: grid; gap: 2px; }
.pied-nom span { color: var(--encre-2); font-weight: 400; }
.pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
@media (min-width: 900px) { .pied ul { justify-content: flex-end; } }
.pied a { min-height: 44px; display: inline-flex; align-items: center; color: var(--encre-2); }

/* ============ Pages simples ============ */
.page-simple { padding-block: clamp(40px, 7vw, 96px) var(--section); }
.page-simple .texte { max-width: 66ch; }
.page-simple h1 { margin-bottom: 32px; font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); }
.page-simple h2 { font-family: var(--texte); font-weight: 640; font-size: 1.3rem; letter-spacing: -0.02em; margin: 40px 0 10px; }
.page-simple p + p { margin-top: 12px; }
.page-simple p { color: var(--encre-2); }

/* ============ Préférences ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}
@media (forced-colors: active) {
  .liste .retenue, .pas.rdv, .notes .a-revoir { outline: 2px solid Highlight; }
}
