@font-face { font-family: 'AD Caprasimo'; font-style: normal; font-weight: 400; font-display: swap; src: url(/polices/Caprasimo-400.woff2) format('woff2'); }
@font-face { font-family: 'AD Atkinson'; font-style: normal; font-weight: 400; font-display: swap; src: url(/polices/AtkinsonHyperlegible-normal-400.woff2) format('woff2'); }
@font-face { font-family: 'AD Atkinson'; font-style: italic; font-weight: 400; font-display: swap; src: url(/polices/AtkinsonHyperlegible-italic-400.woff2) format('woff2'); }
@font-face { font-family: 'AD Atkinson'; font-style: normal; font-weight: 700; font-display: swap; src: url(/polices/AtkinsonHyperlegible-normal-700.woff2) format('woff2'); }

:root {
  --papier: #EDF0F4;
  --papier-fonce: #E1E6EE;
  --encre: #1C2A6E;
  --nuit: #141B3F;
  --lavis: #8E9BD3;
  --ligne: #C6CEDD;
  --surligneur: #F5D547;
  --titre: 'AD Caprasimo', Georgia, serif;
  --texte: 'AD Atkinson', 'Segoe UI', system-ui, sans-serif;
  --fil: 270px;
  --gouttiere: clamp(16px, 4vw, 48px);
  --decal: clamp(0px, 5vw, 80px);
  --cadre: 1720px;
  --marge: 0px;
}
@media (min-width: 1100px) { :root { --marge: max(0px, (100vw - var(--cadre)) / 2); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--nuit);
  font: 400 1.0625rem/1.62 var(--texte);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--encre); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
.lien-masque { color: var(--encre); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; cursor: pointer; }
.lien-masque:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
mark { color: inherit; background: linear-gradient(transparent 52%, var(--surligneur) 52%, var(--surligneur) 90%, transparent 90%); padding: 0 .12em; }

.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--encre); color: var(--papier); padding: 10px 14px; border-radius: 8px; }
.evitement:focus { top: 12px; }

.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px calc(var(--gouttiere) + var(--marge));
  background: color-mix(in srgb, var(--papier) 88%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.monogramme { position: relative; width: 50px; height: 50px; display: grid; place-items: center; text-decoration: none; }
.monogramme svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.monogramme-forme { fill: var(--encre); }
.monogramme span { position: relative; font: 400 1.25rem/1 var(--titre); color: var(--papier); }
.entete-actions { display: flex; align-items: center; gap: 18px; }
.lien-tel { font: 700 1rem/1 var(--texte); color: var(--encre); background: none; border: 0; padding: 8px 4px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--lavis); text-underline-offset: .3em; }
.lien-tel:hover { text-decoration-color: var(--encre); }
.lien-tel.revele { text-decoration: none; }
.lien-bouton { font: inherit; color: var(--encre); background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; }
.lien-bouton:hover mark { text-decoration: underline; }
a.lien-bouton { text-decoration: none; }
.bouton {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px;
  border: 2px solid var(--encre); border-radius: 999px; color: var(--encre);
  font-weight: 700; text-decoration: none; background: transparent;
}
.bouton { font-family: var(--texte); font-size: 1rem; cursor: pointer; }
.bouton:hover { background: var(--papier-fonce); }
.bouton-plein { background: var(--encre); color: var(--papier); }
.bouton-plein:hover { background: var(--nuit); }

.fil-intro { font-size: .95rem; color: color-mix(in srgb, var(--nuit) 75%, var(--papier)); margin-bottom: 22px; }
.fil-liste { list-style: none; padding: 0; display: grid; gap: 4px; }
.fil-liste a {
  display: flex; gap: 12px; align-items: baseline; padding: 6px 0;
  color: color-mix(in srgb, var(--nuit) 70%, var(--papier)); text-decoration: none; line-height: 1.3;
}
.fil-liste a::before {
  content: ""; flex: none; width: 13px; height: 13px; transform: translateY(1px);
  border: 2px solid var(--lavis); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
  transition: background-color .3s, border-color .3s;
}
.fil-liste a.lu { color: var(--nuit); }
.fil-liste a.lu::before { background: var(--lavis); border-color: var(--lavis); }
.fil-liste a.actuel { color: var(--encre); font-weight: 700; }
.fil-liste a.actuel::before { background: var(--encre); border-color: var(--encre); }

