/* Renard : les couleurs et les polices de l'application */
@font-face { font-family: "Fredoka"; src: url("fonts/fredoka-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
:root {
  --fond: #FFFDF7; --fond-bande: #DDF3E4; --fond-doux: #FFF3DC; --carte: #FFFFFF;
  --encre: #3A2216; --doux: #6B5544; --trait: #E8D6B8;
  --accent: #F08A24; --accent-texte: #A84E08; --sur-accent: #3A2216; --cadre: #3A2216;
  --titre: "Fredoka", "Arial Rounded MT Bold", sans-serif; --texte: "Nunito", "Segoe UI", system-ui, sans-serif;
  --graisse-titre: 600; --interlettre-titre: 0; --rayon: 20px;
  color-scheme: light;
}
.c-marque { color: var(--accent-texte); }
.c-hero h1 { color: var(--accent-texte); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-size: 1.0625rem; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
p, figure, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--titre); font-weight: var(--graisse-titre); letter-spacing: var(--interlettre-titre); line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(3rem, 8vw, 5rem); line-height: 1; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-texte); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.c-enveloppe { width: min(1100px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.c-entete { border-bottom: 1.5px solid var(--trait); }
.c-entete .c-enveloppe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 14px; }
.c-marque { display: flex; align-items: center; gap: 10px; font-family: var(--titre); font-weight: var(--graisse-titre); font-size: 1.5rem; text-decoration: none; }
.c-marque img { width: 40px; height: 40px; border-radius: 9px; }
.c-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 700; font-size: 0.98rem; }
.c-nav a { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.c-nav a:hover { color: inherit; border-bottom-color: var(--accent); }

.c-hero { background: var(--fond-bande); }
.c-hero .c-enveloppe { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 56px); align-items: center; padding-block: clamp(40px, 7vw, 80px); }
.c-hero__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.c-sur-titre { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--doux); }
.c-sous-titre { font-family: var(--titre); font-weight: var(--graisse-titre); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.2; }
.c-chapeau { font-size: 1.15rem; max-width: 34em; }
.c-etat { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 2px solid currentColor; border-radius: 999px; font-weight: 700; font-size: 0.95rem; }
.c-etat::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.c-puces { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 0.92rem; font-weight: 700; }
.c-puces li { padding: 5px 12px; border-radius: 999px; background: var(--carte); border: 1px solid var(--trait); }
.c-logo { width: min(100%, 300px); }
.c-mascotte { width: 120px; height: auto; margin-bottom: -6px; }
.c-etape img, .c-ecran { width: 100%; border-radius: 12px; border: 1px solid var(--trait); margin-bottom: 6px; }
.c-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; }
.c-pages img { width: 100%; border-radius: 6px; border: 1px solid var(--trait); box-shadow: 0 2px 6px rgba(58, 34, 22, 0.08); }

.c-tablette img { width: 100%; border: 8px solid var(--cadre); border-radius: 22px; }
.c-tablette figcaption, .c-captures figcaption { margin-top: 10px; font-size: 0.9rem; font-weight: 700; line-height: 1.35; }
.c-captures figcaption span { display: block; font-weight: 400; color: var(--doux); }

.c-section { padding-block: clamp(44px, 7vw, 80px); }
.c-section--teinte { background: var(--fond-doux); }
.c-section > .c-enveloppe { display: flex; flex-direction: column; gap: 28px; }
.c-intro { max-width: 40em; color: var(--doux); font-size: 1.1rem; }
.c-deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.c-pile { display: flex; flex-direction: column; gap: 18px; }

.c-etapes { list-style: none; counter-reset: etape; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.c-etapes li { counter-increment: etape; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; }
.c-etapes li::before { content: counter(etape); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--sur-accent); font-family: var(--titre); font-weight: 700; font-size: 1.25rem; }
.c-etapes p { color: var(--doux); }

.c-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.c-grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c-grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-carte { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--carte); border: 1.5px solid var(--trait); border-radius: var(--rayon); }
.c-carte .c-sur-titre { color: var(--accent-texte); }
.c-carte p, .c-carte li { color: var(--doux); }
.c-carte ul { margin: 4px 0 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 4px; }
.c-carte ol { margin: 4px 0 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 3px; }

.c-chiffres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.c-chiffres li { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 3px solid var(--accent); }
.c-chiffres strong { font-family: var(--titre); font-weight: var(--graisse-titre); font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.c-chiffres span { color: var(--doux); font-size: 0.98rem; }
.c-note { color: var(--doux); }

.c-captures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); }
.c-captures--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c-captures img { width: 100%; border-radius: 14px; border: 1.5px solid var(--trait); }

.c-faits { display: flex; flex-direction: column; }
.c-faits div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid var(--trait); }
.c-faits div:first-child { border-top: 2px solid var(--encre); }
.c-faits dt { font-weight: 700; }
.c-faits dd { color: var(--doux); }

.c-faq { display: flex; flex-direction: column; max-width: 46em; }
.c-faq details { border-top: 1px solid var(--trait); padding-block: 14px; }
.c-faq details:last-child { border-bottom: 1px solid var(--trait); }
.c-faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }
.c-faq details p { margin-top: 8px; color: var(--doux); }

.c-prose { display: flex; flex-direction: column; gap: 14px; max-width: 46em; }
.c-prose h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); }
.c-prose h2 { font-size: 1.5rem; margin-top: 22px; }
.c-prose h3 { margin-top: 8px; }
.c-prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.c-date { color: var(--doux); font-size: 0.95rem; }

.c-bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; background: var(--accent); color: var(--sur-accent); font-weight: 700; text-decoration: none; }
.c-bouton:hover { color: var(--sur-accent); }

.c-pied { border-top: 1.5px solid var(--trait); padding-block: 32px; }
.c-pied .c-enveloppe { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.c-pied p { color: var(--doux); max-width: 34em; }
.c-pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; }
.c-pied a { text-decoration: none; }
.c-pied p a { text-decoration: underline; }

@media (max-width: 860px) {
  .c-hero .c-enveloppe, .c-deux { grid-template-columns: minmax(0, 1fr); }
  .c-grille, .c-grille--4, .c-captures--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .c-grille, .c-grille--4, .c-grille--2, .c-captures, .c-captures--3 { grid-template-columns: minmax(0, 1fr); }
  .c-faits div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
