/* ==========================================================================
   L'Équilibre Félin — feuille de style principale
   Charte : vert forêt #11422A · crème #EFEBE0 · taupe #B1A08A · sauge #3A7251
   ========================================================================== */

:root {
  --forest: #11422A;
  --forest-deep: #0B2D1C;
  --forest-soft: #1D5A3B;
  --sage: #3A7251;
  --sage-light: #CFDCCF;
  --cream: #EFEBE0;
  --cream-light: #F7F5EF;
  --paper: #FCFBF8;
  --taupe: #B1A08A;
  --taupe-dark: #8C7B64;
  --ink: #16241C;
  --muted: #56645B;
  --line: rgba(17, 66, 42, .14);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --shadow-sm: 0 2px 10px rgba(11, 45, 28, .06);
  --shadow: 0 18px 50px -18px rgba(11, 45, 28, .28);
  --shadow-lg: 0 40px 90px -30px rgba(11, 45, 28, .4);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--forest);
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 120;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
em, .serif-i { font-family: var(--font-serif); font-style: italic; font-weight: 300; }
h1 em, h2 em { color: var(--sage); }
strong { font-weight: 700; }
::selection { background: var(--forest); color: var(--cream); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-cream { background: var(--cream); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-forest h2, .section-forest h3 { color: var(--cream); }
.section-forest h2 em { color: var(--taupe); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 10px; }
.ico { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--taupe); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 58ch; }
.section-forest .lead { color: rgba(239, 235, 224, .78); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px;
  font: 600 .95rem/1 var(--font-sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease), border-color .3s;
  white-space: nowrap;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: var(--cream); box-shadow: 0 10px 24px -10px rgba(17, 66, 42, .6); }
.btn-primary:hover { background: var(--forest-deep); box-shadow: 0 16px 30px -12px rgba(17, 66, 42, .7); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--forest); }
.btn-cream:hover { background: #fff; }
.btn-ghost-light { border-color: rgba(239, 235, 224, .4); color: var(--cream); }
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(239, 235, 224, .08); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--forest); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: .8em; border-color: var(--forest); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(252, 251, 248, .0);
  transition: background .4s, box-shadow .4s, height .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(252, 251, 248, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 70px;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; border-radius: 50%; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--forest); letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); font-weight: 600; margin-top: 3px; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative; display: block; padding: 10px 14px;
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem;
  border-radius: 999px; transition: color .25s, background .25s;
}
.nav a:hover { background: rgba(17, 66, 42, .06); color: var(--forest); }
.nav a[aria-current="page"] { color: var(--forest); font-weight: 700; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage); transform: translateX(-50%);
}
.nav-mobile-extra { display: none; }
.header-cta { padding: .8em 1.3em; }
.burger { display: none; }

@media (max-width: 1100px) {
  .header-cta { display: none; }
  .burger {
    display: grid; place-content: center; gap: 7px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--forest); border: 0; cursor: pointer; position: relative; z-index: 60;
  }
  .burger span { display: block; width: 20px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .burger[aria-expanded="true"] { background: var(--cream); }
  .burger[aria-expanded="true"] span { background: var(--forest); }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    background: var(--forest);
    display: flex; flex-direction: column; justify-content: center;
    padding: 100px 32px 40px;
    clip-path: circle(0 at calc(100% - 44px) 42px);
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a {
    font-family: var(--font-serif); font-size: clamp(2rem, 9vw, 3rem); color: var(--cream);
    padding: 6px 0; border-radius: 0; background: none !important;
    opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease), color .2s;
  }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--taupe); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(1) a { transition-delay: .15s; }
  .nav.is-open li:nth-child(2) a { transition-delay: .2s; }
  .nav.is-open li:nth-child(3) a { transition-delay: .25s; }
  .nav.is-open li:nth-child(4) a { transition-delay: .3s; }
  .nav.is-open li:nth-child(5) a { transition-delay: .35s; }
  .nav-mobile-extra { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 40px; }
  .nav-mobile-extra .nav-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); font: 600 1rem var(--font-sans); opacity: .85; padding: 0; }
  .nav-mobile-extra .btn { font-family: var(--font-sans); font-size: 1rem; opacity: 1; transform: none; color: var(--forest); padding: 1em 1.6em; border-radius: 999px; background: var(--cream) !important; }
  body.nav-open { overflow: hidden; }
  /* Le flou de l'en-tête enfermerait le menu plein écran dans la hauteur de l'en-tête */
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
}
@media (max-width: 480px) {
  .brand-sub { display: none; }
  .brand img { width: 44px; height: 44px; }
}

/* ---------- Hero accueil ---------- */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(70px, 9vw, 120px);
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(207, 220, 207, .55), transparent 60%),
    radial-gradient(900px 500px at -10% 90%, rgba(177, 160, 138, .22), transparent 60%),
    var(--cream-light);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: .5em; }