@media (min-width: 1100px) {
  .fil {
    position: fixed; top: 0; left: var(--marge); bottom: 0; width: var(--fil); z-index: 10;
    padding: 110px 28px 32px var(--gouttiere);
    display: flex; flex-direction: column; justify-content: center;
    transition: opacity .25s;
  }
  .fil.masque { opacity: 0; pointer-events: none; }
  .fil.sur-encre .fil-intro, .fil.sur-encre .fil-liste a { color: color-mix(in srgb, var(--papier) 70%, transparent); }
  .fil.sur-encre .fil-liste a.actuel { color: var(--surligneur); }
  .fil.sur-encre .fil-liste a.actuel::before { background: var(--surligneur); border-color: var(--surligneur); }
  .fil-mobile { display: none; }
  main { margin-left: calc(var(--fil) + var(--marge)); margin-right: var(--marge); }
}
@media (max-width: 1099.98px) {
  .fil { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25; }
  .fil-intro { display: none; }
  .fil-liste {
    display: none; background: var(--papier); border: 2px solid var(--encre); border-radius: 18px;
    padding: 14px 18px; margin-bottom: 8px; box-shadow: 0 12px 30px rgba(20, 27, 63, .18);
  }
  .fil.ouvert .fil-liste { display: grid; }
  .fil-mobile {
    width: 100%; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 18px;
    border: 0; border-radius: 999px; background: var(--encre); color: var(--papier);
    font: 700 1rem/1.2 var(--texte); text-align: left; cursor: pointer;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--papier) 45%, transparent), 0 10px 26px rgba(20, 27, 63, .25);
  }
  .fil-compte { font: 400 1rem/1 var(--titre); color: var(--surligneur); }
  .fil-question { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fil-jauge { width: 54px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--papier) 25%, transparent); overflow: hidden; }
  .fil-jauge i { display: block; height: 100%; width: calc(100% / 7); background: var(--surligneur); transition: width .3s; }
  main { padding-bottom: 40px; }
  .lien-tel { display: none; }
}

main > section { scroll-margin-top: 90px; }
.bloc { max-width: 760px; padding: clamp(72px, 11vw, 132px) var(--gouttiere) 0; margin: 0 auto 0 clamp(0px, 5vw, 80px); }
.bloc-large { max-width: 1280px; }
@media (min-width: 1100px) {
  .bloc:not(.bloc-large) { max-width: 1280px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(48px, 5vw, 96px); align-items: start; }
  .bloc:not(.bloc-large) .bloc-tete { position: sticky; top: 120px; }
  .bloc:not(.bloc-large) .question { font-size: clamp(2.4rem, 3.4vw, 3.1rem); }
  .bloc:not(.bloc-large) .reponse { font-size: 1.28rem; }
  .bloc-corps > :first-child { margin-top: 10px; }
}
.question { font: 400 clamp(2.1rem, 4.6vw, 3.4rem)/1.05 var(--titre); color: var(--encre); letter-spacing: -.01em; }
.reponse { font-size: clamp(1.2rem, 1.9vw, 1.42rem); line-height: 1.45; margin-top: 18px; max-width: 34em; }

