/* Nour Haya Baby Care : application web mobile d'abord, WhatsApp au centre, carnet des fêtes.
   Couleurs relevées sur le flyer v2 et le logo de Fatimah Bah (13/10/2026). */
@font-face { font-family: "Young Serif"; src: url("../fonts/YoungSerif-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("../fonts/Kalam-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --creme: #fff8f5;        /* fond du flyer */
  --papier: #fffdfc;       /* cartes */
  --poudre: #fde0e8;       /* cercles des icônes */
  --poudre-2: #fff0f4;
  --rose: #e85d8a;         /* bandeaux « Nos services » */
  --rose-fonce: #c2255c;   /* boutons : contraste AA sur blanc */
  --cacao: #5b2340;        /* wordmark */
  --texte: #43222f;
  --doux: #7a5566;
  --sauge: #5e7a32;
  --trait: #f6dde5;
  --wa: #1d7a48;
  --wa-bulle: #dcf5d8;
  --f-titre: "Young Serif", Georgia, "Times New Roman", serif;
  --f-texte: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-main: "Kalam", "Segoe Print", "Comic Sans MS", cursive;
  --t-1: clamp(2.15rem, 1.5rem + 3.2vw, 3.7rem);
  --t-2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --rayon: 24px;
  --ombre: 0 1px 0 rgb(255 255 255 / .8) inset, 0 14px 34px -18px rgb(91 35 64 / .35), 0 2px 6px -2px rgb(91 35 64 / .08);
  --ombre-haute: 0 1px 0 rgb(255 255 255 / .8) inset, 0 24px 48px -20px rgb(91 35 64 / .4);
  --tab-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background-color: var(--creme); background-image: var(--grain); color: var(--texte); font-family: var(--f-texte); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden;
  padding-bottom: calc(var(--tab-h) + 20px + env(safe-area-inset-bottom, 0px)); }
/* Grain de papier, très léger (fond du body : les zones qui défilent restent transparentes) */
:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .18 0 0 0 0 .06 0 0 0 .025 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, .pied, .preversion { position: relative; }
img, svg { max-width: 100%; }
a { color: var(--rose-fonce); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--rose-fonce); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; text-wrap: balance; color: var(--cacao); }
h1, h2 { font-family: var(--f-titre); font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: var(--t-1); }
h2 { font-size: var(--t-2); }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0; }
.cont { width: min(1120px, 100%); margin-inline: auto; padding-inline: 18px; }
.sprite { display: none; }
.selectionnable { user-select: all; }
.mini { font-size: .85rem; color: var(--doux); }
.surtitre { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.annot { font-family: var(--f-main); font-weight: 700; color: var(--rose); font-size: 1.2rem; line-height: 1.2; transform: rotate(-2deg); transform-origin: left; }
.annot.centre { transform-origin: center; text-align: center; }
.annot.clair { color: #fff; transform-origin: center; }
.orn { width: 160px; height: 24px; color: var(--sauge); display: block; margin-inline: auto; }

/* Bandeau préversion */
.preversion { background: var(--cacao); color: var(--creme); font-size: .8rem; text-align: center; padding: 6px 12px; letter-spacing: .02em; }

/* Barre d'application */
.appbar { position: sticky; top: 0; z-index: 40; background: rgb(255 248 245 / .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgb(246 221 229 / .8);
  padding-top: env(safe-area-inset-top, 0px); }
.appbar .cont { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cacao); }
.marque img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--papier), 0 0 0 3px var(--trait); }
.marque span { display: grid; line-height: 1.1; }
.marque strong { font-family: var(--f-titre); font-weight: 400; font-size: 1.2rem; }
.marque small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sauge); font-weight: 700; }
.nav { display: none; gap: 26px; }
.nav a { color: var(--texte); text-decoration: none; font-weight: 700; font-size: .95rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--rose); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; cursor: pointer; font-family: inherit; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px -10px rgb(29 122 72 / .7); }
.btn-wa svg { color: #fff; }
.btn-rose { background: linear-gradient(180deg, #d63a6e, var(--rose-fonce)); color: #fff; box-shadow: 0 12px 24px -12px rgb(194 37 92 / .8), inset 0 1px 0 rgb(255 255 255 / .25); }
.btn-contour { background: var(--papier); color: var(--cacao); border-color: var(--trait); }
.btn-contour svg { color: var(--wa); }
.btn-blanc { background: #fff; color: var(--wa); }
.btn-blanc svg { color: var(--wa); }
.btn-petit { min-height: 42px; padding: 8px 18px; font-size: .92rem; }
.btn-plein, .btn-plein-mobile { width: 100%; }
.appbar .btn span { display: none; }
.appbar .btn { padding: 0; width: 44px; min-height: 44px; }

/* Héros */
.heros { padding-block: 28px 8px; position: relative; overflow: hidden; }
.heros::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgb(253 224 232 / .9), rgb(253 224 232 / 0) 65%); pointer-events: none; }
.heros-grille { display: grid; gap: 22px; position: relative; }
.heros-texte { display: grid; gap: 16px; order: 2; }
.heros h1 em { font-style: normal; color: var(--rose-fonce); position: relative; white-space: nowrap; }
.heros h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.1em; height: .3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 2, 80 11, 120 6 S 180 3, 198 7' fill='none' stroke='%23e85d8a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.lead { font-size: 1.1rem; color: var(--doux); max-width: 34em; }
.actions { display: grid; gap: 10px; }
.numero { font-size: .9rem; color: var(--doux); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.numero strong { color: var(--cacao); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.heros-visuel { order: 1; position: relative; justify-self: center; width: min(232px, 60vw); }
.medaillon { position: relative; border-radius: 50%; padding: 10px; background: conic-gradient(from 140deg, var(--poudre), var(--papier), var(--poudre-2), var(--poudre)); box-shadow: var(--ombre-haute); }
.medaillon img { display: block; width: 100%; height: auto; border-radius: 50%; }
.scint { position: absolute; width: 18px; height: 18px; color: var(--rose); }
.scint.s1 { top: 6%; left: 2%; }
.scint.s2 { top: 20%; right: -4%; width: 12px; height: 12px; color: var(--sauge); }
.scint.s3 { bottom: 4%; left: 12%; width: 14px; height: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .scint { animation: scintille 3.6s ease-in-out infinite; }
  .scint.s2 { animation-delay: 1.2s; } .scint.s3 { animation-delay: 2.1s; }
  @keyframes scintille { 0%, 100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }
}
.bulle { position: absolute; right: -34px; top: -10px; background: var(--rose); color: #fff; font-family: var(--f-main); font-weight: 700; font-size: .92rem; line-height: 1.12; text-align: center;
  width: 100px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; padding: 12px; transform: rotate(-9deg); box-shadow: 0 12px 24px -10px rgb(91 35 64 / .45); }

/* Raccourcis (puces horizontales façon application) */
.raccourcis { list-style: none; margin: 22px 0 0; padding: 4px 2px 10px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.raccourcis::-webkit-scrollbar { display: none; }
.raccourcis li { scroll-snap-align: start; flex: none; }
.raccourcis a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--papier); border: 1px solid var(--trait); color: var(--cacao); text-decoration: none; font-weight: 800; font-size: .92rem; box-shadow: var(--ombre); white-space: nowrap; }
.raccourcis svg { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--poudre); color: var(--cacao); }

/* Sections */
.section { padding-block: 52px; scroll-margin-top: 76px; }
#faq-post-partum { scroll-margin-top: 90px; }
.section-tete { display: grid; gap: 10px; margin-bottom: 26px; text-align: center; justify-items: center; max-width: 40em; margin-inline: auto; }
.section-tete p { color: var(--doux); }
.section-tete.gauche { text-align: left; justify-items: start; margin-inline: 0; }
.fond-papier { background: linear-gradient(180deg, rgb(255 253 252 / .9), rgb(255 253 252 / .6)); border-block: 1px solid var(--trait); }

/* Rails : défilement horizontal au doigt sur téléphone, grille sur grand écran */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 18px 18px; margin-inline: -18px; scroll-padding-inline: 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; min-width: 0; }
.rail { align-items: start; }

/* Segment (onglets des fêtes) */
.segment { display: flex; gap: 4px; padding: 4px; margin: 0 auto 20px; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--poudre-2); border: 1px solid var(--trait); }
.segment button { font: inherit; font-weight: 800; font-size: .92rem; border: 0; background: transparent; color: var(--doux); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.segment button[aria-selected="true"] { background: var(--papier); color: var(--cacao); box-shadow: 0 4px 12px -6px rgb(91 35 64 / .45); }
.js .fetes-grille[data-vue="communes"] #carnet-privees, .js .fetes-grille[data-vue="privees"] #carnet-communes { display: none; }
.carnet { display: grid; gap: 12px; align-content: start; min-width: 0; }
.carnet > h3 { font-family: var(--f-main); font-weight: 700; font-size: 1.5rem; color: var(--rose); }
.js .carnet > h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.note-lune { font-size: .85rem; color: var(--sauge); }

/* Carte de fête */
.fete { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 18px; display: grid; gap: 14px; align-content: start; box-shadow: var(--ombre); }
.pastille { width: 64px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff 0, var(--poudre) 70%); display: grid; place-items: center; position: relative; color: var(--cacao); }
.pastille svg { width: 32px; height: 32px; }
.pastille .mois { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); background: var(--cacao); color: var(--creme); font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.fete-corps { display: grid; gap: 7px; min-width: 0; }
.fete-corps h4 { font-family: var(--f-titre); font-weight: 400; font-size: 1.35rem; }
.fete-corps h4 small { font-family: var(--f-texte); font-size: .8rem; color: var(--sauge); font-weight: 700; margin-left: 4px; }
.fete-corps .vous { color: var(--doux); font-size: .97rem; }
.fete-corps .nous { font-size: .97rem; }
.lien-fete { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: .92rem; text-decoration: none; justify-self: start; margin-top: 4px; }
.lien-fete svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.lien-fete:hover svg { transform: translateX(3px); }

