/* ==========================================================================
   La Patte de Lucie · Éducation canine & féline à Marseille
   V3 : photos habillées (arches, cadre papier, étiquettes manuscrites,
   brins d'olivier), typographie Caslon proche du logo, texte allégé
   (accordéons), palette sable / sauge / brun.
   ========================================================================== */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face {
  font-family: "Libre Caslon Display";
  src: url("../assets/fonts/libre-caslon-display-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../assets/fonts/libre-caslon-text-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../assets/fonts/libre-caslon-text-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-normal-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Allura";
  src: url("../assets/fonts/allura-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
  --cream: #FBF7F0;
  --paper: #FFFDF9;
  --sand: #F3E6D0;
  --sand-2: #EADBC2;
  --sand-3: #D9C4A3;
  --sage-soft: #E4EADB;
  --sage: #A9B89C;
  --sage-deep: #5B6F50;
  --sage-ink: #4F6245;
  --brown: #6B4332;
  --brown-deep: #4A2E22;
  --text: #4B3529;
  --muted: #735C4C;
  --line: rgba(74, 46, 34, .16);
  --line-strong: rgba(74, 46, 34, .4);
  --error: #A3452D;
  --success: #4F6245;

  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --font-serif: "Libre Caslon Text", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-script: "Allura", "Snell Roundhand", cursive;

  --radius-sm: 8px;
  --radius: 20px;
  --radius-lg: 36px;
  --shadow-soft: 0 1px 2px rgba(74, 46, 34, .05), 0 12px 30px -14px rgba(74, 46, 34, .22);
  --shadow-photo: 0 2px 6px rgba(74, 46, 34, .06), 0 28px 50px -24px rgba(74, 46, 34, .38);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --gutter: clamp(18px, 4.5vw, 40px);
  --container: 1200px;
  --header-h: 80px;
  --space: clamp(56px, 7vw, 96px); /* espacement vertical unique entre sections */

  /* Curseurs « patte » (brun par défaut, sauge sur les éléments cliquables) */
  --cursor-paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg transform='rotate(-22 14 14)' fill='%236B4332' stroke='%23FFFDF9' stroke-width='1.3'%3E%3Cellipse cx='14' cy='18.6' rx='6.2' ry='5.2'/%3E%3Cellipse cx='6.6' cy='12' rx='2.4' ry='3.1'/%3E%3Cellipse cx='11' cy='7.4' rx='2.4' ry='3.2'/%3E%3Cellipse cx='17' cy='7.4' rx='2.4' ry='3.2'/%3E%3Cellipse cx='21.4' cy='12' rx='2.4' ry='3.1'/%3E%3C/g%3E%3C/svg%3E") 9 4;
  --cursor-paw-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg transform='rotate(-22 14 14)' fill='%235B6F50' stroke='%23FFFDF9' stroke-width='1.3'%3E%3Cellipse cx='14' cy='18.6' rx='6.2' ry='5.2'/%3E%3Cellipse cx='6.6' cy='12' rx='2.4' ry='3.1'/%3E%3Cellipse cx='11' cy='7.4' rx='2.4' ry='3.2'/%3E%3Cellipse cx='17' cy='7.4' rx='2.4' ry='3.2'/%3E%3Cellipse cx='21.4' cy='12' rx='2.4' ry='3.1'/%3E%3C/g%3E%3C/svg%3E") 9 4;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip; /* clip : ne crée pas de conteneur de défilement (garde le header collant) */
}

/* Grain papier très léger */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (pointer: fine) {
  html { cursor: var(--cursor-paw), auto; }
  a, button, summary, label, select,
  input[type="checkbox"], input[type="submit"], [role="button"] { cursor: var(--cursor-paw-link), pointer; }
  input[type="text"], input[type="email"], input[type="tel"], textarea { cursor: text; }
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--brown-deep);
  line-height: 1.15;
  text-wrap: balance;
}
h1 em, h2 em, h3 em, p em {
  font-family: var(--font-serif);
  font-style: italic;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; color: var(--brown-deep); }

a { color: var(--brown); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sage-deep); }

ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
blockquote { margin: 0; }

