/* ==========================================================================
   La Patt'afix — salon de toilettage, Sainte-Foy-l'Argentière
   Direction : magazine premium (aubergine / rose table / crème)
   Geste signature : la piste de pattes (script.js)
   ========================================================================== */

:root {
  /* Marque — rose et violet du camion, rose de la table de toilettage */
  --color-primary:       #6E3FA3;   /* violet camion */
  --color-primary-dark:  #2A1233;   /* aubergine profond */
  --color-primary-light: #EEE4F7;   /* lilas */

  /* Fonds */
  --paper:  #FCF6F1;   /* crème */
  --chalk:  #F8E6EE;   /* blush, sections alternées */
  --color-bg-card: #FFFDFB;
  --mist:   #E7D6DF;

  /* Texte */
  --ink:     #2A1A2E;
  --ink-soft:#5E4B62;
  --on-dark: #F7EDF3;

  /* Accent unique : le rose de la table */
  --accent:     #E8509A;
  --accent-btn: #C2266F;   /* blanc dessus : AA */
  --accent-ink: #A81F60;   /* rose en texte sur crème : AA */

  /* Typo */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rayons */
  --r: 6px;
  --r-pill: 999px;

  /* Ombres teintées aubergine */
  --sh-1: 0 1px 2px rgba(42,18,51,.06), 0 6px 18px rgba(42,18,51,.06);
  --sh-2: 0 14px 34px rgba(42,18,51,.14), 0 4px 10px rgba(42,18,51,.06);
  --sh-3: 0 30px 70px rgba(42,18,51,.28);

  --ease: cubic-bezier(.2,.7,.2,1);
  --nav-h: 72px;
  --gut: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
h2 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); }
h3 { font-size: 1.45rem; letter-spacing: -.01em; }
p { margin: 0; }
em { font-style: italic; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 2 * var(--gut)); margin-inline: auto; }
.eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--accent-ink); margin-bottom: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r); }
.skip:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.6rem;
  background: var(--accent-btn); color: #fff;
  border: 2px solid var(--accent-btn); border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(194,38,111,.28); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: .95rem; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink-soft); }

