/* Fleurs de Berce · l'univers du logo : cerne noir, liseré blanc d'autocollant, aplats pastel, reflets */

@font-face { font-family: 'Fraunces'; src: url('/s/polices/fraunces.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/s/polices/nunito.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/s/polices/nunito-italique.woff2') format('woff2'); font-weight: 200 1000; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --fond: #fdf8ff;
  --fond-2: #f5ecff;
  --encre: #241a2e;
  --encre-2: #66567a;
  --trait: #141010;
  --rose: #ff83ef; --lavande: #b4bcff; --violet: #b360ef; --saumon: #ffa2b0; --orange: #ffb731;
  --cyan: #35eeee; --mauve: #e359ff; --jaune: #ffeb57; --vert: #77ff6d; --bleu: #41aeff; --or: #ffeb00;
  --titre: 'Fraunces', 'Georgia', serif;
  --texte: 'Nunito', system-ui, sans-serif;
  --large: 1140px;
  --ombre: 0 16px 30px -18px rgb(70 30 100 / .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 1.0625rem/1.6 var(--texte); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--rose); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 0; font-weight: 640; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1em; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 999px; }
.evitement:focus { top: 12px; }

/* --- Boutons --- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; cursor: pointer;
  background: var(--encre); color: #fff; text-decoration: none; font: 800 1.02rem/1.2 var(--texte);
  border: 3px solid var(--trait); border-radius: 999px; padding: .85em 1.5em;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--trait); transition: transform .15s ease, background .15s ease;
}
.bouton:hover { transform: translateY(-2px); background: #3a2a4a; }
.bouton:active { transform: translateY(1px); }

/* --- Barre du haut --- */
.barre {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px;
  padding: 8px max(16px, calc((100vw - var(--large)) / 2)); min-height: 66px;
  background: rgb(253 248 255 / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgb(36 26 46 / .08);
}
.barre-logo img { width: auto; height: 48px; }
.barre-nav { display: flex; gap: 22px; margin-left: auto; font-weight: 700; }
.barre-nav a { text-decoration: none; }
.barre-nav a:hover { text-decoration: underline; text-decoration-color: var(--rose); }
.panier {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800;
  background: #fff; border: 3px solid var(--trait); border-radius: 999px; padding: 6px 8px 6px 16px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--trait); white-space: nowrap;
}
.panier-nb { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: var(--fond-2); border: 2px solid var(--trait); font-size: .92rem; }
.panier.est-rempli .panier-nb { background: var(--or); }
.panier.rebond { animation: rebond .5s ease; }
@keyframes rebond { 30% { transform: scale(1.12) rotate(-3deg); } 60% { transform: scale(.97); } }
@media (max-width: 760px) {
  .barre { gap: 10px; }
  .barre-nav { display: none; }
  .panier { margin-left: auto; }
  .barre-logo img { height: 42px; }
}

/* --- Autocollants photo --- */
.autocollant { margin: 0; background: #fff; padding: 6px; border-radius: 24px; box-shadow: 0 0 0 2px var(--trait), var(--ombre); }
.autocollant img { border: 3px solid var(--trait); border-radius: 18px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* --- Ouverture --- */
.ouverture {
  position: relative; text-align: center; padding: 26px 16px 70px; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 42%, #fff 0%, rgb(255 255 255 / 0) 70%),
              radial-gradient(40% 40% at 12% 18%, rgb(255 131 239 / .16), transparent 70%),
              radial-gradient(40% 40% at 88% 80%, rgb(65 174 255 / .14), transparent 70%), var(--fond);
}
.ouverture-scene { position: relative; max-width: 1180px; margin: 0 auto; }
.logo-anime { width: min(720px, 94vw); margin: 0 auto; position: relative; z-index: 2; filter: drop-shadow(0 18px 22px rgb(80 30 110 / .18)); }
.ouverture .autocollant { position: absolute; width: clamp(120px, 14vw, 186px); z-index: 1; animation: flotte 7s ease-in-out infinite; }
.autocollant-1 { left: 1%; top: 6%; rotate: -8deg; }
.autocollant-2 { left: 6%; bottom: 2%; rotate: 6deg; animation-delay: -2s !important; }
.autocollant-3 { right: 2%; top: 3%; rotate: 7deg; animation-delay: -4s !important; }
.autocollant-4 { right: 6%; bottom: 0; rotate: -5deg; animation-delay: -1s !important; }
.autocollant-5 { left: 50%; bottom: -16%; rotate: 4deg; display: none; }
@keyframes flotte { 50% { translate: 0 -8px; } }
.accroche { position: relative; font: 600 clamp(1.3rem, 2.6vw, 1.85rem)/1.3 var(--titre); font-variation-settings: 'SOFT' 100; max-width: 32ch; margin: 6px auto 26px; z-index: 2; text-wrap: balance; }
.trait-peint { position: absolute; left: 6%; right: 6%; bottom: -14px; width: 88%; height: 18px; overflow: visible; z-index: -1; }
.trait-peint path { fill: none; stroke: var(--rose); stroke-width: 9; stroke-linecap: round; opacity: .55; stroke-dasharray: 420; stroke-dashoffset: 420; animation: peindre-trait 1.3s cubic-bezier(.6, 0, .3, 1) 1.1s forwards; }
@keyframes peindre-trait { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .trait-peint path { stroke-dashoffset: 0; } .ouverture .autocollant { animation: none; } }
.ouverture-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 26px; position: relative; z-index: 2; }
.lien-tel { font-weight: 800; }
@media (max-width: 959px) {
  .ouverture { padding-bottom: 46px; }
  .ouverture-scene { display: grid; }
  .logo-anime { grid-row: 1; }
  .ouverture .autocollant { position: relative; inset: auto; width: 100%; animation: none; }
  .ouverture-scene { grid-template-columns: repeat(5, 1fr); gap: 0 4px; align-items: start; }
  .logo-anime { grid-column: 1 / -1; margin-bottom: 8px; }
  .ouverture .autocollant { grid-row: 2; padding: 4px; border-radius: 16px; }
  .ouverture .autocollant img { border-width: 2px; border-radius: 12px; }
  .autocollant-1, .autocollant-2, .autocollant-3, .autocollant-4, .autocollant-5 { display: block; }
  .autocollant-2, .autocollant-4 { margin-top: 14px; }
  .accroche { margin-top: 22px; }
}

/* --- Sections --- */
section { scroll-margin-top: 80px; }
.berce, .chapitres, .prestations, .galerie, .temoignages, .contact, .references, .devis, .merci, .texte-page { max-width: var(--large); margin: 0 auto; padding: 72px 20px; }
@media (max-width: 700px) { .berce, .chapitres, .prestations, .galerie, .temoignages, .contact, .devis, .merci, .texte-page { padding: 52px 16px; } }

.berce { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.berce-portrait .autocollant { rotate: -3deg; max-width: 400px; margin: 0 auto; }
.berce-texte p { font-size: 1.15rem; }
.berce-faits { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.berce-faits li { display: flex; gap: 14px; align-items: center; background: #fff; border: 2.5px solid var(--trait); border-radius: 20px; padding: 12px 18px 12px 12px; box-shadow: var(--ombre); }
.berce-faits img { flex: none; width: 44px; height: 44px; }
@media (max-width: 800px) { .berce { grid-template-columns: 1fr; gap: 34px; } .berce-portrait .autocollant { max-width: 300px; } }

.chapitres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; padding-top: 20px; }
.chapitre { position: relative; background: #fff; border: 3px solid var(--trait); border-radius: 30px; padding: 22px 22px 26px; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--trait), var(--ombre); }
.chapitre::before { content: ''; position: absolute; inset: 0 0 auto; height: 46%; border-radius: 27px 27px 0 0; background: color-mix(in oklab, var(--c) 35%, white); }
.chapitre > * { position: relative; }
.chapitre .autocollant { width: 72%; margin: 0 auto 20px; rotate: -2deg; }
.chapitre:nth-child(2) .autocollant { rotate: 2.5deg; }
.chapitre .autocollant img { aspect-ratio: 4 / 5; }
.noms { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.noms li { font-weight: 700; font-size: .92rem; background: var(--fond-2); border: 2px solid var(--trait); border-radius: 999px; padding: 3px 12px; }
@media (max-width: 900px) { .chapitres { grid-template-columns: 1fr; max-width: 520px; } }

.references { padding-top: 26px; padding-bottom: 30px; }
.references-liste { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 40px; }
.ref-masque { display: block; width: 150px; height: 46px; background: var(--encre); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; opacity: .82; }
.ref-nom { font: italic 600 1.05rem/1.2 var(--titre); font-variation-settings: 'SOFT' 100; color: var(--encre-2); max-width: 15ch; text-align: center; }
@media (max-width: 600px) { .references-liste { gap: 18px 26px; } .ref-masque { width: 118px; height: 38px; } .ref-nom { font-size: .95rem; } }

/* --- Bulles de prestations --- */
.prestations > h2, .galerie > h2, .temoignages > h2, .contact > h2 { text-align: center; }
.prestations-aide { text-align: center; color: var(--encre-2); margin-bottom: 40px; }
.groupe-titre { text-align: center; margin: 46px 0 26px; font-style: italic; font-weight: 500; color: var(--encre-2); }
.bulles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px 30px; align-items: start; }
.bulle {
  --c: var(--rose); position: relative; background: #fff; background: color-mix(in oklab, var(--c) 24%, white);
  border: 3px solid var(--trait); border-radius: 40px;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--trait), var(--ombre); transition: transform .2s ease;
}
.bulle::before, .bulle::after { content: ''; position: absolute; background: rgb(255 255 255 / .9); border-radius: 999px; pointer-events: none; }
.bulle::before { top: 14px; left: 26px; width: 40px; height: 13px; rotate: -16deg; }
.bulle::after { top: 32px; left: 19px; width: 10px; height: 10px; }
.bulle:not([open]):hover { transform: translateY(-4px) rotate(-.6deg); }
.bulle summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'icone' 'titre' 'prix' 'dans'; gap: 4px; justify-items: start; padding: 22px 22px 22px; border-radius: 38px; min-height: 100%; }
.bulle summary::-webkit-details-marker { display: none; }
.bulle summary::after { content: ''; position: absolute; right: 22px; top: 24px; width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--trait); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23141010' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: rotate .2s ease; }
.bulle[open] summary::after { rotate: 180deg; }
.bulle-icone { grid-area: icone; width: 78px; height: 78px; min-width: 78px; margin: 0 0 6px -6px; }
.bulle-titre { grid-area: titre; font: 650 1.32rem/1.15 var(--titre); font-variation-settings: 'SOFT' 100; }
.bulle-prix { grid-area: prix; font-weight: 800; font-size: .95rem; }
.bulle-dans { grid-area: dans; justify-self: start; margin-top: 10px; font-size: .85rem; font-weight: 800; background: var(--or); border: 2px solid var(--trait); border-radius: 999px; padding: 2px 10px 2px 26px; position: relative; }
.bulle-dans::before { content: ''; position: absolute; left: 8px; top: 50%; width: 10px; height: 6px; border-left: 2.5px solid var(--trait); border-bottom: 2.5px solid var(--trait); translate: 0 -70%; rotate: -45deg; }
.bulle[open] { grid-column: 1 / -1; }
.bulle[open] summary { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'icone titre' 'icone prix' 'icone dans'; column-gap: 16px; align-items: center; padding-right: 60px; }
.bulle[open] .bulle-icone { margin: 0; }
.bulle[open] .bulle-titre { font-size: 1.6rem; align-self: end; }
.bulle-corps { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: 'texte choix' 'photos choix'; gap: 18px 34px; padding: 4px 26px 28px; }
.bulle-texte { grid-area: texte; }
.bulle-description { font-size: 1.12rem; }
.bulle-precisions { font-weight: 700; }
.bulle-tarifs { padding-left: 1.1em; margin: 0 0 .6em; font-weight: 700; }
.bulle-photos { grid-area: photos; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bulle-photos img { border: 2.5px solid var(--trait); border-radius: 16px; aspect-ratio: 3 / 4; object-fit: cover; background: #fff; }
.bulle-choix { grid-area: choix; align-self: start; background: #fff; border: 2.5px solid var(--trait); border-radius: 24px; padding: 18px 20px 20px; display: grid; gap: 14px; }
.bulle-montant { margin: 0; font: 650 1.4rem/1.2 var(--titre); font-variation-settings: 'SOFT' 100; min-height: 1.2em; }
.bulle-montant small { display: block; font: 600 .9rem/1.3 var(--texte); color: var(--encre-2); }
.bouton-ajout.est-ajoute { background: #fff; color: var(--encre); }
@media (max-width: 760px) {
  .bulles { grid-template-columns: 1fr; gap: 26px; }
  .bulle-corps { grid-template-columns: 1fr; grid-template-areas: 'texte' 'photos' 'choix'; padding: 0 18px 22px; }
  .bulle summary { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'icone titre' 'icone prix' 'icone dans'; column-gap: 14px; align-items: center; padding: 18px 56px 18px 18px; }
  .bulle-icone { width: 62px; height: 62px; min-width: 62px; margin: 0; }
  .bulle-titre { align-self: end; }
  .bulle[open] .bulle-titre { font-size: 1.35rem; }
}

.grille-defile { overflow-x: auto; margin: 4px 0 10px; }
.grille-prix { border-collapse: collapse; background: #fff; border: 2px solid var(--trait); border-radius: 14px; overflow: hidden; font-size: .95rem; min-width: 320px; }
.grille-prix th, .grille-prix td { padding: 6px 12px; border-bottom: 1px solid #eadff2; text-align: left; white-space: nowrap; }
.grille-prix thead th { background: var(--fond-2); }
.sur-devis { color: var(--encre-2); font-style: italic; }
.exemples { display: flex; gap: 12px; flex-wrap: wrap; }
.exemples figure { margin: 0; width: 120px; }
.exemples img { border: 2px solid var(--trait); border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.exemples figcaption { font-size: .85rem; font-weight: 700; text-align: center; }

/* Choix : pilules et champs */
.choix-pilules { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choix-pilules legend { font-weight: 800; font-size: .9rem; margin-bottom: 6px; padding: 0; width: 100%; }
.choix-pilules label { position: relative; }
.choix-pilules input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choix-pilules span { display: inline-block; border: 2.5px solid var(--trait); border-radius: 999px; padding: 6px 14px; font-weight: 700; background: #fff; cursor: pointer; }
.choix-pilules input:checked + span { background: var(--encre); color: #fff; }
.choix-pilules input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
.choix-champ { display: grid; gap: 4px; font-weight: 800; font-size: .9rem; }
.choix-champ select, .choix-champ input { font: 600 1rem var(--texte); }

input[type='text'], input[type='email'], input[type='tel'], input[type='date'], input[type='time'], input[type='number'], select, textarea {
  width: 100%; font: 500 1rem/1.4 var(--texte); color: var(--encre); background: #fff;
  border: 2.5px solid var(--trait); border-radius: 14px; padding: 11px 14px; min-height: 48px;
}
select { appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23141010' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
[aria-invalid='true'] { border-color: #c4123c; background: #fff5f7; }

/* --- Proposition --- */
.proposition { margin: 64px auto 0; max-width: 760px; text-align: center; background: #fff; border: 3px solid var(--trait); border-radius: 32px; padding: 34px 30px 30px; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--trait), var(--ombre); }
.proposition p { font-size: 1.08rem; }
.proposition-km { font-weight: 800; }
.proposition-km span { font-weight: 600; color: var(--encre-2); }

/* --- Galerie --- */
.galerie-mur { list-style: none; padding: 0; margin: 34px 0 0; columns: 4 210px; column-gap: 20px; }
.galerie-mur li { break-inside: avoid; margin: 0 0 20px; }
.galerie-mur a { display: block; background: #fff; padding: 5px; border-radius: 20px; box-shadow: 0 0 0 2px var(--trait), var(--ombre); transition: transform .2s ease; }
.galerie-mur li:nth-child(3n + 1) a { rotate: -1.4deg; }
.galerie-mur li:nth-child(3n + 2) a { rotate: 1.2deg; }
.galerie-mur a:hover { transform: scale(1.03); }
.galerie-mur img { border: 2.5px solid var(--trait); border-radius: 15px; }
@media (max-width: 520px) { .galerie-mur { columns: 2; column-gap: 12px; } .galerie-mur li { margin-bottom: 12px; } }

.visionneuse { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh; background: rgb(36 26 46 / .94); color: #fff; }
.visionneuse::backdrop { background: rgb(36 26 46 / .6); }
.visionneuse[open] { display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; }
.visionneuse img { grid-column: 2; max-height: 84dvh; width: auto; margin: auto; border-radius: 18px; border: 3px solid #fff; }
.visionneuse button { background: #fff; color: var(--encre); border: 3px solid var(--trait); border-radius: 50%; width: 48px; height: 48px; font: 700 1.6rem/1 var(--texte); cursor: pointer; justify-self: center; }
.visionneuse-fermer { position: absolute; top: 14px; right: 14px; }
.visionneuse-prec { grid-column: 1; grid-row: 1; }
.visionneuse-suiv { grid-column: 3; grid-row: 1; }
.visionneuse-legende { grid-column: 1 / -1; text-align: center; padding: 10px 16px 18px; margin: 0; }
@media (max-width: 600px) { .visionneuse[open] { grid-template-columns: 1fr; } .visionneuse-prec, .visionneuse-suiv { position: absolute; bottom: 64px; } .visionneuse-prec { left: 20px; } .visionneuse-suiv { right: 20px; } .visionneuse img { grid-column: 1; max-height: 74dvh; } }

/* --- Témoignages --- */
.temoignages-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 30px; }
.temoignage { margin: 0; background: #fff; border: 3px solid var(--trait); border-radius: 28px; padding: 24px; box-shadow: var(--ombre); }
.temoignage blockquote { margin: 0 0 12px; font-size: 1.08rem; }

/* --- Contact --- */
.contact { text-align: center; }
.contact > p { font-size: 1.12rem; }
.contact-liens { list-style: none; padding: 0; margin: 20px 0 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact-liens a { display: inline-block; text-decoration: none; font-weight: 800; background: color-mix(in oklab, var(--cyan) 26%, white); border: 2.5px solid var(--trait); border-radius: 999px; padding: 10px 20px; }
.contact-liens li:nth-child(2) a { background: color-mix(in oklab, var(--rose) 26%, white); }
.contact-liens li:nth-child(3) a { background: color-mix(in oklab, var(--jaune) 40%, white); }
.contact-liens a:hover { transform: translateY(-2px); }

.pied { text-align: center; padding: 40px 16px 60px; border-top: 2px solid rgb(36 26 46 / .08); color: var(--encre-2); }
.pied p { margin: 0 0 6px; }
.pied-petit { font-size: .9rem; }

/* --- Annonce (ajout au devis) et étincelles --- */
.annonce { position: fixed; left: 50%; bottom: 22px; translate: -50% 140%; visibility: hidden; z-index: 60; background: var(--encre); color: #fff; font-weight: 800; border: 3px solid var(--trait); border-radius: 999px; padding: 10px 20px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--trait); transition: translate .3s ease; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.annonce.visible { translate: -50% 0; visibility: visible; }
.eclat { position: fixed; z-index: 70; width: 22px; height: 22px; pointer-events: none; }

/* --- Page devis --- */
.devis h1, .merci h1, .texte-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.alerte { background: #fff0f3; border: 2.5px solid #c4123c; border-radius: 16px; padding: 12px 16px; font-weight: 700; margin-bottom: 20px; }
.devis-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.etape { border: 0; padding: 0; margin: 0 0 46px; min-width: 0; }
.etape legend { padding: 0; }
.etape h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 18px; }
.champ { display: grid; gap: 6px; margin-bottom: 18px; }
.champ-titre { font-weight: 800; }
.champ-titre abbr { text-decoration: none; color: #c4123c; }
.champ-aide { font-size: .92rem; color: var(--encre-2); margin-top: -4px; }
.champ-erreur { color: #b0102f; font-weight: 700; font-size: .92rem; }
.champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.horaire, .ages { display: flex; align-items: center; gap: 10px; }
.horaire label, .ages label { flex: 1; display: flex; align-items: center; gap: 8px; }
.ages select { min-width: 74px; }
@media (max-width: 640px) { .champs-duo { grid-template-columns: 1fr; } }
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.selection { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ligne { background: color-mix(in oklab, var(--c) 18%, white); border: 2.5px solid var(--trait); border-radius: 22px; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; }
.ligne-tete { display: flex; align-items: center; gap: 12px; font: 650 1.15rem/1.2 var(--titre); font-variation-settings: 'SOFT' 100; cursor: pointer; }
.ligne-tete input { width: 24px; height: 24px; accent-color: var(--encre); flex: none; }
.ligne-tete img { width: 48px; height: 48px; flex: none; }
.ligne-choix { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; }
.ligne-choix:empty { display: none; }
.ligne-choix .choix-champ { min-width: 150px; }
.ligne-montant { margin: 0; grid-column: 2; grid-row: 1; font-weight: 800; text-align: right; white-space: nowrap; }
.ligne-retirer { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 2px 0; font: 700 .92rem var(--texte); color: var(--encre-2); text-decoration: underline; cursor: pointer; }
.js .ligne:not(.est-choisie) { display: none; }
.js .ligne-tete input { position: absolute; opacity: 0; pointer-events: none; }
.selection-vide { background: #fff; border: 2.5px dashed var(--encre-2); border-radius: 18px; padding: 16px; color: var(--encre-2); }
.ajouter { margin-top: 26px; }
.ajouter h3 { font-size: 1.15rem; }
.ajouter-liste { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ajouter-liste button { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2.5px solid var(--trait); border-radius: 999px; padding: 4px 14px 4px 6px; font: 700 .95rem var(--texte); cursor: pointer; color: var(--encre); }
.ajouter-liste button:hover { background: color-mix(in oklab, var(--c, var(--rose)) 25%, white); }
.ajouter-liste img { width: 32px; height: 32px; }

.lieu-recherche { position: relative; }
.lieu-suggestions { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 2.5px solid var(--trait); border-radius: 16px; box-shadow: var(--ombre); }
.lieu-suggestions li { padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.lieu-suggestions li[aria-selected='true'], .lieu-suggestions li:hover { background: var(--fond-2); }
.carte { height: 260px; border: 2.5px solid var(--trait); border-radius: 18px; overflow: hidden; margin-top: 10px; z-index: 0; }
.lieu-trajet { margin: 6px 0 0; font-weight: 700; }
.lieu-trajet small { display: block; font-weight: 600; color: var(--encre-2); }

.recap { position: sticky; top: 90px; }
.recap-carte { background: #fff; border: 3px solid var(--trait); border-radius: 28px; padding: 22px 22px 20px; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--trait), var(--ombre); }
.recap-carte h2 { font-size: 1.5rem; }
.recap-lignes { list-style: none; padding: 0; margin: 0 0 10px; }
.recap-lignes li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1.5px dashed #ddd0ea; }
.recap-lignes li span { display: grid; }
.recap-lignes small { color: var(--encre-2); font-size: .85rem; }
.recap-lignes strong { white-space: nowrap; }
.recap-attente { color: var(--encre-2); }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; font: 650 1.6rem/1.2 var(--titre); font-variation-settings: 'SOFT' 100; margin: 12px 0 8px; }
.recap-total span { font-size: 1.1rem; }
.recap-note { font-size: .9rem; color: var(--encre-2); }
.bouton-envoi { width: 100%; margin-top: 6px; }
.recap-confidentialite { font-size: .82rem; color: var(--encre-2); margin: 14px 0 0; text-align: center; }
@media (max-width: 960px) { .devis-colonnes { grid-template-columns: 1fr; } .recap { position: static; } }

.merci { text-align: center; max-width: 640px; }
.merci-icone { margin: 0 auto 10px; }
.merci-recap { text-align: left; margin: 26px 0 30px; }
.texte-page { max-width: 760px; }
.ligne-conseil { grid-column: 1 / -1; margin: 0; font-size: .92rem; font-weight: 700; color: var(--encre-2); }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; color: var(--encre); text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; cursor: pointer; }
.repere { background: none; border: 0; }
[tabindex="-1"]:focus { outline: none; }