button { font: inherit; color: inherit; }

::selection { background: var(--sage-soft); color: var(--brown-deep); }

:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--brown);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.nowrap { white-space: nowrap; }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.1;
}

.kicker {
  margin: 0 0 16px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-ink);
}

/* Utilisé dans les modales légales */
.eyebrow {
  margin: 0 0 6px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-ink);
}

.title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.45rem + 2.6vw, 3.4rem);
  line-height: 1.08;
}

.lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.08rem + .5vw, 1.45rem);
  line-height: 1.45;
  color: var(--brown);
}

.section { position: relative; padding-block: var(--space); }
/* Deux sections crème qui se suivent : un seul espacement (pas padding-bottom + padding-top) */
.section:not(.section--boxed) + .section:not(.section--boxed) { padding-top: 0; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brown);
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.link-btn:hover { color: var(--sage-deep); }

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.todo {
  padding: 1px 6px;
  border-radius: 4px;
  background: #FCE7A6;
  color: #6A4A00;
  font-weight: 600;
}

/* ---------- Habillage photo ---------- */
.arch {
  position: relative;
  overflow: hidden;
  border: 9px solid var(--paper);
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--sand-2);
  box-shadow: var(--shadow-photo);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--soft { border-radius: var(--radius-lg); }

/* Étiquette manuscrite posée sur la photo */
.tag {
  position: absolute;
  z-index: 2;
  padding: 8px 22px 12px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  color: var(--brown);
  white-space: nowrap;
  transform: rotate(-5deg);
}
.tag .script { font-size: clamp(1.7rem, 1.4rem + .8vw, 2.2rem); }

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brown); color: var(--paper); }
.btn--primary:hover { background: var(--brown-deep); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--brown-deep); }
.btn--light:hover { background: var(--sand); color: var(--brown-deep); }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  color: var(--brown-deep);
  text-decoration: underline;
  text-decoration-color: var(--sand-3);
  text-underline-offset: 6px;
  transition: color .25s, text-decoration-color .25s;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--sage-deep); text-decoration-color: currentColor; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Bandeau d’infos ---------- */
.topbar {
  position: relative;
  z-index: 51;
  background: var(--brown-deep);
  color: #E9DCC8;
  font-size: .84rem;
  letter-spacing: .03em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}
