/* Style commun de l'accueil et de la page « Questions fréquentes » de Drimbo (6 novembre 2026) : les
   couleurs, les polices et les formes de l'app (bandeau ciel de nuit, nappe lavande aux coins arrondis,
   cartes blanches, bouton or). Polices hébergées ici (fonts/), aucune ressource chargée chez un tiers.
   L'accueil ajoute accueil.css par-dessus. */
@font-face { font-family: "Baloo 2"; src: url("/fonts/baloo2-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --nuit: #232B66; --nuit-clair: #2E3878; --nuit-fonce: #1B2153;
  --nappe: #EFEAF9; --nappe-fonce: #E2DAF3; --carte: #FFFFFF;
  --texte: #2E2A5C; --texte-doux: #6A639B;
  --or: #F0B23E; --or-fonce: #C98F24; --sur-or: #4A3505; --lueur: #FFE083;
  --lavande: #B3A6E3; --lavande-forte: #6F5FC4; --creme: #FFF6E3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--nuit); color: var(--texte); font-family: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
a { color: var(--lavande-forte); }
a:focus-visible, summary:focus-visible, input:focus-visible, .puce:focus-visible, .bouton:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; border-radius: 8px; }

/* Bandeau ciel */
.ciel { position: relative; overflow: hidden; color: var(--creme); padding: 22px 20px 64px;
  background:
    radial-gradient(2px 2px at 8% 22%, var(--lueur) 50%, transparent 51%),
    radial-gradient(3px 3px at 22% 64%, #B9BEE8 50%, transparent 51%),
    radial-gradient(2px 2px at 37% 14%, var(--lueur) 50%, transparent 51%),
    radial-gradient(3px 3px at 55% 38%, var(--lueur) 50%, transparent 51%),
    radial-gradient(2px 2px at 68% 72%, #B9BEE8 50%, transparent 51%),
    radial-gradient(2px 2px at 81% 18%, var(--lueur) 50%, transparent 51%),
    radial-gradient(3px 3px at 93% 52%, var(--lueur) 50%, transparent 51%),
    var(--nuit); }
.ciel-contenu { max-width: 860px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.ciel-texte { flex: 1; min-width: 0; }
.marque { display: inline-flex; align-items: center; gap: 10px; color: var(--creme); text-decoration: none; font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 700; font-size: 22px; }
.marque img { width: 36px; height: 36px; border-radius: 9px; }
.ciel h1 { font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 700; font-size: clamp(32px, 6vw, 46px); line-height: 1.1; margin: 22px 0 8px; color: var(--creme); }
.ciel p { margin: 0; color: #C9C5F0; font-size: 18px; max-width: 34em; }
.mascotte { width: clamp(110px, 22vw, 190px); height: auto; flex: none; animation: flotte 5s ease-in-out infinite; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Nappe */
.nappe { background: var(--nappe); border-radius: 40px 40px 0 0; margin-top: -40px; position: relative; padding: 28px 20px 56px; }
.colonne { max-width: 860px; margin: 0 auto; }

.recherche { position: relative; margin: 0 0 16px; }
.recherche input { width: 100%; font: inherit; color: var(--texte); background: var(--carte); border: 2px solid var(--nappe-fonce); border-radius: 999px; padding: 14px 20px 14px 48px; }
.recherche input::placeholder { color: var(--texte-doux); }
.recherche svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--texte-doux); pointer-events: none; }
.aucun { display: none; background: var(--carte); border-radius: 16px; padding: 16px 18px; color: var(--texte-doux); }
.aucun.visible { display: block; }

.puces { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.puce { display: inline-block; text-decoration: none; color: var(--texte); background: var(--carte); border: 2px solid var(--nappe-fonce); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; }
.puce:hover { border-color: var(--lavande); }

section { scroll-margin-top: 16px; }
h2 { font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--texte); margin: 36px 0 12px; display: flex; align-items: center; gap: 10px; }
h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 5px rgba(240, 178, 62, 0.25); flex: none; }

details { background: var(--carte); border-radius: 16px; margin: 0 0 10px; box-shadow: 0 2px 10px rgba(35, 43, 102, 0.07); }
details[open] { box-shadow: 0 6px 20px rgba(35, 43, 102, 0.12); }
summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; position: relative; font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--texte); border-radius: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--lavande-forte); border-bottom: 3px solid var(--lavande-forte); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.reponse { padding: 0 18px 16px; color: var(--texte); }
.reponse p { margin: 0 0 10px; }
.reponse p:last-child, .reponse ul:last-child, .reponse ol:last-child { margin-bottom: 0; }
.reponse ul, .reponse ol { margin: 0 0 10px; padding-left: 22px; }
.reponse li { margin-bottom: 4px; }
.note { background: #FFF6DC; border-radius: 12px; padding: 10px 14px; color: #5C4408; }

.contact { margin-top: 40px; background: var(--nuit); color: var(--creme); border-radius: 24px; padding: 26px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.contact img { width: 96px; height: auto; flex: none; }
.contact div { flex: 1; min-width: 220px; }
.contact h2 { color: var(--creme); margin: 0 0 4px; }
.contact h2::before { display: none; }
.contact p { margin: 0 0 14px; color: #C9C5F0; }
.bouton { display: inline-block; background: var(--or); color: var(--sur-or); text-decoration: none; font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 700; font-size: 18px; padding: 10px 22px; border-radius: 999px; border-bottom: 4px solid var(--or-fonce); }
.bouton:hover { filter: brightness(1.05); }

.maj { color: var(--texte-doux); font-size: 15px; margin: 28px 0 0; }
.pied { background: var(--nappe); text-align: center; color: var(--texte-doux); font-size: 14px; padding: 0 20px 40px; }
.pied a { margin: 0 8px; color: var(--texte-doux); }

@media (max-width: 600px) {
  /* Sur téléphone : la marque et Drimbo sur la première ligne, le titre et la suite en pleine largeur. */
  .ciel { padding: 18px 20px 56px; }
  .ciel-contenu { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .ciel-texte { display: contents; }
  .ciel-texte > * { grid-column: 1 / -1; }
  .ciel-texte > .marque { grid-column: 1; grid-row: 1; align-self: center; }
  .mascotte { grid-column: 2; grid-row: 1; width: 92px; margin: 0; }
  .ciel h1 { margin-top: 14px; font-size: clamp(30px, 8.6vw, 36px); }
  .ciel p { font-size: 17px; }
  summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascotte { animation: none; }
  html { scroll-behavior: auto; }
  summary::after { transition: none; }
}