.heros {
  min-height: 100svh; display: grid; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: 110px var(--gouttiere) 72px; margin-left: clamp(0px, 5vw, 80px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); max-width: 1320px;
}
@media (min-width: 1100px) { .heros { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1360px; } }
.salut { display: inline-block; margin-bottom: 18px; padding: 8px 16px; border-radius: 999px; background: var(--surligneur); color: var(--nuit); font-weight: 700; }
.salut[hidden] { display: none; }
.heros .question { font-size: clamp(1.3rem, 2vw, 1.6rem); color: #5A68A8; }
.nom { font: 400 clamp(3.4rem, 8.4vw, 7.6rem)/.92 var(--titre); color: var(--encre); letter-spacing: -.02em; margin-top: 10px; }
.heros .reponse { margin-top: 26px; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.expertises { position: relative; justify-self: center; width: min(calc(100% - 70px), 560px); margin-right: 70px; }
.expertises-boule { position: relative; container-type: inline-size; }
.expertises-goutte { display: block; width: 100%; height: auto; overflow: visible; }
.forme-lavis { fill: var(--lavis); opacity: .4; }
.forme-encre, .eclat { fill: var(--encre); }
.expertises-texte { position: absolute; inset: 24% 20%; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; text-align: center; color: var(--papier); }
.expertises-titre { font: 700 clamp(.8rem, 3.6cqi, 1.05rem)/1.2 var(--texte); color: var(--surligneur); }
.expertises-liste { list-style: none; padding: 0; display: grid; }
.expertises-liste li { grid-area: 1 / 1; display: grid; justify-items: center; align-content: center; gap: 2cqi; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.96); transition: opacity .45s, transform .6s cubic-bezier(.2, 1.3, .4, 1), visibility 0s .45s; }
.expertises-liste li.active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s .12s, transform .6s cubic-bezier(.2, 1.3, .4, 1) .12s, visibility 0s; }
.expertises-liste strong { font: 400 23cqi/1 var(--titre); letter-spacing: -.01em; }
.expertises-liste strong.long { font-size: 9.5cqi; line-height: 1.05; }
.expertises-liste strong.moyen { font-size: 15cqi; line-height: 1; }
.expertises-liste strong.tres-long { font-size: 7cqi; line-height: 1.1; }
.expertises-liste span { font-size: clamp(.8rem, 3.5cqi, 1.12rem); line-height: 1.3; max-width: min(15em, 100%); }
.expertises-billes { position: absolute; inset: 0; pointer-events: none; }
.expertises-billes[hidden] { display: none; }
.bille {
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; padding: 0; pointer-events: auto;
  border: 2px solid var(--encre); background: var(--encre); cursor: grab; touch-action: none;
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
  box-shadow: 0 6px 14px -6px rgba(20, 27, 63, .5);
  transition: background-color .35s, border-color .35s, box-shadow .35s;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.bille[aria-pressed="true"] { background: var(--surligneur); box-shadow: 0 0 0 6px color-mix(in srgb, var(--surligneur) 30%, transparent), 0 8px 18px -6px rgba(20, 27, 63, .45); }
.bille.tenue { cursor: grabbing; box-shadow: 0 0 0 8px color-mix(in srgb, var(--lavis) 35%, transparent), 0 14px 26px -8px rgba(20, 27, 63, .55); }
@media (prefers-reduced-motion: no-preference) {
  .expertises-goutte { animation: eclot 1.3s cubic-bezier(.2, 1.35, .4, 1) both; transform-origin: 50% 50%; }
  @keyframes eclot { from { transform: scale(.15); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
}
@media (max-width: 760px) {
  .heros { grid-template-columns: 1fr; min-height: 0; padding-top: 92px; }
  .expertises { order: -1; width: min(68vw, 260px); justify-self: start; margin-left: -10px; margin-right: 0; }
  .bille { width: 26px; height: 26px; }
  .expertises-texte { inset: 21% 16%; }
  .expertises-liste strong.moyen { font-size: 13cqi; }
}


.etapes { list-style: none; padding: 0; margin-top: 44px; position: relative; }
.etapes::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--lavis); }
.etapes li { position: relative; padding: 0 0 38px 46px; }
.etapes li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; background: var(--encre);
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; box-shadow: 0 0 0 6px var(--papier);
}
.etape-duree { font-weight: 700; color: color-mix(in srgb, var(--encre) 70%, var(--papier)); }
.etapes h3 { font: 400 1.6rem/1.2 var(--titre); color: var(--encre); margin: 2px 0 10px; }
.etapes li > p:last-child { max-width: 36em; }
.etapes a, .etapes .lien-masque, .domaine { white-space: nowrap; }
.phrase {
  margin-top: 18px; padding: 30px 34px; background: var(--encre); color: var(--papier);
  border-radius: 28px 34px 30px 26px / 30px 26px 34px 28px;
  font: 400 clamp(1.35rem, 2.4vw, 1.75rem)/1.3 var(--titre);
}

