/* =========================================================
   Alouette & Coquelicot — Feuille de style
   Thème : nature douce, ciel & coquelicots
   ========================================================= */

:root {
    --poppy: #D62828;
    --poppy-dark: #A81E1E;
    --poppy-soft: #F3BFBF;
    --sky: #4A8FB0;
    --sky-dark: #356A85;
    --sky-soft: #CDE7F0;
    --leaf: #3A5A40;
    --leaf-soft: #A7C4A0;
    --sun: #F4B860;
    --cream: #FFF8EF;
    --cream-2: #FDEFDD;
    --ink: #2E2A26;
    --ink-soft: #6B6259;
    --white: #ffffff;
    --shadow: 0 18px 40px -22px rgba(60, 40, 20, .45);
    --shadow-sm: 0 8px 20px -12px rgba(60, 40, 20, .35);
    --radius: 22px;
    --radius-sm: 14px;
    --maxw: 1180px;
    --font-head: 'Baloo 2', system-ui, sans-serif;
    --font-body: 'Nunito Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-size: 17px;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
a { color: var(--sky-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--poppy); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--poppy); color: #fff;
    padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 2000;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- En-tête / navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 248, 239, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(214, 40, 40, .12);
    transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 6px 26px -16px rgba(60,40,20,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 66px; width: auto; }
.brand-mark svg { width: 48px; height: 48px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--poppy); }
.brand-name em { color: var(--leaf); font-style: normal; }
.brand-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }

.main-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
    display: block; padding: 10px 16px; border-radius: 999px; font-weight: 700;
    color: var(--ink); font-size: .98rem;
}
.main-nav a:hover { background: var(--cream-2); color: var(--poppy); }
.main-nav a[aria-current="page"] { color: var(--poppy); }
.main-nav .nav-cta { background: var(--poppy); color: #fff; }
.main-nav .nav-cta:hover { background: var(--poppy-dark); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 3px; border-radius: 3px; background: var(--ink); margin: 4px 0; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    padding: 14px 28px; border-radius: 999px; font-family: var(--font-head);
    font-weight: 600; font-size: 1.05rem; border: 0; text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--poppy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--poppy-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--poppy); transform: translateY(-2px); }
