/* =========================================================
   A la Ferme des Choupinous — feuille de style
   ========================================================= */

:root {
  --green: #2f7a3e;
  --green-dark: #22592d;
  --green-soft: #e6f1e3;
  --accent: #c8582a;
  --cream: #f8f2e8;
  --cream-dark: #efe4d2;
  --ink: #2b2a28;
  --muted: #5d5a55;
  --white: #ffffff;
  --forest: #1d3527;
  --radius: 18px;
  --radius-lg: 32px;
  --shadow: 0 10px 30px rgba(29, 53, 39, .10);
  --container: 1200px;
  --font-title: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: var(--green); }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.hl { color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--green); color: #fff; padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .8em 1.4em;
  border-radius: 10px;
  border: 2px solid var(--green);
  background: var(--green);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn::after { content: "›"; font-size: 1.4em; line-height: .7; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--small { font-size: .95rem; padding: .6em 1.1em; }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: #a84620; border-color: #a84620; }
.btn--noarrow::after { content: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.topbar {
  display: none;
  justify-content: flex-end;
}
.topbar ul {
  list-style: none; margin: 0; padding: 6px 18px;
  display: flex; gap: 22px;
  background: var(--cream);
  border-radius: 0 0 14px 14px;
  font-size: .85rem; font-weight: 700;
}
.topbar a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--green); }
.topbar svg { width: 16px; height: 16px; }

.header-main {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(29, 53, 39, .15); }
.brand span {
  font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; line-height: 1.1;
}
.brand small { display: block; font-family: var(--font-body); font-weight: 700; font-size: .72rem; color: var(--green); text-transform: uppercase; letter-spacing: .06em; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 2px solid var(--ink); border-radius: 10px;
  background: #fff; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  padding: 8px 16px 24px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}
.nav-open .main-nav { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li a {
  display: block; padding: 12px 4px;
  font-family: var(--font-title); font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--cream-dark);
}
.main-nav li a:hover, .main-nav li a[aria-current="page"] { color: var(--green); }
.main-nav .nav-cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.main-nav .nav-cta a { border-bottom: 0; }

@media (min-width: 1080px) {
  .topbar { display: flex; }
  .nav-toggle { display: none; }
  .header-main { padding: 4px 0 14px; }
  .brand img { width: 84px; height: 84px; margin-top: -26px; }
  .main-nav {
    display: flex !important; position: static; padding: 0; box-shadow: none; background: transparent;
    align-items: center; gap: 16px;
  }
  .main-nav ul { display: flex; }
  .main-nav ul { gap: 0; }
  .main-nav li a { border: 0; padding: 8px 10px; font-size: .92rem; position: relative; white-space: nowrap; }
  .main-nav .btn { white-space: nowrap; }
  .main-nav li a[aria-current="page"]::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--accent);
  }
  .main-nav .nav-cta { margin: 0; flex-wrap: nowrap; }
}

/* ---------- Héros ---------- */
.hero { position: relative; padding: 40px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-text { position: relative; z-index: 2; }
.hero-text .kicker {
  display: inline-block; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--green); background: var(--green-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero-text h1 .hl { display: block; }
.hero-text .lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.shape-img { position: relative; z-index: 1; }
.shape-img::before {
  content: ""; position: absolute; inset: 12px -10px -12px 12px;
  background: var(--green); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 140px;
  z-index: -1;
}
.shape-img img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 140px;
}
.shape-img--accent::before { background: var(--accent); }
@media (min-width: 900px) { .shape-img::before { inset: 24px -24px -24px 24px; } }

.paw-deco {
  --eye: transparent;
  position: absolute; z-index: 0; color: var(--cream); pointer-events: none;
  width: 380px; height: 380px; left: -110px; bottom: -150px;
}
.paw-deco--right { left: auto; right: -120px; bottom: auto; top: 40px; }

@media (min-width: 900px) {
  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .hero--page .hero-grid { grid-template-columns: 1.1fr .9fr; }
}

/* ---------- Héros de page simple ---------- */
.page-hero { background: var(--cream); position: relative; overflow: hidden; padding: 48px 0; }
.page-hero h1 { margin-bottom: .3em; position: relative; z-index: 1; }
.page-hero p { position: relative; z-index: 1; color: var(--muted); max-width: 46em; font-size: 1.12rem; margin: 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 16px; position: relative; z-index: 1; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--muted); margin: 0 6px; }
.page-hero .paw-deco { color: var(--cream-dark); width: 300px; height: 300px; right: -60px; left: auto; top: -60px; bottom: auto; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-soft); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title p { color: var(--muted); max-width: 40em; margin: 0 auto; }
@media (min-width: 900px) { .section { padding: 88px 0; } }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse > :first-child { order: 2; }
}