.hero-trust .ico { color: var(--sage); }

.hero-visual { position: relative; aspect-ratio: 4 / 4.6; isolation: isolate; }
.blob-img {
  position: absolute; inset: 0;
  border-radius: 58% 42% 46% 54% / 50% 46% 54% 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: morph 16s ease-in-out infinite;
  background: var(--cream);
}
.blob-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 46% 54% / 50% 46% 54% 50%; }
  33% { border-radius: 46% 54% 58% 42% / 44% 56% 44% 56%; }
  66% { border-radius: 52% 48% 40% 60% / 56% 42% 58% 44%; }
}
.hero-visual::before {
  content: ""; position: absolute; inset: -6% -8% auto auto; width: 62%; aspect-ratio: 1;
  border-radius: 50%; background: var(--forest); z-index: -1; opacity: .95;
}
.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 18px;
  background: rgba(252, 251, 248, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: .88rem; line-height: 1.3;
  animation: floaty 7s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.15rem; color: var(--forest); }
.float-card .badge-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--forest); color: var(--cream); }
.float-card .badge-ico .ico { width: 20px; height: 20px; }
.float-a { left: -8%; bottom: 14%; }
.float-b { right: -4%; top: 10%; animation-delay: -3.5s; }
.float-b .badge-ico { background: var(--taupe); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.cat-line { position: absolute; left: -24%; top: -15%; width: 42%; z-index: 3; pointer-events: none; }
.cat-line path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 5s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 88%; margin: 10px auto 0; }
  .float-a { left: -6%; }
  .float-b { right: -6%; }
  .hero-visual { margin-top: 70px; }
  .cat-line { left: -6%; top: -19%; width: 40%; }
}

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--forest); color: var(--cream); overflow: hidden; padding: 22px 0; border-block: 1px solid rgba(255, 255, 255, .06); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-serif); font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-style: italic; font-weight: 300; white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .7em; color: var(--taupe); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cartes services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; min-height: 640px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-media { height: 290px; overflow: hidden; position: relative; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; flex: 1; }
.service-tag { position: absolute; top: 22px; left: 22px; z-index: 2; padding: 8px 14px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(252, 251, 248, .9); color: var(--forest); backdrop-filter: blur(6px); }
.service-card.dark { background: var(--forest); color: rgba(239, 235, 224, .85); }
.service-card.dark h3 { color: var(--cream); }
.service-card.light { background: var(--cream); }
.service-body h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ico { margin-top: 5px; color: var(--sage); }
.service-card.dark .check-list .ico { color: var(--taupe); }
.service-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.service-card.dark .service-foot { border-color: rgba(239, 235, 224, .16); }
.price { font-family: var(--font-serif); line-height: 1; color: var(--forest); }
.price small { display: block; font-family: var(--font-sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); margin-bottom: 6px; font-weight: 700; }
.price b { font-weight: 400; font-size: 2.6rem; }
.service-card.dark .price { color: var(--cream); }
.service-card.dark .price small { color: var(--taupe); }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } .service-card { min-height: 0; } }

/* ---------- Problèmes (chips) ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
/* Liste informative (pas des boutons) : texte simple avec puce */
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.chip {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--forest);
  cursor: default; user-select: text;
}
.chip::before {
  content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage);
}
.chip.alt::before { background: transparent; border: 1.5px solid var(--taupe-dark); }
.chips-label { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); margin: 0 0 4px; }
.chips + .chips-label { margin-top: 36px; }
.chips-label small { margin-left: 6px; font-size: .72rem; font-weight: 500; letter-spacing: .02em; text-transform: none; font-style: italic; color: var(--muted); }
@media (max-width: 520px) { .chips { grid-template-columns: 1fr; } .chip { font-size: 1.08rem; padding: 12px 0; } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Méthode / étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 36px 32px 12px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid rgba(239, 235, 224, .14); }
.step-num { font-family: var(--font-serif); font-size: 4.6rem; line-height: 1; font-weight: 300; color: var(--taupe); font-style: italic; margin-bottom: 18px; }
.step h3 { color: var(--cream); margin-bottom: .4em; }
.step p { color: rgba(239, 235, 224, .75); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; border-top: 1px solid rgba(239, 235, 224, .14); }
}

/* ---------- Piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--cream); color: var(--forest); margin-bottom: 22px; }
.pillar-ico .ico { width: 26px; height: 26px; }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Zone ---------- */
.zone { position: relative; overflow: hidden; }
.zone-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; z-index: 1; }
.mountains { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: auto; z-index: 0; opacity: .9; }
.zone-cards { display: grid; gap: 16px; }
.zone-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: rgba(239, 235, 224, .07); border: 1px solid rgba(239, 235, 224, .14); backdrop-filter: blur(6px); }
.zone-card .badge-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--forest); flex-shrink: 0; }
.zone-card h3 { font-size: 1.3rem; margin-bottom: .2em; }
.zone-card p { margin: 0; color: rgba(239, 235, 224, .75); font-size: .95rem; }
@media (max-width: 860px) { .zone-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .4s, border-color .4s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; font-family: var(--font-serif); font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311422A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--sage-light); }
.faq .faq-a { padding: 0 28px 24px; color: var(--muted); max-width: 70ch; }
.faq .faq-a p:last-child { margin: 0; }