.topbar p { margin: 0; }
.topbar svg { width: 17px; height: 17px; flex: none; }
.topbar__place { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__links { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); white-space: nowrap; }
.topbar__social { display: flex; align-items: center; gap: 4px; }
.topbar a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #E9DCC8;
  text-decoration: none;
  transition: color .2s;
}
.topbar a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.topbar__social a { justify-content: center; min-width: 36px; }
.topbar__social a:hover { text-decoration: none; }

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.header.is-scrolled {
  background: rgba(251, 247, 240, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: block; flex: none; }
.brand img { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__links a {
  position: relative;
  padding-block: 6px;
  font-size: .95rem;
  font-weight: 550;
  color: var(--brown-deep);
  text-decoration: none;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--sage-deep); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 4px; }
.nav__extra { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  transition: background-color .3s, border-color .3s;
}
.nav-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--brown-deep);
  transition: transform .45s var(--ease), opacity .2s, background-color .3s;
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 23px; right: 20px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] { background: var(--brown); border-color: var(--brown); }
.nav-toggle[aria-expanded="true"] span { background: var(--paper); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(6px); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1040px) {
  .brand { position: relative; z-index: 3; }
  .nav-toggle { display: block; }
  .header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--cream); }
  html.menu-open { overflow: hidden; }
  html.menu-open .header { background: transparent; box-shadow: none; }

  /* Panneau plein écran */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 64px) var(--gutter) 32px;
    overflow-y: auto;
    background:
      radial-gradient(70% 45% at 100% 100%, rgba(169, 184, 156, .35), transparent 70%),
      linear-gradient(180deg, var(--sand) 0%, var(--cream) 60%);
    clip-path: circle(0 at calc(100% - var(--gutter) - 24px) calc(var(--header-h) / 2 + 42px));
    visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s .6s;
  }
  .nav.is-open {
    clip-path: circle(150% at calc(100% - var(--gutter) - 24px) calc(var(--header-h) / 2 + 42px));
    visibility: visible;
    transition: clip-path .7s var(--ease), visibility 0s;
  }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; counter-reset: nav; }
  .nav__links a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 1.4rem + 2.4vw, 2.6rem);
    font-weight: 400;
    line-height: 1.1;
    counter-increment: nav;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), color .25s;
  }
  .nav__links a::before {
    content: "0" counter(nav);
    font-family: var(--font-body);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--sage-ink);
  }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links a { opacity: 1; transform: none; }
  .nav.is-open .nav__links a:nth-child(1) { transition-delay: .15s; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .2s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: .25s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: .3s; }
  .nav.is-open .nav__links a:nth-child(5) { transition-delay: .35s; }
  .nav__cta { margin: 28px 0 0; min-height: 54px; opacity: 0; transition: opacity .45s var(--ease) .4s; }
  .nav.is-open .nav__cta { opacity: 1; }

  .nav__extra {
    position: relative;
    display: block;
    margin-top: auto;
    padding-top: 36px;
    opacity: 0;
    transition: opacity .45s var(--ease) .45s;
  }
  .nav.is-open .nav__extra { opacity: 1; }
  .nav__hello { margin: 0 0 10px; font-size: 2.2rem; color: var(--brown); }
  .nav__coords { display: grid; gap: 4px; }
  .nav__coords a,
  .nav__social a { color: var(--brown-deep); text-decoration: none; font-weight: 600; }
  .nav__coords a { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; }
  .nav__social { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
  .nav__branch {
    position: absolute;
    right: -8px;
    bottom: -12px;
    width: 92px;
    height: auto;
    opacity: .85;
    transform: rotate(14deg);
    pointer-events: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(24px, 4vw, 56px)) 0 var(--space);
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(45% 55% at 82% 42%, rgba(169, 184, 156, .32), transparent 70%),
    radial-gradient(40% 40% at 8% 12%, rgba(255, 253, 249, .8), transparent 70%),
    linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
}
/* Texture : fines lignes de papier vergé + trace de pattes */
.hero__texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(107, 67, 50, .035) 0 1px, transparent 1px 7px);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero__trail {
  position: absolute;
  left: 30%;
  bottom: 22px;
  display: flex;
  gap: clamp(28px, 4vw, 64px);
  color: var(--brown);
  transform: rotate(-4deg);
}
.hero__trail svg { width: 26px; height: 26px; opacity: 0; animation: paw-step .8s var(--ease) forwards; }
.hero__trail svg:nth-child(odd) { transform: translateY(12px) rotate(98deg); }
.hero__trail svg:nth-child(even) { transform: rotate(82deg); }
.hero__trail svg:nth-child(1) { animation-delay: .9s; }
.hero__trail svg:nth-child(2) { animation-delay: 1.15s; }
.hero__trail svg:nth-child(3) { animation-delay: 1.4s; }
.hero__trail svg:nth-child(4) { animation-delay: 1.65s; }
.hero__trail svg:nth-child(5) { animation-delay: 1.9s; }
.hero__trail svg:nth-child(6) { animation-delay: 2.15s; }
.hero__trail svg:nth-child(7) { animation-delay: 2.4s; }
@keyframes paw-step { to { opacity: .2; } }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  min-height: min(calc(100svh - var(--header-h) - 120px), 620px);
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--sage-ink);
}
.hero__kicker::before {
  content: "";
  flex: none;
  width: 34px;
  height: 1px;
  background: currentColor;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.3rem + 3.2vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -.015em;
}
.hero__line { display: block; white-space: nowrap; }
.hero__title em { color: var(--sage-deep); }
.hero__desc { max-width: 52ch; margin-top: 28px; }
.hero__desc p { color: var(--text); font-size: clamp(1.02rem, .98rem + .25vw, 1.12rem); }
.hero__tagline {
  margin-top: 14px;
  padding-left: 18px;
  border-left: 2px solid var(--sage);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem) !important;
  line-height: 1.45;
  color: var(--brown) !important;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 36px; }

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 400px);
  padding: 20px 0 32px;
}
.hero__rings {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 128%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -48%);
  overflow: visible;
}
.hero__rings circle { fill: none; stroke: var(--sand-3); stroke-width: .6; }
.hero__rings circle:first-child {
  fill: rgba(228, 234, 219, .55);
  stroke: rgba(107, 67, 50, .35);
  stroke-dasharray: 470 133;
  stroke-dashoffset: 40;
}
.hero__rings circle:last-child { stroke: rgba(107, 67, 50, .22); stroke-dasharray: 380 192; stroke-dashoffset: -20; }
.hero__arch { aspect-ratio: 4 / 5.1; }
.hero__arch img { object-position: 30% 35%; }
.hero__tag { left: -12%; bottom: 12%; }
.hero__mini {
  position: absolute;
  right: -14%;
  bottom: 0;
  z-index: 2;
  width: 40%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 7px solid var(--paper);
  border-radius: 16px;
  background: var(--sand-2);
  box-shadow: var(--shadow-photo);
  transform: rotate(6deg);
}
.hero__mini img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.hero__text > * { animation: rise .9s var(--ease) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; }
.hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .24s; }
.hero__visual { animation: fade 1.1s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Introduction & engagements ---------- */
.intro { padding: 0; text-align: center; }
.intro__lead {
  max-width: 24ch;
  margin: 0 auto;
  font-family: var(--font-script);
  font-size: clamp(2.3rem, 1.7rem + 2.2vw, 3.4rem);
  line-height: 1.15;
  color: var(--sage-deep);
}
.promises-band {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.promises li {
  padding: 26px 20px;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--muted);
}
.promises li + li { border-left: 1px solid var(--line); }
.promises strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 400;
}

