/* Au royaume des bambins – feuille de style */
:root {
  --ink: #1F2A37;
  --muted: #4B5563;
  --cream: #FFFBF2;
  --line: #F1E6CC;
  --yellow: #F5B800;
  --yellow-soft: #FFF3CC;
  --yellow-ink: #7A5500;
  --gold: #B07D00;
  --teal-soft: #DDF6F2;
  --teal-ink: #0B6B62;
  --blue-soft: #DCEFFC;
  --blue-ink: #0B5F8F;
  --coral-soft: #FDE4DA;
  --coral-ink: #A63A12;
  --radius: 24px;
  --display: 'Baloo 2', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--teal-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 60px); letter-spacing: -0.5px; }
h2 { font-size: clamp(30px, 4.2vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-white { background: #fff; }
.eyebrow { font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 8px; }
.eyebrow.coral { color: var(--coral-ink); }
.eyebrow.blue { color: var(--blue-ink); }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin-top: 16px; }
.muted { color: var(--muted); }
.note { padding: 12px 14px; border-radius: 14px; background: var(--yellow-soft); font-size: 14px; color: var(--yellow-ink); font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #E5AB00; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #111827; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn[disabled] { background: #E5E7EB; color: var(--muted); cursor: not-allowed; transform: none; }

/* Announcement + header */
.announce { background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; text-align: center; padding: 10px 0; }
.announce a { color: var(--yellow); margin-left: 6px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 84px; height: 56px; object-fit: contain; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; color: var(--ink); }
.brand em { font-style: normal; color: var(--gold); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.nav a:not(.btn) { padding: 10px 13px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a.is-active { background: var(--yellow-soft); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--yellow-soft); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 13px 14px; }
  .nav .btn { margin: 8px 0 0; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
.hero > div { flex: 1 1 420px; min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-weight: 800; font-size: 14px; margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { background: #fff; border-radius: 40px; padding: 36px; box-shadow: 0 20px 50px rgba(224,161,0,.18); }
.hero-art img { width: 100%; height: 320px; object-fit: contain; }

/* Cards & grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }
.card-dark { background: var(--ink); color: #fff; border-color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.card-dark a { color: var(--yellow); font-weight: 800; text-decoration: none; }
.fact .ic { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.fact .big { font-family: var(--display); font-weight: 800; font-size: 28px; margin-top: 14px; line-height: 1.2; }
.bg-yellow { background: var(--yellow-soft); color: #9A6B00; }
.bg-teal { background: var(--teal-soft); color: var(--teal-ink); }
.bg-blue { background: var(--blue-soft); color: var(--blue-ink); }
.bg-coral { background: var(--coral-soft); color: var(--coral-ink); }
.group-card { border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.group-card.teal { background: var(--teal-soft); }
.group-card.yellow { background: var(--yellow-soft); }
.group-card .photo { height: 220px; border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.55); }
.group-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 14px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }

/* Planning */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; }
.tabs button { padding: 12px 20px; border-radius: 999px; border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.panel { background: var(--cream); border-radius: 32px; padding: 36px; }
.panel[hidden] { display: none; }
.split { display: flex; flex-wrap: wrap; gap: 40px; }
.split > .side { flex: 1 1 260px; min-width: 0; }
.split > .main { flex: 999 1 480px; min-width: 0; }
.choice { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 14px 18px; border-radius: 16px; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; text-align: left; background: #fff; color: var(--ink); border: 2px solid var(--line); margin-bottom: 8px; }
.choice small { font-weight: 600; font-size: 14px; }
.choice[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 16px; }
.timeline .time { width: 120px; flex: 0 0 120px; padding-top: 14px; font-family: var(--display); font-weight: 800; font-size: 17px; text-align: right; }
.timeline .rail { display: flex; flex-direction: column; align-items: center; flex: 0 0 18px; }
.timeline .dot { width: 18px; height: 18px; border-radius: 50%; margin-top: 16px; border: 4px solid #fff; box-shadow: 0 0 0 2px currentColor; background: currentColor; }
.timeline .bar { flex: 1; width: 2px; background: var(--line); }
.timeline .box { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; margin-bottom: 12px; }
.timeline .box strong { display: block; font-size: 17px; }
.timeline .box span { font-size: 15px; color: var(--muted); }
@media (max-width: 560px) { .timeline .time { width: 84px; flex-basis: 84px; font-size: 15px; } .panel { padding: 22px; } }

.cal { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head h3 { font-size: 24px; }
.icon-btn { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-grid .wd { text-align: center; font-size: 13px; font-weight: 800; color: var(--muted); }
.cal-grid .d { height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; background: var(--cream); }
.cal-grid .d.empty { background: transparent; }
.cal-grid .d.we { background: transparent; color: #6B7280; }
.cal-grid .d.closed { background: var(--coral-soft); color: var(--coral-ink); border: 1px solid var(--coral-ink); }
.cal-grid .d.event { background: var(--teal-soft); color: var(--teal-ink); border: 1px solid var(--teal-ink); }
.cal-grid .d.today { outline: 2px solid var(--ink); outline-offset: -2px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; font-weight: 700; }
.legend i { display: inline-block; width: 16px; height: 16px; border-radius: 5px; vertical-align: -3px; margin-right: 6px; }
.ev-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ev-list li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
.ev-list .when { min-width: 64px; padding: 6px 8px; border-radius: 10px; font-weight: 800; font-size: 14px; text-align: center; background: var(--coral-soft); color: var(--coral-ink); }
.ev-list .when.event { background: var(--teal-soft); color: var(--teal-ink); }
.ev-list small { color: var(--muted); }

.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.day-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 18px; font: inherit; cursor: pointer; background: #fff; color: var(--ink); border: 2px solid var(--line); }
.day-btn b { font-family: var(--display); font-size: 26px; line-height: 1.1; }
.day-btn small { font-size: 13px; }
.day-btn[aria-pressed="true"] { background: var(--yellow); border-color: var(--ink); }
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-btn { min-width: 96px; padding: 13px 18px; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; background: #fff; color: var(--ink); border: 2px solid var(--line); }
.slot-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.slot-btn[disabled] { text-decoration: line-through; color: #6B7280; cursor: not-allowed; background: #F3F4F6; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 14px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 800; }
.field input, .field select, .field textarea { padding: 13px 14px; border-radius: 12px; border: 1px solid #CDBF9F; font: inherit; font-weight: 400; font-size: 16px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.row2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 14px; font-weight: 700; }
.form-msg.ok { background: var(--teal-soft); color: var(--teal-ink); }
.form-msg.err { background: var(--coral-soft); color: var(--coral-ink); }
.success { text-align: center; padding: 24px 0; max-width: 620px; margin: 0 auto; }
.success .check { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); display: flex; align-items: center; justify-content: center; }

/* Photos */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery a { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--blue-soft); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.lightbox { position: fixed; inset: 0; background: rgba(17,24,39,.92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; flex-direction: column; gap: 12px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 80vh; max-width: 92vw; border-radius: 16px; }
.lightbox p { color: #fff; font-weight: 700; }
.lightbox button { position: absolute; background: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; }
.lb-next { right: 18px; top: 50%; }
.empty-state { padding: 40px; border-radius: 24px; background: #fff; border: 2px dashed var(--line); text-align: center; color: var(--muted); }

/* Content pages */
.page-hero { padding: 64px 0 32px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 32px; margin: 44px 0 12px; }
.prose h3 { margin: 24px 0 8px; }
.prose p, .prose li { color: #374151; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0 0; }
.prose li + li { margin-top: 6px; }
.toc { position: sticky; top: 110px; }
.toc a { display: block; padding: 7px 0; text-decoration: none; font-weight: 700; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.cta-band { background: var(--yellow); border-radius: 40px; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.cta-band > div { flex: 1 1 380px; min-width: 0; }
.cta-band p { color: #3D2E00; }
.contact-box { background: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.map { width: 100%; height: 360px; border: 0; border-radius: 24px; }
@media (max-width: 640px) { .cta-band { padding: 28px; border-radius: 28px; } .section { padding: 60px 0; } }

/* Footer */
.site-footer { background: var(--ink); color: #D1D5DB; padding: 48px 0 24px; font-size: 15px; }
.site-footer a { color: #D1D5DB; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-brand { font-family: var(--display); font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.footer-title { font-weight: 800; color: var(--yellow); margin-bottom: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #374151; margin-top: 32px; padding-top: 20px; font-size: 14px; }
.gallery a[hidden] { display: none; }
[id] { scroll-margin-top: 110px; }
@media (max-width: 640px) {
  .tabs { border-radius: 20px; width: 100%; }
  .tabs button { flex: 1 1 auto; border-radius: 14px; }
}
.group-card.blue { background: var(--blue-soft); }
.visit-cal .d { background: #F3F4F6; color: #6B7280; }
.visit-cal .d.empty, .visit-cal .wd { background: transparent; }
.visit-cal button.d { border: 2px solid var(--teal-ink); background: #fff; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; width: 100%; }
.visit-cal button.d:hover { background: var(--teal-soft); }
.visit-cal button.d[aria-pressed="true"] { background: var(--yellow); border-color: var(--ink); }
.visit-cal button.d .few { display: block; font-size: 10px; font-weight: 700; line-height: 1; color: var(--coral-ink); }