.metiers { list-style: none; padding: 0; margin-top: 34px; font: 400 clamp(1.45rem, 2.8vw, 2.05rem)/1.35 var(--titre); color: var(--encre); }
.metiers li { display: inline; }
.metiers li::after { content: ", "; }
.metiers li:nth-last-child(2)::after { content: " et "; }
.metiers li:last-child::after { content: "."; }
.metiers li:nth-child(even) { color: color-mix(in srgb, var(--encre) 62%, var(--papier)); }

.cas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; margin-top: 48px; }
.cas-image { display: block; border-radius: 14px; overflow: hidden; border: 2px solid var(--encre); background: var(--papier-fonce); }
.cas-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .5s; }
.cas-image:hover img { transform: scale(1.03); }
.cas-site h3 { font: 400 1.55rem/1.2 var(--titre); margin-top: 20px; }
.cas-site h3 a { text-decoration: none; }
.cas-chiffre { font-weight: 700; margin: 8px 0 10px; }
.cas-chiffre span { font: 400 1.6rem/1 var(--titre); color: var(--encre); background: linear-gradient(transparent 55%, var(--surligneur) 55%, var(--surligneur) 92%, transparent 92%); padding: 0 .1em; }
@media (max-width: 760px) { .cas { grid-template-columns: 1fr; gap: 48px; } }

.competences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 40px; margin-top: 44px; }
.competences dt { font: 400 1.35rem/1.25 var(--titre); color: var(--encre); padding-top: 14px; border-top: 2px solid var(--encre); }
.competences dd { margin-top: 8px; }
@media (max-width: 640px) { .competences { grid-template-columns: 1fr; } }

.univers { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "carte fiche" "legende fiche"; gap: 18px 44px; margin-top: 44px; align-items: start; }
.univers-carte, .univers-taches { grid-area: carte; }
.univers-liens { grid-area: carte; width: 100%; height: 100%; }
.univers-liens path { fill: none; stroke: var(--lavis); stroke-width: 2; vector-effect: non-scaling-stroke; }
.univers-liens .lien-perso { stroke-dasharray: 5 7; }
.univers-taches { list-style: none; padding: 0; margin: 0; position: relative; aspect-ratio: 1000 / 860; container-type: inline-size; }
.univers-taches li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.tache {
  --d: calc(var(--t) * min(96px, 17cqi));
  width: var(--d); height: var(--d); padding: 4px; display: grid; place-items: center; cursor: pointer;
  font: 400 max(10px, calc(var(--d) * .155))/1.1 var(--titre); text-align: center;
  border: 2px solid var(--encre); color: var(--papier); background: var(--encre);
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s, border-radius .6s;
}
.tache.integre { background: color-mix(in srgb, var(--encre) 72%, var(--lavis)); border-color: color-mix(in srgb, var(--encre) 72%, var(--lavis)); }
.tache.arrete { background: var(--papier); color: var(--encre); border-style: dashed; }
.tache.perso { background: var(--lavis); border-color: var(--lavis); color: var(--nuit); }
.tache.avec-icone { align-content: center; gap: 4px; }
.tache-icone { width: max(12px, calc(var(--d) * .19)); height: max(12px, calc(var(--d) * .19)); justify-self: center; fill: currentColor; }
.tache:hover { transform: scale(1.06); }
.tache[aria-pressed="true"] { transform: scale(1.12); box-shadow: 0 0 0 5px var(--papier), 0 0 0 9px var(--surligneur); border-radius: 46% 54% 42% 58% / 55% 45% 57% 43%; }
.univers-legende { grid-area: legende; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .92rem; }
.univers-legende span { display: inline-flex; align-items: center; gap: 8px; }
.univers-legende span::before { content: ""; width: 14px; height: 14px; border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; border: 2px solid var(--encre); background: var(--encre); }
.univers-legende .integre::before { background: color-mix(in srgb, var(--encre) 72%, var(--lavis)); border-color: transparent; }
.univers-legende .arrete::before { background: var(--papier); border-style: dashed; }
.univers-legende .perso::before { background: var(--lavis); border-color: var(--lavis); }
.univers-fiches { grid-area: fiche; display: grid; gap: 34px; }
@media (min-width: 901px) and (max-width: 1279.98px) { .univers { grid-template-columns: minmax(0, 1fr); grid-template-areas: "carte" "legende" "fiche"; } .univers-taches { max-width: 760px; } }
.univers.interactif .univers-fiches article:not(.ouverte) { display: none; }
.univers-fiches article { padding-top: 14px; border-top: 2px solid var(--encre); }
.univers-fiches h3 { font: 400 1.6rem/1.15 var(--titre); color: var(--encre); margin: 4px 0 10px; }
.fiche-etat { font-weight: 700; font-size: .95rem; color: color-mix(in srgb, var(--encre) 70%, var(--papier)); }
.univers-fiches a { display: block; margin-top: 16px; font-weight: 700; }
.univers-fiches img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; border: 2px solid var(--encre); margin-bottom: 8px; }
.pile { margin-top: 48px; max-width: 46em; padding: 18px 22px; border-left: 4px solid var(--lavis); background: var(--papier-fonce); border-radius: 0 14px 14px 0; }
@media (prefers-reduced-motion: no-preference) {
  .univers-taches li { animation: flotte 7s ease-in-out infinite alternate; }
  .univers-taches li:nth-child(2n) { animation-duration: 9s; animation-delay: -3s; }
  .univers-taches li:nth-child(3n) { animation-duration: 8s; animation-delay: -5s; }
  @keyframes flotte { from { transform: translate(-50%, -50%); } to { transform: translate(calc(-50% + 4px), calc(-50% - 7px)); } }
}
@media (max-width: 900px) {
  .univers { grid-template-columns: 1fr; grid-template-areas: "carte" "legende" "fiche"; }
  .univers-liens { display: none; }
  .univers-taches { aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; }
  .univers-taches li { position: static; transform: none; animation: none; }
  .tache { --d: max(74px, calc(var(--t) * 86px)); font-size: max(11px, calc(var(--d) * .155)); }
}