/* ---------- Logo (wordmark) ---------- */
.logo { display: inline-flex; align-items: baseline; gap: .35rem; text-decoration: none; color: var(--color-primary-dark); line-height: 1; }
.logo__la { font-family: var(--font-display); font-style: italic; font-size: .95rem; color: var(--accent-ink); }
.logo__word { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; font-variation-settings: "SOFT" 100, "WONK" 1; display: inline-flex; align-items: flex-start; }
.logo__paw { width: .5em; height: .5em; fill: var(--accent); margin: -.04em -.02em 0 .01em; transform: rotate(14deg); }
.logo--light { color: var(--on-dark); }
.logo--light .logo__la { color: #F3A9CB; }

/* ---------- Annonce (panneau) ---------- */
.annonce { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .6rem var(--gut); background: #F6C744; color: #2A1A2E; font-weight: 600; font-size: .95rem; text-align: left; }
.annonce__sign { flex: none; display: grid; place-items: center; width: 26px; height: 26px; background: #2A1A2E; color: #F6C744; transform: rotate(45deg); border-radius: 4px; font-weight: 800; }
.annonce__sign { font-size: 0; }
.annonce__sign::after { content: "!"; font-size: .9rem; transform: rotate(-45deg); }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.hdr.is-solid { background: rgba(252,246,241,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--mist); }
.hdr__in { height: var(--nav-h); width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav { display: none; gap: 1.8rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--accent-ink); }
.hdr__cta { display: none; }
.burger { margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--color-primary-dark); border-radius: 50%; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.msheet { position: fixed; inset: 0; z-index: 45; background: var(--color-primary-dark); color: var(--on-dark); padding: calc(var(--nav-h) + 24px) var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 39px) 36px); transition: clip-path .55s var(--ease); visibility: hidden; }
.msheet.is-open { clip-path: circle(150% at calc(100% - 39px) 36px); visibility: visible; }
.msheet nav { display: flex; flex-direction: column; gap: .4rem; }
.msheet nav a { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; text-decoration: none; letter-spacing: -.02em; }
.msheet__tel { font-size: 1.3rem; color: #F3A9CB; text-decoration: none; font-weight: 600; }
body.menu-open .hdr { background: transparent; box-shadow: none; }
body.menu-open .logo { color: var(--on-dark); }

@media (min-width: 960px) {
  .nav, .hdr__cta { display: flex; }
  .hdr__cta { display: inline-flex; }
  .burger, .msheet { display: none; }
}

/* ---------- Piste de pattes ---------- */
main { position: relative; }
.trail { position: absolute; inset: 0; pointer-events: none; z-index: 6; overflow: hidden; }
.paw { position: absolute; width: 18px; height: 18px; opacity: 0; transform: translate(-50%, -50%) rotate(var(--rot, 180deg)) scale(.4); transition: opacity .35s var(--ease), transform .45s cubic-bezier(.3,1.6,.5,1); fill: var(--accent); }
.paw.on { opacity: .85; transform: translate(-50%, -50%) rotate(var(--rot, 180deg)) scale(1); }
.paw--dark { fill: #F3A9CB; }
.trail.is-compact .paw { width: 9px; height: 9px; }

/* ---------- Hero / couverture ---------- */
.hero { padding: 1.5rem 0 4.5rem; }
.hero__in { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; display: grid; gap: 2.5rem; }
.hero__kicker { display: block; font-family: var(--font-body); font-size: .95rem; font-weight: 600; letter-spacing: .01em; color: var(--accent-ink); margin-bottom: 1.1rem; }
.hero__title { display: block; font-size: clamp(2.7rem, 10.5vw, 6.2rem); font-weight: 500; line-height: .96; letter-spacing: -.035em; }
.hero__title em { font-weight: 400; color: var(--color-primary); }
.hero__lead { margin-top: 1.5rem; font-size: 1.15rem; max-width: 34ch; color: var(--ink-soft); }
.hero__sign { margin-top: .6rem; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--accent-ink); }
.hero__sign::before { content: "— "; }
.hero__ctas { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__proof { margin-top: 1.4rem; display: flex; align-items: center; gap: .5rem; font-size: .95rem; color: var(--ink-soft); }
.hero__proof svg { width: 18px; height: 18px; fill: var(--accent); }

.cover { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; background: var(--color-primary-dark); box-shadow: var(--sh-3); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.cover:hover { transform: rotate(0deg) scale(1.01); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,18,51,.55) 0%, rgba(42,18,51,0) 30%, rgba(42,18,51,0) 62%, rgba(42,18,51,.55) 100%); }
.cover__mast { position: absolute; z-index: 2; left: 0; right: 0; top: 0; padding: 1rem 1.1rem 0; color: #fff; }
.cover__brand { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 15vw, 5.4rem); line-height: .85; letter-spacing: -.05em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.cover__issue { display: block; margin-top: .45rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; opacity: .92; }
.cover__lines { position: absolute; z-index: 2; left: 1.1rem; bottom: 1.2rem; right: 38%; margin: 0; padding: 0; list-style: none; color: #fff; display: grid; gap: .7rem; }
.cover__lines li { font-family: var(--font-display); font-size: clamp(.95rem, 3.6vw, 1.2rem); line-height: 1.1; }
.cover__lines b { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #FFB7D6; margin-bottom: .15rem; }
.cover__barcode { position: absolute; z-index: 2; right: .9rem; bottom: 1rem; background: #fff; padding: .45rem .55rem .35rem; border-radius: 2px; text-align: center; color: #111; }
.cover__barcode .bars { display: block; width: 92px; height: 34px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px, #111 12px 13px, transparent 13px 16px); }
.cover__num { display: block; margin-top: .2rem; font: 600 .62rem/1 ui-monospace, Menlo, monospace; letter-spacing: .06em; }

@media (max-width: 959px) {
  .hero { padding-top: .8rem; }
  .cover { order: -1; aspect-ratio: 4 / 4.6; transform: rotate(-1.2deg); }
  .cover__lines { right: 42%; gap: .5rem; }
}
@media (min-width: 960px) {
  .hero { padding: 3rem 0 7rem; }
  .hero__in { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4rem; }
  .cover { max-width: 470px; justify-self: end; width: 100%; }
}

/* ---------- De la route au salon ---------- */
.story { padding: 5rem 0; background: var(--color-bg-card); border-top: 1px solid var(--mist); }
.story__head { max-width: 760px; }
.story__name { font-size: clamp(2.2rem, 8.6vw, 6.4rem); font-weight: 800; letter-spacing: -.045em; line-height: .95; }
.story__old { position: relative; color: var(--ink-soft); font-weight: 400; font-style: italic; }
.story__old::after { content: ""; position: absolute; left: -.05em; right: -.05em; top: 54%; height: .07em; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s .3s var(--ease); }
.story__new { display: inline-block; color: var(--accent-ink); font-style: italic; transform: translateY(.3em) rotate(-6deg); opacity: 0; transition: transform .6s 1s cubic-bezier(.3,1.5,.5,1), opacity .4s 1s; margin-left: .08em; }
.story__name.is-in .story__old::after { transform: scaleX(1); }
.story__name.is-in .story__new { transform: none; opacity: 1; }
.story__intro { margin-top: 1.5rem; font-size: 1.15rem; max-width: 52ch; color: var(--ink-soft); }

.chapters { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; gap: 3rem; }
.chapter figure { margin: 0 0 1.1rem; overflow: hidden; border-radius: 4px; }
.chapter img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.chapter__when { font-family: var(--font-display); font-style: italic; color: var(--accent-ink); font-size: 1.1rem; }
.chapter h3 { margin: .2rem 0 .6rem; font-size: 1.9rem; }
.chapter p:last-child { color: var(--ink-soft); }
.chapter--a figure { filter: saturate(1.05); }
@media (min-width: 700px) { .chapters { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; } }

@media (min-width: 900px) {
  .story { padding: 7.5rem 0; }
  .story__head { max-width: none; }
  .story__name { white-space: nowrap; }
  .chapters { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; align-items: start; }
  .chapter--b { margin-top: 6rem; }
  .chapter--c { margin-top: 2.5rem; }
  .chapter--a img { aspect-ratio: 3 / 4; }
  .chapter--b img { aspect-ratio: 1 / 1; }
}

/* ---------- Coup de brosse ---------- */
.brush { padding: 5rem 0; background: var(--chalk); }
.brush__in { display: grid; gap: 2.5rem; align-items: center; }
.brush__txt p { margin-top: 1rem; max-width: 40ch; color: var(--ink-soft); }
.brush__meter { margin-top: 1.6rem; display: flex; align-items: center; gap: .9rem; font-weight: 600; font-size: .95rem; }
.brush__bar { flex: 1; max-width: 220px; height: 8px; border-radius: 99px; background: rgba(42,18,51,.12); overflow: hidden; }
.brush__bar span { display: block; height: 100%; width: 0; background: var(--accent-btn); border-radius: inherit; transition: width .2s linear; }
.brush__btns { margin-top: 1.2rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.brush__stage { position: relative; aspect-ratio: 3 / 4; max-width: 460px; width: 78%; justify-self: center; border-radius: 50% 50% 8px 8px / 32% 32% 8px 8px; overflow: hidden; box-shadow: var(--sh-2); touch-action: none; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Crect x='6' y='4' width='32' height='16' rx='4' fill='%23C2266F'/%3E%3Cg stroke='%232A1A2E' stroke-width='2'%3E%3Cpath d='M10 20v10M15 20v12M20 20v12M25 20v12M30 20v12M35 20v10'/%3E%3C/g%3E%3C/svg%3E") 22 30, crosshair; }
.brush__stage img, .brush__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brush__done { position: absolute; left: 50%; bottom: 1.4rem; transform: translate(-50%, 20px); opacity: 0; background: #fff; padding: .55rem 1.1rem; border-radius: var(--r-pill); font-family: var(--font-display); font-style: italic; font-size: 1.25rem; white-space: nowrap; box-shadow: var(--sh-1); transition: .45s var(--ease); pointer-events: none; }
.brush__stage.is-done .brush__done { opacity: 1; transform: translate(-50%, 0); }
.brush__stage.is-done #brush-canvas { opacity: 0; transition: opacity .8s var(--ease); }

@media (min-width: 900px) {
  .brush { padding: 7rem 0; }
  .brush__in { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .brush__stage { width: 100%; }
}

/* ---------- Loulous de la semaine (stories) ---------- */
.weekly { padding: 5rem 0 3.5rem; }
.weekly__head { display: grid; gap: .8rem; }
.weekly__head p { color: var(--ink-soft); }
.bubbles { list-style: none; margin: 2.2rem calc(-1 * var(--gut)) 0; padding: .4rem var(--gut) 1rem; display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bubbles::-webkit-scrollbar { display: none; }
.bubble { scroll-snap-align: start; flex: none; }
.bubble button { display: grid; justify-items: center; gap: .6rem; background: none; border: 0; padding: 0; cursor: pointer; width: 108px; }
.bubble__ring { width: 98px; height: 98px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--accent), var(--color-primary), #F6C744, var(--accent)); transition: transform .3s var(--ease); }
.bubble.is-seen .bubble__ring { background: var(--mist); }
.bubble__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); }
.bubble button:hover .bubble__ring { transform: scale(1.06) rotate(-3deg); }
.bubble__name { font-size: .88rem; font-weight: 600; text-align: center; line-height: 1.2; }
@media (min-width: 900px) {
  .weekly { padding: 7rem 0 4rem; }
  .weekly__head { grid-template-columns: auto 1fr; align-items: end; gap: 3rem; }
  .bubble button { width: 128px; }
  .bubble__ring { width: 118px; height: 118px; }
}

.story-v { width: min(440px, 100vw); height: min(780px, 100dvh); max-width: 100vw; max-height: 100dvh; padding: 0; border: 0; border-radius: 14px; background: #120816; overflow: hidden; color: #fff; }
.story-v::backdrop { background: rgba(18,8,22,.86); backdrop-filter: blur(6px); }
.story-v__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-v__bars { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; }
.story-v__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.story-v__bars i { display: block; height: 100%; width: 0; background: #fff; }
.story-v__title { position: absolute; z-index: 3; top: 26px; left: 14px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.story-v__close { position: absolute; z-index: 4; top: 18px; right: 10px; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.story-v__zone { position: absolute; z-index: 2; top: 0; bottom: 0; border: 0; background: none; cursor: pointer; }
.story-v__zone--prev { left: 0; width: 33%; }
.story-v__zone--next { right: 0; width: 67%; }
@media (max-width: 520px) { .story-v { border-radius: 0; width: 100vw; height: 100dvh; } }

/* ---------- Mur des loulous ---------- */
.wall { position: relative; padding: 5rem 0 4rem; background: var(--color-primary-dark); color: var(--on-dark); overflow: hidden; }
.wall__head { display: grid; gap: .9rem; max-width: 760px; }
.wall__head p { color: #CDB7D5; }
.wall__names { margin-top: 3rem; padding: 0 var(--gut) 1rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .1em .55em; font-family: var(--font-display); line-height: 1.05; font-variation-settings: "SOFT" 100, "WONK" 1; cursor: crosshair; }
.wall__names { font-size: clamp(.82rem, 2.1vw, 1.12rem); }
.wall__names span { font-size: var(--fs, 1.6em); font-weight: var(--fw, 400); font-style: var(--st, normal); color: var(--c, #F7EDF3); transition: color .25s; }
.wall__names span { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wall__names span:hover, .wall__names span.is-tapped { color: #FF8CC2; }
.wall__names span.is-tapped { animation: tap .5s var(--ease); display: inline-block; }
@keyframes tap { 40% { transform: scale(1.12) rotate(-3deg); } }
.wall__pic { position: absolute; z-index: 3; width: 150px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; pointer-events: none; box-shadow: 0 18px 40px rgba(0,0,0,.45); transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(.6); opacity: 0; animation: pop 1.1s var(--ease) forwards; }
@keyframes pop { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--r)) scale(.6); } 18% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--r)) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -60%) rotate(var(--r)) scale(.92); } }
@media (min-width: 900px) { .wall { padding: 7rem 0 6rem; } .wall__pic { width: 200px; } }

/* ---------- Soins ---------- */
.care { padding: 5rem 0; }
.care__in { display: grid; gap: 3rem; }
.care__head p { margin-top: 1rem; max-width: 42ch; color: var(--ink-soft); }
.care__fig { display: none; margin: 2.5rem 0 0; max-width: 300px; border-radius: 4px; overflow: hidden; transform: rotate(2deg); box-shadow: var(--sh-2); }
.care__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.care__list li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--mist); transition: background .3s var(--ease); }
.care__n { font-family: var(--font-display); font-style: italic; color: var(--accent-ink); font-size: 1.15rem; padding-top: .2rem; }
.care__list h3 { font-size: clamp(1.5rem, 4.2vw, 2.1rem); }
.care__list p { margin-top: .45rem; color: var(--ink-soft); max-width: 52ch; }
.care__price { margin-top: 2rem; padding: 1.4rem 1.5rem; background: var(--color-primary-light); border-radius: var(--r); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; }
@media (min-width: 900px) {
  .care { padding: 7.5rem 0; }
  .care__in { grid-template-columns: .8fr 1.2fr; gap: 5rem; }
  .care__head { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
  .care__fig { display: block; }
  .care__list li:hover { background: linear-gradient(90deg, var(--chalk), transparent); }
}

/* ---------- Petites histoires ---------- */
.tales { padding: 5rem 0; background: var(--chalk); }
.tales__title { max-width: 14ch; }
.tales__grid { margin-top: 3rem; display: grid; gap: 1.2rem; }
.tale { padding: 1.8rem; border-radius: var(--r); }
.tale__tag { font-size: .85rem; font-weight: 600; color: var(--accent-ink); margin-bottom: .8rem; }
.tale h3 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: .8rem; }
.tale p:last-child { color: var(--ink-soft); }
.tale--big { background: var(--color-primary-dark); color: var(--on-dark); }
.tale--big .tale__tag { color: #F3A9CB; }
.tale--big p:last-child { color: #D9C6DF; }
.tale--note { background: #FFFDF6; box-shadow: var(--sh-1); transform: rotate(-1.2deg); border-top: 26px solid #F6C744; border-radius: 2px; }
.tale--quote { border: 2px solid var(--ink); }
.tale__q { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.25; color: var(--ink) !important; }
.tales__foot { margin-top: 2.2rem; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; }
@media (min-width: 900px) {
  .tales { padding: 7.5rem 0; }
  .tales__grid { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; gap: 2rem; }
  .tale--big { padding: 3rem; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; }
  .tale--note { margin-top: 3rem; }
  .tale--quote { margin-top: 1rem; }
}

/* ---------- Livre d'or (avis Google) ---------- */
.book { padding: 5rem 0; }
.book__head { display: grid; gap: 1.6rem; align-items: end; }
.book__score { display: grid; gap: .1rem; }
.book__stars { color: #F2B531; font-size: 1.5rem; letter-spacing: .12em; }
.book__score p { font-size: 1.05rem; }
.book__score strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; margin-right: .2rem; }
.book__fb { color: var(--ink-soft); font-size: .92rem !important; }
.book__grid { margin-top: 3rem; columns: 1; column-gap: 1.4rem; }
.note { break-inside: avoid; margin: 0 0 1.4rem; padding: 1.5rem 1.5rem 1.4rem; background: var(--color-bg-card); border: 1px solid var(--mist); border-radius: var(--r); }
.note:nth-child(3n+2) { transform: rotate(.5deg); }
.note:nth-child(4n+3) { transform: rotate(-.6deg); }
.note__dog { display: inline-block; margin-bottom: .8rem; font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--accent-ink); }
.note blockquote { margin: 0; font-size: 1rem; line-height: 1.55; }
.note__who { margin-top: .9rem; font-weight: 600; font-size: .9rem; }
.note__who::before { content: "— "; }
.note__reply { margin-top: 1rem; padding: .8rem .9rem; background: var(--chalk); border-radius: 4px 14px 14px 14px; font-size: .92rem; line-height: 1.45; color: var(--ink-soft); }
.note__reply span { display: block; font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--accent-ink); margin-bottom: .15rem; }
.note--big { background: var(--color-primary-dark); color: var(--on-dark); border-color: transparent; }
.note--big .note__dog { color: #F3A9CB; font-size: 2.4rem; }
.note--big blockquote { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; }
.note--big .note__reply { background: rgba(255,255,255,.08); color: #E3D3E8; }
.note--big .note__reply span { color: #F3A9CB; }
.note--ink { background: var(--color-primary-light); border-color: transparent; }
.note--quote { border: 2px solid var(--ink); }
.note--quote blockquote { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; }
.book__more { margin-top: .6rem; }
.book.is-short .note:nth-child(n+5) { display: none; }
.book:not(.is-short) .book__more { display: none; }
@media (min-width: 700px) { .book__grid { columns: 2; } }
@media (min-width: 1000px) {
  .book { padding: 7rem 0; }
  .book__head { grid-template-columns: 1fr auto; }
  .book__score { text-align: right; }
  .book__grid { columns: 3; }
  .book.is-short .note:nth-child(n+5) { display: block; }
  .book.is-short .note:nth-child(n+10) { display: none; }
}

/* ---------- Rendez-vous ---------- */
.rdv { padding-bottom: 5rem; background: var(--color-bg-card); }
.rdv__band { position: relative; height: 34vh; min-height: 220px; max-height: 380px; overflow: hidden; }
.rdv__band img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); }
.rdv__band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(120deg, #6E3FA3, #E8509A); mix-blend-mode: soft-light; opacity: .85; }
.rdv__band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--color-bg-card) 0%, rgba(255,253,251,0) 55%); }
.rdv__band p { position: absolute; z-index: 1; left: var(--gut); top: 1.2rem; color: #fff; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.rdv__in { display: grid; gap: 3rem; margin-top: -2rem; position: relative; }
.rdv__door { display: none; }
.rdv__lead { margin-top: 1rem; max-width: 46ch; color: var(--ink-soft); }

.composer { margin-top: 2rem; display: grid; gap: 1.6rem; }
.composer__fields { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.field input { min-height: 50px; padding: 0 1rem; border: 1.5px solid var(--mist); border-radius: var(--r); background: #fff; font: inherit; font-weight: 400; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-light); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { width: 100%; font-weight: 600; font-size: .95rem; margin-bottom: .45rem; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border: 1.5px solid var(--mist); border-radius: var(--r-pill); background: #fff; font-size: .95rem; transition: .2s var(--ease); }
.chips input:checked + span { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.phone { padding: 1.4rem; border-radius: 28px; background: #F2ECF4; border: 8px solid var(--color-primary-dark); display: grid; gap: 1rem; align-content: start; }
.phone__to { font-size: .8rem; font-weight: 600; color: var(--ink-soft); text-align: center; padding-bottom: .6rem; border-bottom: 1px solid var(--mist); }
.phone__bubble { justify-self: end; max-width: 92%; padding: .8rem 1rem; background: #2F7CF6; color: #fff; border-radius: 18px 18px 4px 18px; font-size: .98rem; line-height: 1.4; white-space: pre-line; min-height: 3rem; }
.phone__send { width: 100%; }
.phone__call { text-align: center; font-size: .9rem; color: var(--ink-soft); }

.rdv__info h3 { font-size: 1.6rem; }
.rdv__info address { margin-top: .7rem; font-style: normal; font-size: 1.1rem; }
.rdv__info address a { text-decoration-color: var(--accent); text-underline-offset: 4px; }
.rdv__info > p { margin-top: .6rem; color: var(--ink-soft); }
.hours { list-style: none; margin: 1.1rem 0 0; padding: 0; border-top: 1px solid var(--mist); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .2rem; border-bottom: 1px solid var(--mist); font-size: .98rem; }
.hours li.is-closed { color: var(--ink-soft); }
.hours li.is-today { font-weight: 700; color: var(--accent-ink); background: var(--chalk); border-radius: 4px; padding-inline: .6rem; }
.rdv__note { margin-top: .8rem; color: var(--ink-soft); font-size: .95rem; }
.map { margin-top: 1.2rem; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--chalk); }
.map iframe { width: 100%; height: 100%; border: 0; }

@media (min-width: 760px) { .composer { grid-template-columns: 1fr 300px; align-items: start; } }
@media (min-width: 1100px) {
  .rdv { padding-bottom: 7rem; }
  .rdv__in { grid-template-columns: 90px 1fr 320px; gap: 3.5rem; margin-top: -3rem; }
  .rdv__door { display: block; position: relative; height: 230px; margin-top: 7rem; border: 3px solid var(--color-primary-dark); border-bottom: 0; border-radius: 46px 46px 0 0; perspective: 600px; }
  .rdv__door::before { content: ""; position: absolute; left: -22px; right: -22px; bottom: -3px; height: 3px; background: var(--color-primary-dark); border-radius: 2px; }
  .rdv__door-light { position: absolute; inset: 0; border-radius: 43px 43px 0 0; background: radial-gradient(120% 80% at 50% 100%, #FFD9EA 0%, var(--accent) 100%); display: grid; place-items: center; padding-left: 26px; font-family: var(--font-display); font-style: italic; font-weight: 600; color: #fff; font-size: 1.05rem; }
  .rdv__door-leaf { position: absolute; inset: 0; border-radius: 43px 43px 0 0; background: var(--color-primary-light); transform-origin: left center; transition: transform 1.1s cubic-bezier(.3,1.25,.4,1); box-shadow: inset 0 0 0 1px rgba(42,18,51,.08); }
  .rdv__door-leaf::after { content: ""; position: absolute; right: 12px; top: 52%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-btn); }
  .rdv__door.is-open .rdv__door-leaf { transform: rotateY(-72deg); }
  .rdv__door-sign { position: absolute; left: 50%; top: 26px; transform: translateX(-50%) rotate(-4deg); width: 74px; padding: .35rem .2rem; background: #fff; border: 1.5px solid var(--color-primary-dark); font-size: .62rem; line-height: 1.15; text-align: center; font-weight: 700; }
}

/* ---------- Footer (sur le modèle des sites ostéo) ---------- */
.foot { background: var(--color-primary-dark); color: var(--on-dark); padding: 3.5rem 0 calc(2rem + env(safe-area-inset-bottom)); }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: #F3A9CB; }
.foot svg { width: 15px; height: 15px; flex: none; fill: currentColor; }
.foot .logo__word { font-size: 2rem; }
.foot .logo__paw { width: .5em; height: .5em; fill: var(--accent); }
.foot__small { color: rgba(247,237,243,.55); font-size: .85rem; }
.foot__h { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.foot__rule { display: block; width: 48px; height: 1px; background: var(--accent); margin: 1rem auto 0; }
.foot__rule--l { width: 32px; margin: .7rem 0 1rem; }
.foot__id { text-align: center; margin-bottom: 2.2rem; }
.foot__id p { color: rgba(247,237,243,.7); margin-top: .5rem; }
.foot__id .foot__small { margin-top: .2rem; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; font-size: .9rem; color: rgba(247,237,243,.82); }
.foot__list li, .foot__list a { display: flex; align-items: flex-start; gap: .55rem; }
.foot__list svg { margin-top: .2rem; }
.foot__hours-m { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .85rem; color: rgba(247,237,243,.7); text-align: center; }
.foot__d { display: none; }
.foot__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); text-align: center; font-size: .82rem; color: rgba(247,237,243,.65); display: grid; gap: .5rem; }
.foot__bottom a { color: rgba(247,237,243,.85); }
@media (min-width: 1000px) {
  .foot { padding: 4.5rem 0 2.5rem; }
  .foot__m { display: none; }
  .foot__d { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 3.5rem; }
  .foot__list--id { margin-top: 1.4rem; font-size: .95rem; }
  .foot__d .foot__h { font-size: 1.3rem; margin-bottom: 1.3rem; }
  .foot__hours { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .55rem; font-size: .95rem; color: rgba(247,237,243,.82); }
  .foot__hours li { display: flex; justify-content: space-between; gap: 1.5rem; max-width: 280px; }
  .foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; color: rgba(247,237,243,.82); }
  .foot__bottom { margin-top: 3.5rem; }
}

/* ---------- Barre d'appel mobile ---------- */
.callbar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-pill); overflow: hidden; box-shadow: 0 0 0 2px rgba(252,246,241,.92), var(--sh-2); transform: translateY(150%); transition: transform .4s var(--ease); }
.callbar.is-on { transform: none; }
.callbar a { min-height: 52px; display: grid; place-items: center; font-weight: 700; text-decoration: none; }
.callbar a:first-child { background: var(--accent-btn); color: #fff; }
.callbar a:last-child { background: var(--color-primary-dark); color: #fff; }
@media (min-width: 960px) { .callbar { display: none; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .paw { opacity: .85; transform: translate(-50%, -50%) rotate(var(--rot, 180deg)); }
  .story__old::after { transform: scaleX(1); }
  .story__new { opacity: 1; transform: none; }
  .cover { transform: none; }
}
