/* Crèche parentale La Toupie — feuille de style
   Polices système uniquement : aucun appel à un serveur tiers (RGPD). */
:root {
  --ink: #2F4858;
  --ink-soft: #55707f;
  --paper: #FFFBF4;
  --cream: #FFF4E0;
  --coral: #F26B5B;
  --coral-dark: #d4503f;
  --sun: #F6B93B;
  --sage: #8CC7A1;
  --sky: #9AD0EC;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(47, 72, 88, .08);
  font-size: 17px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Nunito", "Varela Round", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  /* confettis discrets en fond */
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 20px 30px, rgba(242,107,91,.18) 4px, transparent 5px),
    radial-gradient(circle at 110px 90px, rgba(154,208,236,.30) 5px, transparent 6px),
    radial-gradient(circle at 170px 20px, rgba(246,185,59,.28) 3px, transparent 4px),
    radial-gradient(circle at 60px 150px, rgba(140,199,161,.30) 4px, transparent 5px),
    radial-gradient(circle at 150px 170px, rgba(185,163,227,.30) 3px, transparent 4px);
  background-size: 200px 200px;
}
h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .2em 0 .4em; }
h2 { font-size: 1.45rem; margin: 1.8em 0 .5em; }
a { color: var(--coral-dark); }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; border-radius: var(--radius); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.small { font-size: .88rem; color: var(--ink-soft); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }

/* Marqueurs « à compléter » — à supprimer une fois le contenu validé */
mark.todo { background: none; color: inherit; padding: 0; }

