/* =====================================================================
   Pattes de Velours — Toilettage canin de Sandra (Martigny)
   Identité « carnet à stickers » : bandes de couleurs festonnées,
   cartes-autocollants (contour + ombre nette), menu beauté à pointillés,
   frise d'événements, bulles, photos inclinées. Tout doux, tout mignon.
   ===================================================================== */

:root {
    --ink:        #243f3a;   /* texte principal */
    --ink-2:      #41615a;
    --muted:      #6f8a83;

    --cream:      #fff6ea;   /* fond de page chaud */
    --paper:      #ffffff;
    --mint:       #d9f0e9;   /* bande tendre */
    --blush:      #ffe5d7;   /* bande chaude */

    --teal:       #16a394;
    --teal-deep:  #0e786a;
    --coral:      #f4794f;
    --coral-deep: #df5f37;
    --butter:     #ffce5c;

    --line:       rgba(36,63,58,.16);
    --outline:    #1f4a44;   /* contour des autocollants */

    --r:    24px;
    --r-sm: 16px;
    --r-pill: 999px;
    --ease: cubic-bezier(.34, 1.3, .5, 1);   /* léger rebond mignon */

    --f-display: "Fredoka", system-ui, sans-serif;
    --f-body:    "Nunito", system-ui, -apple-system, sans-serif;
    --f-script:  "Patrick Hand", "Comic Sans MS", cursive;

    /* ombre « autocollant » : décalée, nette */
    --sticker: 5px 5px 0 rgba(31,74,68,.14);
    --sticker-lg: 8px 8px 0 rgba(31,74,68,.16);
    /* festons (bosses) pour les bords de bandes */
    --scallop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22'%3E%3Cpath d='M0 22V11a11 11 0 0 1 22 0 11 11 0 0 1 22 0v11z' fill='%23fff'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
    margin: 0;
    font-family: var(--f-body);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.65;
    background-color: var(--cream);
    /* pois discrets sur tout le fond */
    background-image: radial-gradient(rgba(22,163,148,.07) 2px, transparent 2px);
    background-size: 26px 26px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--teal-deep); text-decoration: none; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }

/* Helpers typographiques */
.kicker  { font-family: var(--f-script); font-size: 1.5rem; color: var(--coral); line-height: 1; transform: rotate(-2deg); display: inline-block; }
.title   { font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; font-size: clamp(2rem, 4.6vw, 3rem); margin: .35rem 0 .8rem; }
.muted   { color: var(--muted); }

.sec-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.sec-head__sub { color: var(--muted); margin: 0; font-weight: 600; }

/* ------------------------------ Boutons ------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--f-display); font-weight: 600; font-size: 1.02rem;
    padding: .8rem 1.6rem; border-radius: var(--r-pill); cursor: pointer;
    border: 2.5px solid var(--outline); color: var(--ink); background: var(--paper);
    box-shadow: var(--sticker);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s ease;
}
.btn:hover  { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(31,74,68,.16); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 rgba(31,74,68,.16); }
.btn--primary { background: var(--teal); color: #fff; }
.btn--coral   { background: var(--coral); color: #fff; }
.btn--ghost   { background: var(--paper); }

/* ------------------------------ Stickers ------------------------------ */
.stk {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .45rem .95rem; border-radius: var(--r-pill); font-weight: 700; font-size: .92rem;
    background: var(--paper); border: 2px solid var(--outline); color: var(--ink);
    box-shadow: 3px 3px 0 rgba(31,74,68,.12);
}
.stk--butter { background: var(--butter); }
.stk--mint   { background: var(--mint); }
.stk--coral  { background: var(--coral); color: #fff; }

/* =====================================================================
   Bandes de couleur festonnées
   ===================================================================== */
.band { position: relative; background: var(--band, transparent); padding: clamp(3.2rem, 8vw, 6rem) 0; }
.band--mint  { --band: var(--mint); }
.band--blush { --band: var(--blush); }
.band--paper { --band: var(--paper); }
/* feston en haut de bande (bosses de la couleur de la bande) */
.band--scallop::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; transform: translateY(-21px);
    background: var(--band);
    -webkit-mask: var(--scallop) repeat-x bottom / 44px 22px;
    mask: var(--scallop) repeat-x bottom / 44px 22px;
}