/* ---------- Qui suis-je ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
.about__visual { position: relative; width: min(100%, 440px); justify-self: center; }
.about__visual .arch { aspect-ratio: 4 / 5.2; }
.about__visual .arch img { object-position: 62% 25%; }
.about__sprig {
  position: absolute;
  left: -15%;
  top: 4%;
  z-index: -1;
  width: 34%;
  height: auto;
  transform: rotate(-18deg);
  pointer-events: none;
}
.about__tag { right: -8%; bottom: 10%; }
.about__text .title { margin-bottom: 26px; }
.about__text > p { max-width: 60ch; }
.signature {
  position: relative;
  margin-top: 36px;
  padding: 30px 0 0 64px;
  border-top: 1px solid var(--line);
}
.signature::before {
  content: "\201C";
  position: absolute;
  left: -4px;
  top: 6px;
  font-family: var(--font-display);
  font-size: 5.2rem;
  line-height: 1;
  color: var(--sage);
}
.signature p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.02rem + .5vw, 1.4rem);
  line-height: 1.5;
  color: var(--brown-deep);
}
.signature figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.signature figcaption::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--brown);
}
.signature .script { font-size: 2.6rem; color: var(--brown); }

/* ---------- Approche ---------- */
.approach {
  margin-inline: var(--gutter);
  border-radius: var(--radius-lg);
  background: var(--sand);
}
.approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}
.approach__intro .title { margin-bottom: 16px; }
.approach__intro .lead { margin-bottom: 18px; }
.approach__text { max-width: 52ch; color: var(--muted); }
.approach__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.approach__points > div { padding-top: 18px; border-top: 2px solid var(--brown); }
.approach__points h3 { margin-bottom: 8px; font-size: 1.25rem; }
.approach__points p { font-size: .95rem; color: var(--muted); }

