/* Polices hébergées sur le site (dossier /polices) : aucune requête vers Google. */

/* Bowlby One, latin */
@font-face {
  font-family: 'Bowlby One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/polices/bowlby-one-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fredoka, latin-ext */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/polices/fredoka-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fredoka, latin */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/polices/fredoka-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fredoka, latin-ext */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/polices/fredoka-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fredoka, latin */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/polices/fredoka-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fredoka, latin-ext */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/polices/fredoka-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fredoka, latin */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/polices/fredoka-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lobster, latin-ext */
@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/polices/lobster-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lobster, latin */
@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/polices/lobster-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --kraft:#c49a6c; --paper:#e9dcd6; --card:#fbf3e6;
  --red:#e0292f; --green:#aebd8e; --green-d:#5c6b4a; --ink:#2a2220; --pink:#f6c9d6;
  --script:'Lobster','Brush Script MT',cursive;
  --title:'Bowlby One','Arial Black',Impact,sans-serif;
  --body:'Fredoka',system-ui,'Segoe UI',Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);color:var(--ink);line-height:1.55;
  background:var(--kraft);padding:clamp(8px,2.5vw,28px)}
.sheet{max-width:960px;margin:0 auto;background:var(--paper);border-radius:6px;
  padding:clamp(18px,4vw,48px);box-shadow:0 6px 24px rgba(60,35,10,.35)}
header{text-align:center}
.date{display:inline-block;background:var(--pink);padding:.3em 1em;font-weight:600;
  transform:rotate(-1.5deg);font-size:clamp(1rem,3vw,1.35rem)}