/* =====================================================================
   Navigation — barre « pilule » chunky
   ===================================================================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: .8rem clamp(.8rem, 4vw, 1.5rem); transition: padding .3s var(--ease); }
.nav__bar {
    max-width: 1180px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .5rem .6rem .5rem .9rem; border-radius: var(--r-pill);
    transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    border: 2.5px solid transparent;
}
.nav.is-scrolled .nav__bar { background: var(--paper); border-color: var(--outline); box-shadow: var(--sticker); }
.nav__brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); }
.nav__paw { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--teal); border: 2.5px solid var(--outline); box-shadow: 3px 3px 0 rgba(31,74,68,.16); }
.nav__name { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; line-height: 1; letter-spacing: -.01em; }

.nav__links { display: flex; align-items: center; gap: .15rem; }
.nav__link { padding: .5rem .8rem; border-radius: var(--r-pill); color: var(--ink-2); font-family: var(--f-display); font-weight: 500; font-size: .98rem; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--teal-deep); background: rgba(22,163,148,.1); }
.nav__link.is-active { color: #fff; background: var(--teal); }
.nav__cta { margin-left: .35rem; padding: .55rem 1.1rem; border-radius: var(--r-pill); font-family: var(--f-display); font-weight: 600; color: #fff; background: var(--coral); border: 2.5px solid var(--outline); box-shadow: 3px 3px 0 rgba(31,74,68,.16); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.nav__cta:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 rgba(31,74,68,.16); }

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px; padding: 0; border: 2.5px solid var(--outline); border-radius: 14px; background: var(--paper); box-shadow: 3px 3px 0 rgba(31,74,68,.14); cursor: pointer; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =====================================================================
   Héros — composition centrée dans un médaillon festonné
   ===================================================================== */
.hero { position: relative; padding: clamp(7rem, 14vw, 9.5rem) 0 clamp(3rem, 7vw, 5rem); text-align: center; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; filter: blur(2px); }
.hero::before { width: 320px; height: 320px; background: radial-gradient(circle at 40% 40%, rgba(22,163,148,.22), transparent 70%); top: 4%; left: -7%; }
.hero::after  { width: 340px; height: 340px; background: radial-gradient(circle at 50% 50%, rgba(244,121,79,.2), transparent 70%); bottom: -8%; right: -8%; }
.hero__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.hero__kicker { margin-bottom: .2rem; }
.hero__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.7rem, 8vw, 4.6rem); line-height: .98; letter-spacing: -.02em; margin: .2rem 0 0; }
.hero__title em { font-style: normal; color: var(--teal); position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em; background: var(--butter); border-radius: 4px; z-index: -1; }
.hero__tagline { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-2); margin: 1.1rem auto 0; max-width: 40ch; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.7rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 1.5rem 0 0; padding: 0; list-style: none; }

/* médaillon */
.hero__art { position: relative; width: min(78%, 360px); margin: clamp(1.8rem, 5vw, 3rem) auto 0; }
.hero__disc {
    position: relative; aspect-ratio: 1; border-radius: 50%;
    background: var(--paper); border: 3px solid var(--outline);
    box-shadow: var(--sticker-lg);
    display: grid; place-items: center; overflow: hidden;
    /* bord festonné via un dégradé radial répété sur le contour */
}
.hero__disc::before {
    content: ""; position: absolute; inset: 10px; border-radius: 50%;
    background: repeating-conic-gradient(var(--mint) 0 12deg, transparent 12deg 24deg);
    opacity: .5; z-index: 0;
}
.hero__disc img { position: relative; z-index: 1; width: 86%; height: auto; }
.hero__badge { position: absolute; right: -6px; bottom: 10px; z-index: 3; font-family: var(--f-script); font-size: 1.7rem; color: #fff; background: var(--coral); padding: .15rem 1rem; border-radius: var(--r-pill); border: 2.5px solid var(--outline); box-shadow: 3px 3px 0 rgba(31,74,68,.18); transform: rotate(-5deg); }
.hero__float { position: absolute; z-index: 3; font-size: 1.7rem; animation: bob 5s ease-in-out infinite; }
.hero__float--1 { top: -6%; left: -4%; }
.hero__float--2 { top: 10%; right: -8%; animation-delay: .8s; }
.hero__float--3 { bottom: 2%; left: -8%; animation-delay: 1.5s; }

/* =====================================================================
   Le salon (à propos)
   ===================================================================== */
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__art { position: relative; }
.about__frame { border-radius: var(--r); overflow: hidden; border: 3px solid var(--outline); box-shadow: var(--sticker-lg); background: var(--mint); transform: rotate(-1.5deg); }
.about__frame img { width: 100%; height: auto; }
.about__sticker { position: absolute; right: -14px; bottom: -16px; font-family: var(--f-script); font-size: 1.4rem; line-height: 1.05; text-align: center; color: var(--ink); background: var(--butter); padding: .7rem 1rem; border-radius: 18px; border: 2.5px solid var(--outline); box-shadow: 3px 3px 0 rgba(31,74,68,.18); transform: rotate(5deg); }
.about__points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.1rem; }
.about__points li { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink-2); }
.about__points span { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 12px; font-size: 1.1rem; background: var(--mint); border: 2px solid var(--outline); }