.approach__card {
  position: relative;
  padding: clamp(64px, 8vw, 96px) clamp(24px, 4vw, 48px) clamp(32px, 4vw, 44px);
  border: 9px solid var(--paper);
  border-radius: 999px 999px var(--radius) var(--radius);
  background: linear-gradient(180deg, var(--paper), var(--cream));
  box-shadow: var(--shadow-photo);
  text-align: center;
}
.approach__label { margin: 0 0 18px; font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem); color: var(--sage-deep); }
.factors li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.2;
  color: var(--brown-deep);
  transition: color .3s, letter-spacing .4s var(--ease);
}
.factors li:nth-child(even) { font-family: var(--font-serif); font-style: italic; color: var(--sage-deep); }
.factors li:hover { letter-spacing: .02em; color: var(--brown); }


/* ---------- Accompagnements ---------- */
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}
.services__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.services__photo { position: relative; margin-top: 36px; }
.services__photo .arch { aspect-ratio: 4 / 3.4; }
.services__photo .arch img { object-position: 45% 60%; }
.services__tag { right: -4%; bottom: -18px; }

/* Accordéons (accompagnements + FAQ) */
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc__title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  line-height: 1.25;
  color: var(--brown-deep);
  transition: color .25s;
}
.acc summary:hover .acc__title { color: var(--sage-deep); }
.acc__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brown);
  transition: transform .35s var(--ease), background-color .25s, color .25s;
}
.acc__icon svg { width: 18px; height: 18px; }
.acc[open] .acc__icon { transform: rotate(45deg); background: var(--brown); border-color: var(--brown); color: var(--paper); }
.acc__body { padding: 0 60px 26px 0; color: var(--muted); }
.acc[open] .acc__body { animation: acc-in .35s var(--ease); }
@keyframes acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.soon {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 12px clamp(28px, 5vw, 64px);
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--sage-soft);
}
.soon__title { margin-bottom: 8px; font-size: clamp(2.3rem, 1.9rem + 1.4vw, 3rem); color: var(--brown); }
.soon__intro { font-size: .95rem; }
.soon__title,
.soon__intro,
.soon__cta { grid-column: 1; }
.soon__list { grid-column: 2; grid-row: 1 / span 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.soon__list li {
  padding-top: 16px;
  border-top: 1px solid rgba(91, 111, 80, .3);
  font-size: .93rem;
  line-height: 1.6;
  color: var(--text);
}
.soon__list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
}
.soon__cta { margin-top: 12px; font-size: .93rem; }

/* ---------- Déroulement ---------- */
.steps {
  --steps-gap: clamp(24px, 4vw, 56px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--steps-gap);
}
.steps::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 32px;
  right: calc((100% - 2 * var(--steps-gap)) / 3 - 32px);
  border-top: 2px dotted var(--sand-3);
}
.step { position: relative; }
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border: 1px solid var(--sand-3);
  border-radius: 50%;
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--sage-deep);
}
.step h3 { margin-bottom: 6px; font-size: 1.45rem; }
.step__meta {
  margin-bottom: 10px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-ink);
}
.step p:not(.step__meta) { max-width: 34ch; font-size: .96rem; color: var(--muted); }