.btn-sky { background: var(--sky); color: #fff; box-shadow: var(--shadow-sm); }
.btn-sky:hover { background: var(--sky-dark); color: #fff; transform: translateY(-2px); }

/* ---------- Sections génériques ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 600;
    color: var(--poppy); letter-spacing: .14em; text-transform: uppercase; font-size: .82rem;
    margin-bottom: 10px;
}
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.bg-cream { background: var(--cream-2); }
.bg-sky { background: linear-gradient(160deg, var(--sky-soft), #eaf6fb); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 80px) 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: linear-gradient(170deg, var(--sky-soft) 0%, #eaf6fb 45%, var(--cream) 100%); }
.hero-clouds, .hero-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { color: var(--ink); }
.hero-text h1 .accent { color: var(--poppy); }
.hero-lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 36ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--leaf);
    padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem;
    box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--poppy); }
.hero-visual { position: relative; }
.hero-visual .scene { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(40,60,80,.18)); }

/* ---------- Cartes valeurs / services ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff; border-radius: var(--radius); padding: 30px;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(60,40,20,.05);
    transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon-wrap {
    width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
    margin-bottom: 18px; background: var(--cream-2); color: var(--poppy);
}
.card:nth-child(3n+2) .icon-wrap { background: var(--sky-soft); color: var(--sky-dark); }
.card:nth-child(3n) .icon-wrap { background: #e6f0e2; color: var(--leaf); }
.card .icon { width: 30px; height: 30px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* ---------- Bloc intro deux colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-text h2 { margin-bottom: 18px; }
.split-text p { color: var(--ink-soft); font-size: 1.08rem; }
.media-frame {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    background: linear-gradient(160deg, var(--sky-soft), var(--cream-2));
    aspect-ratio: 4 / 3; position: relative;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.placeholder { display: grid; place-items: center; }
.media-frame .ph-illustration { width: 70%; height: auto; opacity: .95; }
.media-note {
    position: absolute; bottom: 14px; left: 14px; right: 14px; text-align: center;
    font-size: .8rem; color: var(--sky-dark); background: rgba(255,255,255,.8);
    padding: 6px 10px; border-radius: 10px;
}

/* ---------- Liste à puces stylée ---------- */
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .tick {
    flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--leaf-soft);
    color: var(--leaf); display: grid; place-items: center; font-weight: 800; margin-top: 2px;
}

/* ---------- Frise journée type ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 28px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--poppy-soft), var(--sky-soft)); border-radius: 3px; }
.tl-item { position: relative; padding: 0 0 30px 78px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
    position: absolute; left: 16px; top: 2px; width: 26px; height: 26px; border-radius: 50%;
    background: #fff; border: 4px solid var(--poppy); box-shadow: 0 0 0 5px var(--cream);
}
.tl-item:nth-child(even) .tl-dot { border-color: var(--sky); }
.tl-time { font-family: var(--font-head); font-weight: 700; color: var(--poppy); font-size: .92rem; }
.tl-item:nth-child(even) .tl-time { color: var(--sky-dark); }
.tl-item h3 { margin: 2px 0 4px; font-size: 1.15rem; }
.tl-item p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-box {
    background: linear-gradient(135deg, var(--poppy), #e05a5a); color: #fff;
    border-radius: calc(var(--radius) + 8px); padding: clamp(38px, 6vw, 64px); text-align: center;
    box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cta-box h2 { color: #fff; }
.cta-box p { color: rgba(255,255,255,.92); max-width: 48ch; margin: 0 auto 26px; font-size: 1.12rem; }
.cta-box .btn-ghost { background: #fff; color: var(--poppy); }
.cta-box .bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,.13); }
.cta-box .bubble.b1 { width: 180px; height: 180px; top: -60px; right: -40px; }
.cta-box .bubble.b2 { width: 110px; height: 110px; bottom: -40px; left: 10%; }

/* ---------- Tarifs ---------- */
.tarif-highlight {
    background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow);
    text-align: center; border: 2px dashed var(--poppy-soft); max-width: 640px; margin: 0 auto;
}
.tarif-highlight .big { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--poppy); line-height: 1; }
.link-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
.link-card {
    display: flex; align-items: center; gap: 16px; background: #fff; padding: 22px 24px;
    border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid rgba(60,40,20,.06);
    transition: transform .2s, box-shadow .2s;
}
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.link-card .lc-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky-dark); }
.link-card .lc-icon.caf { background: #e6effa; }
.link-card strong { display: block; font-family: var(--font-head); }
.link-card span { font-size: .85rem; color: var(--ink-soft); }
.note-box { background: var(--cream-2); border-left: 4px solid var(--sun); padding: 16px 20px; border-radius: 12px; color: var(--ink-soft); font-size: .95rem; margin-top: 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cream-2); color: var(--poppy); }
.contact-list strong { display: block; font-family: var(--font-head); }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--poppy); }
.contact-cta { text-align: center; }
.contact-cta-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--cream-2); color: var(--poppy); display: inline-grid; place-items: center; margin-bottom: 14px; }
.contact-cta-icon .icon { width: 34px; height: 34px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.contact-actions .btn { width: 100%; justify-content: center; }
.copy-feedback { min-height: 1.3em; margin: 12px 0 0; font-weight: 700; color: var(--leaf); opacity: 0; transition: opacity .25s; }
.copy-feedback.show { opacity: 1; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Page « site en construction » ---------- */
.construction { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; overflow: hidden; }
.construction-bg { position: absolute; inset: 0; z-index: -2; background: linear-gradient(165deg, var(--sky-soft) 0%, #eaf6fb 45%, var(--cream) 100%); }
.construction-card { background: rgba(255,255,255,.88); backdrop-filter: blur(6px); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(30px,5vw,52px); max-width: 620px; width: 100%; text-align: center; position: relative; z-index: 1; }
.construction-brand { display: flex; flex-direction: column; align-items: center; margin-bottom: 14px; }
.construction-logo { height: 88px; width: auto; margin-bottom: 6px; }
.construction-name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--poppy); line-height: 1.1; }
.construction-name em { color: var(--leaf); font-style: normal; }
.construction-sub { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.construction-badge { display: inline-block; background: var(--cream-2); color: var(--poppy-dark); font-weight: 700; padding: 7px 16px; border-radius: 999px; font-size: .9rem; margin: 6px 0 14px; }
.construction h1 { font-size: clamp(1.8rem,4.5vw,2.6rem); margin-bottom: 14px; }
.construction-lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; margin: 0 auto 26px; }
.construction-contact { display: flex; flex-direction: column; gap: 11px; align-items: center; margin-bottom: 20px; }
.cc-item { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.cc-item .icon { width: 22px; height: 22px; color: var(--poppy); flex: 0 0 22px; }
.cc-item:hover { color: var(--poppy); }
.construction-access { margin-top: 6px; }
.construction-access summary { cursor: pointer; color: var(--sky-dark); font-weight: 700; font-size: .92rem; list-style: none; }
.construction-access summary::-webkit-details-marker { display: none; }
.construction-access summary::before { content: "🔒 "; }
.construction-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.construction-form input { padding: 12px 16px; border: 1.5px solid #e7ddcd; border-radius: 12px; font-family: inherit; font-size: 1rem; background: var(--cream); }
.construction-form input:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-soft); }
.construction-err { color: var(--poppy-dark); font-weight: 700; width: 100%; margin: 0 0 4px; }
.construction-deco { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 300px; max-width: 64%; z-index: -1; opacity: .92; }
.construction-deco svg { width: 100%; height: auto; display: block; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid #e7ddcd; border-radius: 12px;
    font-family: inherit; font-size: 1rem; background: var(--cream); transition: border .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-soft); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--ink-soft); }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: #e3f3e3; color: #2c6e2c; border: 1px solid #bcdfbc; }