/* Coin enfants */
.coin { display: grid; gap: 26px; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: e; }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; position: relative; }
.etapes li::before { content: counter(e); width: 44px; height: 44px; border-radius: 50%; background: var(--rose); color: #fff; font-family: var(--f-titre); font-size: 1.25rem; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--poudre-2); position: relative; z-index: 1; }
.etapes li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--rose) 0 4px, transparent 4px 8px); opacity: .5; }
.etapes strong { display: block; color: var(--cacao); }
.encart { background: linear-gradient(160deg, var(--poudre-2), var(--poudre)); border-radius: 28px; padding: 24px; display: grid; gap: 14px; box-shadow: var(--ombre); }
.encart h3 { font-family: var(--f-titre); font-weight: 400; font-size: 1.45rem; }
.coches { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.coches li { padding-left: 30px; position: relative; }
.coches li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23c2255c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Services */
.carte { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 24px 18px 20px; text-align: center; display: grid; gap: 10px; justify-items: center; align-content: start; box-shadow: var(--ombre); position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.carte .ico { width: 78px; height: 78px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff 0, var(--poudre) 70%); display: grid; place-items: center; color: var(--cacao); }
.carte .ico svg { width: 40px; height: 40px; }
.carte h3 { font-size: .92rem; text-transform: uppercase; letter-spacing: .05em; }
.carte > p { font-size: .95rem; color: var(--doux); }
.carte .btn { margin-top: 6px; }
.carte.nouveau { border-color: var(--rose); box-shadow: 0 0 0 3px rgb(232 93 138 / .12), var(--ombre); }
.badge-nouveau { position: absolute; top: 14px; right: 14px; font-family: var(--f-main); font-weight: 700; color: #fff; background: var(--rose); font-size: .9rem; padding: 2px 10px; border-radius: 999px; transform: rotate(4deg); }

/* Tarifs */
.tarifs { list-style: none; grid-auto-columns: 132px; justify-content: start; }
.tarif { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f48aac, var(--rose) 55%, var(--rose-fonce)); color: #fff; display: grid; place-content: center; text-align: center; gap: 1px;
  box-shadow: inset 0 0 0 6px rgb(255 255 255 / .28), 0 16px 30px -16px rgb(194 37 92 / .9); }
.tarif .h { font-family: var(--f-titre); font-size: 1.6rem; line-height: 1; }
.tarif .p { font-weight: 800; font-size: 1.12rem; font-variant-numeric: tabular-nums; line-height: 1.15; margin-top: 4px; }
.tarif .d { font-size: .7rem; font-weight: 800; letter-spacing: .12em; opacity: .9; }
.tarifs-notes { margin-top: 10px; display: grid; gap: 6px; text-align: center; color: var(--doux); justify-items: center; }

/* Activités */
.activites { list-style: none; grid-auto-columns: 132px; }
.activites li { display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--cacao); line-height: 1.3; }
.activites .rond { width: 100px; aspect-ratio: 1; border-radius: 50%; background: var(--papier); border: 2px dashed rgb(232 93 138 / .6); display: grid; place-items: center; box-shadow: var(--ombre); color: var(--cacao); }
.activites .rond svg { width: 46px; height: 46px; }