/* ---------- Avis / citation ---------- */
.quote-block { text-align: center; max-width: 900px; margin-inline: auto; }
.quote-block blockquote { margin: 0 0 28px; font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; color: var(--forest); letter-spacing: -.01em; }
.quote-block blockquote em { color: var(--sage); }
.stars { display: inline-flex; gap: 4px; color: var(--taupe); margin-bottom: 22px; }
.stars .ico { width: 22px; height: 22px; fill: currentColor; }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 clamp(80px, 10vw, 130px); }
.cta-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center;
  padding: clamp(40px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: radial-gradient(700px 400px at 100% 0%, var(--forest-soft), transparent 70%), var(--forest);
  color: rgba(239, 235, 224, .8);
}
.cta-card h2 { color: var(--cream); font-size: clamp(2rem, 3.6vw, 3rem); }
.cta-card p { margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.cta-line { position: absolute; right: -40px; bottom: -10px; width: 460px; opacity: .25; pointer-events: none; }
.cta-line path { fill: none; stroke: var(--taupe); stroke-width: 1.4; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; } .cta-actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- En-tête de page (sous-pages) ---------- */
.page-hero {
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(50px, 7vw, 90px)) 0 clamp(50px, 7vw, 90px);
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(207, 220, 207, .6), transparent 60%),
    var(--cream-light);
  position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 16ch; }
