/* Ludine : couleurs des cheveux de la mascotte, fond crème comme dans l'app. Pas de jaune pâle. */
@font-face { font-family: "Fredoka"; src: url("polices/Fredoka-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --fond: #FFF3EA;
  --carte: #FFFFFF;
  --texte: #2B2230;
  --doux: #6B5E70;
  --rose: #E0457F;
  --orange: #F26A2E;
  --or: #D99A00;
  --turquoise: #1E9C98;
  --mauve: #9B4FD0;
  --bleu: #3F74D8;
  --vert: #3E9E3A;
}
@media (prefers-color-scheme: dark) {
  :root { --fond: #1F1A22; --carte: #2B2430; --texte: #F4EEF6; --doux: #C9BCCD; }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.page { max-width: 980px; margin: 0 auto; padding: 0 16px 40px; }
a { color: var(--bleu); }
h1, h2, h3 { font-family: "Fredoka", system-ui, sans-serif; font-weight: 700; line-height: 1.15; }
h2 { font-size: 1.7rem; margin: 2.4rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .35rem; }

nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; padding: 16px 0; }
nav a { text-decoration: none; font-weight: 600; color: var(--doux); }
nav a:hover { color: var(--texte); }

/* Le titre en lettres de couleur, comme dans l'app */
.titre { font-size: clamp(3.2rem, 11vw, 5.6rem); margin: .2rem 0; letter-spacing: .01em; }
.titre span:nth-child(1) { color: var(--orange); }
.titre span:nth-child(2) { color: var(--or); }
.titre span:nth-child(3) { color: var(--turquoise); }
.titre span:nth-child(4) { color: var(--mauve); }
.titre span:nth-child(5) { color: var(--bleu); }
.titre span:nth-child(6) { color: var(--vert); }
.arcenciel { display: flex; height: 6px; border-radius: 3px; overflow: hidden; max-width: 320px; margin: .4rem 0 1rem; }
.arcenciel i { flex: 1; }

.entete { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; padding: 8px 0 12px; }
.entete img { width: 100%; max-width: 330px; justify-self: center; }
.accroche { font-size: 1.25rem; margin: 0 0 1rem; }
.puces { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: 8px; }
.puces li { background: var(--carte); border-radius: 999px; padding: 5px 13px; font-size: .92rem; font-weight: 600; }
.bientot { display: inline-block; background: var(--orange); color: #fff; font-family: "Fredoka", sans-serif; font-size: 1.15rem; padding: 10px 20px; border-radius: 999px; }

.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.carte { background: var(--carte); border-radius: 22px; padding: 18px 20px; border-top: 6px solid var(--c, var(--rose)); }
.carte p { margin: 0; color: var(--doux); }
.carte .dessin { font-size: 2rem; line-height: 1; display: block; margin-bottom: .4rem; }

.pour { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pour .carte { border-top: 0; border-left: 7px solid var(--c); }

.prive { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; background: var(--carte); border-radius: 22px; padding: 18px 22px; }
.prive img { width: 140px; }
.prive p { margin: .3rem 0; }

.visages { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 2rem 0 0; }
.visages img { width: 110px; }

.avise { text-align: center; background: var(--carte); border-radius: 22px; padding: 22px; margin-top: 2.2rem; }
.avise p { margin: .4rem 0; }
.note { color: var(--doux); font-size: .92rem; margin-top: 2rem; }

footer { margin-top: 2.6rem; padding-top: 1rem; border-top: 1px solid rgba(127,127,127,.25); color: var(--doux); font-size: .92rem; text-align: center; }

/* Politique de confidentialité */
.texte { max-width: 760px; }
.texte section { background: var(--carte); border-radius: 18px; padding: 14px 18px; margin-bottom: 12px; }
.texte section h3 { margin-bottom: .3rem; }
.texte section p { margin: .2rem 0; }
.date { color: var(--doux); }

@media (max-width: 700px) {
  .entete { grid-template-columns: 1fr; text-align: center; }
  .entete img { max-width: 220px; order: -1; }
  .arcenciel { margin-left: auto; margin-right: auto; }
  .puces { justify-content: center; }
  .prive { grid-template-columns: 1fr; text-align: center; }
  .prive img { margin: 0 auto; }
  nav { justify-content: center; }
}