/* ---------- Tarifs ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: 1080px;
}
.pricing__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--sage-deep);
  color: #EEF1E8;
}
.pricing__card .kicker { color: var(--sage-soft); }
.pricing__card .title { margin-bottom: 14px; color: var(--paper); }
.pricing__card p:not(.kicker):not(.pricing__label) { font-size: .93rem; color: #DCE3D4; }
.pricing__label { margin: 22px 0 2px; font-size: 1.8rem; color: var(--paper); }
.pricing__card h3 { margin-bottom: 4px; font-size: 1.15rem; color: var(--paper); }
.pricing__card .btn { margin-top: 24px; white-space: nowrap; }

.prices { border-bottom: 1px solid var(--line); }
.price {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.price > div { flex: 1; }
.price h3 { font-size: 1.2rem; transition: color .25s; }
.price:hover h3 { color: var(--sage-deep); }
.price__tag {
  margin-top: 3px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-ink);
}
.price__tag,
.price__meta { margin: 0; }
.price__tag { margin-top: 3px; }
.price__meta { margin-top: 2px; font-size: .86rem; color: var(--muted); }
.price__amount {
  flex: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--brown-deep);
}

/* ---------- Hot & Niagara ---------- */
.duo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 7vw, 104px);
  max-width: 980px;
  margin-inline: auto;
}
.pet .arch { width: min(100%, 400px); }
.pet:first-child .arch { aspect-ratio: 4 / 4.6; }
.pet:first-child .arch img { object-position: 50% 70%; }
.pet--offset { margin-top: clamp(0px, 9vw, 120px); }
.pet--offset .arch { aspect-ratio: 4 / 5; }
.pet figcaption { padding-top: 22px; }
.pet h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  margin-bottom: 10px;
}
.pet h3 .script { font-size: clamp(2.8rem, 2.3rem + 1.6vw, 3.6rem); color: var(--brown); }
.pet h3 small {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sage-ink);
}
.pet p { max-width: 50ch; font-size: .96rem; color: var(--muted); }
.duo__outro {
  max-width: 720px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  line-height: 1.55;
  text-align: center;
  color: var(--brown-deep);
}

/* ---------- Venez comme vous êtes ---------- */
.welcome {
  margin: 0 var(--gutter);
  padding-block: var(--space);
  border-radius: var(--radius-lg);
  background: var(--sage-deep);
  color: #EEF1E8;
}
.welcome__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  max-width: 1080px;
}
.welcome__orn {
  width: 150px;
  height: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  opacity: .75;
}
.welcome__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem);
  line-height: 1.1;
  color: var(--paper);
}
.welcome__lead {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  color: var(--paper);
}
.welcome__body p:not(.welcome__lead):not(.welcome__motto) { font-size: .98rem; }
.welcome__motto {
  margin-top: 18px;
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem);
  line-height: 1.2;
  color: var(--paper);
}

/* ---------- Questions fréquentes ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__photo { position: relative; width: min(100%, 340px); margin-top: 36px; }
.faq__photo .arch { aspect-ratio: 4 / 4.8; }
.faq__photo .arch img { object-position: 40% 40%; }
.faq__tag { right: -12%; bottom: 14%; }

/* ---------- Avis ---------- */
.reviews__inner { max-width: 720px; text-align: center; }
.reviews .title { margin-bottom: 16px; }
.reviews p { margin-bottom: 26px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.contact__info .title { margin-bottom: 22px; }
.coords { margin: 32px 0 22px; border-bottom: 1px solid var(--line); }
.coords > div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.coords dt {
  padding-top: 5px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-ink);
}
.coords dd { font-family: var(--font-serif); font-size: 1.2rem; overflow-wrap: anywhere; }
.coords a { color: var(--brown-deep); text-decoration: none; }
.coords a:hover { color: var(--sage-deep); text-decoration: underline; }
.hours { font-size: .95rem; color: var(--muted); max-width: 48ch; }

.form-wrap {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.form-wrap h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); margin-bottom: 6px; }
.form-wrap__intro { color: var(--muted); margin-bottom: 28px; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--brown-deep); }
.field label span[aria-hidden] { color: var(--brown); }
.optional { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--sand-3);
  background: var(--cream);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(169, 184, 156, .4);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--error); }
.field__error { margin: 0; font-size: .86rem; font-weight: 600; color: var(--error); }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
}
.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--sage-deep);
}
.check.is-invalid span { color: var(--error); }