.prose p { color: var(--ink); }
.prose .lead { font-size: 1.15rem; font-weight: 700; color: var(--green-dark); }

/* ---------- Bloc « à la une » ---------- */
.feature {
  display: grid; overflow: hidden;
  background: var(--cream); border-radius: var(--radius-lg);
}
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; }
.feature-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
@media (min-width: 800px) {
  .feature { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .feature img { aspect-ratio: auto; height: 100%; min-height: 360px; max-height: 460px; }
  .feature-body { padding: 48px; }
}

/* ---------- Cartes ---------- */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--cream); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-media--contain img { object-fit: contain; padding: 16px; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.card-meta { font-size: .88rem; color: var(--muted); margin: 0; }
.card-arrow {
  margin-top: auto; align-self: flex-end;
  font-size: 1.5rem; line-height: 1; color: var(--green); padding-top: 12px;
}

.tag {
  display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent); background: #fff; padding: 3px 10px; border-radius: 6px;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.feature .tag, .section--cream .tag { background: #fff; }
.card .tag { background: #fff; }

.center { text-align: center; }
.mt-lg { margin-top: 40px; }

/* ---------- Mission / liste à puces ---------- */
.dot-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.dot-list li { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dot-list li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ---------- Projets ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: #fff; border-radius: var(--radius); padding: 28px 24px 24px;
  box-shadow: var(--shadow); position: relative;
}
.step-num {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green); color: #fff; font-family: var(--font-title); font-weight: 600; font-size: 1.4rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; }
.step p:last-child, .step ul:last-child { margin-bottom: 0; }
.step ul { padding-left: 1.1em; margin: 0 0 1em; }
.step li { margin-bottom: .4em; }
.step--wide { grid-column: 1 / -1; }

.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Dons ---------- */
.amounts { display: grid; gap: 16px; }
@media (min-width: 700px) { .amounts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .amounts { grid-template-columns: repeat(3, 1fr); } }
.amount {
  background: #fff; border-radius: var(--radius); padding: 22px; border-left: 6px solid var(--green);
  box-shadow: var(--shadow);
}
.amount strong { display: block; font-family: var(--font-title); font-weight: 600; font-size: 1.12rem; margin-bottom: 6px; color: var(--green-dark); }
.amount p { margin: 0; color: var(--muted); }

.cta-band {
  background: var(--green); color: #fff; border-radius: var(--radius-lg);
  padding: 36px 28px; display: grid; gap: 20px; align-items: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn { background: #fff; color: var(--green-dark); border-color: #fff; }
.cta-band .btn:hover { background: var(--cream); border-color: var(--cream); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cta-band .paw-deco { color: rgba(255, 255, 255, .08); width: 260px; height: 260px; right: -40px; left: auto; bottom: -80px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; padding: 48px 56px; } .cta-band .actions { justify-content: flex-end; } }

/* ---------- Témoignages ---------- */
.testimonials { display: grid; gap: 24px; }
@media (min-width: 860px) { .testimonials { grid-template-columns: 1fr 1fr; } }
.quote {
  background: #fff; border-radius: var(--radius-lg); padding: 32px; margin: 0; position: relative;
}
.quote::before {
  content: "“"; position: absolute; top: -10px; right: 24px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--green-soft);
}
.quote .stars { color: #e3a21a; letter-spacing: 3px; font-size: 1.2rem; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 18px; position: relative; }
.quote figcaption { font-family: var(--font-title); font-weight: 600; color: var(--green-dark); }

/* ---------- Vidéo ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Article ---------- */
.article-head { background: var(--cream); padding: 40px 0 0; position: relative; overflow: hidden; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 22em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.article-cover {
  max-width: 820px; margin: 0 auto; transform: translateY(40px);
}
.article-cover img { width: 100%; max-height: 520px; object-fit: contain; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-body { max-width: 760px; margin: 0 auto; padding: 88px 16px 64px; }
.article-body h2 { font-size: 1.4rem; margin-top: 1.4em; color: var(--green-dark); }
.article-body .btn { margin: 8px 0 20px; }
.article-back { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--cream-dark); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.info-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.info-list li {
  background: var(--cream); border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column;
}
.info-list span { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info-list strong { font-size: 1.05rem; word-break: break-word; }

.form-card { background: var(--cream); border-radius: var(--radius-lg); padding: 28px; }
@media (min-width: 700px) { .form-card { padding: 40px; } }
.form-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field textarea {
  font: inherit; padding: 12px 14px; border: 2px solid var(--cream-dark); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

.map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Réseaux sociaux ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green); color: #fff; transition: transform .2s, background .2s;
}
.socials a:hover { transform: translateY(-2px); background: var(--green-dark); }
.socials svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--forest); color: #e9efe9; position: relative; overflow: hidden; padding: 56px 0 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 36px; position: relative; z-index: 1; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: auto 1fr 1.2fr; gap: 56px; } }
.footer-logo img { width: 120px; height: 120px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; font-weight: 800; text-transform: uppercase; font-size: .88rem; letter-spacing: .04em; }
.footer-links a:hover { text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1.3rem; margin-bottom: 14px; }
.site-footer .socials a { background: rgba(255, 255, 255, .12); }
.site-footer .socials a:hover { background: var(--green); }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-actions .btn { background: #fff; color: var(--forest); border-color: #fff; font-size: .95rem; padding: .55em 1em; }
.footer-actions .btn:hover { background: var(--cream); }
.footer-bottom {
  margin-top: 48px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; position: relative; z-index: 1;
}
.footer-bottom p { margin: 0; }
.site-footer .paw-deco { color: rgba(255, 255, 255, .05); width: 420px; height: 420px; right: -80px; left: auto; top: -40px; bottom: auto; }

/* ---------- Divers ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Animations
   ========================================================= */

/* Bandeau défilant */
.marquee { background: var(--green); color: #fff; overflow: hidden; padding: 10px 0; position: relative; z-index: 2; }
.marquee .track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee ul { display: flex; align-items: center; gap: 22px; padding: 0 22px 0 0; margin: 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 22px; font-family: var(--font-title); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.2rem); white-space: nowrap; }
.marquee li:nth-child(even) { color: #ffd9a8; }
.marquee img { width: 22px; height: 22px; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Cœur qui bat */
.beat { display: inline-block; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat {
  0%, 55%, 100% { transform: scale(1); }
  62% { transform: scale(1.3); }
  70% { transform: scale(.95); }
  78% { transform: scale(1.18); }
}

/* Trait dessiné sous les mots en couleur */
.sw-wrap { position: relative; display: inline-block; }
.sw { position: absolute; left: -2%; bottom: -.22em; width: 104%; height: .32em; overflow: visible; pointer-events: none; }
.sw path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset .9s .2s cubic-bezier(.6, 0, .2, 1); }
.sw-wrap.in .sw path { stroke-dashoffset: 0; }

/* Apparition au défilement */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
.card.rv.in:hover { transform: translateY(-4px); }

/* Points d'arrêt de la mascotte (image fixe si l'animation est coupée) */
.anchor { position: absolute; width: var(--s, 84px); height: var(--s, 84px); pointer-events: none; z-index: 2; }
.anchor img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 8px rgba(29, 53, 39, .18)); }
.mk-on .anchor img { visibility: hidden; }
.anchor--via { width: 10px; height: 10px; }
.anchor--hero { --s: 160px; right: -10px; top: 10px; }
.anchor--title { right: -16px; top: 50%; transform: translateY(-50%); }
.anchor--prose { left: -6px; top: -100px; }
.anchor--v1 { left: 42%; bottom: -44px; }
.anchor--v2 { right: 0; bottom: 78px; }
.anchor--v3 { left: 84px; bottom: -40px; }
.anchor--band { --s: 96px; left: 56%; top: -40px; }
.anchor--quotes { --s: 110px; left: 50%; top: -92px; transform: translateX(-50%); }
.hero-text, .section-title, .prose, .testimonials { position: relative; }
.prose, .section-title, .hero-text { z-index: 3; }
.cta-band-wrap { position: relative; }
@media (max-width: 899px) {
  .anchor { display: none; }
  .anchor--hero { display: block; --s: 84px; top: -18px; right: -4px; }
  .hero-text h1 { padding-right: 70px; }
}

/* Mascotte et empreintes */
.mk { position: absolute; left: 0; top: 0; width: 100px; height: 100px; z-index: 2; pointer-events: none; transform-origin: 50% 50%; will-change: transform; }
.mk .mk-s { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 50%; filter: drop-shadow(0 6px 8px rgba(29, 53, 39, .2)); }
.trail { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; overflow: visible; }
.trail .print { color: var(--accent); opacity: 0; transition: opacity .35s ease; }
.trail .print.on { opacity: .3; }

@media (prefers-reduced-motion: reduce) {
  .marquee .track, .beat { animation: none; }
  .sw path { stroke-dashoffset: 0; transition: none; }
}

/* =========================================================
   Conseils, sources, réseaux
   ========================================================= */
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 2px solid var(--cream-dark); background: #fff; color: var(--ink);
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.filters-empty { color: var(--muted); }
.card[hidden] { display: none; }

.article-cover { margin-left: auto; margin-right: auto; }
.credit { font-size: .8rem; color: var(--muted); text-align: right; margin-top: 8px; }
.credit a { color: var(--muted); }
.sources { margin-top: 36px; padding: 22px 24px; background: var(--cream); border-radius: var(--radius); }
.article-body .sources h2 { font-size: 1.1rem; margin: 0 0 10px; color: var(--ink); }
.sources ul { margin: 0 0 12px; padding-left: 1.1em; font-size: .95rem; }
.sources li { margin-bottom: 6px; }
.sources p { margin: 0; font-size: .9rem; color: var(--muted); }

.social { background: var(--cream); overflow: hidden; }
.social .paw-deco { color: var(--cream-dark); left: auto; right: -80px; top: -60px; bottom: auto; }
.social-grid { display: grid; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .social-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.social-text .lead { color: var(--muted); font-size: 1.15rem; }
.tiktok-cta {
  display: flex; align-items: center; gap: 18px; margin: 24px 0 28px;
  padding: 18px 22px; border-radius: 20px; background: #111; color: #fff; text-decoration: none;
  box-shadow: -5px -5px 0 #25f4ee, 5px 5px 0 #fe2c55;
  transition: transform .2s, box-shadow .2s;
}
.tiktok-cta:hover { color: #fff; transform: translateY(-3px); box-shadow: -6px -6px 0 #25f4ee, 6px 6px 0 #fe2c55; }
.tiktok-cta__icon { width: 56px; height: 56px; border-radius: 16px; background: #fff; color: #111; display: grid; place-items: center; flex: none; }
.tiktok-cta__icon svg { width: 30px; height: 30px; fill: currentColor; }
.tiktok-cta strong { display: block; font-family: var(--font-title); font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.1; word-break: break-word; }
.tiktok-cta small { display: block; font-size: 1rem; opacity: .8; margin-top: 2px; }
.tiktok-cta__arrow { margin-left: auto; font-size: 2rem; line-height: 1; }
.social-more { font-weight: 700; margin-bottom: 10px; }
.tiktok-box { min-width: 0; display: flex; justify-content: center; }
.tiktok-placeholder {
  width: 100%; max-width: 480px; text-align: center; background: #fff; border-radius: var(--radius-lg);
  padding: 40px 28px; box-shadow: var(--shadow);
}
.tiktok-placeholder__icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 20px; background: #111; color: #fff; display: grid; place-items: center; }
.tiktok-placeholder__icon svg { width: 38px; height: 38px; fill: currentColor; }
.tiktok-placeholder p { color: var(--muted); }
.tiktok-box .tiktok-embed { width: 100%; }
