/* ===== IZO FUN anniversaires =====
   Same world as the parents' brochure. The four formulas are the floors of a cake,
   each floor keeps its colour everywhere, and choosing a floor is the heart of the page. */
:root {
  --espace: #FFFFFF;
  --essentielle: #FFC42E;
  --signature: #FF5CA2;
  --ultime: #D32F1E;
  --ultime-fonce: #B42415;
  --rose: #F2408C;
  --teal: #12A091;
  --teal-fonce: #0B7D73;
  --sac: #F2811D;
  --encre: #0B3640;
  --menthe: #E6F6F2;
  --gris: #4C666D;
  --trait: #D5E6E2;
  --titre: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --texte: "DM Sans", system-ui, sans-serif;
  --bord: max(4vw, calc((100vw - 1200px) / 2));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; }
body { font-family: var(--texte); color: var(--encre); background: #fff; line-height: 1.5; font-size: 17px; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.06; text-wrap: balance; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.etoile { position: absolute; display: block; color: #fff; }
.saut { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.saut:focus { top: 10px; }

/* ===== Header ===== */
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--trait); transition: box-shadow .2s ease; }
.header.scrolled { box-shadow: 0 6px 18px rgba(11, 54, 64, .12); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-family: var(--titre); font-weight: 400; font-size: 30px; display: flex; align-items: center; white-space: nowrap; }
.logo .smile { width: 26px; height: 26px; margin: 0 7px 0 1px; }
.logo small { font-size: 12px; font-weight: 700; margin-top: 3px; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { font-weight: 700; font-size: 16px; padding: 6px 0; border-bottom: 3px solid transparent; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.nav a:hover, .nav a.active { border-color: var(--rose); }
.phone-btn { display: inline-flex; gap: 8px; align-items: center; background: var(--encre); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 8px; }
.burger span { display: block; width: 26px; height: 3px; margin: 5px auto; border-radius: 3px; background: currentColor; transition: transform .2s ease, opacity .15s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 1101px) {
  .nav a[href="reservation.html"] { background: var(--essentielle); padding: 8px 18px; border-radius: 999px; border-bottom: 0; }
  .nav a[href="reservation.html"]:hover { background: #FFD45E; }
  .nav a[href="reservation.html"].active { background: var(--encre); color: #fff; }
}

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: 999px; font-family: var(--titre); font-size: 22px; line-height: 1.1; border: 3px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover, .phone-btn:hover { transform: translateY(-2px); }
.btn:active, .phone-btn:active { transform: scale(.97); }
.btn-main { background: var(--encre); color: #fff; }
.btn-main:hover { background: #124C5A; }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: #D92F78; }
.btn-rouge { background: var(--ultime); color: #fff; }
.btn-rouge:hover { background: var(--ultime-fonce); }
.btn-rouge:disabled { opacity: .6; cursor: default; transform: none; }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-whatsapp { background: var(--teal-fonce); color: #fff; }
.btn-whatsapp:hover { background: #096A62; }

/* ===== Hero ===== */
.hero { background: var(--rose); color: #fff; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.3fr .7fr; align-items: stretch; min-height: 680px; }
.hero-texte { padding: 60px 0 66px; align-self: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(46px, 5.6vw, 80px); line-height: 1.03; }
.lead { font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; max-width: 590px; margin: 20px 0 20px; line-height: 1.35; }
.faits { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-bottom: 26px; }
.faits li { background: #fff; color: var(--encre); font-weight: 700; font-size: 17px; padding: 7px 16px; border-radius: 30px; white-space: nowrap; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { position: relative; min-height: 460px; }
.hero-img .etoile { width: 640px; height: 640px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hero-img img { position: absolute; left: 50%; transform: translateX(-50%); top: 26px; height: 800px; width: auto; max-width: none; }
.sticker { position: absolute; z-index: 3; left: -8px; bottom: 34px; width: 190px; height: 190px; transform: rotate(-9deg); color: var(--encre); }
.sticker svg { width: 100%; height: 100%; color: var(--essentielle); }
.sticker div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.sticker small { font-size: 18px; font-weight: 700; }
.sticker b { font-family: var(--titre); font-weight: 400; font-size: 36px; line-height: 1; }

/* ===== Section shell ===== */
.section { padding: 84px 0; }
.section-title { margin-bottom: 36px; }
.section-title h2 { font-size: clamp(36px, 4.6vw, 62px); }
.section-title p { max-width: 680px; margin-top: 12px; font-size: 20px; font-weight: 500; }

/* ===== Why ===== */
.pourquoi .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.pourquoi h2 { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: 34px; }
.raisons { list-style: none; display: grid; gap: 26px; }
.raisons li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; }
.raisons svg { width: 50px; height: 50px; }
.raisons h3 { font-size: 27px; margin-bottom: 4px; }
.raisons p { font-size: 19px; line-height: 1.35; }
.pourquoi-photo { position: relative; }
.pourquoi-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; border-radius: 34px; }
.pastille { position: absolute; left: 18px; right: 18px; bottom: 18px; background: var(--essentielle); padding: 12px 20px; border-radius: 24px; font-size: 16.5px; font-weight: 700; line-height: 1.3; }

/* ===== Cake ===== */
.gateau { background: var(--encre); color: #fff; padding: 76px 0 84px; }
.gateau .section-title h2 { color: var(--essentielle); }
.gateau-zone { display: grid; grid-template-columns: 1.25fr .85fr; gap: 44px; align-items: start; }
.cake { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 64px; padding-bottom: 20px; }
.bougies { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 46px; z-index: 2; }
.bougie { position: relative; width: 20px; height: 56px; margin-top: 8px; border-radius: 7px; background: repeating-linear-gradient(135deg, #fff 0 8px, var(--signature) 8px 16px); }
.bougie::before { content: ""; position: absolute; left: 50%; top: -30px; width: 18px; height: 28px; margin-left: -9px; background: var(--essentielle); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; box-shadow: 0 0 18px var(--essentielle); transform-origin: 50% 100%; }
.etage { position: relative; display: block; width: var(--w); border: 0; text-align: left; cursor: pointer; padding: 32px 24px 14px; background: var(--c); color: var(--t); transition: opacity .25s ease, filter .25s ease, transform .2s ease, box-shadow .2s ease; }
.etage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 24px; background: radial-gradient(circle at 21px 0, #FFF7E8 21px, transparent 22px) 0 0 / 42px 24px repeat-x; }
.etage.t1 { --c: var(--ultime); --t: #fff; --w: 68%; border-radius: 26px 26px 0 0; }
.etage.t2 { --c: var(--signature); --t: var(--encre); --w: 78%; }
.etage.t3 { --c: var(--essentielle); --t: var(--encre); --w: 89%; }
.etage.t4 { --c: #fff; --t: var(--encre); --w: 100%; border-radius: 0 0 20px 20px; padding-top: 18px; }
.etage.t4::before { display: none; }
.etage .ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.etage .nom { font-family: var(--titre); font-size: clamp(25px, 2.5vw, 34px); line-height: 1; display: inline-flex; align-items: center; gap: 8px; }
.etage .tag { font-family: var(--texte); font-weight: 700; font-size: 13px; background: var(--encre); color: #fff; padding: 2px 10px; border-radius: 14px; white-space: nowrap; }
.etage .px { font-family: var(--titre); font-size: clamp(26px, 2.7vw, 38px); line-height: 1; white-space: nowrap; }
.etage .plus { display: block; font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.25; font-weight: 500; margin-top: 7px; }
.etage .plus b { font-weight: 700; }
.etage:hover { filter: brightness(1.06); }
.js .cake[data-choix] .etage { opacity: .5; }
.js .cake[data-choix] .etage.dedans { opacity: 1; }
.etage[aria-checked="true"] { box-shadow: 0 0 0 4px var(--teal), 0 10px 26px rgba(0, 0, 0, .3); z-index: 1; transform: scale(1.012); }
.assiette { width: 104%; height: 18px; background: var(--teal); border-radius: 20px; }
.cake-note { text-align: center; color: var(--essentielle); font-weight: 700; font-size: 18px; margin-top: 12px; }
.detail { position: sticky; top: 100px; }
.fiche { background: #fff; color: var(--encre); border-radius: 30px; padding: 28px; border-top: 14px solid var(--c, var(--teal)); }
.fiche + .fiche { margin-top: 18px; }
.js .fiche { display: none; margin: 0; }
.js .fiche.on { display: block; animation: fiche .28s cubic-bezier(.2, .8, .2, 1); }
.fiche h3 { font-size: 40px; }
.fiche .prix { font-family: var(--titre); font-size: 52px; line-height: 1.1; margin-top: 4px; }
.fiche .tag { display: inline-block; font-weight: 700; font-size: 15px; background: var(--encre); color: #fff; padding: 3px 12px; border-radius: 16px; margin: 6px 0 14px; }
.fiche ul { list-style: none; display: grid; gap: 10px; }
.fiche li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 18px; line-height: 1.28; font-weight: 500; }
.fiche li svg { width: 23px; height: 23px; margin-top: 1px; color: var(--teal); }
.fiche .acompte { margin: 16px 0; font-size: 17px; font-weight: 700; }
.fiche .acompte b { font-family: var(--titre); font-weight: 400; font-size: 24px; color: var(--ultime); }
.fiche .btn { width: 100%; }

/* ===== Moments ===== */
.mosaique { display: grid; grid-template-columns: repeat(4, 1fr); }
.mosaique .tete { grid-column: 1 / -1; background: var(--encre); color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding: 26px var(--bord); }
.mosaique .tete h2 { color: var(--essentielle); font-size: clamp(32px, 4.2vw, 54px); }
.legende { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; align-items: center; font-size: 15px; font-weight: 700; }
.pastille-f { display: inline-block; font-weight: 700; font-size: 14.5px; line-height: 1.2; padding: 4px 11px; border-radius: 20px; }
.f1 { background: #fff; color: var(--encre); box-shadow: inset 0 0 0 2px var(--encre); }
.f2 { background: var(--essentielle); color: var(--encre); }
.f3 { background: var(--signature); color: var(--encre); }
.f4 { background: var(--ultime); color: #fff; }
.tuile { display: flex; flex-direction: column; overflow: hidden; }
.tuile > svg, .tuile > .scene { width: 100%; height: auto; aspect-ratio: 400 / 190; flex: none; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.tuile:hover > svg, .tuile:hover > .scene { transform: scale(1.05); }
.scene { position: relative; background: #BDEBE3; }
.scene img { position: absolute; left: 50%; top: 4%; height: 92%; width: auto; max-width: none; transform: translateX(-50%); }
.tuile .txt { position: relative; z-index: 1; background: inherit; padding: 14px 22px 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.tuile h3 { font-size: clamp(23px, 2vw, 28px); }
.tuile p { font-size: 17.5px; line-height: 1.3; margin-bottom: 8px; }
.tuile .pastille-f { align-self: flex-start; margin-top: auto; }
.m1 { background: var(--menthe); } .m2 { background: var(--essentielle); } .m3 { background: var(--signature); } .m4 { background: var(--ultime); color: #fff; }
.m2 .pastille-f, .m3 .pastille-f { background: var(--encre); color: #fff; }
.m4 .pastille-f { background: #fff; color: var(--encre); }

/* ===== 4 hours board ===== */
.jour { background: var(--teal); }
.jour-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; color: #fff; }
.jour-tete h2 { font-size: clamp(36px, 4.6vw, 62px); }
.jour-tete p { font-size: 18px; font-weight: 700; margin-top: 8px; max-width: 760px; line-height: 1.3; }
.jour-tete img { height: 130px; width: auto; flex: none; }
.plateau { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.case { position: relative; background: #fff; border-radius: 28px; padding: 20px 22px; min-height: 216px; display: flex; flex-direction: column; }
.case:nth-child(4) { grid-row: 2; grid-column: 3; }
.case:nth-child(5) { grid-row: 2; grid-column: 2; }
.case:nth-child(6) { grid-row: 2; grid-column: 1; }
.case-tete { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.case .n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--titre); font-size: 25px; line-height: 1; flex: none; background: var(--sac); }
.case:nth-child(even) .n { background: var(--essentielle); }
.case time { font-family: var(--titre); font-size: 44px; line-height: 1; }
.case h3 { font-family: var(--texte); font-weight: 700; font-size: 22px; line-height: 1.18; margin-bottom: 5px; }
.case p { font-size: 18px; line-height: 1.32; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.case.fin { background: var(--essentielle); }
.case.fin .n { background: var(--encre); color: #fff; }
.case::after { content: ""; position: absolute; width: 44px; height: 14px; right: -44px; top: 50%; margin-top: -7px; background: radial-gradient(circle, var(--essentielle) 5px, transparent 6px) center / 22px 14px repeat-x; }
.case:nth-child(3)::after { right: 50%; margin-right: -7px; top: 100%; margin-top: 0; width: 14px; height: 44px; background-size: 14px 22px; background-repeat: repeat-y; }
.case:nth-child(4)::after, .case:nth-child(5)::after { right: auto; left: -44px; }
.case:nth-child(6)::after { display: none; }
.jour .note { color: #fff; font-weight: 700; font-size: 18px; text-align: center; margin-top: 26px; }

/* ===== Clear prices ===== */
.clair { background: var(--signature); }
.blocs { display: grid; grid-template-columns: 1fr 1.34fr 1fr; gap: 22px; }
.bl { background: #fff; border-radius: 30px; padding: 28px; }
.bl h3 { font-size: 32px; margin-bottom: 12px; }
.bl .gros { font-family: var(--titre); font-size: 76px; line-height: 1; margin-bottom: 4px; }
.bl > p { font-size: 18.5px; line-height: 1.34; margin-bottom: 14px; }
.bl ul { list-style: none; display: grid; gap: 12px; font-size: 18.5px; line-height: 1.28; }
.bl li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.bl li svg { width: 23px; height: 23px; margin-top: 2px; color: var(--teal); }
.bl.milieu { background: var(--encre); color: #fff; }
.bl.milieu .gros { color: var(--essentielle); }
table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 18px; font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: 14.5px; font-weight: 700; padding: 5px 6px; opacity: .85; }
td { padding: 10px 6px; border-top: 1px solid rgba(255, 255, 255, .25); }
td:nth-child(2), td:nth-child(3), th:nth-child(2), th:nth-child(3) { text-align: right; white-space: nowrap; }
td:nth-child(3) { font-family: var(--titre); font-size: 22px; color: var(--essentielle); }

/* ===== Book ===== */
.reserver { background: var(--essentielle); overflow: hidden; }
.reserver .container { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.reserver h2 { font-size: clamp(44px, 6vw, 86px); line-height: 1; margin-bottom: 18px; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin-bottom: 26px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: center; font-size: 20px; line-height: 1.28; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ultime); color: #fff; font-family: var(--titre); font-size: 26px; }
.slogan { display: inline-block; background: var(--teal-fonce); color: #fff; font-family: var(--titre); font-size: clamp(22px, 2.2vw, 30px); padding: 9px 24px; border-radius: 12px; transform: rotate(-2deg); margin-top: 26px; }
.reserver-img { position: relative; height: 480px; }
.reserver-img .etoile { width: 480px; height: 480px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.reserver-img img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 330px; width: auto; max-width: none; }

/* ===== Booking page ===== */
.resa { background: var(--encre); color: #fff; padding: 56px 0 66px; }
.resa-tete { display: flex; align-items: center; gap: 24px; margin-bottom: 30px; }
.resa-tete img { height: 120px; width: auto; flex: none; }
.resa-tete h1 { color: var(--essentielle); font-size: clamp(40px, 5vw, 66px); line-height: 1.02; margin-bottom: 8px; }
.resa-tete p { font-size: 19px; line-height: 1.36; max-width: 680px; }
.resa-grille { display: grid; grid-template-columns: 1.55fr .75fr; gap: 26px; align-items: start; }
.form-card { background: #fff; color: var(--encre); border-radius: 28px; padding: 30px; }
.bloc-form { border: 0; margin-bottom: 30px; min-width: 0; }
.bloc-form:last-of-type { margin-bottom: 0; }
.bloc-form legend, .bloc-titre { font-family: var(--titre); font-size: 27px; line-height: 1.1; margin-bottom: 14px; padding: 0; display: flex; align-items: center; gap: 10px; }
.bloc-form legend i { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--rose); color: #fff; font-style: normal; font-size: 20px; flex: none; }
.choix-formules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.formule { position: relative; display: block; cursor: pointer; }
.formule input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.formule span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 12px; border-radius: 18px; border: 3px solid var(--trait); transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.formule b { font-family: var(--titre); font-weight: 400; font-size: 21px; line-height: 1.1; }
.formule strong { font-family: var(--titre); font-weight: 400; font-size: 24px; line-height: 1.1; }
.formule small { font-size: 13.5px; font-weight: 700; color: var(--gris); }
.formule:hover span { transform: translateY(-2px); }
.formule input:focus-visible + span { outline: 3px solid var(--encre); outline-offset: 2px; }
.formule input:checked + span { border-color: var(--encre); background: var(--c); color: var(--t); box-shadow: 0 6px 16px rgba(11, 54, 64, .2); }
.formule input:checked + span small { color: inherit; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .lbl { font-size: 15px; font-weight: 700; }
.req { color: var(--ultime); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: inherit; padding: 12px 14px; border: 2px solid var(--trait); border-radius: 12px; background: #fff; outline: none; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-fonce); box-shadow: 0 0 0 3px rgba(18, 160, 145, .2); }
.field textarea { min-height: 86px; resize: vertical; }
.aide { font-size: 14px; color: var(--gris); }
.cal-wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 22px; align-items: start; }
.bkcal { border: 2px solid var(--trait); border-radius: 18px; padding: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-size: 17px; }
.bkcal .nav-m { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--trait); background: #fff; font-size: 18px; cursor: pointer; line-height: 1; }
.bkcal .nav-m:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bkcal .wd { font-size: 12px; font-weight: 700; color: var(--gris); padding: 4px 0; }
.bkcal .day { aspect-ratio: 1; border: 0; border-radius: 10px; font-size: 15px; font-weight: 700; background: #fff; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.bkcal .day.free { background: var(--menthe); color: var(--teal-fonce); }
.bkcal .day.free:hover { background: #C9EDE5; transform: scale(1.07); }
.bkcal .day.on { background: var(--rose); color: #fff; animation: pose .22s ease-out; }
.bkcal .day.off { color: #B6C6C9; cursor: default; font-weight: 500; }
.bkcal .day.full { background: #FBE6E3; color: var(--ultime-fonce); text-decoration: line-through; cursor: not-allowed; }
.cal-key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; font-size: 13px; color: var(--gris); align-items: center; }
.cal-key i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; margin-right: -6px; }
.cal-key i.free { background: #C9EDE5; } .cal-key i.full { background: #F5C6C0; } .cal-key i.off { background: #E3EAEB; }
.cal-pick { font-size: 15px; color: var(--gris); margin-bottom: 12px; }
.cal-pick.ok { color: var(--teal-fonce); font-weight: 700; font-size: 17px; }
.creneaux { display: grid; gap: 8px; }
.creneau { position: relative; display: block; cursor: pointer; }
.creneau input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.creneau span { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border: 2px solid var(--trait); border-radius: 12px; font-weight: 700; font-size: 16px; transition: border-color .15s ease, background .15s ease; }
.creneau input:checked + span { background: var(--rose); border-color: var(--rose); color: #fff; }
.creneau input:focus-visible + span { outline: 3px solid var(--encre); outline-offset: 2px; }
.creneau input:disabled { cursor: not-allowed; }
.creneau input:disabled + span { background: #F2F5F5; color: #9AAEB2; text-decoration: line-through; }
.resume { position: sticky; top: 96px; background: var(--essentielle); color: var(--encre); border-radius: 28px; padding: 24px; }
.resume h2 { font-size: 30px; margin-bottom: 12px; }
.resume dl { display: grid; gap: 8px; }
.resume dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 16.5px; border-bottom: 1px solid rgba(11, 54, 64, .2); padding-bottom: 7px; }
.resume dt { font-weight: 500; }
.resume dd { font-weight: 700; text-align: right; }
.resume .acompte-grand { display: block; font-family: var(--titre); font-size: 44px; line-height: 1.05; margin-top: 12px; }
.resume .acompte-txt { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.resume .hors { font-size: 14.5px; line-height: 1.32; margin: 12px 0 14px; }
.resume .btn { width: 100%; font-size: 21px; padding: 14px 16px; }
.form-msg { margin-top: 10px; font-size: 15px; text-align: center; font-weight: 700; min-height: 1.2em; }
.form-msg.bad { color: var(--ultime-fonce); }
.resa-liens { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-weight: 700; color: var(--essentielle); }
.resa-liens a { text-decoration: underline; text-underline-offset: 3px; }
.sent { scroll-margin-top: 96px; background: #fff; color: var(--encre); border-radius: 28px; padding: 36px; text-align: center; max-width: 720px; margin: 0 auto; }
.sent h2 { font-size: 44px; color: var(--teal-fonce); margin-bottom: 8px; }
.sent .ref { font-family: var(--titre); font-size: 36px; color: var(--rose); margin: 8px 0 14px; }
.sent p { margin-bottom: 12px; font-size: 18px; line-height: 1.4; }
.sent .acompte { background: var(--essentielle); border-radius: 18px; padding: 14px 18px; font-weight: 700; }
.sent .btn { margin-top: 8px; }
.sent .retour { display: block; margin-top: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Footer ===== */
.footer { background: var(--encre); color: #DCE9EA; padding: 44px 0; font-size: 16px; border-top: 6px solid var(--rose); }
.footer .logo { width: fit-content; margin-bottom: 12px; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 30px; }
.footer-tag { max-width: 340px; }
.footer h3 { font-size: 22px; color: var(--essentielle); margin-bottom: 10px; }
.footer-grid nav a, .footer-grid div > a { display: block; padding: 5px 0; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-contact p { margin-bottom: 10px; }
.footer-contact b { display: block; color: #fff; }
.footer-contact small { display: block; font-size: 13px; opacity: .8; }
.footer-contact .qui { display: block; color: #fff; font-weight: 700; }
.footer-end { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.barre-resa { display: none; }
.nf { min-height: 100vh; display: grid; place-content: center; justify-items: start; gap: 16px; padding: 60px 0; }
.nf h1 { font-size: clamp(38px, 5vw, 62px); }
body.page-404 { background: var(--essentielle); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 0; box-shadow: 0 12px 24px rgba(0, 0, 0, .12); display: none; }
  .nav.open { display: flex; animation: menu .18s ease-out; }
  .nav a { padding: 12px; border: 0; }
  .burger { display: block; order: 3; }
  .phone-btn { margin-left: auto; }
  .plateau { grid-template-columns: repeat(2, 1fr); }
  .case:nth-child(n) { grid-row: auto; grid-column: auto; }
  .case:nth-child(n)::after { left: auto; right: -44px; top: 50%; margin: -7px 0 0; width: 44px; height: 14px; background-size: 22px 14px; background-repeat: repeat-x; }
  .case:nth-child(even)::after { display: none; }
  .mosaique { grid-template-columns: repeat(2, 1fr); }
  .legende { margin-left: 0; }
  .gateau-zone { grid-template-columns: 1fr; }
  .detail { position: static; }
  .resa-grille { grid-template-columns: 1fr; }
  .resume { position: static; }
}
@media (max-width: 980px) {
  .hero .container, .pourquoi .container, .reserver .container { grid-template-columns: 1fr; }
  .hero-texte { padding: 44px 0 10px; }
  .hero-img { height: 470px; }
  .hero-img .etoile { width: 460px; height: 460px; top: 58%; }
  .hero-img img { top: 12px; height: 620px; }
  .sticker { left: 0; bottom: 20px; width: 150px; height: 150px; }
  .sticker small { font-size: 15px; }
  .sticker b { font-size: 28px; }
  .blocs { grid-template-columns: 1fr; }
  .reserver-img { height: 360px; }
  .reserver-img .etoile { width: 360px; height: 360px; }
  .reserver-img img { height: 250px; }
  .choix-formules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .gateau { padding: 56px 0 60px; }
  .phone-btn span { display: none; }
  .phone-btn { padding: 11px; }
  .jour-tete img { display: none; }
  .plateau { grid-template-columns: 1fr; gap: 34px; }
  .case { min-height: 0; }
  .case:nth-child(n)::after, .case:nth-child(even)::after { display: block; left: 50%; right: auto; top: 100%; margin: 0 0 0 -7px; width: 14px; height: 34px; background-size: 14px 17px; background-repeat: repeat-y; }
  .case:nth-child(6)::after { display: none; }
  .mosaique { grid-template-columns: 1fr; }
  .etage { padding: 28px 16px 12px; }
  .etage.t1 { --w: 82%; }
  .etage.t2 { --w: 88%; }
  .etage.t3 { --w: 94%; }
  .etage.t4 { padding-top: 14px; }
  .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .cal-wrap { grid-template-columns: 1fr; }
  .resa-tete img { height: 84px; }
  .barre-resa { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; padding: 10px 78px 10px 12px; background: rgba(255, 255, 255, .97); box-shadow: 0 -4px 16px rgba(11, 54, 64, .14); transform: translateY(110%); transition: transform .25s ease-out; }
  .barre-resa.visible { transform: none; }
  .barre-resa .btn { width: 100%; padding: 12px 16px; font-size: 20px; }
  .wa { right: 12px; bottom: 10px; z-index: 41; width: 54px; height: 54px; }
  body:has(.barre-resa) { padding-bottom: 76px; background: var(--encre); }
  body:has(#resa-form) .wa { position: static; margin: 20px auto; }
}

/* ===== Smallest phones ===== */
@media (max-width: 980px) {
  .blocs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .resa-grille { grid-template-columns: minmax(0, 1fr); }
}
.bl, .form-card, .resume { min-width: 0; }
@media (max-width: 420px) {
  .bl { padding: 20px 16px; }
  table { font-size: 15px; }
  th { font-size: 12.5px; padding: 5px 3px; }
  td { padding: 9px 3px; }
  td:nth-child(3) { font-size: 17px; }
  td .pastille-f { font-size: 12.5px; padding: 3px 8px; }
  .choix-formules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formule span { padding: 12px 9px; }
  .formule b { font-size: 18px; }
  .formule strong { font-size: 20px; }
  .formule small { font-size: 12.5px; }
  .form-card { padding: 16px; }
  .bkcal { padding: 10px; }
  .faits li { font-size: 15.5px; padding: 6px 13px; }
}

/* ===== Movement =====
   One entrance on load, sections that appear once, the cake building itself floor by floor.
   Everything stays visible without JavaScript and for visitors who ask for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .header { view-transition-name: entete; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
}
.anim .hero-texte > * { animation: monte .55s cubic-bezier(.2, .8, .2, 1) both; }
.anim .hero-texte > :nth-child(2) { animation-delay: .1s; }
.anim .hero-texte > :nth-child(3) { animation-delay: .18s; }
.anim .hero-texte > :nth-child(4) { animation-delay: .26s; }
.anim .hero-img .etoile { animation: etoile-entree .7s cubic-bezier(.2, .8, .2, 1) both, etoile-tourne 90s linear .7s infinite; }
.anim .hero-img > img { animation: izo-entree .8s cubic-bezier(.2, .9, .3, 1) .08s both, izo-flotte 5s ease-in-out 1s infinite; }
.anim .sticker { animation: tampon .5s cubic-bezier(.2, .9, .3, 1.4) .7s both; }
.anim .resa-tete img { animation: bond .7s cubic-bezier(.2, .9, .3, 1.3) .08s both; }
.anim .resa-tete h1, .anim .resa-tete p { animation: monte .5s cubic-bezier(.2, .8, .2, 1) both; }
.anim .form-card, .anim .resume { animation: monte .55s cubic-bezier(.2, .8, .2, 1) .12s both; }

.anim :is(.pourquoi h2, .raisons li, .pourquoi-photo, .section-title, .tuile, .mosaique .tete, .jour-tete, .case, .bl, .reserver h2, .steps li, .reserver .hero-btns, .reserver-img, .slogan, .detail, .cake-note) {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
}
.anim .case { transform: translateY(14px) scale(.94); }
.anim :is(.pourquoi h2, .raisons li, .pourquoi-photo, .section-title, .tuile, .mosaique .tete, .jour-tete, .case, .bl, .reserver h2, .steps li, .reserver .hero-btns, .reserver-img, .slogan, .detail, .cake-note).vu {
  opacity: 1; transform: none;
}
.anim .reserver .slogan.vu { transform: rotate(-2deg); }
.reserver-img.vu img { animation: saut 1.9s ease-in-out infinite; }
.reserver-img.vu .etoile { animation: etoile-tourne 90s linear infinite; }
.tuile { transition: opacity .5s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }

/* The cake builds itself from the bottom floor up, then the candles light */
.anim .cake:not(.monte) .etage, .anim .cake:not(.monte) .assiette { opacity: 0; transform: translateY(-40px); }
.anim .cake:not(.monte) .bougie { opacity: 0; transform: translateY(14px); }
.anim .cake:not(.monte) .bougie::before { opacity: 0; transform: scale(.2); }
.cake.monte .etage { animation: etage-pose .5s cubic-bezier(.2, .9, .3, 1.15) backwards; }
.cake.monte .t4 { animation-delay: .1s; }
.cake.monte .t3 { animation-delay: .3s; }
.cake.monte .t2 { animation-delay: .5s; }
.cake.monte .t1 { animation-delay: .7s; }
.cake.monte .assiette { animation: monte .4s ease backwards; }
.cake.monte .bougie { animation: monte .35s ease .95s backwards; }
.cake.monte .bougie::before { animation: allume .35s ease-out 1.25s backwards, flamme 1.3s ease-in-out 1.6s infinite; }
.cake.monte .bougie:nth-child(2)::before { animation-delay: 1.35s, 1.8s; }
.cake.monte .bougie:nth-child(3)::before { animation-delay: 1.45s, 2s; }
.cake.monte .bougie:nth-child(4)::before { animation-delay: 1.55s, 1.7s; }

@keyframes monte { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes izo-entree { from { opacity: 0; transform: translate(-50%, 90px) scale(.92); } 70% { opacity: 1; transform: translate(-50%, -10px) scale(1.01); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes izo-flotte { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }
@keyframes etoile-entree { from { opacity: 0; transform: translate(-50%, -50%) rotate(-30deg) scale(.7); } to { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(1); } }
@keyframes etoile-tourne { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes tampon { from { opacity: 0; transform: rotate(-30deg) scale(1.6); } to { opacity: 1; transform: rotate(-9deg) scale(1); } }
@keyframes bond { from { opacity: 0; transform: translateY(30px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes saut { 0%, 100% { transform: translate(-50%, -50%); } 45% { transform: translate(-50%, -60%); } }
@keyframes menu { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes pose { from { transform: scale(.8); } to { transform: none; } }
@keyframes fiche { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes etage-pose { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes allume { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes flamme { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.1, .94) rotate(3deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