.form__legal { font-size: .84rem; line-height: 1.55; color: var(--muted); }
.form__status { margin: 0; font-size: .95rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-success { padding: 14px 16px; border-radius: 12px; background: var(--sage-soft); color: var(--success); }
.form__status.is-error { padding: 14px 16px; border-radius: 12px; background: #F6E3DC; color: var(--error); }

/* ---------- Pied de page ---------- */
.footer {
  --muted: #66503F; /* contraste AA sur fond sable foncé */
  padding: clamp(56px, 8vw, 88px) 0 28px;
  background: var(--sand-2);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.footer__brand img { width: 170px; margin-bottom: 14px; }
.footer__tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--brown-deep); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.footer__col h2 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-ink);
}
.footer__col a,
.footer__col .link-btn { font-size: .96rem; font-weight: 500; color: var(--brown-deep); text-decoration: none; overflow-wrap: anywhere; }
.footer__col a:hover,
.footer__col .link-btn:hover { color: var(--sage-deep); text-decoration: underline; }
.footer__col p { font-size: .9rem; color: var(--muted); }
.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 48px;
  padding-top: 24px;
  font-size: .86rem;
  color: var(--muted);
}
.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--line);
}
.footer__bottom a { color: var(--brown); }

/* ---------- Bouton flottant « Me contacter » ---------- */
.float-cta {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: max(clamp(16px, 3vw, 32px), env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity .35s var(--ease), transform .4s var(--ease), visibility 0s .4s;
}
.float-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s var(--ease), transform .4s var(--ease), visibility 0s;
}
.float-cta__main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 16px 34px -14px rgba(58, 36, 26, .6);
  transition: background-color .25s, transform .3s var(--ease);
}
.float-cta__main:hover { background: var(--brown-deep); color: var(--paper); transform: translateY(-2px); }
.float-cta__main svg { width: 20px; height: 20px; flex: none; }
.float-cta__icon { display: none; }

@media (max-width: 760px) {
  .float-cta {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 253, 249, .95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-photo);
  }
  .float-cta__main { flex: 1; min-height: 48px; padding: 10px 18px; box-shadow: none; }
  .float-cta__main:hover { transform: none; }
  .float-cta__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sand);
    color: var(--brown-deep);
  }
  .float-cta__icon--wa { background: var(--sage-deep); color: var(--paper); }
  .float-cta__icon svg { width: 22px; height: 22px; }
  .footer { padding-bottom: 104px; }
}

/* ---------- Curseur patte animé (souris uniquement) ---------- */
html.has-paw-cursor:not(.has-dialog),
html.has-paw-cursor:not(.has-dialog) * { cursor: none !important; }
html.has-paw-cursor:not(.has-dialog) :is(input[type="text"], input[type="email"], input[type="tel"], textarea) { cursor: text !important; }
.paw-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 30px;
  height: 30px;
  margin: -6px 0 0 -9px;
  pointer-events: none;
  transition: opacity .2s;
}
.paw-cursor__ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: rgba(169, 184, 156, .28);
  transform: scale(0);
  transition: transform .35s var(--ease);
}
.paw-cursor svg {
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--brown);
  transform: rotate(-22deg);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), color .25s;
  filter: drop-shadow(0 0 1.5px var(--paper)) drop-shadow(0 2px 3px rgba(58, 36, 26, .25));
}
.paw-cursor.is-hover svg { transform: rotate(-8deg) scale(1.35); color: var(--sage-deep); }
.paw-cursor.is-hover .paw-cursor__ring { transform: scale(1); }
.paw-cursor.is-down svg { transform: rotate(-8deg) scale(.82); transition-duration: .12s; }
.paw-cursor.is-hidden,
html.has-dialog .paw-cursor { opacity: 0; }
.paw-stamp {
  position: fixed;
  z-index: 9998;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  pointer-events: none;
  color: var(--sage-deep);
  animation: stamp .9s var(--ease) forwards;
}
.paw-stamp svg { width: 100%; height: 100%; }
@keyframes stamp {
  0% { opacity: .75; transform: rotate(var(--r)) scale(.5); }
  35% { opacity: .55; transform: rotate(var(--r)) scale(1.15); }
  100% { opacity: 0; transform: rotate(var(--r)) scale(1.35) translateY(-6px); }
}

/* ---------- Dialogues ---------- */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(58, 36, 26, .5); }
dialog[open] { animation: dialog-in .35s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.has-dialog { overflow: hidden; }

.dialog-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--brown-deep);
  transition: background-color .2s;
}
.dialog-close svg { width: 20px; height: 20px; }
.dialog-close:hover { background: var(--sand); }