/* =====================================================================
   Menu beauté (tarifs) — lignes à pointillés
   ===================================================================== */
.menu { max-width: 760px; margin: 0 auto; background: var(--paper); border: 3px solid var(--outline); border-radius: var(--r); box-shadow: var(--sticker-lg); padding: clamp(1.2rem, 3vw, 2rem); }
.menu__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .3rem 1rem; padding: 1rem .4rem; border-bottom: 2px dotted var(--line); }
.menu__row:last-child { border-bottom: 0; }
.menu__row--star { background: linear-gradient(0deg, rgba(255,206,92,.16), rgba(255,206,92,.16)); border-radius: 14px; padding: 1rem .8rem; border-bottom: 0; margin: .3rem 0; }
.menu__ic { grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; font-size: 1.6rem; background: var(--mint); border: 2.5px solid var(--outline); }
.menu__name { font-family: var(--f-display); font-weight: 600; font-size: 1.18rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.menu__price { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--teal-deep); white-space: nowrap; align-self: center; grid-row: span 2; }
.menu__desc { grid-column: 2 / 4; color: var(--ink-2); font-size: .95rem; font-weight: 600; margin: 0; }
.menu__dur { font-size: .8rem; font-weight: 700; color: var(--muted); }
.menu__note { text-align: center; color: var(--muted); margin-top: 1.6rem; font-weight: 600; }
.menu__note a { font-weight: 800; }
.menu-cta { text-align: center; margin-top: 1.8rem; }

/* =====================================================================
   Galerie — aperçu : photos inclinées « stickers »
   ===================================================================== */
.ptiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1.3rem 1rem; }
.ptile { display: block; background: var(--paper); padding: 8px 8px 10px; border: 2.5px solid var(--outline); border-radius: var(--r-sm); box-shadow: var(--sticker); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ptile:nth-child(odd)  { transform: rotate(-2deg); }
.ptile:nth-child(even) { transform: rotate(2deg); }
.ptile:nth-child(3n)   { transform: rotate(-1deg); }
.ptile:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--sticker-lg); }
.ptile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.ptiles-empty { text-align: center; padding: 2.5rem; border: 3px dashed var(--line); border-radius: var(--r); color: var(--teal-deep); font-weight: 700; }
.ptiles-empty span { font-size: 2rem; display: block; margin-bottom: .4rem; }
.center-cta { text-align: center; margin-top: 1.8rem; }

/* =====================================================================
   Événements — frise verticale à pattes
   ===================================================================== */
.tl { position: relative; max-width: 720px; margin: 0 auto; padding-left: 2.4rem; }
.tl::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 3px; background: repeating-linear-gradient(var(--teal) 0 8px, transparent 8px 18px); border-radius: 3px; }
.tl__row { position: relative; padding: 0 0 1.4rem; }
.tl__row:last-child { padding-bottom: 0; }
.tl__dot { position: absolute; left: -2.4rem; top: 6px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--outline); box-shadow: 2px 2px 0 rgba(31,74,68,.16); font-size: .9rem; }
.tl__card { background: var(--paper); border: 2.5px solid var(--outline); border-radius: var(--r-sm); box-shadow: var(--sticker); padding: 1.1rem 1.2rem; }
.tl__date { font-family: var(--f-display); font-weight: 700; color: var(--teal-deep); font-size: .95rem; }
.tl__title { font-family: var(--f-display); font-weight: 600; font-size: 1.22rem; margin: .15rem 0 .25rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tl__meta { font-size: .88rem; color: var(--muted); margin: 0 0 .4rem; font-weight: 700; }
.tl__desc { margin: 0; color: var(--ink-2); font-size: .95rem; font-weight: 600; }
.tag { display: inline-block; font-family: var(--f-display); font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--teal); padding: .18rem .6rem; border-radius: var(--r-pill); border: 2px solid var(--outline); }
.tag--warm { background: var(--coral); }
.tag--sage { background: #6caa7e; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: .9rem; }
.contact__list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact__ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--mint); border: 2.5px solid var(--outline); font-size: 1.2rem; }
.contact__list strong { font-family: var(--f-display); font-weight: 600; }
.hours__title { font-family: var(--f-display); font-weight: 600; font-size: 1.18rem; margin: 0 0 .4rem; }
.hours__table { width: 100%; border-collapse: collapse; max-width: 360px; }
.hours__table td { padding: .5rem .2rem; border-bottom: 2px dotted var(--line); font-weight: 700; }
.hours__table td:last-child { text-align: right; color: var(--ink-2); }
.hours__table .closed { color: var(--coral-deep); }