/* Réserver : téléphone et conversation d'exemple */
.reserver { display: grid; gap: 30px; }
.trois { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: r; text-align: left; }
.trois li { counter-increment: r; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; }
.trois li::before { content: counter(r); grid-row: span 2; font-family: var(--f-titre); font-size: 1.7rem; color: var(--rose); line-height: 1; }
.trois strong { color: var(--cacao); }
.trois span { color: var(--doux); font-size: .95rem; }
.telephone { margin: 0 auto; width: min(340px, 100%); border-radius: 38px; background: #efe6dc; border: 8px solid var(--cacao); overflow: hidden; box-shadow: var(--ombre-haute); }
.tel-barre { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075e54; color: #fff; }
.tel-barre img { width: 32px; height: 32px; border-radius: 50%; background: var(--creme); }
.tel-barre span { display: grid; line-height: 1.15; }
.tel-barre small { opacity: .8; font-size: .75rem; }
.tel-fil { padding: 16px 12px; display: grid; gap: 8px;
  background-image: radial-gradient(rgb(91 35 64 / .06) 1px, transparent 1px); background-size: 14px 14px; }
.msg { max-width: 84%; padding: 8px 12px; border-radius: 14px; font-size: .9rem; line-height: 1.4; box-shadow: 0 1px 1px rgb(0 0 0 / .08); }
.msg.moi { justify-self: end; background: var(--wa-bulle); border-top-right-radius: 4px; }
.msg.elle { justify-self: start; background: #fff; border-top-left-radius: 4px; }
.telephone figcaption { text-align: center; font-size: .78rem; color: var(--doux); padding: 8px; background: var(--papier); letter-spacing: .04em; }

/* Engagements */
.engagements { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.engagements li { display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; padding: 18px 12px; border-radius: 20px; background: var(--papier); border: 1px solid var(--trait); font-weight: 800; color: var(--cacao); font-size: .92rem; line-height: 1.3; box-shadow: var(--ombre); }
.engagements li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.eng-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--poudre); display: grid; place-items: center; color: var(--rose-fonce); }
.eng-ico svg { width: 30px; height: 30px; }

/* FAQ, liste groupée façon réglages */
.faq { max-width: 48em; margin-inline: auto; background: var(--papier); border: 1px solid var(--trait); border-radius: 22px; overflow: hidden; box-shadow: var(--ombre); }
.faq details + details { border-top: 1px solid var(--trait); }
.faq summary { cursor: pointer; font-weight: 800; color: var(--cacao); padding: 16px 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--rose); transition: transform .25s var(--ease); }
.faq details[open] summary svg { transform: rotate(90deg); }
.faq details p { padding: 0 18px 16px; color: var(--texte); }

/* Contact */
.contact { background: radial-gradient(circle at 20% 0%, #f48aac, var(--rose) 45%, var(--rose-fonce)); color: #fff; border-radius: 32px; padding: 34px 22px; display: grid; gap: 12px; justify-items: center; text-align: center; box-shadow: var(--ombre-haute); }
.contact h2 { color: #fff; }
.contact .orn { color: rgb(255 255 255 / .8); }
.contact .num { font-family: var(--f-titre); font-size: clamp(1.7rem, 1.3rem + 2vw, 2.6rem); font-variant-numeric: tabular-nums; }

/* Pied */
.pied { padding-block: 34px 28px; color: var(--doux); font-size: .9rem; }
.pied .cont { display: grid; gap: 10px; justify-items: center; text-align: center; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.slogan { font-family: var(--f-titre); font-size: 1.1rem; color: var(--cacao); max-width: 30em; }

/* Barre d'onglets (téléphone) */
.tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 50; height: var(--tab-h); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
  background: rgb(255 253 252 / .9); backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); border: 1px solid rgb(246 221 229 / .9); border-radius: 26px; box-shadow: 0 18px 40px -16px rgb(91 35 64 / .45); }
.tabbar a { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--doux); font-size: .7rem; font-weight: 800; letter-spacing: .02em; padding-block: 6px; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="true"] { color: var(--rose-fonce); }
.tabbar .tab-centre { color: var(--wa); }
.tab-centre .fab { width: 54px; height: 54px; margin-top: -26px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 0 0 5px var(--creme), 0 12px 22px -8px rgb(29 122 72 / .8); }
.tab-centre .fab svg { width: 28px; height: 28px; color: #fff; }

/* Fenêtre « Préparer ma demande » (feuille du bas) */
.sheet { border: 0; padding: 0; width: 100%; max-width: 560px; max-height: 92dvh; margin: auto auto 0; border-radius: 28px 28px 0 0; background: var(--creme); color: var(--texte); box-shadow: 0 -20px 50px -20px rgb(91 35 64 / .5); flex-direction: column; overflow: hidden; }
.sheet[open] { display: flex; }
.sheet::backdrop { background: rgb(67 34 47 / .45); backdrop-filter: blur(3px); }
@media (prefers-reduced-motion: no-preference) {
  .sheet[open] { animation: monte .35s var(--ease); }
  @keyframes monte { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
.sheet-poignee { width: 44px; height: 5px; border-radius: 999px; background: var(--trait); margin: 10px auto 0; flex: none; }
.sheet-tete { display: flex; justify-content: space-between; gap: 12px; padding: 10px 20px 12px; align-items: start; flex: none; }
.sheet-tete h2 { font-size: 1.6rem; }
.sheet-tete p { font-size: .88rem; color: var(--doux); margin-top: 4px; }
.sheet-fermer { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--poudre-2); color: var(--cacao); display: grid; place-items: center; cursor: pointer; flex: none; }
.sheet-fermer svg { width: 20px; height: 20px; }
.sheet-corps { overflow-y: auto; padding: 4px 20px 12px; display: grid; gap: 16px; overscroll-behavior: contain; }
.sheet-pied { padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--trait); background: var(--papier); flex: none; }
.choix { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.choix legend, .champ label, .champ > span { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sauge); padding: 0; margin-bottom: 6px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puces label { position: relative; }
.puces input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.puces span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--trait); background: var(--papier); font-weight: 700; font-size: .9rem; color: var(--cacao); transition: background-color .15s, border-color .15s, color .15s; }
.puces input:checked + span { background: var(--cacao); border-color: var(--cacao); color: var(--creme); }
.puces input:focus-visible + span { outline: 3px solid var(--rose-fonce); outline-offset: 2px; }
.champ { display: grid; min-width: 0; }
.champ input, .champ select { font: inherit; font-size: 1rem; color: var(--texte); background: var(--papier); border: 1.5px solid var(--trait); border-radius: 14px; padding: 12px 14px; min-height: 50px; width: 100%; }
.champ input:focus, .champ select:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgb(232 93 138 / .15); }
.champ.ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.champ.ligne > span { margin: 0; }
.stepper { display: flex; align-items: center; gap: 6px; background: var(--papier); border: 1.5px solid var(--trait); border-radius: 999px; padding: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--poudre-2); color: var(--cacao); font-size: 1.3rem; font-weight: 800; cursor: pointer; }
.stepper output { min-width: 2ch; text-align: center; font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.apercu { display: grid; gap: 6px; padding: 14px; border-radius: 18px; background: #efe6dc; background-image: radial-gradient(rgb(91 35 64 / .06) 1px, transparent 1px); background-size: 14px 14px; }
.apercu-titre { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--doux); }
.bulle-wa { justify-self: end; max-width: 92%; background: var(--wa-bulle); padding: 10px 12px; border-radius: 14px 4px 14px 14px; font-size: .9rem; line-height: 1.45; white-space: pre-line; box-shadow: 0 1px 1px rgb(0 0 0 / .08); }
[data-si][hidden], [data-sauf][hidden] { display: none !important; }

/* Apparition douce au défilement (seulement si le script tourne, sinon tout reste visible) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.vu { opacity: 1; transform: none; }
}

/* Pages annexes */
.page-texte { padding-block: 40px 56px; }
.page-texte .cont { max-width: 760px; display: grid; gap: 16px; }
.page-texte h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.page-texte h2 { font-size: 1.45rem; margin-top: 10px; }
.page-texte ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.page-texte .btn { width: auto; }

/* Grand écran : la barre d'onglets cède la place au menu, les rails deviennent des grilles */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .nav { display: flex; }
  .appbar .btn { width: auto; padding: 8px 18px; }
  .appbar .btn span { display: inline; }
  .heros { padding-block: 56px 24px; }
  .heros-grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
  .heros-texte { order: 1; }
  .heros-visuel { order: 2; width: min(420px, 100%); }
  .bulle { width: 136px; font-size: 1.05rem; right: -10px; top: 2%; }
  .actions { display: flex; flex-wrap: wrap; }
  .btn-plein-mobile { width: auto; }
  .raccourcis { justify-content: center; overflow: visible; }
  .section { padding-block: 72px; }
  .rail { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding: 0; margin: 0; }
  .rail-cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-haute); }
  .segment { display: none; }
  .js .fetes-grille[data-vue] #carnet-privees, .js .fetes-grille[data-vue] #carnet-communes { display: grid; }
  .js .carnet > h3 { position: static; width: auto; height: auto; clip: auto; }
  .fetes-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .carnet .rail { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fete { grid-template-columns: 68px minmax(0, 1fr); align-items: start; }
  .coin { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; align-items: start; }
  .tarifs { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
  .tarifs .tarif { width: 140px; }
  .activites { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
  .activites li { width: 150px; }
  .reserver { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 56px; align-items: center; }
  .engagements { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .engagements li:last-child:nth-child(odd) { grid-column: auto; }
  .contact { padding: 48px 32px; }
  .sheet { margin: auto; border-radius: 28px; max-height: 88vh; }
  .sheet-poignee { display: none; }
}

/* Témoignages (24/11) : cartes citation, lecteur audio maison */
:root { --or: #d8a260; }
.scint { color: var(--or); }
.surtitre { color: var(--rose-fonce); }
.rail-temoignages { grid-auto-columns: 88%; }
.temoin { margin: 0; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 24px 22px 20px; display: grid; gap: 12px; align-content: start; box-shadow: var(--ombre); position: relative; }
.temoin .guillemet { width: 34px; height: 26px; color: var(--poudre); }
.temoin-court { font-family: var(--f-titre); font-size: 1.3rem; line-height: 1.2; color: var(--cacao); }
.temoin blockquote { margin: 0; }
.temoin blockquote p { font-size: .97rem; color: var(--texte); }
.glose { font-size: .82rem; color: var(--doux); font-style: italic; }
.temoin figcaption { display: grid; gap: 2px; padding-top: 12px; border-top: 1px dashed var(--trait); }
.temoin figcaption strong { color: var(--rose-fonce); font-weight: 800; }
.temoin figcaption span { font-size: .85rem; color: var(--doux); }
.temoin.avec-audio { border-color: rgb(232 93 138 / .45); }
.lecteur { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 999px; background: var(--poudre-2); border: 1px solid var(--trait); }
.lecteur-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--rose-fonce); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 18px -8px rgb(194 37 92 / .8); }
.lecteur-btn svg { width: 22px; height: 22px; }
.lecteur .i-pause, .lecteur.joue .i-play { display: none; }
.lecteur.joue .i-pause { display: block; }
.lecteur-corps { display: grid; gap: 4px; min-width: 0; flex: 1; }
.lecteur-titre { font-size: .78rem; font-weight: 800; color: var(--cacao); letter-spacing: .02em; }
.lecteur-piste { display: flex; align-items: center; gap: 2px; height: 26px; }
.lecteur-piste i { flex: 1; border-radius: 2px; background: rgb(194 37 92 / .28); transition: background-color .15s; }
.lecteur-piste i.lu { background: var(--rose-fonce); }
@media (min-width: 900px) {
  .rail-temoignages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
}
.lecteur-piste i:nth-child(1) { height: 38%; }
.lecteur-piste i:nth-child(2) { height: 62%; }
.lecteur-piste i:nth-child(3) { height: 48%; }
.lecteur-piste i:nth-child(4) { height: 80%; }
.lecteur-piste i:nth-child(5) { height: 55%; }
.lecteur-piste i:nth-child(6) { height: 92%; }
.lecteur-piste i:nth-child(7) { height: 40%; }
.lecteur-piste i:nth-child(8) { height: 70%; }
.lecteur-piste i:nth-child(9) { height: 58%; }
.lecteur-piste i:nth-child(10) { height: 86%; }
.lecteur-piste i:nth-child(11) { height: 44%; }
.lecteur-piste i:nth-child(12) { height: 66%; }
.lecteur-piste i:nth-child(13) { height: 96%; }
.lecteur-piste i:nth-child(14) { height: 52%; }
.lecteur-piste i:nth-child(15) { height: 74%; }
.lecteur-piste i:nth-child(16) { height: 38%; }
.lecteur-piste i:nth-child(17) { height: 60%; }
.lecteur-piste i:nth-child(18) { height: 88%; }
.lecteur-piste i:nth-child(19) { height: 46%; }
.lecteur-piste i:nth-child(20) { height: 72%; }
.lecteur-piste i:nth-child(21) { height: 56%; }
.lecteur-piste i:nth-child(22) { height: 84%; }
.lecteur-piste i:nth-child(23) { height: 42%; }
.lecteur-piste i:nth-child(24) { height: 64%; }
.lecteur-piste i:nth-child(25) { height: 78%; }
.lecteur-piste i:nth-child(26) { height: 50%; }
.lecteur-piste i:nth-child(27) { height: 68%; }
.lecteur-piste i:nth-child(28) { height: 36%; }

/* Binta (24/11) */
.binta { display: grid; gap: 28px; align-items: center; }
.binta-medaillon { justify-self: center; width: 190px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 140deg, var(--poudre), var(--papier), var(--poudre-2), var(--poudre)); box-shadow: var(--ombre-haute); display: grid; place-content: center; justify-items: center; gap: 2px; }
.binta-medaillon img { width: 64px; height: 64px; border-radius: 50%; }
.binta-medaillon span { font-family: var(--f-main); font-weight: 700; font-size: 2.4rem; color: var(--rose-fonce); line-height: 1; transform: rotate(-4deg); }
.binta-texte { display: grid; gap: 14px; max-width: 40em; }
.binta-texte h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sauge); margin-top: 6px; }
.binta-texte .annot { font-size: 1.8rem; }
.binta-texte .btn { justify-self: start; }
.credit { font-size: .8rem; color: var(--doux); }
.credit a { color: var(--doux); font-weight: 700; }
@media (min-width: 900px) { .binta { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } .binta-medaillon { width: 240px; } }