.news {
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(28px, 5vw, 48px);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: auto;
  overscroll-behavior: contain;
}
.news__close { position: absolute; top: 16px; right: 16px; }
.news__script { margin: 0 0 6px; font-size: 2.4rem; color: var(--sage-deep); }
.news h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 12px; padding-right: 44px; }
.news__intro { font-size: .96rem; color: var(--muted); }
.news__form { margin-top: 24px; gap: 16px; }
.news__nospam { margin-top: 14px; font-size: .84rem; color: var(--muted); }

.legal {
  width: min(780px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  overscroll-behavior: contain;
}
.legal__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 26px clamp(20px, 4vw, 40px) 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.legal__head h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.legal__date { margin: 6px 0 0; font-size: .84rem; color: var(--muted); }
.legal__body { padding: 22px clamp(20px, 4vw, 40px) 36px; font-size: .95rem; }
.legal__body h3 { margin: 26px 0 8px; font-size: 1.15rem; }

/* ---------- Apparitions au défilement ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises li:nth-child(3) { border-left: 0; }
  .promises li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .brand img { height: 42px; }
  .hero__grid,
  .about__grid,
  .approach__grid,
  .services__grid,
  .faq__grid,
  .contact__grid,
  .welcome__grid { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; }
  .hero__grid { gap: 24px; }
  .hero__visual { justify-self: center; width: min(74%, 340px); margin-top: 0; padding-top: 8px; }
  .hero__tag { left: -8%; }
  .hero__mini { right: -8%; width: 38%; }
  .hero__trail { left: -4%; bottom: 1%; }
  .about__visual { width: min(80%, 380px); }
  .about__tag { right: -4%; }
  .approach__card { max-width: 460px; width: 100%; justify-self: center; }
  .services__aside { position: static; }
  .services__photo { max-width: 560px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { top: 32px; bottom: 32px; left: 31px; right: auto; border-top: 0; border-left: 2px dotted var(--sand-3); }
  .step { padding-left: 88px; }
  .step__num { position: absolute; left: 0; top: 0; }
  .faq__aside { position: static; }
  .pricing__grid { grid-template-columns: 1fr; }
  .faq__photo { width: min(80%, 320px); margin-inline: auto; }
  .faq__tag { right: -6%; }
  .soon { grid-template-columns: 1fr; }
  .soon__list { grid-column: 1; grid-row: auto; grid-template-columns: 1fr; gap: 0; }
  .soon__list li { padding: 16px 0; }
}

@media (max-width: 640px) {
  :root { --space: 48px; }
  /* Blocs colorés : même padding sur les 4 côtés (comme « Et dès cet hiver… ») */
  .section--boxed,
  .welcome { padding-block: 28px; }
  .section--boxed > .container,
  .welcome > .container { padding-inline: 22px; }
  .promises { grid-template-columns: 1fr; text-align: left; }
  .hero__line { white-space: normal; }
  .promises li { padding: 18px 4px; border-left: 0 !important; }
  .promises li + li { border-top: 1px solid var(--line); }
  .approach__points { grid-template-columns: 1fr; gap: 20px; }
  .duo__grid { grid-template-columns: 1fr; }
  .pet--offset { margin-top: 0; }
  .pet .arch { width: min(86%, 360px); margin-inline: auto; }
  .pet figcaption { text-align: center; }
  .pet h3 { justify-content: center; }
  .pet p { margin-inline: auto; }
  .field-row { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .signature { padding-left: 44px; }
  .signature::before { font-size: 4rem; }
  .coords > div { grid-template-columns: 1fr; gap: 2px; }
  .acc__body { padding-right: 0; }
  .about__sprig { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 760px) {
  .topbar__mail,
  .topbar__more { display: none; }
}

@media (max-width: 400px) {
  .footer__grid { grid-template-columns: 1fr; }
  .topbar { font-size: .8rem; }
  .topbar__links { gap: 10px; }
  .topbar__and { display: none; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__trail svg { opacity: .2; }
}