h1{font-family:var(--script);font-weight:400;color:var(--red);margin:.3em 0 .1em;
  font-size:clamp(2.6rem,9vw,5rem);line-height:1.05;
  text-shadow:0 0 0 #fff,2px 2px 0 #fff,-2px -2px 0 #fff,2px -2px 0 #fff,-2px 2px 0 #fff,0 4px 8px rgba(0,0,0,.15)}
h1 small{display:block;font-size:.72em}
.place{display:inline-block;background:#fff;padding:.5em 1.2em;margin-top:.8em;
  box-shadow:0 2px 6px rgba(0,0,0,.2);transform:rotate(1deg)}
#countdown{margin-top:1em;font-weight:500;color:var(--green-d)}
nav{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin:1.6rem 0}
nav a{background:var(--card);border:1px dashed #b89572;border-radius:999px;padding:.35em 1em;
  color:var(--ink);text-decoration:none;font-weight:500}
nav a:hover,nav a:focus-visible{background:var(--red);color:#fff;outline:none}
section{margin:2rem 0}
h2{font-family:var(--title);font-weight:400;font-size:clamp(1.3rem,4vw,1.9rem);margin:0 0 .6em;text-transform:uppercase}
.grid{display:grid;gap:1.2rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.tag{background:var(--card);border:1.5px solid #e0a98f;padding:1rem 1.3rem;border-radius:10px 26px 10px 26px;
  box-shadow:0 2px 6px rgba(0,0,0,.15)}
.tag h3{font-family:var(--title);font-weight:400;margin:0 0 .3em;text-transform:uppercase;font-size:1.25rem}
.price{font-weight:600;color:var(--red)}
.note{background:var(--green);padding:1.2rem 1.5rem;box-shadow:0 3px 8px rgba(0,0,0,.25);transform:rotate(-.6deg)}
.note h2{font-size:1.6rem}
.days{display:grid;gap:1.2rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.day{background:#fff;padding:1.2rem 1.4rem;border-top:8px solid var(--red);box-shadow:0 2px 8px rgba(0,0,0,.18)}
.day h3{margin:0 0 .5em;font-family:var(--script);font-weight:400;font-size:1.7rem;color:var(--red)}
.day ul{list-style:none;padding:0;margin:0}
.day li{display:flex;gap:.8em;padding:.45em 0;border-bottom:1px dotted #bbb}
.day li:last-child{border:0}
.hour{min-width:5.2em;font-weight:600;color:var(--green-d)}
.tbc{font-style:italic;opacity:.7}
.btn{display:inline-flex;align-items:center;gap:.5em;background:var(--red);color:#fff;text-decoration:none;
  font:inherit;font-weight:600;padding:.6em 1.4em;border:0;border-radius:999px;cursor:pointer;
  box-shadow:0 3px 0 #a3171c,0 4px 10px rgba(0,0,0,.2);transition:transform .15s,background .15s}
.btn:hover,.btn:focus-visible{background:#b81d23;outline:none;transform:translateY(-1px)}
.btn:focus-visible{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--red)}
.btn:active{transform:translateY(2px);box-shadow:0 1px 0 #a3171c}
.btn svg{width:1.1em;height:1.1em;flex:none}
#share{margin-top:.4em;transform:rotate(-1deg)}
#share:hover,#share:focus-visible{transform:rotate(-1deg) translateY(-1px)}
#share.ok{background:var(--green-d);box-shadow:0 3px 0 #3f4a33}
#plan{width:100%;height:auto;background:var(--card);border:2px dashed #b89572;border-radius:10px}
#plan .wall{fill:none;stroke:#8a6a4a;stroke-width:4}
#plan g{cursor:pointer;outline:none}
#plan rect.s{fill:#fff;stroke:#c9a07c;stroke-width:2;rx:8}
#plan g.zone rect.s{fill:var(--green);stroke:var(--green-d)}
#plan g.drink rect.s{fill:var(--pink);stroke:var(--red)}
#plan g:hover rect.s,#plan g:focus-visible rect.s,#plan g.on rect.s{stroke:var(--red);stroke-width:4}
#plan g.on rect.s{fill:#ffe9a8}
#plan text{font-family:var(--body);font-size:13px;font-weight:600;fill:var(--ink);pointer-events:none;text-anchor:middle}
#plan .door{fill:var(--red)}
#detail h3{margin-top:0}
.tag[data-id]{cursor:pointer}
.tag.on{outline:3px solid var(--red)}
.tabs{display:flex;gap:.6rem;margin:.4rem 0 1rem}
.tabs .btn{border:0;font:inherit;font-weight:600;cursor:pointer;background:var(--card);color:var(--ink);border:1.5px dashed #b89572}
.tabs .btn.on{background:var(--red);color:#fff;border-color:var(--red)}
.atelier .hour{display:block;margin-bottom:.2em}
.badge{display:inline-block;background:var(--green);border-radius:999px;padding:.05em .7em;font-size:.85rem;font-weight:600}
.sheet{position:relative}
body{overflow-x:hidden}
.sticker{position:absolute;pointer-events:none;height:auto;z-index:2;
  filter:drop-shadow(0 0 0 #fff) drop-shadow(2px 2px 0 #fff) drop-shadow(-2px -2px 0 #fff) drop-shadow(0 3px 5px rgba(0,0,0,.25))}
.st-houx{top:-18px;right:-10px;width:clamp(90px,18vw,170px);transform:rotate(8deg)}
.st-washi-haut{top:-6px;left:-26px;width:clamp(90px,16vw,150px);transform:rotate(-35deg);filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}
.st-flocon{top:38%;right:-18px;width:clamp(60px,10vw,100px);transform:rotate(15deg)}
.st-sapin{top:28%;left:-20px;width:clamp(70px,12vw,120px);transform:rotate(-12deg)}
.st-boule{top:18%;right:12%;width:clamp(40px,6vw,64px)}
.st-cadeau{bottom:-14px;left:3%;width:clamp(60px,11vw,110px);transform:rotate(-6deg)}
.st-washi-bas{bottom:-8px;right:-24px;width:clamp(90px,16vw,150px);transform:rotate(-30deg);filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}
@media (max-width:600px){.st-flocon,.st-sapin,.st-boule{display:none}}
footer{text-align:center;font-size:.9rem;margin-top:2.5rem;color:#5b4a43}
footer a{color:inherit}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---- Plan de la salle ---- */
#plan .room{fill:#f3ebdd;stroke:#8a6a4a;stroke-width:3}
#plan .room.out{fill:none;stroke-dasharray:8 6;stroke-width:2}
#plan .bgtxt{font-size:16px;font-weight:500;fill:#7a6552}
#plan text.lbl{font-size:17px}
#plan g.cuisine rect.s{fill:#e8e3da;stroke:#8a7a6a;stroke-dasharray:6 4}
#plan g.ext rect.s{fill:#e4eef3;stroke:#5d8196;stroke-dasharray:8 5}
#plan circle.s{fill:#ffe9a8;stroke:var(--red);stroke-width:3}
#plan circle.badge{fill:var(--red)}
#plan text.num{font-size:17px;fill:#fff}
#plan g:hover circle.s,#plan g.on circle.s{stroke-width:5}
.etapes{margin:.4rem 0 .8rem;padding-left:1.4rem}
.etapes li{margin:.3rem 0}
.etapes li::marker{color:var(--red);font-weight:700}
p.petit{font-size:.85rem;opacity:.8}
#plan g.petit rect.s{rx:3;stroke-width:1.5}
#plan g.petit:hover rect.s,#plan g.petit:focus-visible rect.s,#plan g.petit.on rect.s{stroke-width:3}
#plan g.stand.petit rect.s{fill:#fff6e0}
#plan text.lblsm{font-size:12.5px}
#plan text.numsm{font-size:12px;fill:#fff}
#plan text.numsm.dark{fill:var(--ink)}
#plan g.petit circle.s{stroke-width:2}
@media (max-width:600px){#plan text.lbl,#plan text.lblsm,#plan text.bgtxt{display:none}}
/* ---- Légende du plan regroupée + emplacements à venir ---- */
.stand-group{margin-top:1.4rem}
.stand-group>h3{font-family:var(--script);font-weight:400;font-size:1.6rem;color:var(--red);margin:0 0 .5rem}
.tag.soon{border-style:dashed;background:#fdf8ef}
