@font-face {
  font-family: 'Public Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/site/polices/public-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-weight: 500;
  font-display: swap;
  src: url('/site/polices/public-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-weight: 600;
  font-display: swap;
  src: url('/site/polices/public-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-weight: 700;
  font-display: swap;
  src: url('/site/polices/public-sans-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-weight: 800;
  font-display: swap;
  src: url('/site/polices/public-sans-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 500;
  font-display: swap;
  src: url('/site/polices/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}

body {
  margin: 0;
  font-family: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
}
a {
  color: #5a47d6;
}
a:hover {
  color: #4a38b4;
}
input,
select,
textarea {
  font: inherit;
  box-sizing: border-box;
  width: 100%;
}
.piege {
  position: absolute;
  left: -9999px;
}
.legal {
  color: #26231e;
  line-height: 1.55;
}
.legal header,
.legal main {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 40px);
}
/* La page /plateforme (`plateforme.mjs`). */
.plateforme {
  background: #f7f5f1;
  color: #26231e;
  font-size: 16px;
  line-height: 1.55;
}
.plateforme .barre {
  background: #ffffff;
  border-bottom: 1px solid #dcd7cd;
}
.plateforme .barre > div,
.plateforme .catalogue,
.plateforme .devis > div,
.plateforme .pied {
  box-sizing: border-box;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.plateforme .barre > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-block: 14px;
}
.plateforme .marque {
  flex-grow: 1;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #26231e;
  text-decoration: none;
}
.plateforme .marque span:first-child {
  font-weight: 800;
  color: #6c5ce7;
}
.plateforme .marque span:last-child {
  font-weight: 500;
  color: #6a6357;
}
.plateforme .lien {
  font-size: 14px;
  color: #524c43;
  text-decoration: none;
}
.plateforme .bouton {
  padding: 10px 16px;
  border-radius: 3px;
  background: #6c5ce7;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.plateforme .catalogue {
  padding-block: clamp(32px, 4vw, 48px);
}
.plateforme .surtitre {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #5a47d6;
}
.plateforme h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.plateforme .chapeau {
  max-width: 680px;
  margin: 16px 0 32px;
  font-size: 18px;
  color: #524c43;
}
.plateforme .colonnes {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
}
.plateforme .index {
  display: grid;
  flex: 1 1 220px;
  gap: 2px;
  font-size: 15px;
}
.plateforme .index a {
  padding: 8px 12px;
  border-radius: 3px;
  color: #524c43;
  text-decoration: none;
}
.plateforme .index a[aria-current] {
  background: #f2f0fe;
  color: #4a38b4;
  font-weight: 600;
}
.plateforme .fonctions {
  display: grid;
  flex: 999 1 560px;
  gap: 16px;
  min-width: 0;
}
.plateforme article {
  padding: 24px 28px;
  border: 1px solid #dcd7cd;
  border-radius: 5px;
  background: #ffffff;
  scroll-margin-top: 16px;
}
.plateforme article h2 {
  margin: 0 0 6px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.plateforme article p {
  margin: 0 0 14px;
  color: #524c43;
}
.plateforme article ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 6px 24px;
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  color: #3a3630;
}
.plateforme figure {
  margin: 20px 0 0;
}
.plateforme figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  border: 1px solid #dcd7cd;
  border-radius: 3px;
}
.plateforme figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #6a6357;
}
.plateforme .devis {
  background: #26231e;
  color: #ffffff;
  scroll-margin-top: 16px;
}
.plateforme .devis > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px;
  padding-block: clamp(48px, 5vw, 72px);
}
.plateforme .devis h2 {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.plateforme .devis ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: #dcd7cd;
}
.plateforme .devis form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 5px;
  background: #ffffff;
  color: #26231e;
}
.plateforme .devis label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.plateforme .devis input,
.plateforme .devis select,
.plateforme .devis textarea {
  padding: 11px 12px;
  border: 1px solid #c3bdb1;
  border-radius: 3px;
  background: #ffffff;
  font-weight: 400;
}
.plateforme .devis button {
  padding: 14px;
  border: 0;
  border-radius: 3px;
  background: #6c5ce7;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.plateforme .devis button:disabled {
  opacity: 0.6;
}
.plateforme .devis [data-retour] {
  margin: 0;
  font-weight: 600;
}
.plateforme .pied {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 24px;
  font-size: 14px;
  color: #6a6357;
}
.plateforme .pied span {
  flex-grow: 1;
}
.plateforme .pied a {
  color: #524c43;
}
.plateforme .detail {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
}
/* Les pages /plateforme/<fonction> : le texte et la capture se répondent sur grand écran. */
.fonction .ariane {
  margin: 0 0 20px;
  font-size: 14px;
  color: #6a6357;
}
.fonction .chapeau {
  margin-bottom: 24px;
}
.fonction .etapes,
.fonction .blocs {
  display: grid;
  gap: 16px;
}
.fonction .blocs {
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  margin-top: 16px;
}
.fonction .etape {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid #dcd7cd;
  border-radius: 5px;
  background: #ffffff;
}
.fonction .numero {
  font-size: 13px;
  font-weight: 600;
  color: #5a47d6;
}
.fonction .etape h2,
.fonction .bloc h2,
.fonction .questions h2 {
  margin: 4px 0 8px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.fonction .etape p {
  margin: 0;
  color: #524c43;
}
.fonction .etape p + p {
  margin-top: 10px;
}
.fonction .etape figure {
  margin: 0;
  min-width: 0;
}
.fonction .bloc {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dcd7cd;
  border-radius: 5px;
  background: #ffffff;
}
.fonction .bloc > p {
  margin: 0 0 10px;
  color: #524c43;
}
.fonction .bloc ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: #3a3630;
}
.fonction dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.fonction dt {
  font-weight: 700;
}
.fonction dd {
  margin: 2px 0 0;
  color: #524c43;
}
.fonction .questions {
  margin-top: 32px;
}
.fonction details {
  padding-block: 12px;
  border-top: 1px solid #dcd7cd;
}
.fonction details:last-child {
  border-bottom: 1px solid #dcd7cd;
}
.fonction summary {
  font-weight: 600;
  cursor: pointer;
}
.fonction details p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #524c43;
}
.fonction .suite {
  background: #26231e;
  color: #ffffff;
}
.fonction .suite > div,
.fonction .voisines {
  box-sizing: border-box;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.fonction .suite > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  padding-block: 40px;
}
.fonction .suite h2 {
  flex: 1 1 280px;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.fonction .voisines {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px;
  font-size: 15px;
}
.fonction .pied {
  border-top: 1px solid #dcd7cd;
}
@media (min-width: 900px) {
  .fonction .etape {
    grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
    align-items: start;
    gap: 32px;
    padding: 28px;
  }
  .fonction .etape.sans-capture {
    grid-template-columns: minmax(0, 760px);
  }
}
/* L'index accompagne la lecture sur grand écran ; sur téléphone, il tient en pastilles. */
@media (min-width: 900px) {
  .plateforme .index {
    position: sticky;
    top: 16px;
  }
}
@media (max-width: 899px) {
  .plateforme .index {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 6px;
  }
  .plateforme .index a {
    border: 1px solid #dcd7cd;
    background: #ffffff;
  }
}
.ouverts {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}
.ouverts li {
  padding-block: 12px;
  border-top: 1px solid #dcd7cd;
}
.ouverts a {
  font-size: 19px;
  font-weight: 700;
}
.ouverts p {
  margin: 4px 0 0;
}
.legal header a {
  font-weight: 700;
  color: #26231e;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid #6c5ce7;
  outline-offset: 2px;
}