.contact__right { display: grid; gap: 1.4rem; }
.map { position: relative; border-radius: var(--r); overflow: hidden; border: 3px solid var(--outline); box-shadow: var(--sticker); }
.map iframe { width: 100%; height: 280px; border: 0; }
.map__link { position: absolute; right: 10px; bottom: 10px; font-size: .8rem; font-weight: 800; color: #fff; background: rgba(31,74,68,.82); padding: .35rem .7rem; border-radius: var(--r-pill); }

/* Formulaires */
.card-form { background: var(--paper); border: 3px solid var(--outline); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--sticker); }
.card-form__title { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; margin: 0 0 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .8rem; }
.field span { font-family: var(--f-display); font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select {
    width: 100%; font-family: var(--f-body); font-weight: 600; font-size: 1rem; color: var(--ink);
    padding: .75rem .9rem; border: 2.5px solid var(--line); border-radius: 14px; background: var(--cream);
    outline: none; transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); box-shadow: 3px 3px 0 rgba(22,163,148,.18); background: var(--paper); }
.form-status { margin: .8rem 0 0; font-weight: 800; font-size: .92rem; min-height: 1.2em; }
.is-ok { color: var(--teal-deep); } .is-err { color: var(--coral-deep); }

/* =====================================================================
   Livre d'or — bulles de BD
   ===================================================================== */
.guest__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.gform { position: sticky; top: 100px; }
.bubbles { display: grid; gap: 1.6rem; }
.bubble { position: relative; background: var(--paper); border: 2.5px solid var(--outline); border-radius: 22px; box-shadow: var(--sticker); padding: 1.1rem 1.3rem; animation: rise .5s var(--ease) both; }
.bubble::after { content: ""; position: absolute; left: 30px; bottom: -14px; width: 24px; height: 24px; background: var(--paper); border-right: 2.5px solid var(--outline); border-bottom: 2.5px solid var(--outline); transform: rotate(45deg); }
.bubble__msg { margin: 0 0 .9rem; color: var(--ink); font-weight: 600; }
.bubble__foot { display: flex; align-items: center; gap: .6rem; padding-top: .2rem; }
.bubble__avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; color: #fff; background: var(--coral); border: 2.5px solid var(--outline); }
.bubble__who { font-family: var(--f-display); font-weight: 600; }
.bubble__date { font-size: .8rem; color: var(--muted); font-weight: 700; }
.guest__empty { color: var(--muted); text-align: center; padding: 2rem; border: 3px dashed var(--line); border-radius: var(--r); font-weight: 700; }

/* =====================================================================
   Pied de page
   ===================================================================== */