.page-hero .lead { margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 26px; list-style: none; padding: 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero-line { position: absolute; right: 4%; bottom: 0; width: min(420px, 40%); opacity: .5; }
.page-hero-line path { fill: none; stroke: var(--forest); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 4s .3s var(--ease) forwards; }
/* Pelote de laine qui se déroule (page tarifs) */
.yarn { opacity: 1; overflow: visible; }
.yarn .yarn-thread { stroke: var(--taupe-dark); stroke-width: 1.7; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 4.5s .5s var(--ease) forwards; }
.yarn .yarn-ball { transform-box: fill-box; transform-origin: center; animation: yarn-spin 4.5s .5s var(--ease) both; }
.yarn .yarn-base { fill: var(--taupe); }
.yarn .yarn-band { stroke: none; stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.yarn .yarn-sep { stroke: #7A6A55; stroke-width: .75; stroke-opacity: .7; stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.yarn .yarn-outline { fill: none; stroke: #7A6A55; stroke-width: 1; }
.yarn .yarn-shadow { fill: var(--forest); opacity: .13; }
@keyframes yarn-spin { from { transform: rotate(-720deg); } to { transform: rotate(0); } }
@media (max-width: 700px) { .page-hero-line { display: none; } }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-media { aspect-ratio: 16 / 10; overflow: hidden; }
.plan-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.plan:hover .plan-media img { transform: scale(1.06); }
.plan-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.plan-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); margin-bottom: 10px; }
.plan h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: .3em; }
.plan-desc { color: var(--muted); font-size: .97rem; }
.plan .price { margin: 10px 0 22px; }
.plan .price b { font-size: 3.2rem; }
.plan .price span { font-family: var(--font-sans); font-size: .95rem; color: var(--muted); margin-left: 6px; }
.plan .check-list { font-size: .95rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.featured { background: var(--forest); color: rgba(239, 235, 224, .82); border-color: var(--forest); }
.plan.featured h2, .plan.featured .price { color: var(--cream); }
.plan.featured .plan-kicker { color: var(--taupe); }
.plan.featured .plan-desc, .plan.featured .price span { color: rgba(239, 235, 224, .7); }
.plan.featured .check-list .ico { color: var(--taupe); }
.ribbon { position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--taupe); color: var(--forest-deep); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.rate-table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; font-size: .97rem; }
.rate-table td { padding: 11px 0; border-bottom: 1px dashed var(--line); }
.rate-table td:last-child { text-align: right; font-family: var(--font-serif); font-size: 1.25rem; color: var(--forest); white-space: nowrap; }
.rate-table tr.sub td { font-size: .9rem; color: var(--muted); }
.rate-table tr.sub td:last-child { font-family: var(--font-sans); font-size: .9rem; color: var(--sage); font-weight: 700; }
.rate-caption { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); margin: 10px 0 0; }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.info-strip > div { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--cream); }
.info-strip .ico { width: 26px; height: 26px; color: var(--forest); margin-top: 3px; }
.info-strip p { margin: 0; font-size: .95rem; color: var(--muted); }
.info-strip strong { display: block; color: var(--forest); font-family: var(--font-serif); font-weight: 500; font-size: 1.15rem; margin-bottom: 2px; }
@media (max-width: 860px) { .info-strip { grid-template-columns: 1fr; } }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-visual { position: relative; }
.about-visual .frame { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.about-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .stamp { position: absolute; right: -24px; bottom: 36px; width: 128px; height: 128px; border-radius: 50%; box-shadow: var(--shadow); animation: spin 30s linear infinite; background: var(--paper); }
.about-visual .stamp img { border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.signature { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--forest); margin-top: 8px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { padding: clamp(30px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.duo-card .pillar-ico { background: var(--forest); color: var(--cream); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; list-style: none; padding: 0; margin: 0; counter-reset: why; }
.why-list li { counter-increment: why; display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid rgba(239, 235, 224, .14); font-size: 1.08rem; color: rgba(239, 235, 224, .88); }
.why-list li::before { content: "0" counter(why); font-family: var(--font-serif); font-style: italic; color: var(--taupe); font-size: 1.3rem; line-height: 1.4; }
.story p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin: 0 0 18px; }
.story p:first-child { font-size: clamp(1.08rem, 1.5vw, 1.2rem); color: var(--ink, var(--forest)); }
.pet-role { display: block; margin-bottom: 4px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); }
.pets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pet-card { overflow: hidden; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pet-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.pet-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.pet-card:hover .pet-photo img { transform: scale(1.04); }
.pet-body { padding: 26px 28px 30px; }
.pet-body h3 { margin: 0 0 10px; }
.pet-body p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .pets { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.pets-outro { max-width: 640px; margin: clamp(36px, 5vw, 56px) auto 0; text-align: center; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--forest); }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.cred { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.cred .pillar-ico { flex: none; width: 46px; height: 46px; margin: 0; border-radius: 12px; background: var(--forest); color: var(--cream); }
.cred .pillar-ico .ico { width: 22px; height: 22px; }
.cred b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.15rem; color: var(--forest); }
.cred small { display: block; font-size: .85rem; color: var(--muted); }
@media (max-width: 560px) { .creds { grid-template-columns: 1fr; } }
.why-list h3 { margin: 0 0 8px; font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; line-height: 1.25; color: var(--cream); }
.why-list p { margin: 0; font-size: 1rem; line-height: 1.6; color: rgba(239, 235, 224, .78); }
@media (max-width: 860px) { .about-grid, .duo, .why-list { grid-template-columns: 1fr; } .about-visual { max-width: 420px; margin-inline: auto; } .about-visual .stamp { right: -8px; width: 104px; height: 104px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
a.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .badge-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--forest); flex-shrink: 0; }
.contact-card .badge-ico .ico { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); }
.contact-card span { font-weight: 600; font-size: 1.02rem; word-break: break-word; }
.form-card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow-lg); position: relative; }
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 26px 18px 10px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--cream-light);
  transition: border-color .3s, background .3s, box-shadow .3s; appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311422A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.field label { position: absolute; left: 18px; top: 18px; font-size: 1rem; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage); background: #fff; box-shadow: 0 0 0 4px rgba(58, 114, 81, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 22px; font-size: .95rem; }
.alert-ok { background: #E6F0E8; color: var(--forest); }
.alert-err { background: #F7E6E2; color: #7A2E1E; }
.alert .ico { margin-top: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card button[type="submit"] { border: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Pages légales ---------- */
.prose { font-size: 1rem; color: #2C3A31; }
.prose h3 { font-size: 1.5rem; margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h4 { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; color: var(--forest); margin: 1.6em 0 .5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--sage); }
.prose a { color: var(--forest); }
.prose [style] { margin-top: 0 !important; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--forest-deep); color: rgba(239, 235, 224, .72); padding: clamp(60px, 8vw, 100px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.1fr .9fr .8fr; gap: 40px; padding-bottom: 60px; }
.footer-brand img { border-radius: 50%; margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; }
.site-footer h3 { font-family: var(--font-sans); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin: 10px 0 20px; }
.site-footer a { color: var(--cream); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--taupe); }
.footer-list, .footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-list li { display: flex; gap: 12px; align-items: flex-start; }
.footer-list .ico { margin-top: 4px; color: var(--taupe); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(239, 235, 224, .2); transition: background .3s, border-color .3s, color .3s; }
.socials a:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 30px; border-top: 1px solid rgba(239, 235, 224, .12); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { display: flex; gap: 10px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
.js .hero .reveal { transition-duration: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .cat-line path, .page-hero-line path { stroke-dashoffset: 0; }
}

/* ---------- Page d'erreur ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.error-page .big { font-family: var(--font-serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--forest); font-weight: 300; font-style: italic; }