.alert-error { background: #fbe4dd; color: var(--poppy-dark); border: 1px solid #f3c3b4; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Page legale ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { margin-top: 2em; font-size: 1.5rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2em; }
.page-hero-mini { background: linear-gradient(160deg, var(--sky-soft), var(--cream-2)); padding: clamp(48px,7vw,84px) 0 clamp(36px,5vw,56px); text-align: center; }
.page-hero-mini h1 { margin-bottom: 8px; }
.page-hero-mini p { color: var(--ink-soft); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ---------- Bandeau infos / équipe ---------- */
.info-band { background: #fff; border-radius: var(--radius); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-sm); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(60px,10vw,120px) 0; }
.notfound .big404 { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 10rem); color: var(--poppy-soft); line-height: 1; }

/* ---------- Tableau tarifaire ---------- */
.tarif-table-wrap { max-width: 860px; margin: 0 auto; overflow-x: auto; }
.tarif-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.tarif-table th, .tarif-table td { padding: 15px 18px; border-bottom: 1px solid rgba(60,40,20,.07); }
.tarif-table thead th { background: var(--leaf); color: #fff; font-family: var(--font-head); font-weight: 600; text-align: center; border: 0; }
.tarif-table thead th:first-child { text-align: left; }
.tarif-table tbody th { text-align: left; font-weight: 700; color: var(--ink); font-size: .96rem; }
.tarif-table tbody td { text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--poppy-dark); white-space: nowrap; }
.tarif-table tbody tr:nth-child(even) { background: var(--cream-2); }
.tarif-table tbody tr:last-child th, .tarif-table tbody tr:last-child td { border-bottom: 0; }
.tarif-table-foot { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-top: 14px; }
@media (max-width: 540px) { .tarif-table th, .tarif-table td { padding: 11px 9px; font-size: .85rem; } }

/* ---------- Liste équipe ---------- */
.team-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.team-list li { display: flex; gap: 12px; align-items: flex-start; }
.team-list .team-dot { flex: 0 0 26px; width: 26px; height: 26px; color: var(--poppy); margin-top: 1px; }
.team-list .team-dot .icon { width: 24px; height: 24px; }
.equipe-complement { margin-top: 18px; }
.equipe-complement p { color: var(--ink-soft); font-size: .97rem; margin-bottom: .8rem; }
.equipe-complement p:last-child { margin-bottom: 0; }

/* ---------- Actualités ---------- */
.nav-actu { display: inline-flex !important; align-items: center; gap: 6px; }
.actu-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--poppy); flex: 0 0 8px;
    animation: actu-blink 1.8s ease-in-out infinite;
}
@keyframes actu-blink {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(214,40,40,.5); }
    50%      { opacity: .4; transform: scale(.75); box-shadow: 0 0 0 6px rgba(214,40,40,0); }
}
.actu-list { display: grid; gap: 22px; max-width: 820px; margin: 0 auto; }
.actu-card { background: #fff; border-radius: var(--radius); padding: clamp(24px,3.5vw,34px); box-shadow: var(--shadow-sm); border: 1px solid rgba(60,40,20,.05); }
.actu-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.actu-pin { width: 34px; height: 34px; border-radius: 10px; background: var(--cream-2); color: var(--poppy); display: grid; place-items: center; flex: 0 0 34px; }
.actu-pin .icon { width: 20px; height: 20px; }
.actu-date { font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); font-size: .9rem; }
.actu-card h2 { font-size: 1.45rem; margin-bottom: 10px; }
.actu-card p { color: var(--ink-soft); }
.actu-card p:last-child { margin-bottom: 0; }
.actu-empty { text-align: center; color: var(--ink-soft); }
.actu-empty-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--sky-soft); color: var(--sky-dark); margin-bottom: 14px; }
.actu-empty-icon .icon { width: 38px; height: 38px; }