.contact { margin-top: clamp(80px, 12vw, 150px); }
.maree { display: block; overflow: visible; width: 100%; height: clamp(110px, 13vw, 190px); margin-bottom: -2px; }
.maree-lavis { fill: var(--lavis); opacity: .5; }
.maree-encre { fill: var(--encre); }
.contact-cadre, .pied { background: var(--encre); color: var(--papier); }
.contact-cadre { position: relative; }
.contact-cadre {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(48px, 5vw, 96px); align-items: start;
  padding: 30px var(--gouttiere) 96px calc(var(--gouttiere) + var(--decal));
}
@media (min-width: 1100px) {
  .contact { margin-left: calc(-1 * (var(--fil) + var(--marge))); margin-right: calc(-1 * var(--marge)); }
  .contact-cadre { padding-left: calc(var(--fil) + var(--marge) + var(--decal) + var(--gouttiere)); padding-right: max(calc(var(--marge) + var(--gouttiere)), calc(100% - var(--fil) - var(--marge) - var(--decal) - 1280px + var(--gouttiere))); }
}
.contact .question { color: var(--papier); }
.contact .reponse { max-width: 30em; }
.contact-tel { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.bouton-clair { border-color: color-mix(in srgb, var(--papier) 55%, transparent); color: var(--papier); }
.bouton-clair:hover { background: color-mix(in srgb, var(--papier) 12%, transparent); }
a.bouton-clair.revele { font: 400 1.35rem/1 var(--titre); border-color: var(--surligneur); }
.contact :focus-visible { outline-color: var(--surligneur); }
@media (max-width: 900px) { .contact-cadre { grid-template-columns: 1fr; } }

.lettre {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; padding: clamp(22px, 3vw, 36px);
  border-radius: 26px; background: color-mix(in srgb, var(--papier) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--papier) 16%, transparent);
}
.lettre-sujets, .champ-large, .lettre-envoi { grid-column: 1 / -1; }
.lettre-sujets { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lettre-sujets legend, .champ-bloc > span { padding: 0; font-weight: 700; font-size: .98rem; }
.lettre-sujets legend { margin-bottom: 10px; }
.lettre-sujets label { position: relative; }
.lettre-sujets input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lettre-sujets span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; font-size: .98rem; line-height: 1.2;
  border: 2px solid color-mix(in srgb, var(--papier) 40%, transparent); border-radius: 999px; transition: background-color .2s, color .2s, border-color .2s;
}
.lettre-sujets label:hover span { border-color: var(--papier); }
.lettre-sujets input:checked + span { background: var(--surligneur); border-color: var(--surligneur); color: var(--nuit); font-weight: 700; }
.lettre-sujets input:focus-visible + span { outline: 3px solid var(--surligneur); outline-offset: 3px; }
.champ-bloc { display: grid; gap: 7px; align-content: start; }
.champ-bloc small { font-weight: 400; font-size: .85em; color: color-mix(in srgb, var(--papier) 65%, transparent); }
.champ {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1.05rem/1.45 var(--texte); color: var(--papier);
  background: color-mix(in srgb, var(--nuit) 45%, transparent); border: 2px solid color-mix(in srgb, var(--lavis) 55%, transparent); border-radius: 14px;
  transition: border-color .2s;
}
textarea.champ { min-height: 8.5em; resize: vertical; }
.champ::placeholder { color: color-mix(in srgb, var(--papier) 45%, transparent); }
.champ:focus { outline: none; border-color: var(--surligneur); }
.champ.ok { border-color: color-mix(in srgb, var(--surligneur) 65%, transparent); }
.champ.manque { border-color: #FF9C8A; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lettre-envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; line-height: 1.4; }
.bouton-surligneur { background: var(--surligneur); border-color: var(--surligneur); color: var(--nuit); min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.bouton-surligneur:hover { background: #FFE27A; }
.bouton-surligneur:disabled { opacity: .6; cursor: progress; }
.lettre-etat { font-size: 1rem; }
.lettre-etat.erreur { color: #FFB4A6; font-weight: 700; }
@media (max-width: 640px) { .lettre { grid-template-columns: minmax(0, 1fr); } }
.lettre-recue { padding: clamp(28px, 4vw, 48px); border-radius: 30px 36px 28px 34px / 34px 28px 36px 30px; background: var(--surligneur); color: var(--nuit); }
.lettre-recue p:first-child { font: 400 clamp(1.8rem, 3.4vw, 2.6rem)/1.1 var(--titre); color: var(--encre); margin-bottom: 12px; }
.lettre-recue p { font-size: 1.15rem; }
@media (prefers-reduced-motion: no-preference) {
  .lettre-recue { animation: recue .7s cubic-bezier(.2, 1.3, .4, 1) both; }
  @keyframes recue { from { transform: scale(.9) rotate(-2deg); opacity: 0; } to { transform: none; opacity: 1; } }
}
.pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 26px var(--gouttiere) 34px calc(var(--gouttiere) + var(--decal)); border-top: 1px solid color-mix(in srgb, var(--papier) 20%, transparent); font-size: .95rem; }
.pied a, .pied button { color: var(--papier); margin-left: 18px; }
.pied a:first-child { margin-left: 0; }
.pied-legal { flex-basis: 100%; font-size: .88rem; }
.pied-github { display: inline-flex; align-items: center; gap: 6px; }
.pied-github svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.pied button { font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
@media (max-width: 1099.98px) { .pied { padding-bottom: 96px; } }
@media (min-width: 1100px) { .pied { padding-left: calc(var(--fil) + var(--marge) + var(--decal) + var(--gouttiere)); padding-right: calc(var(--marge) + var(--gouttiere)); } }

.poignee, .defileur { display: none; }
@media (max-width: 1099.98px) {
  .poignee {
    display: grid; place-items: center; position: fixed; right: 0; top: 50%; z-index: 26;
    width: 26px; height: 60px; padding: 0; border: 0; border-radius: 18px 0 0 18px; cursor: pointer;
    background: var(--encre); box-shadow: 0 8px 24px -10px rgba(20, 27, 63, .55);
    touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
    opacity: 0; pointer-events: none; transform: translate(10px, -50%);
    transition: opacity .3s, transform .35s cubic-bezier(.3, 1.3, .5, 1), width .2s;
  }
  .poignee::before {
    content: ""; width: 10px; height: 16px; border-radius: 2px;
    background: linear-gradient(var(--surligneur), var(--surligneur)) 0 0 / 100% 2.5px no-repeat, linear-gradient(var(--papier), var(--papier)) 0 50% / 70% 2.5px no-repeat, linear-gradient(var(--papier), var(--papier)) 0 100% / 85% 2.5px no-repeat;
  }
  .poignee.visible { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
  .poignee.glisse { width: 32px; box-shadow: 0 10px 28px -8px rgba(20, 27, 63, .6), inset 0 0 0 2px var(--surligneur); }
  .defileur {
    display: block; position: fixed; inset: 0; z-index: 24; pointer-events: none; opacity: 0; transition: opacity .2s;
    background: linear-gradient(90deg, transparent 40%, color-mix(in srgb, var(--nuit) 24%, transparent));
  }
  .defileur.visible { opacity: 1; }
  .defileur i {
    position: absolute; right: 38px; width: 10px; height: 3px; border-radius: 2px; transform: translateY(-50%);
    background: var(--papier); box-shadow: 0 0 0 1px color-mix(in srgb, var(--nuit) 30%, transparent); transition: width .2s, background .2s;
  }
  .defileur i.courant { width: 18px; background: var(--surligneur); }
  .defileur-bulle {
    position: absolute; right: 66px; top: var(--y, 50%); transform: translateY(-50%); max-width: calc(100vw - 96px);
    padding: 10px 18px; border-radius: 999px; background: var(--encre); color: var(--papier);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 18px 36px -14px rgba(20, 27, 63, .7);
    font: 400 1.1rem/1.2 var(--titre);
  }
  .defileur-bulle:empty { display: none; }
}
@media (max-width: 1099.98px) and (prefers-reduced-motion: no-preference) {
  .poignee.visible:not(.glisse):not(.connue) { animation: invite 5.5s cubic-bezier(.45, 0, .3, 1) 1.2s infinite; }
  @keyframes invite { 0%, 34%, 100% { translate: 0 0; } 8% { translate: 0 -7px; } 17% { translate: 0 6px; } 25% { translate: 0 -2px; } }
}

.nuee { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.nuee canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nuee::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 2.5s; background: linear-gradient(to bottom, rgba(28, 42, 110, .2), rgba(28, 42, 110, .08) 42%, transparent 78%); }
.nuee-nuit .nuee::before { opacity: 1; }
.entete { transition: background-color 2.5s; }
.nuee-nuit .entete { background: color-mix(in srgb, #C3C9D9 88%, transparent); }
.nuee-tenue { -webkit-user-select: none; user-select: none; cursor: grabbing; }
.nuee-meteo { position: relative; margin: 0 auto 0 12px; }
.nuee-meteo-bouton {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0; cursor: pointer;
  border: 2px solid var(--lavis); background: transparent; color: var(--encre);
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; transition: border-color .25s, background-color .25s, border-radius .5s;
}
.nuee-meteo-bouton:hover, .nuee-meteo-bouton[aria-expanded="true"] { border-color: var(--encre); background: var(--papier-fonce); border-radius: 46% 54% 42% 58% / 55% 45% 57% 43%; }
.nuee-meteo-bouton svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nuee-bulle, .nuee-panneau {
  background: var(--papier); color: var(--nuit); font-size: .95rem; line-height: 1.5;
  border-radius: 22px 26px 20px 24px / 24px 20px 26px 22px;
  box-shadow: 0 18px 40px -14px rgba(20, 27, 63, .4), 0 0 0 2px var(--encre);
}
.nuee-bulle { position: absolute; left: -6px; top: calc(100% + 12px); width: min(340px, calc(100vw - 32px)); padding: 18px 20px; }
.nuee-bulle[hidden] { display: none; }
@media (max-width: 760px) { .nuee-bulle { position: fixed; left: 12px; right: 12px; top: 74px; width: auto; } }
.nuee-bulle::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nuee-bulle-titre, .nuee-panneau-titre { font: 400 1.15rem/1.2 var(--titre); color: var(--encre); margin-bottom: 6px; }
.nuee-bulle-note { margin-top: 10px; padding: 8px 12px; border-radius: 12px; background: var(--papier-fonce); font-weight: 700; }
.nuee-bulle-note[hidden] { display: none; }
.nuee-bulle-geste { margin-top: 10px; font-size: .88rem; color: color-mix(in srgb, var(--nuit) 75%, var(--papier)); }
.nuee-bulle-choix { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nuee-bulle-source { margin-top: 12px; font-size: .8rem; color: color-mix(in srgb, var(--nuit) 70%, var(--papier)); }
.nuee-choix {
  font: 700 .9rem/1 var(--texte); color: var(--encre); background: transparent; cursor: pointer;
  min-height: 36px; padding: 0 14px; border: 2px solid var(--encre); border-radius: 999px;
}
.nuee-choix:hover { background: var(--papier-fonce); }
.nuee-choix[aria-pressed="true"] { background: var(--encre); color: var(--papier); }
.nuee-panneau { position: fixed; z-index: 45; width: max-content; max-width: min(300px, calc(100vw - 20px)); padding: 16px 18px 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.nuee-panneau-titre { flex-basis: 100%; margin-bottom: 2px; }
.nuee-roue { position: fixed; z-index: 46; width: 0; height: 0; pointer-events: none; }
.nuee-roue i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border: 2px solid var(--encre); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; background: var(--papier); }
.nuee-roue span {
  position: absolute; left: -43px; top: -43px; width: 86px; height: 86px; display: grid; place-items: center;
  font: 400 1rem/1 var(--titre); color: var(--papier); background: var(--encre);
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; box-shadow: 0 12px 26px -12px rgba(20, 27, 63, .6);
  transform: rotate(var(--a)) translate(92px) rotate(calc(-1 * var(--a)));
  transition: background-color .2s, color .2s, scale .3s cubic-bezier(.3, 1.4, .5, 1), border-radius .5s;
  animation: roue .32s cubic-bezier(.2, 1.35, .4, 1) both;
}
.nuee-roue span:nth-of-type(even) { border-radius: 46% 54% 42% 58% / 55% 45% 57% 43%; }
.nuee-roue span.vise { background: var(--surligneur); color: var(--nuit); scale: 1.14; }
@keyframes roue { from { transform: rotate(var(--a)) translate(0) rotate(calc(-1 * var(--a))) scale(.3); opacity: 0; } }

.consentement-voile { position: fixed; inset: 0; z-index: 59; background: rgba(20, 27, 63, .38); pointer-events: none; }
.consentement {
  position: fixed; left: 24px; bottom: 24px; z-index: 60; width: min(440px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
  padding: 26px; border-radius: 24px; background: var(--papier); color: var(--nuit); font-size: .95rem; line-height: 1.55;
  box-shadow: 0 18px 40px -12px rgba(20, 27, 63, .4), 0 0 0 2px var(--encre);
}
.consentement-titre { font: 400 1.35rem/1.2 var(--titre); color: var(--encre); margin-bottom: 8px; }
.consentement-usages { margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: var(--papier-fonce); font-size: .9rem; }
.consentement-usages p { font-weight: 700; }
.consentement-usages ul { padding-left: 18px; margin: 4px 0 0; }
.consentement-politique { display: inline-block; margin-top: 12px; font-size: .88rem; }
.consentement-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.consentement-choix .bouton { justify-content: center; min-height: 50px; }
@media (max-width: 576px) {
  .consentement { left: 0; right: 0; bottom: 0; width: auto; max-height: 88dvh; padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0; }
}

.page-texte .entete { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.texte-long { max-width: 760px; margin: 0 auto; padding: 20px var(--gouttiere) 90px; }
.texte-long h1 { font: 400 clamp(2.4rem, 5vw, 3.6rem)/1.05 var(--titre); color: var(--encre); margin-bottom: 10px; }
.texte-long h2 { font: 400 1.45rem/1.2 var(--titre); color: var(--encre); margin: 40px 0 8px; }
.texte-long p { max-width: 68ch; }
.texte-long p + p { margin-top: 12px; }
.page-texte .pied { padding: 26px calc(var(--marge) + var(--gouttiere)) 34px; }
.pied a[aria-current] { text-decoration-thickness: 2px; }