/* En-tête */
.site-header { background: #fff; box-shadow: 0 1px 0 rgba(47,72,88,.08); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand strong { display: block; font-size: 1.3rem; }
.brand small { display: block; font-size: .8rem; color: var(--ink-soft); }
.logo { width: 46px; height: 46px; }
nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
nav a { display: block; padding: .5rem .8rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
nav a:hover { background: var(--cream); }
nav li:nth-child(1) a[aria-current="page"] { background: var(--coral); }
nav li:nth-child(2) a[aria-current="page"] { background: #e5a21f; }
nav li:nth-child(3) a[aria-current="page"] { background: #5fae7c; }
nav li:nth-child(4) a[aria-current="page"] { background: #4a9fcb; }
nav li:nth-child(5) a[aria-current="page"] { background: #8f72cf; }
nav a[aria-current="page"] { color: #fff; }
.menu-toggle, .burger { display: none; }

/* Accueil */
.hero { background: var(--cream); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 800; color: var(--coral-dark); margin: 0; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.btn { display: inline-block; padding: .8rem 1.4rem; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 800; text-decoration: none; }
.btn:hover { background: var(--coral-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.hero { position: relative; background: linear-gradient(180deg, #DDF1FB 0%, var(--cream) 100%); }
.hero-art { position: relative; }
.scene { width: 100%; height: auto; overflow: visible; }
/* petites animations (désactivées si l'utilisateur préfère réduire les mouvements) */
@media (prefers-reduced-motion: no-preference) {
  .sun { transform-origin: 330px 70px; animation: spin 40s linear infinite; }
  .cloud { animation: drift 9s ease-in-out infinite alternate; }
  .c2 { animation-duration: 12s; } .c3 { animation-duration: 10s; animation-direction: alternate-reverse; }
  .balloon { animation: float 4s ease-in-out infinite alternate; }
  .balloon.b2 { animation-delay: -1.3s; } .balloon.b3 { animation-delay: -2.6s; }
  .star { transform-box: fill-box; transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
  .s2 { animation-delay: -.8s; } .s3 { animation-delay: -1.6s; }
  .brand:hover .logo { animation: spin .8s ease-in-out; }
  .card:hover { transform: translateY(-4px) rotate(-.6deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translateX(14px); } }
@keyframes float { to { transform: translateY(-10px); } }
@keyframes twinkle { 50% { transform: scale(.7); opacity: .6; } }
.wave { display: block; width: 100%; height: 50px; margin-top: -1px; }
.hero .wave, .page-head .wave { position: relative; margin-bottom: -1px; }
.wave-top { display: block; width: 100%; height: 40px; margin-top: -40px; }

.keyfigures { list-style: none; padding: 0; margin: -1rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; }
.keyfigures li:nth-child(1) { border-bottom: 6px solid var(--coral); }
.keyfigures li:nth-child(2) { border-bottom: 6px solid var(--sun); }
.keyfigures li:nth-child(3) { border-bottom: 6px solid var(--sage); }
.keyfigures li:nth-child(4) { border-bottom: 6px solid var(--sky); }
.keyfigures li { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; text-align: center; }
.keyfigures strong { display: block; font-size: 1.5rem; color: var(--coral-dark); }
.keyfigures span { font-size: .9rem; color: var(--ink-soft); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding-top: 3rem; padding-bottom: 4rem; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; transition: transform .25s; }
.card h2 { margin-top: 0; font-size: 1.25rem; }
.card:nth-child(3n+1) { border-top: 6px solid var(--sky); }
.card:nth-child(3n+2) { border-top: 6px solid var(--sage); }
.card:nth-child(3n+3) { border-top: 6px solid var(--sun); }
.card a { font-weight: 800; text-decoration: none; }

/* Pages intérieures */
.page-head { background: linear-gradient(180deg, #DDF1FB 0%, var(--cream) 100%); padding: 2.5rem 0 0; }
.page-head h1::after { content: ""; display: block; width: 120px; height: 10px; margin-top: .4rem; border-radius: 10px;
  background: linear-gradient(90deg, var(--coral) 0 20%, var(--sun) 20% 40%, var(--sage) 40% 60%, var(--sky) 60% 80%, #B9A3E3 80%); }
.prose h2::before { content: "●"; margin-right: .5rem; font-size: .8em; color: var(--coral); }
.prose h2:nth-of-type(4n+2)::before { color: var(--sun); }
.prose h2:nth-of-type(4n+3)::before { color: var(--sage); }
.prose h2:nth-of-type(4n+4)::before { color: var(--sky); }
.prose { max-width: 760px; padding-top: 1rem; padding-bottom: 4rem; }
.prose li { margin-bottom: .4em; }
.timeline, .steps { padding-left: 0; list-style: none; counter-reset: s; }
.timeline li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed #e3d8c4; }
.timeline span { font-weight: 800; color: var(--coral-dark); }
.steps li { counter-increment: s; position: relative; padding-left: 3rem; margin-bottom: 1rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--sage); color: #fff; font-weight: 800; display: grid; place-items: center; }
.checklist { padding-left: 1.2rem; }
.notice { background: #fff; border-left: 6px solid var(--coral); border-radius: 8px; padding: .2rem 1.2rem; box-shadow: var(--shadow); margin-top: 1.5rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding-top: 2rem; padding-bottom: 4rem; }

/* Pied de page */
.site-footer { background: var(--ink); color: #e8eef1; padding: 1rem 0 2.5rem; margin-top: 40px; font-size: .92rem; }
.site-footer a { color: #fff; }
.site-footer .small { color: #b9c7cf; }
.footer-title { font-weight: 800; font-size: 1.05rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Mobile */
@media (max-width: 860px) {
  .burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: .6rem; }
  .burger span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }
  nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; box-shadow: var(--shadow); }
  nav ul { flex-direction: column; padding: .8rem; }
  .menu-toggle:checked ~ nav { display: block; }
  .hero-inner, .cards, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; margin: 0 auto; }
  .keyfigures { grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
}

/* Phrase mise en valeur (page « Une crèche parentale ») */
.tagline { color: #3d8a5a; font-size: 1.3rem; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }

/* Moins d'espace entre l'en-tête de page et le premier titre */
.prose { padding-top: 0; }
.prose > h2:first-child { margin-top: .3em; }