.foot { position: relative; background: var(--teal-deep); color: #eafaf6; padding: clamp(3rem, 7vw, 4.5rem) 0 2rem; margin-top: clamp(2rem,6vw,4rem); }
.foot__foam { position: absolute; left: 0; right: 0; top: 0; height: 22px; transform: translateY(-21px); background: var(--teal-deep); -webkit-mask: var(--scallop) repeat-x bottom / 44px 22px; mask: var(--scallop) repeat-x bottom / 44px 22px; }
.foot a { color: #eafaf6; opacity: .85; font-weight: 700; transition: opacity .2s; }
.foot a:hover { opacity: 1; }
.foot__grid { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: center; }
.foot__brand { font-family: var(--f-display); color: #fff; font-size: 1.7rem; font-weight: 700; display: block; }
.foot__tag { color: rgba(234,250,246,.7); margin: .2rem 0 0; font-weight: 600; }
.foot__nav, .foot__social { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.foot__bottom { text-align: center; margin: 2.4rem 0 0; font-size: .85rem; color: rgba(234,250,246,.6); font-weight: 600; }
.heart { color: var(--coral); }
.foot__admin { opacity: .55 !important; }
.foot__admin:hover { opacity: 1 !important; color: var(--butter); }

.totop { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; display: grid; place-items: center; width: 50px; height: 50px; border: 2.5px solid var(--outline); border-radius: 50%; cursor: pointer; color: #fff; background: var(--coral); box-shadow: var(--sticker); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.totop.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.totop.is-visible:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 rgba(31,74,68,.16); }

/* =====================================================================
   Révélations
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

@keyframes bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .ptile, .about__frame { transform: none !important; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 900px) {
    .about__grid, .contact__grid, .guest__grid { grid-template-columns: 1fr; }
    .about__art { max-width: 420px; margin: 0 auto; }
    .gform { position: static; }
}
@media (max-width: 760px) {
    .nav__links {
        position: fixed; inset: 0 0 auto 0; top: 0; padding: 6rem 1.2rem 1.6rem; margin: 0 .6rem;
        flex-direction: column; align-items: stretch; gap: .4rem;
        background: var(--paper); border: 2.5px solid var(--outline); border-radius: 0 0 var(--r) var(--r);
        box-shadow: var(--sticker-lg); transform: translateY(-115%); transition: transform .4s var(--ease);
    }
    .nav.is-open .nav__links { transform: translateY(0); }
    .nav__link { padding: .8rem 1rem; font-size: 1.1rem; }
    .nav__cta { margin: .5rem 0 0; text-align: center; }
    .nav__burger { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .about__points { grid-template-columns: 1fr; }
    .menu__row { grid-template-columns: auto 1fr; }
    .menu__price { grid-row: auto; grid-column: 2; justify-self: start; }
    .menu__desc { grid-column: 1 / 3; }
}

/* =====================================================================
   Page Galerie (complète) + page Tarifs
   ===================================================================== */
.subpage-head { position: relative; overflow: hidden; padding: clamp(7rem, 13vw, 9.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); text-align: center; }
.subpage-head::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(22,163,148,.18), transparent 70%); top: -10%; right: -6%; z-index: 0; }
.subpage-head .wrap { position: relative; z-index: 1; }
.subpage-title { font-size: clamp(2.4rem, 7vw, 3.8rem); margin: .25rem 0 0; }
.subpage-sub { color: var(--muted); max-width: 48ch; margin: .9rem auto 0; font-weight: 600; }
.subpage-body { padding-bottom: clamp(3rem, 8vw, 6rem); }

.ggrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); }
.gitem { margin: 0; }
.gitem__btn { position: relative; display: block; width: 100%; padding: 8px 8px 10px; border: 2.5px solid var(--outline); cursor: pointer; border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sticker); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.gitem:nth-child(odd) .gitem__btn { transform: rotate(-1.5deg); }
.gitem:nth-child(even) .gitem__btn { transform: rotate(1.5deg); }
.gitem__btn:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--sticker-lg); }
.gitem__btn img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.gitem__cap { display: block; margin-top: .5rem; font-family: var(--f-display); font-weight: 500; font-size: .9rem; color: var(--ink); text-align: center; }

.gal-empty { text-align: center; padding: clamp(3rem, 8vw, 5rem) 1rem; border: 3px dashed var(--line); border-radius: var(--r); }
.gal-empty span { font-size: 2.6rem; }
.gal-empty h2 { font-family: var(--f-display); font-weight: 700; margin: .6rem 0 .3rem; }
.gal-empty .btn { margin-top: 1.2rem; }

/* =====================================================================
   Visionneuse (lightbox)
   ===================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(20,48,43,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s var(--ease); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb__stage { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.lb__img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 14px; border: 3px solid #fff; box-shadow: var(--sticker-lg); transform: scale(.96); opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.lightbox.is-open .lb__img { transform: scale(1); opacity: 1; }
.lb__img.is-swapping { opacity: 0; transform: scale(.98); }
.lb__caption { display: flex; align-items: center; gap: 1rem; color: #eafaf6; font-weight: 700; }
.lb__count { color: var(--butter); }
.lb__btn { position: absolute; z-index: 2; display: grid; place-items: center; border: 2.5px solid #fff; cursor: pointer; color: #fff; background: rgba(255,255,255,.12); border-radius: 50%; transition: background .25s, transform .25s var(--ease); }
.lb__btn:hover { background: var(--coral); transform: scale(1.08); }
.lb__close { top: clamp(1rem,3vw,1.6rem); right: clamp(1rem,3vw,1.6rem); width: 50px; height: 50px; font-size: 1.9rem; line-height: 1; }
.lb__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 1.3rem; }
.lb__nav:hover { transform: translateY(-50%) scale(1.08); }
.lb__prev { left: clamp(.6rem,3vw,1.6rem); } .lb__next { right: clamp(.6rem,3vw,1.6rem); }