/* ---------- Galerie photos ---------- */
.photo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pg-item {
    position: relative; margin: 0; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); background: var(--cream-2); line-height: 0;
}
.pg-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s ease; }
.pg-item:hover img { transform: scale(1.05); }
.pg-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px;
    color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.2;
    background: linear-gradient(transparent, rgba(46,42,38,.78)); opacity: 0; transform: translateY(8px);
    transition: opacity .3s, transform .3s;
}
.pg-item:hover figcaption, .pg-item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .pg-item figcaption { opacity: 1; transform: none; } }
@media (max-width: 900px) { .photo-gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 640px) { .photo-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } .pg-item figcaption { font-size: .82rem; padding: 20px 10px 9px; } }

/* ---------- Pied de page ---------- */
.ico-sm { width: 18px; height: 18px; flex: 0 0 18px; }
.site-footer { position: relative; background: var(--leaf); color: #eaf1e6; margin-top: 90px; }
.footer-wave { position: absolute; top: 0; left: 0; right: 0; color: var(--leaf); line-height: 0; pointer-events: none; }
.footer-wave svg { width: 100%; height: 60px; display: block; transform: translateY(-99%); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr 1.2fr; gap: 36px; padding: 64px 24px 40px; }
.footer-name { font-size: 1.6rem; color: #fff; margin-bottom: 10px; }
.footer-name em { color: var(--poppy-soft); font-style: normal; }
.footer-tagline { color: #d4e2cd; margin-bottom: 8px; }
.footer-former { font-size: .85rem; color: #aebfa6; font-style: italic; }
.socials { margin-top: 18px; }
.socials-label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #aebfa6; font-weight: 700; margin-bottom: 10px; }
.socials-row { display: flex; gap: 10px; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--leaf); transition: transform .2s, color .2s; }
.social-btn:hover { transform: translateY(-3px); color: var(--poppy); }
.social-btn .icon { width: 22px; height: 22px; }
.footer-col h3 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.footer-contact, .footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #d4e2cd; }
.footer-contact a, .footer-links a { color: #eaf1e6; }
.footer-contact a:hover, .footer-links a:hover { color: var(--poppy-soft); }
.footer-contact .ico-sm { margin-top: 3px; color: var(--poppy-soft); }
.partners { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.partner { background: #fff; padding: 6px 8px; border-radius: 8px; display: inline-flex; align-items: center; }
.partner svg { height: 32px; width: auto; display: block; }
.partner img { height: 52px; width: auto; display: block; }
.partner-handicap img { height: 46px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 18px 24px; font-size: .88rem; color: #cdddc5; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 0; }
.footer-legal a { color: #cdddc5; }
.footer-legal a:hover { color: #fff; }
.footer-admin { opacity: .7; }
.footer-credit { color: #9fb097; }
.footer-credit a { color: #eaf1e6; font-weight: 700; }
.footer-credit a:hover { color: var(--poppy-soft); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Mobile : tout le pied de page centré (plus équilibré sur petit écran) */
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; padding-top: 54px; }
    .footer-contact li { justify-content: center; }
    .footer-contact .ico-sm { margin-top: 4px; }
    .partners, .socials-row, .footer-legal { justify-content: center; }
    .footer-tagline { margin-left: auto; margin-right: auto; }
    .footer-bottom-inner { flex-direction: column; justify-content: center; text-align: center; gap: 10px; }
}

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Animations ludiques (univers crèche) ---- */
@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes bob-rotate { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
@keyframes drift-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(20px); } }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-11deg); } 55% { transform: rotate(9deg); } 80% { transform: rotate(-4deg); } }
@keyframes pulse-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.55); opacity: .45; } }
@keyframes pop-bounce { 0% { opacity: 0; transform: translateY(18px) scale(.94); } 60% { transform: translateY(-5px) scale(1.02); } 100% { opacity: 1; transform: none; } }

/* Icônes qui flottent doucement, et frétillent au survol de la carte */
.icon-wrap { animation: float-soft 4.6s ease-in-out infinite; will-change: transform; }
.card:nth-child(2n) .icon-wrap { animation-duration: 5.4s; animation-delay: -1.6s; }
.card:nth-child(3n) .icon-wrap { animation-duration: 6.2s; animation-delay: -.9s; }
.card:hover .icon-wrap { animation: wiggle .65s ease; }
.card:hover .icon-wrap .icon { transform: scale(1.06); transition: transform .3s; }

/* Apparition « pop » plus joyeuse pour les cartes */
.card.reveal.in { animation: pop-bounce .6s ease both; }

/* Héros animé */
.hero-visual .scene { animation: bob-rotate 6.5s ease-in-out infinite; transform-origin: 50% 60%; }
.hero-clouds svg { animation: drift-x 17s ease-in-out infinite; }
.hero-badge .dot { animation: pulse-dot 2.2s ease-in-out infinite; }

/* Bulles du bandeau d'appel à l'action */
.cta-box .bubble.b1 { animation: float-soft 7s ease-in-out infinite; }
.cta-box .bubble.b2 { animation: float-soft 6s ease-in-out infinite; animation-delay: -2s; }

/* Frise « journée type » : la pastille pulse au survol de l'étape */
.tl-item:hover .tl-dot { animation: pulse-dot 1.3s ease-in-out infinite; }

/* Décorations flottantes sur les bandeaux des pages internes */
.page-hero-mini { position: relative; overflow: hidden; }
.page-hero-mini > .container { position: relative; z-index: 1; }
.page-hero-mini::before {
    content: ""; position: absolute; top: 22px; left: 7%; width: 54px; height: 22px;
    background: #fff; border-radius: 999px; opacity: .55; pointer-events: none;
    box-shadow: 20px 7px 0 -4px #fff, -16px 5px 0 -6px #fff;
    animation: drift-x 15s ease-in-out infinite;
}
.page-hero-mini::after {
    content: ""; position: absolute; top: 34%; right: 9%; width: 16px; height: 16px;
    background: radial-gradient(circle at center, #F4B860 58%, transparent 60%);
    opacity: .8; pointer-events: none; animation: twinkle 3.2s ease-in-out infinite;
}

/* Petites décorations flottantes du héros */
.hero-floaties { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-floaties span { position: absolute; display: block; }
.hero-floaties .f-balloon { top: 14%; left: 4%; width: 30px; color: var(--poppy); animation: sway 5s ease-in-out infinite; transform-origin: 50% -40%; }
.hero-floaties .f-star { top: 30%; right: 6%; width: 22px; color: var(--sun); animation: twinkle 2.8s ease-in-out infinite; }
.hero-floaties .f-cloud { bottom: 22%; left: 8%; width: 46px; color: #fff; animation: float-soft 6s ease-in-out infinite; }
.hero-floaties svg { width: 100%; height: auto; display: block; }

/* Effet « Ken Burns » : zoom lent avant / arrière sur les photos de la galerie */
@keyframes kenburns-in { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes kenburns-out { from { transform: scale(1.08); } to { transform: scale(1); } }
.pg-item img { animation: kenburns-in 20s ease-in-out infinite alternate; }
.pg-item:nth-child(even) img { animation-name: kenburns-out; animation-duration: 24s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .icon-wrap, .card.reveal.in, .hero-visual .scene, .hero-clouds svg, .hero-badge .dot,
    .cta-box .bubble, .tl-item .tl-dot, .page-hero-mini::before, .page-hero-mini::after,
    .hero-floaties span, .pg-item img, .actu-dot { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { max-width: 460px; margin: 0 auto; order: -1; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .split { grid-template-columns: 1fr; }
    .split.reverse .split-media { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .link-cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: 64px 0 auto; background: var(--cream);
        padding: 16px 24px 28px; box-shadow: var(--shadow);
        transform: translateY(-130%); transition: transform .35s ease; max-height: calc(100vh - 64px); overflow-y: auto;
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .main-nav a { padding: 14px 16px; border-radius: 12px; }
    .main-nav .nav-cta { text-align: center; margin-top: 8px; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .brand-logo { height: 46px; }
    body { font-size: 16px; }
}
