/* =========================================================
   1. VARIABLES & RESET
   ========================================================= */
:root {
  --bg-body: radial-gradient(circle at 20% 20%, #0d0e10 0%, #101219 45%, #060708 100%);
  --surface: rgba(255, 255, 255, 0.045);
  --surface-soft: rgba(255, 255, 255, 0.025);
  --border: rgba(255, 255, 255, 0.08);
  --txt: #fff;
  --txt-dim: rgba(255,255,255,.6);

  /* Palette rose / bleu */
  --accent: #f9a8d4;
  --accent2: #93c5fd;
  --accent-strong: #db2777;
  --accent-blue-strong: #2563eb;

  --radius: 1.4rem;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --trans: .25s ease;
}

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

/* =========================================================
   2. TYPOGRAPHY & BASE
   ========================================================= */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background: var(--bg-body);
  color: var(--txt);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: #a5b4fc;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  opacity: .9;
}

/* Focus visible accessible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(249,168,212,.9);
  outline-offset: 2px;
}

/* =========================================================
   3. LAYOUT — TOPBAR, PAGE, SECTION, FOOTER
   ========================================================= */

/* ── Skip link (accessibilité) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: .6rem 1.2rem;
  background: var(--accent);
  color: #020617;
  border-radius: .5rem;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
}
.skip-link:focus {
  top: .5rem;
}

/* ── SR-only (honeypot, etc.) ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── TOPBAR / NAV ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.65);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,.04);
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
}

.topbar-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: .7rem 1.3rem .85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
}

/* Logo + titre du site */
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .3px;
  color: var(--accent);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 1rem;
  background: radial-gradient(circle at 30% 20%, #f9a8d4 0%, #93c5fd 85%);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
}

/* Logo image dans la topbar (remplace le style inline) */
.brand-logo-img {
  height: 40px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: .7rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.brand-text small {
  color: rgba(255,255,255,.65);
  font-size: .72rem;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
  line-height: 1.35;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .86rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  padding: .45rem .95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.main-nav a:hover {
  background: rgba(148,163,184,.23);
  color: #fff;
  transform: translateY(-1px);
  border-color: rgba(148,163,184,.35);
}
.main-nav .btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 95%);
  color: #0b1020;
  border: 1px solid rgba(255,255,255,.05);
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(79,70,229,.45);
}
.main-nav .btn-primary:hover {
  filter: brightness(1.06);
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  z-index: 51;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── PAGE / SECTIONS ── */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.section {
  max-width: 1120px;
  margin: 0 auto 3rem;
}
.section:last-of-type {
  margin-bottom: 0;
}
.section-head {
  margin-bottom: 1.8rem;
}
.section-head h2 {
  margin: 0 0 .5rem;
  font-size: 1.5rem;
}
.section-head p {
  margin: 0;
  font-size: .95rem;
  opacity: .86;
}

/* ── MENTIONS LÉGALES ── */
.legal-section {
  max-width: 780px;
}
.legal-section h1 {
  font-size: 1.8rem;
  margin: 0 0 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.legal-block {
  margin-bottom: 2rem;
}
.legal-block h2 {
  font-size: 1.1rem;
  font-weight: 650;
  margin: 0 0 .6rem;
  color: #f1f5f9;
}
.legal-block p {
  margin: 0 0 .6rem;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(226,232,240,.88);
}
.legal-block a {
  color: var(--accent);
}
.legal-block a:hover {
  text-decoration: underline;
  opacity: 1;
}
.legal-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .35rem 1rem;
  margin: .8rem 0 0;
  font-size: .88rem;
}
.legal-dl dt {
  font-weight: 600;
  color: rgba(209,213,219,.9);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-top: .15rem;
}
.legal-dl dd {
  margin: 0;
  color: #f1f5f9;
}
.legal-dl dd a {
  color: var(--accent);
}

/* ── FOOTER ── */
.footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  opacity: .6;
  font-size: .78rem;
  background: #020617;
  border-top: 1px solid rgba(15,23,42,1);
}
.footer p {
  margin: .3rem 0;
}
.footer-siret {
  font-size: .72rem;
  color: #9ca3af;
}
.footer-links {
  margin-top: .4rem;
}
.footer-links a {
  color: #a5b4fc;
  text-decoration: none;
  font-size: .74rem;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-credit {
  margin-top: .8rem;
  font-size: .7rem;
  letter-spacing: .03em;
  color: #64748b;
}
.footer-credit a {
  color: #94a3b8;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}
.footer-credit a:hover {
  color: #a5b4fc;
}

/* =========================================================
   4. COMPONENTS — BUTTONS, CARDS, PILLS, ALERTS, BREADCRUMB
   ========================================================= */

/* ── BUTTONS ── */
.btn-primary,
.btn-secondary,
.btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 95%);
  color: #020617;
  padding: .6rem 1.25rem;
  box-shadow: 0 12px 28px rgba(79,70,229,.45);
}
.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(15,23,42,.65);
  color: #fff;
  border: 1px solid rgba(148,163,184,.4);
  padding: .55rem 1.05rem;
}
.btn-secondary:hover {
  border-color: rgba(191,219,254,.65);
  background: rgba(15,23,42,.9);
}

.btn-tertiary {
  background: rgba(15,23,42,.6);
  color: #e5e7eb;
  border: 1px solid rgba(148,163,184,.45);
  padding: .4rem .95rem;
  font-size: .78rem;
}
.btn-tertiary:hover {
  border-color: rgba(191,219,254,.7);
}

.btn-link {
  color: #bfdbfe;
  text-decoration: none;
  font-size: .85rem;
}
.btn-link:hover {
  text-decoration: underline;
}

/* CTA dans les cartes (home) */
.card-actions .btn-secondary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 95%);
  color: #020617;
  border: 1px solid rgba(191,219,254,.7);
  box-shadow: 0 10px 24px rgba(79,70,229,.45);
}

/* CTA généalogie */
.gene-cta-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 95%);
  color: #020617;
  box-shadow: 0 18px 40px rgba(79,70,229,.45);
  border: none;
}

/* ── STATUS PILLS ── */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: .24rem .65rem .26rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 500;
  gap: .25rem;
  border: 1px solid transparent;
}
.status-pill.available {
  background: rgba(34,211,238,.12);
  color: #a5f3fc;
  border-color: rgba(34,211,238,.3);
}
.status-pill.reserved {
  background: rgba(234,179,8,.08);
  color: #fde68a;
  border-color: rgba(234,179,8,.12);
}
.status-pill.sold {
  background: rgba(248,113,113,.08);
  color: #fca5a5;
  border-color: rgba(248,113,113,.12);
}

/* ── ALERTS ── */
.alert {
  padding: .75rem 1rem;
  border-radius: .9rem;
  font-size: .9rem;
  margin-bottom: 1rem;
}
.alert-success {
  background: rgba(22,163,74,.15);
  border: 1px solid rgba(22,163,74,.6);
  color: #bbf7d0;
}
.alert-error {
  background: rgba(220,38,38,.12);
  border: 1px solid rgba(220,38,38,.7);
  color: #fecaca;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: 1100px;
  margin: 1.2rem auto 1.4rem;
  padding: 0 1.2rem;
  font-size: .76rem;
  color: rgba(255,255,255,.45);
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: .45rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.breadcrumb a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  padding: .25rem .65rem .25rem .55rem;
  border-radius: .8rem;
  background: rgba(15,23,42,.85);
  border: 1px solid rgba(148,163,184,.35);
  backdrop-filter: blur(6px);
  transition: background .15s ease, color .15s ease, border .15s ease;
  white-space: nowrap;
}
.breadcrumb a:hover {
  background: radial-gradient(circle at 0 0, rgba(249,168,212,.35) 0%, rgba(15,23,42,1) 75%);
  border-color: rgba(249,168,212,.7);
  color: #fff;
}
.breadcrumb li[aria-current="page"] {
  color: rgba(255,255,255,.35);
  padding: .25rem .3rem;
  white-space: normal;
}
.breadcrumb li:not(:last-child)::after {
  content: "\203A";
  opacity: .28;
  font-size: .7rem;
  display: inline-block;
}

/* bloc vide */
.empty {
  padding: 1.4rem 1.2rem;
  border-radius: 1.1rem;
  background: var(--surface-soft, rgba(15,23,42,.96));
  border: 1px dashed rgba(148,163,184,.6);
  font-size: .9rem;
  opacity: .9;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* DB error box (generic for 404 pages) */
.db-error-box {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(248,113,113,.7);
  background: rgba(248,113,113,.12);
  font-size: .8rem;
  color: #fee2e2;
  white-space: pre-wrap;
}

/* =========================================================
   5. HOME PAGE — HERO, INTRO, LITTERS, GENEALOGY, CONTACT, BREEDER
   ========================================================= */

/* ── HERO GLOBAL ── */
.hero {
  position: relative;
}
.hero.home-hero {
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.6rem 1.5rem 3.2rem;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(249,168,212,.26) 0%, transparent 52%),
    radial-gradient(circle at 100% 0%, rgba(129,140,248,.30) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(10,10,12,.88) 0%, rgba(0,0,0,.96) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(249,168,212,.26);
  color: #fdf2ff;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  font-size: .8rem;
  backdrop-filter: blur(10px);
  margin-bottom: .9rem;
  border: 1px solid rgba(249,168,212,.45);
}

/* TITRE HERO – APPLE-LIKE */
.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0 0 .6rem;
  background: linear-gradient(120deg, #ffffff 0%, #fdf2ff 30%, #f9a8d4 65%, #93c5fd 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 18px 35px rgba(0,0,0,.45);
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto;
  opacity: .82;
  font-size: .95rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-top: 1.35rem;
}
.hero-highlights {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .8rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.h-card {
  background: rgba(15,23,42,.7);
  border: 1px solid rgba(148,163,184,.4);
  border-radius: 1rem;
  padding: .7rem .8rem .65rem;
  backdrop-filter: blur(10px);
  text-align: left;
}
.h-title {
  font-size: .80rem;
  font-weight: 600;
}
.h-text {
  font-size: .72rem;
  opacity: .55;
}

/* ── INTRO CAPSULE ── */
.home-page .intro-section {
  margin-top: 2.1rem;
  margin-bottom: 2.6rem;
}
.home-page .intro-section .intro-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 1.7rem 1.6rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148,163,184,.55);
  background:
    radial-gradient(circle at 0% 0%, rgba(249,168,212,.12) 0%, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(148,163,254,.14) 0%, transparent 55%),
    rgba(15,23,42,.96);
  box-shadow: 0 20px 55px rgba(0,0,0,.65);
}
.home-page .intro-section .section-head {
  margin: 0;
  text-align: left;
}
.home-page .intro-section h2 {
  margin: 0 0 .5rem;
  font-size: 1.45rem;
  letter-spacing: -.02em;
}
.home-page .intro-section p {
  margin: 0;
  font-size: .95rem;
  color: rgba(226,232,240,.9);
}

/* ── CARTES PORTÉES (HOME) ── */
.litters-wrap {
  max-width: 1150px;
  margin: 0 auto;
  margin-top: 1.3rem;
}
.cards.litters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
  gap: 1.7rem;
  justify-content: center;
}
.card-litter {
  position: relative;
  background: var(--surface-soft, rgba(15,23,42,.96));
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  border: 1px solid var(--border, rgba(148,163,184,.55));
  display: flex;
  flex-direction: column;
  min-height: 100%;
  max-width: 420px;
  margin: 0 auto;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card-litter.is-available {
  border-color: rgba(34,211,238,.7);
  box-shadow: 0 0 0 1px rgba(34,211,238,.35), 0 22px 45px rgba(0,0,0,.55);
}
.card-litter:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 55px rgba(0,0,0,.6);
}
.card-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  margin: .55rem .6rem 0;
}
.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.card-litter:hover .card-img {
  transform: scale(1.04);
}
.card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(249,168,212,.25) 0%, transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(236,72,153,.18) 0%, transparent 60%),
    linear-gradient(135deg, #1e1b3a 0%, #3b1e52 55%, #5b1e4a 100%);
}
.card-img-placeholder-icon {
  font-size: 3.5rem;
  opacity: .55;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}
.archive-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(249,168,212,.35), transparent 65%),
    linear-gradient(135deg, #2a1f42, #4a1f3f);
  color: #fce7f3;
  font-size: 1.3rem;
  opacity: .9;
}
.card-litter .status-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: .35rem .9rem;
  border-radius: 999px;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  box-shadow: 0 12px 25px rgba(0,0,0,.35);
  z-index: 2;
}
.status-available {
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  color: #022c35;
}
.status-archive {
  background: rgba(15,23,42,.96);
  color: #e5e7eb;
  border: 1px solid rgba(148,163,184,.85);
}
.card-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.card-body h3 {
  margin: 0;
  font-size: 1.15rem;
}
.card-body .meta {
  margin: 0;
  font-size: .8rem;
  opacity: .78;
}
.litter-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .45rem;
  margin-bottom: .15rem;
}
.stat-pill {
  padding: .38rem .85rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(15,23,42,.96);
  border: 1px solid rgba(148,163,184,.75);
  color: #e5e7eb;
}
.stat-available {
  background: rgba(34,211,238,.18);
  color: #a5f3fc;
  border-color: rgba(34,211,238,.85);
}
.stat-total {
  background: rgba(15,23,42,.96);
}
.excerpt {
  margin: .2rem 0 .65rem;
  font-size: .88rem;
  opacity: .84;
}
.card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.card-actions .btn-secondary,
.card-actions .btn-tertiary {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .9rem 1.1rem;
  font-size: .95rem;
  border-radius: 999px;
  text-align: center;
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
}
.card-actions .btn-secondary::after,
.card-actions .btn-tertiary::after {
  content: "\2197";
  font-size: .9rem;
  opacity: .8;
  transform: translateY(1px);
}

/* ── BLOCS PORTÉES (DISPO / ARCHIVES) ── */
.home-page .section-litters {
  padding: 1.8rem 1.6rem 2.1rem;
  border-radius: 1.7rem;
  border: 1px solid rgba(15,23,42,1);
  background:
    radial-gradient(circle at 0% 0%, rgba(249,168,212,.10) 0%, transparent 52%),
    radial-gradient(circle at 100% 12%, rgba(96,165,250,.13) 0%, transparent 52%),
    rgba(10,12,18,.98);
  box-shadow: 0 22px 60px rgba(0,0,0,.75);
  max-width: 1150px;
}
.home-page .section-litters .section-head {
  margin-bottom: 1.4rem;
  text-align: left;
}
.home-page .section-litters h2 {
  margin: 0 0 .4rem;
  font-size: 1.4rem;
}
.home-page .section-litters p {
  margin: 0;
  font-size: .92rem;
  color: rgba(209,213,219,.9);
}
.home-page .section-litters-available {
  background:
    radial-gradient(circle at 0% 0%, rgba(45,212,191,.12) 0%, transparent 52%),
    radial-gradient(circle at 100% 12%, rgba(56,189,248,.16) 0%, transparent 55%),
    rgba(10,12,18,.98);
}
.home-page .section-litters-archive {
  background:
    radial-gradient(circle at 0% 0%, rgba(148,163,184,.16) 0%, transparent 55%),
    radial-gradient(circle at 120% -20%, rgba(251,191,36,.10) 0%, transparent 55%),
    rgba(10,12,18,.98);
}
.home-page .section-litters .litters-wrap {
  margin-top: 1rem;
}

/* ── HOME GENEALOGY BLOCK ── */
.genealogy-section {
  padding-top: .8rem;
}
.genealogy-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  align-items: flex-start;
  justify-content: space-between;
}
.genealogy-head {
  flex: 1 1 260px;
  max-width: 460px;
}
.gene-home-eyebrow {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9ca3af;
  margin: 0 0 .6rem;
}
.gene-home-title {
  margin: 0 0 1.8rem;
  font-weight: 800;
  font-size: clamp(2.2rem,3.4vw,3rem);
  line-height: 1.05;
  color: #fff;
}
.gene-home-highlight {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.75rem 1.9rem 0.9rem;
  border-radius: 1.6rem;
  background: linear-gradient(90deg,#fec5e5 0%,#f9a8d4 25%,#c4ddff 70%,#93c5fd 100%);
  box-shadow: 0 18px 45px rgba(15,23,42,.9), 0 0 70px rgba(248,187,247,.6);
  letter-spacing: .01em;
  color: #0b0c10;
}
.gene-home-sub {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: 0.6rem;
  text-shadow: 0 0 8px rgba(147,197,253,0.12);
}
.genealogy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.1rem;
}
.gene-pill {
  border-radius: 999px;
  font-size: .75rem;
  padding: .28rem .8rem .32rem;
  border: 1px solid rgba(148,163,184,.7);
  background: rgba(15,23,42,.96);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.gene-pill::before {
  content: "\25CF";
  font-size: .7rem;
  color: #22c55e;
}
.gene-pill.muted {
  opacity: .85;
  border-style: dashed;
}

.genealogy-main {
  flex: 1 1 320px;
  max-width: 520px;
}
.genealogy-card-hero {
  position: relative;
  background: var(--surface-soft, rgba(15,23,42,.98));
  border-radius: 1.5rem;
  border: 1px solid var(--border, rgba(148,163,184,.85));
  box-shadow: 0 24px 65px rgba(0,0,0,.75);
  padding: 1.4rem 1.7rem 1.6rem;
  color: #e5e7eb;
  overflow: hidden;
}
.gene-card-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
}
.gene-card-sub {
  margin: .25rem 0 .9rem;
  font-size: .84rem;
  opacity: .85;
}
.gene-parents-stack {
  position: relative;
  margin-bottom: 1.1rem;
}
.gene-parent-row {
  border-radius: 1.4rem;
  padding: .7rem .9rem;
  background: rgba(15,23,42,.96);
  border: 1px solid rgba(148,163,184,.9);
  display: flex;
  align-items: center;
  gap: .85rem;
}
.gene-parent-row.mother {
  border-color: rgba(236,72,153,.92);
}
.gene-parent-row.father {
  border-color: rgba(59,130,246,.95);
  position: relative;
  margin-top: .9rem;
  margin-left: 8%;
  padding-right: 1.4rem;
}
.gene-parent-avatar {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 999px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%,#020617 0%,#020617 45%,#111827 100%);
  border: 2px solid rgba(148,163,184,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gene-parent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gene-parent-avatar .initial {
  font-size: 1.3rem;
  font-weight: 600;
  color: #e5e7eb;
}
.gene-parent-text {
  min-width: 0;
}
.gene-parent-text span.label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .72;
  margin-bottom: .14rem;
}
.gene-parent-text strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .9rem;
}
.gene-connector {
  position: relative;
  height: 18px;
  margin: .5rem 0 .7rem;
}
.gene-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(148,163,184,.7);
}
.gene-kittens {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.gene-kitten-pill {
  border-radius: 999px;
  padding: .3rem .9rem .32rem .35rem;
  font-size: .8rem;
  border: 1px solid rgba(148,163,184,.9);
  background: rgba(15,23,42,.98);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.gene-kitten-img {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(148,163,184,.95);
  flex-shrink: 0;
}
.gene-kitten-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gene-kitten-pill.male {
  border-color: rgba(59,130,246,.9);
}
.gene-kitten-pill.female {
  border-color: rgba(236,72,153,.9);
}

/* ============ Couple poster (home genealogy redesign) ============ */
.gene-couple-poster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin: 0 0 1.2rem;
}
.gene-poster-portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, #1e293b, #020617);
  border: 1px solid rgba(148,163,184,.25);
  box-shadow: 0 10px 25px -10px rgba(0,0,0,.6);
  isolation: isolate;
}
.gene-poster-portrait.mother {
  border-color: rgba(236,72,153,.55);
}
.gene-poster-portrait.father {
  border-color: rgba(59,130,246,.55);
}
.gene-poster-portrait picture,
.gene-poster-portrait > picture img,
.gene-poster-portrait > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gene-poster-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,.45);
  font-weight: 600;
}
.gene-poster-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem .85rem .75rem;
  background: linear-gradient(to top,
    rgba(0,0,0,.92) 15%,
    rgba(0,0,0,.55) 55%,
    transparent 100%);
  color: #fff;
}
.gene-poster-role {
  display: inline-block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: .35rem;
  margin-bottom: .3rem;
  color: #fff;
}
.gene-poster-portrait.mother .gene-poster-role {
  background: rgba(236,72,153,.92);
}
.gene-poster-portrait.father .gene-poster-role {
  background: rgba(59,130,246,.92);
}
.gene-poster-name {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.gene-filmstrip {
  margin-top: 1.1rem;
}
.gene-filmstrip-label {
  display: block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .55rem;
}
.gene-filmstrip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
}
.gene-filmstrip-item {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.gene-filmstrip-photo {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: .7rem;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(148,163,184,.3);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.gene-filmstrip-photo picture,
.gene-filmstrip-photo picture img,
.gene-filmstrip-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gene-filmstrip-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
}
.gene-filmstrip-item.male .gene-filmstrip-photo {
  border-color: rgba(59,130,246,.45);
}
.gene-filmstrip-item.female .gene-filmstrip-photo {
  border-color: rgba(236,72,153,.45);
}
.gene-filmstrip-item:hover .gene-filmstrip-photo {
  transform: translateY(-3px);
  border-color: var(--warm-gold, #d4a574);
  box-shadow: 0 10px 20px -10px rgba(212,165,116,.5);
}
.gene-filmstrip-name {
  font-size: .78rem;
  font-weight: 500;
  text-align: center;
  color: rgba(255,255,255,.88);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gene-filmstrip-more {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .7rem;
  background: linear-gradient(135deg, rgba(212,165,116,.15), rgba(212,165,116,.05));
  border: 1px dashed rgba(212,165,116,.45);
  color: var(--warm-gold, #d4a574);
  font-size: .72rem;
  font-weight: 600;
  text-align: center;
  padding: .3rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background .3s ease;
}
.gene-filmstrip-more:hover {
  background: linear-gradient(135deg, rgba(212,165,116,.28), rgba(212,165,116,.12));
}

@media (max-width: 640px) {
  .gene-poster-name { font-size: .82rem; }
  .gene-poster-role { font-size: .58rem; padding: .15rem .4rem; }
  .gene-poster-overlay { padding: 1.5rem .7rem .6rem; }
  .gene-filmstrip-name { font-size: .72rem; }
  .gene-filmstrip-row { gap: .4rem; }
}

.gene-foot {
  margin-top: .95rem;
  font-size: .8rem;
  opacity: .92;
}
.gene-foot-more {
  margin-top: .2rem;
  font-size: .78rem;
  opacity: .82;
}
.genealogy-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.gene-cta-btn {
  min-width: 260px;
  border-radius: 999px;
  padding: 1rem 1.9rem;
  font-weight: 600;
  font-size: .96rem;
  text-align: center;
  text-decoration: none;
}
.gene-cta-text {
  font-size: .8rem;
  color: #9ca3af;
  max-width: 420px;
}

/* ── CONTACT BLOCK ── */
.contact-block {
  margin-top: 2.8rem;
}
.contact-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: radial-gradient(circle at 0% 0%, rgba(249,168,212,.06) 0%, rgba(15,23,42,.96) 65%);
  border-radius: 1.5rem;
  border: 1px solid var(--border, rgba(148,163,184,.6));
  box-shadow: 0 22px 60px rgba(0,0,0,.65);
  padding: 1.9rem 1.8rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}
.contact-inner h2 {
  margin: 0 0 .6rem;
  font-size: 1.5rem;
  font-weight: 650;
  position: relative;
  display: inline-block;
}
.contact-inner h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.4rem;
  height: 2px;
  width: 70%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 100%);
  opacity: .7;
}
.contact-inner > p {
  margin: 1rem 0 1.3rem;
  font-size: .95rem;
  color: rgba(226,232,240,.88);
}
/* Formulaire de contact */
.contact-form {
  background: rgba(15,23,42,.96);
  border-radius: 1rem;
  border: 1px solid rgba(148,163,184,.6);
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.contact-form .field {
  margin-bottom: .9rem;
}
.contact-form label {
  display: block;
  font-size: .85rem;
  margin-bottom: .25rem;
  opacity: .9;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: .75rem;
  border: 1px solid rgba(148,163,184,.6);
  background: rgba(15,23,42,.96);
  padding: .55rem .7rem;
  font-size: .9rem;
  color: #f9fafb;
}
.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}
.contact-form .btn-primary {
  margin-top: .3rem;
  width: 100%;
  max-width: 220px;
}

/* ── BREEDER CARD ── */
.breeder-section {
  margin-top: 2.5rem;
  margin-bottom: 0;
}
.breeder-card {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--surface-soft, rgba(15,23,42,.96));
  border-radius: 1.5rem;
  border: 1px solid var(--border, rgba(148,163,184,.65));
  box-shadow: 0 22px 60px rgba(0,0,0,.6);
  display: grid;
  grid-template-columns: minmax(0,220px) minmax(0,1fr);
  gap: 1.4rem;
  padding: 1.4rem 1.8rem;
  align-items: center;
}
.breeder-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.breeder-photo {
  width: 210px;
  height: 210px;
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(248,250,252,.35);
  background: radial-gradient(circle at 30% 30%, #0b1120 0%, #020617 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.breeder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.breeder-photo-placeholder {
  font-size: 3rem;
  color: #e5e7eb;
  opacity: .85;
}
.breeder-content h2 {
  margin: 0 0 .4rem;
  font-size: 1.4rem;
  font-weight: 650;
  color: #f9fafb;
}
.breeder-sub {
  margin: 0 0 .8rem;
  font-size: .9rem;
  color: rgba(226,232,240,.9);
}
.breeder-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(241,245,249,.95);
}
.breeder-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(15,23,42,.96);
  border: 1px solid rgba(248,250,252,.18);
  color: #e5e7eb;
  margin-bottom: .6rem;
}
.breeder-tag::before {
  content: "\1F469\200D\1F33E";
}

/* SIRET in breeder card */
.breeder-siret {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: rgba(15,23,42,.96);
  border: 1px solid rgba(148,163,184,.5);
}
.breeder-siret-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #9ca3af;
  font-weight: 600;
}
.breeder-siret-value {
  font-size: .82rem;
  color: #e5e7eb;
  font-weight: 500;
  letter-spacing: .04em;
}

/* ── BREEDER META ROW ── */
.breeder-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
  align-items: center;
}

/* ── INTRO FEATURES GRID ── */
.intro-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.3rem;
}
.intro-feature {
  padding: 1.1rem 1.2rem;
  border-radius: 1.2rem;
  background: rgba(15,23,42,.96);
  border: 1px solid rgba(148,163,184,.45);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: border-color .2s ease, transform .2s ease;
}
.intro-feature:hover {
  border-color: rgba(249,168,212,.5);
  transform: translateY(-2px);
}
.intro-feature-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex-shrink: 0;
}
.intro-feature h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: 650;
  color: #f1f5f9;
}
.intro-feature p {
  margin: 0;
  font-size: .82rem;
  color: rgba(209,213,219,.85);
  line-height: 1.5;
}

/* ── SECTION HEADER: LIVE DOT + COUNT BADGE ── */
.section-head-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.count-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  background: rgba(34,211,238,.15);
  color: #a5f3fc;
  border: 1px solid rgba(34,211,238,.4);
}

/* ── CARD LINK (entièrement cliquable) ── */
.card-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}
.card-link:hover {
  text-decoration: none;
  color: inherit;
  opacity: 1;
}
.card-parents {
  margin: .1rem 0 0;
  font-size: .8rem;
  color: rgba(209,213,219,.8);
}
.card-img-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, rgba(10,12,18,.6), transparent);
  z-index: 1;
  pointer-events: none;
}
.status-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: live-pulse 2s ease-in-out infinite;
}

/* ── ARCHIVES COMPACTES ── */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 1rem;
}
.archive-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .6rem .85rem;
  border-radius: 1rem;
  background: rgba(15,23,42,.96);
  border: 1px solid rgba(148,163,184,.4);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.archive-item:hover {
  transform: translateX(4px);
  border-color: rgba(249,168,212,.5);
  background: rgba(15,23,42,1);
  text-decoration: none;
  color: inherit;
  opacity: 1;
}
.archive-thumb {
  width: 56px;
  height: 56px;
  border-radius: .7rem;
  object-fit: cover;
  flex-shrink: 0;
}
.archive-info {
  flex: 1;
  min-width: 0;
}
.archive-name {
  font-size: .92rem;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.archive-date {
  font-size: .78rem;
  color: rgba(209,213,219,.7);
  margin-top: .1rem;
}
.archive-badge {
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(15,23,42,.96);
  border: 1px solid rgba(148,163,184,.6);
  color: #d1d5db;
  flex-shrink: 0;
  white-space: nowrap;
}
.archive-arrow {
  color: rgba(148,163,184,.6);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: color .18s ease;
}
.archive-item:hover .archive-arrow {
  color: var(--accent);
}
.archive-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
  font-size: .85rem;
  color: var(--accent);
  text-decoration: none;
}
.archive-more:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ── CONTACT METHODS CARDS ── */
.contact-eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 .8rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 1.2rem;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .85rem;
  border-radius: 1rem;
  background: rgba(15,23,42,.95);
  border: 1px solid rgba(148,163,184,.4);
  transition: border-color .2s ease;
}
.contact-method:hover {
  border-color: rgba(249,168,212,.4);
}
.contact-method-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-method-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.contact-method-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9ca3af;
  font-weight: 600;
}
.contact-method-value {
  font-size: .9rem;
  color: #f1f5f9;
}
.contact-method a {
  color: #f1f5f9;
  text-decoration: none;
}
.contact-method a:hover {
  color: var(--accent);
  text-decoration: underline;
  opacity: 1;
}
.contact-socials {
  display: flex;
  gap: .5rem;
  margin-top: .6rem;
}
.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  color: #e5e7eb;
  background: rgba(15,23,42,.96);
  border: 1px solid rgba(148,163,184,.45);
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.contact-social-link:hover {
  border-color: rgba(249,168,212,.5);
  color: var(--accent);
  opacity: 1;
  text-decoration: none;
}
.contact-social-link svg {
  width: 16px;
  height: 16px;
}

/* ── CONTACT FORM ENHANCEMENTS ── */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(249,168,212,.6);
  box-shadow: 0 0 0 3px rgba(249,168,212,.12);
  outline: none;
}
.contact-form .btn-primary {
  max-width: none;
}

/* ── BREEDER SVG PLACEHOLDER ── */
.breeder-photo-placeholder svg {
  width: 64px;
  height: 64px;
  color: #9ca3af;
  opacity: .7;
}

/* ── HERO PROCHAIN MARIAGE ── */
.next-mating {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1rem .45rem .55rem;
  border-radius: 1rem;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(249,168,212,.2);
  color: #f1f5f9;
  font-size: .82rem;
  line-height: 1.4;
}
.next-mating-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(249,168,212,.2), rgba(147,197,253,.15));
  flex-shrink: 0;
  overflow: hidden;
}
.next-mating-icon svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}
.next-mating-text {
  display: flex;
  flex-direction: column;
  gap: .05rem;
}
.next-mating-names {
  font-weight: 600;
  font-size: .82rem;
  color: #fff;
}
.next-mating-date {
  font-size: .7rem;
  color: rgba(209,213,219,.7);
}
.next-mating-note {
  font-size: .7rem;
  color: rgba(209,213,219,.6);
  padding-left: .5rem;
  border-left: 1px solid rgba(148,163,184,.25);
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-banner {
  background: radial-gradient(circle at 20% 20%, rgba(15,23,42,.95) 0%, rgba(10,12,18,.98) 60%, rgba(6,8,12,1) 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(249,168,212,.08), rgba(147,197,253,.08));
  pointer-events: none;
}

/* =========================================================
   6. LITTER PAGE — HERO, KITTEN CARDS, GALLERY, RELATED
   ========================================================= */
.litter-hero {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center 35%;
}
.litter-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(10,10,12,.55) 0%, rgba(0,0,0,.9) 95%);
}
.litter-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.2rem 3.6rem;
  text-align: center;
}
.litter-hero .hero-badge {
  display: inline-block;
  padding: .45rem 1.2rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f9a8d4 0%, #fecaca 30%, #fed7aa 65%, #fbbf24 100%);
  color: #111827;
  border: 1px solid rgba(248,250,252,.9);
  box-shadow: 0 10px 28px rgba(0,0,0,.5);
  backdrop-filter: blur(12px);
}
.litter-hero h1 {
  max-width: 780px;
  margin: 0 auto .6rem;
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.03em;
  background: linear-gradient(115deg, #f9a8d4 0%, #fecaca 25%, #fef3c7 55%, #fbbf24 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 18px 35px rgba(0,0,0,.55);
  word-break: keep-all;
  hyphens: auto;
}
.litter-hero h1 .break {
  display: block;
}
.litter-parents-link,
.kitten-parents-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,.35);
  padding-bottom: 1px;
  transition: border-color .2s ease, color .2s ease;
}
.litter-parents-link:hover,
.litter-parents-link:focus-visible,
.kitten-parents-link:hover,
.kitten-parents-link:focus-visible {
  color: #fbbf24;
  border-bottom-color: #fbbf24;
}

/* Barre d'infos sous le hero */
.litter-top-info {
  max-width: 1100px;
  margin: 1.5rem auto 2.8rem;
  background: rgba(15,23,42,.9);
  border: 1px solid rgba(148,163,184,.55);
  border-radius: 1.8rem;
  padding: 1rem 1.4rem;
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  color: #fff;
  flex-wrap: wrap;
}
.lti-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110px;
}
.lti-label {
  font-size: .75rem;
  opacity: .55;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.lti-value {
  font-weight: 600;
  font-size: 1rem;
  margin-top: .15rem;
}

/* Long title variant (h1 serré pour éviter de prendre trop de hauteur avec titres 2 lignes) */
.litter-hero--long h1 {
  line-height: 1.03;
}

.page-litter {
  padding-top: 0;
}

/* grille de chatons */
.kittens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

/* carte chaton (litter page) */
.kitten-card {
  background: rgba(15,23,42,.85);
  border: 1px solid rgba(148,163,184,.5);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  min-height: 230px;
}
.kitten-card .status-pill {
  position: static;
  box-shadow: none;
  backdrop-filter: none;
}

/* galerie horizontale */
.kitten-gallery-scroll {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding: .65rem .6rem .5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.kitten-gallery-scroll::-webkit-scrollbar {
  height: 4px;
}
.kitten-gallery-scroll::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,.8);
  border-radius: 999px;
}

/* Bloc media du chaton (vignettes + bouton fiche) */
.kitten-media {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  margin-bottom: .8rem;
}
.kitten-profile-link {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  padding: .26rem .8rem .3rem;
  border-radius: 999px;
  border: 1px solid rgba(248,250,252,.85);
  background: rgba(15,23,42,.92);
  color: #f9fafb;
  font-size: .75rem;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,.75);
  white-space: nowrap;
}
.kitten-profile-link:hover {
  text-decoration: underline;
}
.kitten-name-link {
  color: inherit;
  text-decoration: none;
}
.kitten-name-link:hover {
  text-decoration: underline;
}

/* Vignettes / covers cliquables (lightbox) — litter page */
.kitten-thumb,
.kitten-cover,
.related-cover {
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #020617;
}
.kitten-thumb {
  flex: 0 0 auto;
  min-width: 150px;
  height: 120px;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  border: 1px solid rgba(148,163,184,.6);
  scroll-snap-align: start;
  transition: transform .15s ease;
}
.kitten-thumb:hover {
  transform: translateY(-2px);
}
.kitten-cover {
  width: 100%;
  height: 190px;
  background-size: cover;
  background-position: center;
}
.kitten-body {
  padding: 1.05rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1 1 auto;
}
.kitten-header-line {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  align-items: center;
}
.kitten-body h3 {
  margin: 0;
  font-size: 1.05rem;
}
.kitten-color {
  opacity: .6;
  font-size: .78rem;
}
.kitten-desc {
  font-size: .82rem;
  opacity: .85;
  line-height: 1.45;
}
.kitten-price {
  margin-top: .3rem;
  font-weight: 600;
}
.kitten-cta {
  margin-top: auto;
}

.litter-notes {
  background: rgba(15,23,42,.9);
  border: 1px solid rgba(148,163,184,.45);
  border-radius: 1.1rem;
  padding: 1.3rem 1.1rem 1.2rem;
  line-height: 1.6;
}

/* Related litters */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.related-card {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.5);
  background: rgba(15,23,42,.9);
}
.related-cover {
  display: block;
  height: 160px;
}
.related-body {
  padding: .9rem 1rem;
}
.related-body h3 {
  margin: 0 0 .3rem;
  font-size: 1rem;
}
.related-body h3 a {
  color: inherit;
  text-decoration: none;
}
.related-body h3 a:hover {
  text-decoration: underline;
}
.related-parents,
.related-date {
  font-size: .8rem;
  color: #9ca3af;
  margin: .15rem 0;
}

/* =========================================================
   7. KITTEN DETAIL PAGE — HERO, DETAILS, CONTACT CARD
   ========================================================= */
.page-kitten {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HERO CHATON */
.kitten-hero {
  padding: 3.2rem 1.5rem 2.4rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(248,187,208,.22) 0%, transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(191,219,254,.26) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(2,6,23,1) 0%, rgba(2,6,23,1) 65%, rgba(2,6,23,1) 100%);
}
.kitten-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 1.6rem;
  align-items: center;
}
.kitten-hero-left {
  min-width: 0;
}
.kitten-breadcrumb {
  font-size: .78rem;
  color: #9ca3af;
  margin-bottom: .6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
}
.kitten-breadcrumb a {
  color: #e5e7eb;
  text-decoration: none;
  opacity: .85;
}
.kitten-breadcrumb a:hover {
  text-decoration: underline;
}
.kitten-breadcrumb span.sep {
  opacity: .6;
}
.kitten-eyebrow {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: .6rem;
}
.kitten-name {
  margin: 0 0 .6rem;
  font-size: clamp(2rem,2.7rem,3rem);
  font-weight: 750;
  letter-spacing: -.04em;
  color: #f9fafb;
}
.kitten-subline {
  font-size: .95rem;
  color: #e5e7eb;
  margin: 0 0 .8rem;
}
.kitten-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .4rem;
}
.kitten-tag-pill {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.75);
  background: rgba(15,23,42,.9);
  font-size: .76rem;
  padding: .2rem .7rem .26rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.kitten-meta-line {
  margin-top: 1rem;
  font-size: .82rem;
  color: #9ca3af;
}

.kitten-hero-right {
  position: relative;
}
.kitten-photo-card {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.95);
  background:
    radial-gradient(circle at 0% 0%, rgba(248,187,208,.4) 0%, transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(191,219,254,.34) 0%, transparent 55%),
    #020617;
  box-shadow: 0 26px 60px rgba(0,0,0,.9);
  min-height: 230px;
  cursor: pointer;
}
.kitten-photo-card img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}
.kitten-photo-placeholder {
  padding: 1.1rem;
  font-size: .9rem;
  color: #e5e7eb;
  text-align: center;
}

/* MINI-GALERIE SOUS LA PHOTO PRINCIPALE – chaton detail */
.kitten-thumbs-wrapper {
  margin-top: .9rem;
  padding: .45rem .6rem;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(15,23,42,.95) 0%, rgba(15,23,42,.85) 55%, rgba(15,23,42,.9) 100%);
  border: 1px solid rgba(30,64,175,.5);
  overflow-x: auto;
  overflow-y: hidden;
}
.kitten-thumbs {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-width: max-content;
}
/* Overrides for chaton detail page thumbs (button elements) */
button.kitten-thumb {
  border: none;
  padding: 0;
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.7);
  background: #020617;
  cursor: pointer;
  display: block;
  flex-shrink: 0;
  position: relative;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, opacity .16s ease;
  opacity: .9;
}
button.kitten-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.8);
  border-radius: inherit;
  pointer-events: none;
}
button.kitten-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
button.kitten-thumb:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.8);
  opacity: 1;
}
button.kitten-thumb.is-active {
  border-color: rgba(248,250,252,.95);
  box-shadow: 0 10px 28px rgba(0,0,0,.9);
  opacity: 1;
}

/* SECTION INFOS DÉTAILLÉES */
.kitten-main {
  padding: 0 1.5rem 3.2rem;
}
.kitten-main-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.8fr);
  gap: 1.6rem;
}
/* Kitten card (detail page) — reuses .kitten-card but with extra styles */
.kitten-main .kitten-card {
  background: radial-gradient(circle at 0% 0%, rgba(248,187,208,.12) 0%, transparent 45%),
              radial-gradient(circle at 100% 0%, rgba(191,219,254,.12) 0%, transparent 55%),
              linear-gradient(145deg, rgba(15,23,42,.97), rgba(15,23,42,1));
  border-radius: 1.6rem;
  border: 1px solid rgba(148,163,184,.9);
  box-shadow: 0 24px 65px rgba(0,0,0,.9);
  padding: 1.4rem 1.5rem 1.5rem;
  min-height: auto;
}
.kitten-main .kitten-card h2 {
  margin: 0 0 .8rem;
  font-size: 1.05rem;
  font-weight: 640;
}
.kitten-main .kitten-card p {
  font-size: .92rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin: .2rem 0 .8rem;
}
.kitten-details-list {
  list-style: none;
  margin: .4rem 0 0;
  padding: 0;
  font-size: .88rem;
}
.kitten-details-list li {
  display: flex;
  justify-content: space-between;
  gap: .9rem;
  padding: .3rem 0;
  border-bottom: 1px solid rgba(30,64,175,.4);
}
.kitten-details-list li:last-child {
  border-bottom: none;
}
.kitten-details-label {
  color: #9ca3af;
}
.kitten-details-value {
  font-weight: 500;
  color: #f9fafb;
  text-align: right;
}

.kitten-litter-card {
  margin-top: 1.1rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(129,140,248,.9);
  padding: 1rem 1.1rem 1.1rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(248,187,208,.22) 0%, transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(191,219,254,.24) 0%, transparent 55%),
    #020617;
  font-size: .86rem;
}
.kitten-litter-card h3 {
  margin: 0 0 .35rem;
  font-size: .92rem;
}
.kitten-litter-meta {
  color: #cbd5f5;
}
.kitten-litter-link {
  margin-top: .6rem;
}
.kitten-litter-link a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-radius: 999px;
  padding: .32rem .8rem .36rem;
  border: 1px solid rgba(129,140,248,.9);
  background: rgba(15,23,42,.9);
  font-size: .8rem;
  color: #e5e7eb;
  text-decoration: none;
}

.kitten-contact-card {
  background: radial-gradient(circle at 0% 0%, rgba(248,187,208,.22) 0%, transparent 45%),
              linear-gradient(135deg,#0f172a,#020617);
  border-radius: 1.6rem;
  border: 1px solid rgba(148,163,184,.9);
  box-shadow: 0 20px 55px rgba(0,0,0,.85);
  padding: 1.3rem 1.3rem 1.5rem;
  font-size: .9rem;
}
.kitten-contact-card h2 {
  margin: 0 0 .6rem;
  font-size: 1.02rem;
  font-weight: 640;
}
.kitten-contact-card p {
  margin: .2rem 0 .7rem;
  color: #e5e7eb;
}
.kitten-contact-actions {
  margin-top: .6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.kitten-btn-ghost {
  border-radius: 999px;
  padding: .38rem .95rem .42rem;
  border: 1px solid rgba(148,163,184,.8);
  background: rgba(15,23,42,.9);
  color: #e5e7eb;
  font-size: .8rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.kitten-contact-mail {
  margin-top: .9rem;
  font-size: .82rem;
  color: #9ca3af;
}
.kitten-contact-mail a {
  color: #bfdbfe;
}

.kitten-more {
  margin-top: 1.8rem;
  font-size: .84rem;
}
.kitten-more-list {
  margin-top: .5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.kitten-more-list a {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.8);
  padding: .26rem .8rem .3rem;
  text-decoration: none;
  color: #e5e7eb;
  background: rgba(15,23,42,.9);
}

.kitten-empty {
  padding: 3.2rem 1.5rem 3rem;
}
.kitten-empty-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.kitten-empty h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.kitten-empty p {
  font-size: .96rem;
  color: #cbd5f5;
}
.kitten-empty a {
  color: #bfdbfe;
}

/* =========================================================
   8. NEWS PAGES — HERO, CARDS, PAGINATION
   ========================================================= */

/* ── Actualités list page ── */
.news-hero {
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(249,168,212,.22) 0%, transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(147,197,253,.20) 0%, transparent 55%),
    linear-gradient(180deg, #020617 0%, #020617 65%);
  box-shadow: inset 0 -1px 0 rgba(148,163,184,.25);
}
.page-eyebrow {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(148,163,184,.9);
  margin: 0 0 .9rem;
}
.news-hero-title {
  position: relative;
  font-size: clamp(2.3rem, 3.8vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #ffffff;
  margin: 0 0 1.4rem;
  line-height: 1.1;
}
.news-hero-title span {
  display: inline-block;
  padding: 0 .55em .12em;
  border-radius: .9rem;
  background: linear-gradient(90deg, #f9a8d4 0%, #fecaca 40%, #bfdbfe 100%);
  color: #050816;
  box-shadow: 0 10px 26px rgba(15,23,42,.55);
  line-height: 1.02;
}
.news-hero-title span::before {
  content: none;
}
.news-hero-title span:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(0,0,0,.6);
}
.news-hero-sub {
  color: rgba(241,245,249,.9);
  max-width: 780px;
  margin: 0 auto 1.7rem;
  font-size: 1.02rem;
  line-height: 1.7;
}
.news-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  border: 1px solid rgba(148,163,184,.45);
  padding: .3rem .9rem;
  border-radius: 999px;
  background: rgba(15,23,42,.9);
  color: rgba(226,232,240,.95);
}
.news-pill::before {
  content: "\25CF";
  color: var(--accent);
  font-size: .7rem;
}

.news-section {
  padding: 3.2rem 1.5rem 4rem;
}
.news-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.news-card {
  position: relative;
  background: linear-gradient(135deg, rgba(17,24,39,.95), rgba(15,23,42,.97));
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
  padding: 1.6rem;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% -30%, rgba(249,168,212,.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.news-card:hover::before {
  opacity: 1;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249,168,212,.4);
  box-shadow: 0 38px 80px rgba(0,0,0,.85);
}
.news-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: .8rem;
}
.news-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 .2rem;
}
.news-title a {
  color: var(--txt);
  text-decoration: none;
}
.news-title a:hover {
  text-decoration: underline;
}
.news-meta {
  color: var(--txt-dim);
  font-size: .8rem;
}
.news-thumb {
  flex: 0 0 220px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.news-thumb img,
.news-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-thumb {
  position: relative;
}
.news-thumb-with-video::after,
.news-thumb-reel-only::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.news-thumb-reel-only {
  aspect-ratio: 9 / 16;
  background: #0b0914;
  flex: 0 0 160px;
}
.news-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #fff;
  text-shadow: 0 6px 20px rgba(0,0,0,.55);
  pointer-events: none;
  opacity: .95;
  z-index: 2;
  text-indent: .2rem;
}
.news-thumb-play::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(249, 168, 212, .25);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,.7);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  z-index: -1;
}
.news-thumb-reel-badge {
  position: absolute;
  top: .55rem;
  left: .55rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f472b6, #ec4899);
  color: #fff;
  box-shadow: 0 6px 18px rgba(236,72,153,.35);
  z-index: 3;
}

/* ───────── REEL PLAYER SUR ARTICLE ───────── */
.article-reel {
  margin: 1.8rem auto 0;
  padding: 0 1.1rem;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
}
.article-reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 1.6rem;
  overflow: hidden;
  background: #08060d;
  box-shadow:
    0 30px 80px -20px rgba(236, 72, 153, .35),
    0 15px 40px -15px rgba(0, 0, 0, .6),
    0 0 0 1px rgba(255, 255, 255, .06) inset;
  isolation: isolate;
}
.article-reel-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 20%, rgba(249, 168, 212, .25), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(129, 140, 248, .22), transparent 60%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
  animation: reel-breathe 7s ease-in-out infinite alternate;
}
@keyframes reel-breathe {
  to { transform: scale(1.05) translate(1%, -1%); opacity: .85; }
}
.article-reel-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.article-reel-badge {
  position: absolute;
  top: .8rem;
  left: .9rem;
  z-index: 2;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f472b6, #ec4899);
  color: #fff;
  box-shadow: 0 10px 25px rgba(236, 72, 153, .35);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.article-reel-caption {
  color: #cbd5e1;
  font-size: .85rem;
  text-align: center;
  opacity: .8;
  margin: 0;
}
@media (max-width: 640px) {
  .article-reel {
    max-width: 340px;
    padding: 0 .9rem;
  }
  .article-reel-frame {
    border-radius: 1.3rem;
  }
}
.news-body {
  margin-top: .6rem;
  color: #e5e7eb;
  font-size: .92rem;
  line-height: 1.7;
  white-space: pre-line;
}
.news-keywords {
  margin-top: .3rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: .7rem;
}
.news-keyword-pill {
  padding: .2rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}
.news-linked-kitten {
  margin-top: 1rem;
}
.kitten-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(249,168,212,.6);
  background: rgba(255,255,255,.03);
  color: var(--accent);
  text-decoration: none;
  font-size: .8rem;
  transition: all .2s ease;
}
.kitten-link:hover {
  background: rgba(249,168,212,.15);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.kitten-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fdf2f8 0%, #f472b6 40%, #93c5fd 100%);
  flex-shrink: 0;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.page-link {
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--txt);
  text-decoration: none;
  transition: all .15s;
}
.page-link:hover {
  background: rgba(255,255,255,.05);
}
.page-link.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #111827;
  font-weight: 600;
}
.page-link.disabled {
  opacity: .4;
  pointer-events: none;
}

/* ── Single article page ── */
.page-article {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.article-hero {
  padding: 3.5rem 1.5rem 2.2rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(248,187,208,.18) 0%, transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(191,219,254,.25) 0%, transparent 55%),
    linear-gradient(to bottom, #020617 0%, #020617 55%, #020617 100%);
}
.article-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}
.article-breadcrumb {
  font-size: .78rem;
  color: #9ca3af;
  margin-bottom: .7rem;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  align-items: center;
}
.article-breadcrumb a {
  color: #e5e7eb;
  text-decoration: none;
  opacity: .85;
}
.article-breadcrumb a:hover {
  text-decoration: underline;
}
.article-breadcrumb span.sep {
  opacity: .6;
}
.article-eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9ca3af;
  margin-bottom: .7rem;
}
.article-title {
  margin: 0 0 1.1rem;
  font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  color: #f9fafb;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  font-size: .78rem;
  color: #9ca3af;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .18rem .75rem .2rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.7);
  background: rgba(15,23,42,.9);
}
.meta-pill-dot::before {
  content: "\25CF";
  font-size: .7rem;
  color: #fb7185;
}
.article-keywords {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.article-keyword-pill {
  border-radius: 999px;
  padding: .18rem .65rem .22rem;
  border: 1px solid rgba(148,163,184,.75);
  background: rgba(15,23,42,.85);
  font-size: .74rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.article-keyword-pill::before {
  content: "#";
  opacity: .7;
}

.article-main {
  padding: 0 1.5rem 3.5rem;
}
.article-inner {
  max-width: 980px;
  margin: 0 auto;
}
.article-card {
  margin-top: -1.6rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(248,187,208,.12) 0%, transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(191,219,254,.12) 0%, transparent 55%),
    linear-gradient(145deg, rgba(15,23,42,.97), rgba(15,23,42,1));
  border-radius: 1.6rem;
  border: 1px solid rgba(148,163,184,.9);
  box-shadow: 0 28px 70px rgba(0,0,0,.85);
  overflow: hidden;
}
.article-cover-wrapper {
  position: relative;
  overflow: hidden;
}
.article-cover-wrapper img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}
.article-cover-badge {
  position: absolute;
  inset: auto 1.4rem 1.1rem auto;
  padding: .26rem .8rem .3rem;
  border-radius: 999px;
  background: rgba(15,23,42,.9);
  border: 1px solid rgba(148,163,184,.8);
  font-size: .75rem;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  backdrop-filter: blur(10px);
}
.article-body {
  padding: 1.6rem 1.5rem 1.7rem;
}
.article-body-content {
  font-size: .98rem;
  line-height: 1.8;
  color: #e5e7eb;
}
.article-body-content p {
  margin: 0 0 1.1rem;
}
.article-body-content p:last-child {
  margin-bottom: 0;
}
.article-body-content a {
  color: #bfdbfe;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .12em;
}
.article-body-content strong {
  font-weight: 600;
}
.article-body-content h2,
.article-body-content h3 {
  margin: 1.4rem 0 .6rem;
  font-weight: 650;
  letter-spacing: -.02em;
}
.article-body-content h2 {
  font-size: 1.25rem;
}
.article-body-content h3 {
  font-size: 1.08rem;
}
.article-body-content ul,
.article-body-content ol {
  margin: .7rem 0 1.1rem 1.1rem;
  padding: 0;
}

.article-gallery {
  margin-top: 1.6rem;
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.article-gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.8);
  background: #020617;
}
.article-gallery-item img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

/* Linked block (related litter/kitten) */
.linked-block {
  margin-top: 2rem;
  padding: 1.35rem 1.4rem 1.4rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(147,197,253,.9);
  background:
    radial-gradient(circle at 0% 0%, rgba(248,187,208,.22) 0%, transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(191,219,254,.24) 0%, transparent 55%),
    linear-gradient(135deg, #020617, #020617);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 1.3rem;
  align-items: center;
}
.linked-text-eyebrow {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: .45rem;
}
.linked-title {
  font-size: 1.08rem;
  font-weight: 650;
  margin: 0 0 .4rem;
}
.linked-sub {
  font-size: .86rem;
  color: #cbd5f5;
  margin: 0 0 .7rem;
}
.linked-meta {
  font-size: .78rem;
  color: #9ca3af;
}
.linked-actions {
  margin-top: .9rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.linked-btn-main {
  border-radius: 999px;
  padding: .45rem 1.1rem .5rem;
  font-size: .8rem;
  font-weight: 600;
  border: none;
  background: linear-gradient(135deg, #f9a8d4, #bfdbfe);
  color: #020617;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  box-shadow: 0 16px 30px rgba(15,23,42,.9);
}
.linked-btn-main:hover {
  filter: brightness(1.03);
}
.linked-btn-ghost {
  border-radius: 999px;
  padding: .4rem .95rem .45rem;
  font-size: .78rem;
  border: 1px solid rgba(148,163,184,.75);
  background: rgba(15,23,42,.85);
  color: #e5e7eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.linked-visual {
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.85);
  background: radial-gradient(circle at 0% 0%, rgba(248,187,208,.24) 0%, transparent 45%), #020617;
  min-height: 160px;
  display: grid;
  place-items: center;
}
.linked-visual img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}
.linked-visual-placeholder {
  padding: 1.1rem;
  font-size: .86rem;
  color: #cbd5f5;
  text-align: center;
}

/* Article empty/404 */
.article-empty {
  padding: 3.2rem 1.5rem 3rem;
}
.article-empty-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.article-empty h1 {
  font-size: 2.1rem;
  margin-bottom: 1rem;
}
.article-empty p {
  font-size: .98rem;
  color: #cbd5f5;
}
.article-empty a {
  color: #bfdbfe;
}

/* Article footer override */
.article-footer {
  padding: 1.6rem 1.5rem 2.2rem;
  text-align: center;
  font-size: .8rem;
  color: #9ca3af;
  border-top: 1px solid rgba(15,23,42,1);
  background: #020617;
}

/* =========================================================
   9. GENEALOGY PAGE — HERO, COUPLES, PARENTS, TIMELINE, KITTENS
   ========================================================= */

/* Genealogy page needs full-width layout */
.page-genealogy {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* Hero généalogie */
.gene-hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(251,113,133,.22) 0%, transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(129,140,248,.3) 0%, transparent 55%),
    radial-gradient(circle at 50% 120%, #020617 0%, #020617 70%);
  color: #e5e7eb;
  padding: 3.8rem 1.5rem 2.9rem;
}
.gene-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.gene-hero-eyebrow {
  font-size: .9rem;
  color: #9ca3af;
  margin: 0 0 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.gene-hero-title {
  margin: 0 0 1.8rem;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  flex-wrap: wrap;
  color: #f9fafb;
}
.gene-hero-logo {
  font-size: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.8));
}
.gene-hero-title-text {
  display: inline-block;
  line-height: 1.1;
}
.gene-hero-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #f9a8d4, #bfdbfe);
  padding: .08em .32em .16em;
  border-radius: .28em;
  margin-left: .16em;
  color: #111827;
  box-shadow: 0 14px 35px rgba(248,113,165,.45);
}
.gene-hero-sub {
  margin: .2rem auto 0;
  max-width: 900px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #cbd5f5;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.9rem;
  justify-content: center;
}
.hero-pill {
  border-radius: 999px;
  font-size: .78rem;
  padding: .26rem .9rem .32rem;
  border: 1px solid rgba(148,163,184,.7);
  background: rgba(15,23,42,.9);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  backdrop-filter: blur(10px);
}
.hero-pill::before {
  content: "\25CF";
  font-size: .7rem;
  color: #fb7185;
}
.hero-pill.muted {
  opacity: .85;
  border-style: dashed;
  background: rgba(15,23,42,.7);
}

/* Section familles */
.genealogy-page-section {
  padding: 2.6rem 1.5rem 3rem;
  background:
    radial-gradient(circle at 0 0, rgba(15,23,42,1) 0%, #020617 55%, #020617 100%);
}
.genealogy-page-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.genealogy-pairs-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 1.3rem;
}

/* carte couple (genealogy page) — typo fix: geneology -> genealogy */
.genealogy-card {
  position: relative;
  background:
    radial-gradient(circle at 0 0, rgba(248,187,208,.16) 0%, transparent 45%),
    radial-gradient(circle at 100% 0, rgba(191,219,254,.16) 0%, transparent 55%),
    linear-gradient(135deg, rgba(15,23,42,.98), rgba(15,23,42,.98));
  border-radius: 1.6rem;
  border: 1px solid rgba(148,163,184,.9);
  box-shadow: 0 24px 60px rgba(0,0,0,.85);
  padding: 1.5rem 1.6rem 1.8rem;
  color: #e5e7eb;
  overflow: hidden;
}
.genealogy-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -40%, rgba(248,250,252,.06) 0%, transparent 55%);
  opacity: .8;
  pointer-events: none;
}

/* Keep old class names for backward compat + new corrected names */
.genealogy-couple-header,
.geneology-couple-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.genealogy-couple-title,
.geneology-couple-title {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .7;
  margin-bottom: .22rem;
}
.genealogy-couple-names,
.geneology-couple-names {
  font-size: 1.05rem;
  font-weight: 650;
}
.genealogy-couple-names span.cross,
.geneology-couple-names span.cross {
  margin: 0 .35rem;
  opacity: .7;
}
.genealogy-couple-sub,
.geneology-couple-sub {
  font-size: .8rem;
  opacity: .88;
  margin-top: .25rem;
}
.genealogy-couple-badge,
.geneology-couple-badge {
  font-size: .72rem;
  padding: .2rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(191,219,254,.85);
  background: radial-gradient(circle at 0 0, rgba(191,219,254,.3), rgba(15,23,42,1));
  white-space: nowrap;
  align-self: flex-start;
}

/* Parents (genealogy page) */
.gene-parents {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: .7rem;
}
.gene-parent {
  flex: 1 1 260px;
  border-radius: 1.2rem;
  padding: .8rem 1rem;
  background: rgba(15,23,42,1);
  border: 1px solid rgba(148,163,184,.7);
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}
.gene-parent.female {
  border-color: rgba(244,114,182,.9);
  box-shadow: 0 0 0 1px rgba(244,114,182,.35);
}
.gene-parent.male {
  border-color: rgba(96,165,250,.9);
  box-shadow: 0 0 0 1px rgba(96,165,250,.35);
}
/* Gene-parent-avatar on genealogy page (larger) */
.gene-parents .gene-parent-avatar {
  width: 4.6rem;
  height: 4.6rem;
  box-shadow: 0 14px 35px rgba(0,0,0,.7);
}
.gene-parents .gene-parent-avatar .initial {
  font-size: 1.5rem;
}
.gene-parents .gene-parent-text span.label {
  font-size: .72rem;
  margin-bottom: .15rem;
}
.gene-parents .gene-parent-text strong {
  font-size: .98rem;
}

.gene-summary {
  position: relative;
  z-index: 1;
  font-size: .82rem;
  opacity: .9;
  margin-top: .25rem;
  margin-bottom: .55rem;
}

/* Timeline des portées */
.gene-litters {
  position: relative;
  z-index: 1;
  margin-top: .4rem;
  padding-left: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.gene-litters::before {
  content: "";
  position: absolute;
  left: .7rem;
  top: .1rem;
  bottom: .5rem;
  width: 2px;
  background: linear-gradient(to bottom,rgba(148,163,184,.85),rgba(148,163,184,.18));
}
.gene-litter {
  position: relative;
  border-radius: 1.1rem;
  background: radial-gradient(circle at 0 0, rgba(15,23,42,.9) 0%, rgba(15,23,42,1) 60%);
  border: 1px solid rgba(148,163,184,.7);
  padding: .7rem .75rem .8rem;
}
.gene-litter::before {
  content: "";
  position: absolute;
  left: -1.2rem;
  top: .9rem;
  width: .7rem;
  height: .7rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%,#f9a8d4 0%,#bfdbfe 70%);
  box-shadow: 0 0 0 4px rgba(15,23,42,1),0 0 0 6px rgba(148,163,184,.6);
}
.gene-litter-head {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: .45rem;
}
.gene-litter-name {
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gene-litter-meta {
  font-size: .78rem;
  opacity: .85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gene-litter-link {
  font-size: .78rem;
  color: #bfdbfe;
  text-decoration: none;
  margin-left: .25rem;
}
.gene-litter-link:hover {
  text-decoration: underline;
}

/* Chatons (genealogy page) */
.genealogy-page-section .gene-kittens {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.gene-kitten {
  cursor: pointer;
  border-radius: 999px;
  padding: .28rem .7rem .3rem;
  font-size: .78rem;
  border: 1px solid rgba(148,163,184,.9);
  background: rgba(15,23,42,1);
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  line-height: 1.2;
  text-decoration: none;
  color: inherit;
}
.gene-kitten.male {
  border-color: rgba(96,165,250,.95);
}
.gene-kitten.female {
  border-color: rgba(244,114,182,.95);
}
.gene-kitten:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,.75);
}
.gene-kitten-gender {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: .64rem;
  font-weight: 600;
}
.gene-kitten.male .gene-kitten-gender {
  background: rgba(59,130,246,.16);
  color: #93c5fd;
}
.gene-kitten.female .gene-kitten-gender {
  background: rgba(236,72,153,.18);
  color: #f9a8d4;
}
.genealogy-page-section .gene-kitten-img {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(248,250,252,.7);
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.75);
}
.genealogy-page-section .gene-kitten-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gene-kitten-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.gene-kitten-more {
  opacity: .9;
}
.gene-empty {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px dashed rgba(148,163,184,.7);
  background: rgba(15,23,42,.96);
  font-size: .9rem;
  text-align: center;
  color: #e5e7eb;
  opacity: .9;
}

/* =========================================================
   GÉNÉALOGIE V2 — redesign page généalogie (avril 2026)
   ========================================================= */

/* Sommaire des couples dans le hero */
.gene-toc {
  margin: 1.8rem auto 0;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  align-items: center;
  font-size: .78rem;
}
.gene-toc-label {
  color: rgba(255,255,255,.55);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 600;
  margin-right: .3rem;
}
.gene-toc-link {
  padding: .3rem .85rem;
  border-radius: 999px;
  background: rgba(15,23,42,.85);
  border: 1px solid rgba(148,163,184,.35);
  color: #e5e7eb;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  backdrop-filter: blur(6px);
}
.gene-toc-link:hover {
  border-color: var(--warm-gold, #d4a574);
  background: rgba(212,165,116,.12);
  transform: translateY(-1px);
}

/* Stack des couples */
.gene-couple-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.6rem;
}

/* Carte couple */
.gene-couple-block {
  position: relative;
  background:
    radial-gradient(circle at 0 0, rgba(236,72,153,.08) 0%, transparent 45%),
    radial-gradient(circle at 100% 0, rgba(59,130,246,.08) 0%, transparent 55%),
    linear-gradient(135deg, rgba(15,23,42,.98), rgba(2,6,23,1));
  border-radius: 1.6rem;
  border: 1px solid rgba(148,163,184,.3);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8);
  padding: 1.7rem 1.7rem 1.9rem;
  color: #e5e7eb;
  overflow: hidden;
  scroll-margin-top: 90px;
}

/* Header du couple */
.gene-couple-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}
.gene-couple-header-meta { min-width: 0; flex: 1 1 auto; }
.gene-couple-eyebrow {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--warm-gold, #d4a574);
  font-weight: 600;
  margin: 0 0 .45rem;
}
.gene-couple-title {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw + .4rem, 1.65rem);
  font-weight: 650;
  line-height: 1.25;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .55rem;
}
.gene-couple-title-name.mother { color: #f9a8d4; }
.gene-couple-title-name.father { color: #93c5fd; }
.gene-couple-title-cross {
  color: rgba(255,255,255,.45);
  font-weight: 300;
  font-size: .9em;
}
.gene-couple-stats {
  margin: .45rem 0 0;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.gene-couple-badge {
  font-size: .7rem;
  padding: .28rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(212,165,116,.5);
  background: linear-gradient(135deg, rgba(212,165,116,.18), rgba(212,165,116,.06));
  color: var(--warm-gold, #d4a574);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: .02em;
  align-self: flex-start;
}

/* Poster couple — variante large pour la page */
.gene-couple-poster-lg {
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: 1.6rem;
}
.gene-couple-poster-lg .gene-poster-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 1.1rem;
}
.gene-couple-poster-lg .gene-poster-name {
  font-size: 1.02rem;
}
.gene-couple-poster-lg .gene-poster-role {
  font-size: .7rem;
  padding: .24rem .65rem;
}

/* Liste des portées sous le poster */
.gene-litter-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.gene-litter-block {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 1.1rem;
  padding: 1.1rem 1.15rem 1.2rem;
}
.gene-litter-block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: .9rem;
}
.gene-litter-block-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}
.gene-litter-block-meta {
  margin: .3rem 0 0;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
}
.gene-litter-block-meta span + span::before {
  content: "·";
  margin-right: .4rem;
  opacity: .6;
}
.gene-litter-block-meta span:first-child::before { content: none; }
.gene-litter-block-link {
  font-size: .85rem;
  color: var(--warm-gold, #d4a574);
  text-decoration: none;
  font-weight: 600;
  padding: .4rem .75rem;
  border-radius: .6rem;
  border: 1px solid rgba(212,165,116,.4);
  background: rgba(212,165,116,.08);
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}
.gene-litter-block-link:hover {
  background: rgba(212,165,116,.18);
  border-color: var(--warm-gold, #d4a574);
}

/* Grille des chatons */
.gene-kitten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: .8rem;
}
.gene-kitten-card {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  text-decoration: none;
  color: #fff;
  transition: transform .25s ease;
}
.gene-kitten-card:hover {
  transform: translateY(-3px);
}
.gene-kitten-card-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: .85rem;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(148,163,184,.25);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.gene-kitten-card.male .gene-kitten-card-photo {
  border-color: rgba(96,165,250,.45);
}
.gene-kitten-card.female .gene-kitten-card-photo {
  border-color: rgba(236,72,153,.45);
}
.gene-kitten-card:hover .gene-kitten-card-photo {
  border-color: var(--warm-gold, #d4a574);
  box-shadow: 0 15px 30px -12px rgba(212,165,116,.45);
}
.gene-kitten-card-photo picture,
.gene-kitten-card-photo picture img,
.gene-kitten-card-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gene-kitten-card-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
}
.gene-kitten-card-badge {
  position: absolute;
  left: .45rem;
  bottom: .45rem;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .18rem .45rem;
  border-radius: .35rem;
  color: #fff;
  backdrop-filter: blur(4px);
}
.gene-kitten-card.male .gene-kitten-card-badge {
  background: rgba(59,130,246,.85);
}
.gene-kitten-card.female .gene-kitten-card-badge {
  background: rgba(236,72,153,.85);
}
.gene-kitten-card-name {
  font-size: .88rem;
  font-weight: 500;
  text-align: center;
  color: rgba(255,255,255,.9);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gene-litter-empty {
  margin: .3rem 0 0;
  padding: .9rem 1rem;
  font-size: .85rem;
  background: rgba(255,255,255,.03);
  border: 1px dashed rgba(148,163,184,.3);
  border-radius: .85rem;
  color: rgba(255,255,255,.7);
  text-align: center;
}
.gene-litter-empty a {
  color: var(--warm-gold, #d4a574);
  text-decoration: underline;
}

/* CTA final SEO */
.gene-cta-block {
  margin-top: 2.5rem;
  padding: 2.2rem 1.8rem;
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 0 0, rgba(236,72,153,.15) 0%, transparent 50%),
    radial-gradient(circle at 100% 0, rgba(59,130,246,.15) 0%, transparent 50%),
    linear-gradient(135deg, rgba(15,23,42,.98), rgba(2,6,23,1));
  border: 1px solid rgba(212,165,116,.25);
  text-align: center;
  color: #fff;
}
.gene-cta-block h2 {
  margin: 0 0 .7rem;
  font-size: clamp(1.3rem, 2vw + .3rem, 1.7rem);
}
.gene-cta-block p {
  margin: 0 auto 1.5rem;
  max-width: 620px;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}
.gene-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}

@media (max-width: 640px) {
  .gene-couple-block {
    padding: 1.3rem 1.1rem 1.5rem;
  }
  .gene-couple-poster-lg {
    gap: .55rem;
  }
  .gene-couple-poster-lg .gene-poster-name { font-size: .88rem; }
  .gene-litter-block {
    padding: .9rem 1rem 1.1rem;
  }
  .gene-kitten-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: .6rem;
  }
  .gene-kitten-card-name { font-size: .8rem; }
  .gene-cta-block {
    padding: 1.7rem 1.2rem;
  }
}

/* Full width page override (genealogy) */
.page--full {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* =========================================================
   10. LIGHTBOX
   ========================================================= */
.photo-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity .2s ease;
}
.photo-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
}
.photo-lightbox-dialog {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: min(90vh, 800px);
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 10% 0%, #111827 0%, #020617 65%);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 3.8rem;
}
.photo-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  object-fit: contain;
}
.photo-lightbox-close,
.photo-lightbox-prev,
.photo-lightbox-next {
  position: absolute;
  border: none;
  background: rgba(15, 23, 42, .9);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.photo-lightbox-close:hover,
.photo-lightbox-prev:hover,
.photo-lightbox-next:hover {
  background: rgba(248, 180, 60, .95);
  transform: translateY(-1px);
}
.photo-lightbox-close {
  top: 12px;
  right: 12px;
  font-size: 1.3rem;
  line-height: 1;
}
.photo-lightbox-prev {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.photo-lightbox-next {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* =========================================================
   11. MENTIONS LÉGALES
   ========================================================= */
.mentions-hero {
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(249,168,212,.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(147,197,253,.15) 0%, transparent 55%),
    linear-gradient(180deg, #020617 0%, #020617 65%);
}
.mentions-hero h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #f9fafb;
  margin: 0 0 .6rem;
}
.mentions-hero p {
  color: #9ca3af;
  font-size: .95rem;
}
.mentions-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
.mentions-content h2 {
  font-size: 1.2rem;
  font-weight: 650;
  margin: 2rem 0 .6rem;
  color: #f9fafb;
}
.mentions-content h2:first-child {
  margin-top: 0;
}
.mentions-content p {
  font-size: .92rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin: 0 0 .8rem;
}
.mentions-content ul {
  margin: .5rem 0 1rem 1.2rem;
  padding: 0;
  font-size: .9rem;
  color: #e5e7eb;
}
.mentions-content li {
  margin-bottom: .3rem;
}

/* Empty/404 section utility */
.empty-section {
  text-align: center;
  padding: 4rem 1.5rem;
}

/* =========================================================
   12. RESPONSIVE — STANDARDIZED BREAKPOINTS: 480, 640, 768, 1024
   ========================================================= */

@media (max-width: 1024px) {
  .genealogy-card {
    border-radius: 1.4rem;
    padding: 1.3rem 1.3rem 1.6rem;
  }
}

@media (max-width: 768px) {
  /* Hamburger menu */
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: .3rem;
    padding-top: .5rem;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    width: 100%;
    text-align: center;
    padding: .55rem .95rem;
    font-size: .88rem;
  }
  .topbar-inner {
    flex-wrap: wrap;
    padding: .7rem 1rem .9rem;
    gap: .45rem;
  }

  /* Lightbox */
  .photo-lightbox-dialog {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    padding: 1rem 3rem;
  }
  .kitten-profile-link {
    right: .5rem;
    bottom: .5rem;
    padding: .24rem .7rem .28rem;
  }

  /* Home hero */
  .hero.home-hero {
    text-align: center;
    min-height: 65vh;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-highlights {
    max-width: none;
  }
  .next-mating {
    justify-content: center;
  }

  /* Contact / breeder */
  .contact-inner {
    grid-template-columns: minmax(0,1fr);
    padding: 1.5rem 1.4rem 1.7rem;
  }

  .kitten-header-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .genealogy-inner {
    flex-direction: column;
  }
  .genealogy-head,
  .genealogy-main {
    max-width: 100%;
  }
  .gene-parent-row.father {
    margin-left: 0;
  }
  .breeder-card {
    grid-template-columns: minmax(0,1fr);
    padding: 1.2rem 1.2rem 1.5rem;
  }

  /* Litter top info */
  .litter-top-info {
    flex-wrap: wrap;
  }

  /* Gene hero */
  .gene-hero {
    padding: 3.1rem 1.1rem 2.6rem;
  }
  .genealogy-page-section {
    padding: 2.3rem 1.1rem 2.7rem;
  }
  .gene-parents {
    flex-direction: column;
  }
  .gene-parent {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.3rem 1.1rem 1.15rem;
  }
  .gene-parents .gene-parent-avatar {
    width: 5.8rem;
    height: 5.8rem;
    margin-bottom: .55rem;
  }
  .gene-parent-text {
    max-width: 100%;
  }
  .gene-parents .gene-parent-text span.label {
    margin-bottom: .12rem;
    font-size: .74rem;
  }
  .gene-parents .gene-parent-text strong {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    font-size: 1rem;
  }

  /* News */
  .news-card-head { flex-direction: column; }
  .news-thumb { width: 100%; margin-top: .6rem; }
  .news-hero { padding: 3rem 1.1rem 3rem; }

  /* Article */
  .article-hero { padding: 3rem 1.1rem 2.1rem; }
  .article-main { padding: 0 1.1rem 3rem; }
  .article-card { margin-top: -1.2rem; border-radius: 1.4rem; }
  .article-body { padding: 1.4rem 1.1rem 1.5rem; }
  .linked-block { grid-template-columns: minmax(0, 1fr); }

  /* Kitten detail */
  .kitten-hero { padding: 2.8rem 1.1rem 2.2rem; }
  .kitten-hero-inner { grid-template-columns: minmax(0,1fr); }
  .kitten-main { padding: 0 1.1rem 3rem; }
  .kitten-main-inner { grid-template-columns: minmax(0,1fr); }

  /* Page padding */
  .page { padding-inline: 1rem; }
  .cards.litters { grid-template-columns: 1fr; }

  /* Home intro features */
  .intro-features { grid-template-columns: 1fr; }
  .archive-thumb { width: 48px; height: 48px; }

}

@media (max-width: 640px) {
  .genealogy-card-hero {
    padding: 1.2rem 1.3rem 1.4rem;
    border-radius: 1.3rem;
  }
  .gene-parent-avatar {
    width: 3.2rem;
    height: 3.2rem;
  }
  .gene-kitten-img {
    width: 2rem;
    height: 2rem;
  }
  .card-body {
    padding: .9rem .95rem 1rem;
  }
  .card-actions .btn-secondary,
  .card-actions .btn-tertiary {
    font-size: .98rem;
    padding: 1rem 1.1rem;
  }
  .gene-litter-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .gene-litter-name {
    white-space: normal;
    text-overflow: clip;
    max-width: 100%;
    word-break: break-word;
  }
  .gene-litter-meta {
    white-space: normal;
    text-overflow: clip;
  }
  .genealogy-page-section .gene-kittens {
    gap: .4rem;
  }
  .gene-kitten {
    width: 100%;
    justify-content: flex-start;
  }
  .gene-kitten-name {
    max-width: 100%;
    white-space: normal;
  }

  /* Article */
  .article-hero { padding-top: 2.5rem; }
  .article-title { font-size: clamp(1.8rem, 2.3rem, 2.5rem); }
  .article-breadcrumb { font-size: .74rem; }
  .article-meta { font-size: .76rem; }

  /* Kitten detail */
  .kitten-name { font-size: clamp(1.7rem,2.1rem,2.3rem); }
  .kitten-thumbs-wrapper { border-radius: 1rem; }

  /* Home intro */
  .home-page .intro-section .intro-shell {
    padding-inline: 1.2rem;
    border-radius: 1.3rem;
  }
}

@media (max-width: 480px) {
  .litter-hero {
    min-height: 240px;
  }
  .litter-hero-content {
    padding-top: 3.2rem;
    padding-bottom: 2.4rem;
  }
  .litter-top-info {
    margin: 1rem auto 2rem;
    border-radius: 1.4rem;
    gap: .8rem;
    padding: .9rem;
  }
  .kittens-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: .8rem .85rem 1rem;
  }
  .hero.home-hero {
    padding-top: 4.3rem;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .breadcrumb {
    padding-inline: 1rem;
    font-size: .7rem;
  }
  .breadcrumb li {
    white-space: normal;
  }
  .breeder-photo {
    width: 160px;
    height: 160px;
    border-radius: 1.2rem;
  }
  .next-mating {
    margin-top: 1rem;
    gap: .45rem;
    padding: .4rem .8rem .4rem .5rem;
    border-radius: .8rem;
    font-size: .78rem;
  }
  .next-mating-icon {
    width: 24px;
    height: 24px;
  }
  .next-mating-icon svg {
    width: 12px;
    height: 12px;
  }
  .next-mating-names {
    font-size: .78rem;
  }
  .next-mating-note {
    display: none;
  }
  .photo-lightbox-close,
  .photo-lightbox-prev,
  .photo-lightbox-next {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  /* Home intro features */
  .intro-feature { padding: .85rem .95rem; }
  .archive-name { font-size: .84rem; }
  .archive-badge { display: none; }

  /* Home litters section */
  .home-page .section-litters {
    padding: 1.4rem 1.2rem 1.7rem;
    border-radius: 1.4rem;
  }
}

/* =========================================================
   PAGES DE CONTENU (landing, faq, reproducteurs, engagements)
   ========================================================= */
.page-content {
  padding-top: 0;
}
.content-hero {
  padding: 4.5rem 1.5rem 2.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(249,168,212,.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(147,197,253,.14) 0%, transparent 55%);
}
.content-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.content-eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(249,168,212,.08);
  border: 1px solid rgba(249,168,212,.22);
  padding: .4rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.content-hero h1 {
  font-size: clamp(1.8rem, 4vw + .5rem, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.content-sub {
  font-size: 1.05rem;
  color: var(--txt-dim);
  max-width: 640px;
  margin: 0 auto;
}

.content-section {
  padding: 2rem 1.5rem 4rem;
}
.content-inner {
  max-width: 780px;
  margin: 0 auto;
}
.content-inner h2 {
  font-size: clamp(1.3rem, 2.5vw + .3rem, 1.7rem);
  margin: 2.4rem 0 .8rem;
  color: var(--txt);
}
.content-inner h3 {
  font-size: 1.15rem;
  margin: 1.8rem 0 .6rem;
}
.content-inner p {
  color: rgba(255,255,255,.82);
  margin: 0 0 1rem;
}
.content-inner a:not(.btn-primary):not(.btn-secondary):not(.btn-tertiary) {
  color: #c4b5fd;
  text-decoration: underline;
  text-decoration-color: rgba(196,181,253,.35);
  text-underline-offset: 3px;
}
.content-inner a:not(.btn-primary):not(.btn-secondary):not(.btn-tertiary):hover {
  text-decoration-color: rgba(196,181,253,.8);
}
.content-list {
  margin: 0 0 1.2rem;
  padding-left: 1.25rem;
  color: rgba(255,255,255,.82);
}
.content-list li {
  margin-bottom: .45rem;
}
.content-list li .content-list {
  margin-top: .45rem;
}

.content-cta {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(249,168,212,.06), rgba(147,197,253,.06));
  text-align: center;
}
.content-cta h3 {
  margin-top: 0;
}
.content-cta p {
  max-width: 540px;
  margin: 0 auto 1.2rem;
}
.content-cta .btn-primary,
.content-cta .btn-secondary {
  display: inline-block;
  margin: .3rem .35rem;
}

/* ── FAQ accordéon (<details>/<summary>) ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin: 1rem 0 2rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  overflow: hidden;
  transition: background .2s ease;
}
.faq-item[open] {
  background: rgba(249,168,212,.05);
  border-color: rgba(249,168,212,.22);
}
.faq-question {
  cursor: pointer;
  padding: 1rem 2.8rem 1rem 1.2rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--txt);
  list-style: none;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
  padding: 0 1.2rem 1.1rem;
  color: rgba(255,255,255,.78);
  line-height: 1.55;
}

/* ── Reproducteurs ── */
.reproducers-note {
  background: linear-gradient(135deg, rgba(212,165,116,.1), rgba(212,165,116,.04));
  border: 1px solid rgba(212,165,116,.3);
  border-left: 3px solid var(--warm-gold, #d4a574);
  border-radius: .8rem;
  padding: 1rem 1.2rem;
  margin: .5rem 0 1.5rem;
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}
.reproducers-note strong {
  color: var(--warm-gold, #d4a574);
  font-weight: 600;
}
.reproducers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 1rem 0 2rem;
}
.reproducer-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform .2s ease, border-color .2s ease;
}
.reproducer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249,168,212,.3);
}
.reproducer-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255,255,255,.03);
}
.reproducer-photo img,
.reproducer-photo picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reproducer-body {
  padding: 1rem 1.1rem 1.2rem;
}
.reproducer-body h3 {
  margin: 0 0 .3rem;
  font-size: 1.05rem;
}
.reproducer-meta {
  color: var(--txt-dim);
  font-size: .88rem;
  margin: 0;
}

/* ── Footer enrichi (liens de contenu) ── */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.2rem;
  max-width: 880px;
  margin: 1rem auto 0;
  font-size: .88rem;
}
.footer-nav a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .15s ease;
}
.footer-nav a:hover {
  color: var(--accent);
}


/* =========================================================
   TIER 3 — Palette chaleureuse + badges confiance + form enrichi
   ========================================================= */
:root {
  /* Accents chaleureux rappel Maine Coon brown tabby / red */
  --warm-gold: #d4a574;
  --warm-copper: #c07850;
  --warm-bg: rgba(212, 165, 116, 0.08);
  --warm-border: rgba(212, 165, 116, 0.25);
}

/* ── Trust badges sous le hero ── */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 1.4rem auto 1.6rem;
  max-width: 640px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .95rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--warm-gold);
  background: var(--warm-bg);
  border: 1px solid var(--warm-border);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  min-height: 36px;
  line-height: 1.2;
}
.trust-badge-icon {
  font-size: 1rem;
  line-height: 1;
}
@media (max-width: 480px) {
  .trust-badges {
    gap: .35rem;
  }
  .trust-badge {
    padding: .4rem .7rem;
    font-size: .75rem;
  }
}

/* ── Form contact : field optional + 2 colonnes ── */
.field-optional {
  color: var(--txt-dim);
  font-weight: 400;
  font-size: .85em;
}
.field.field-inline-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) {
  .field.field-inline-2 {
    grid-template-columns: 1fr;
  }
}
.field.field-inline-2 > div {
  display: flex;
  flex-direction: column;
}
.field.field-inline-2 label {
  margin-bottom: .3rem;
  font-size: .85rem;
  color: rgba(255,255,255,.78);
}
.field.field-inline-2 select {
  width: 100%;
  padding: .7rem .9rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: .7rem;
  color: var(--txt);
  font-size: .95rem;
  font-family: inherit;
  cursor: pointer;
}
.field.field-inline-2 select:focus {
  outline: 2px solid rgba(212,165,116,.6);
  outline-offset: 1px;
  border-color: var(--warm-gold);
}

/* ── Section témoignages ── */
.testimonials-section {
  padding: 3rem 1.5rem 2.5rem;
  background:
    radial-gradient(circle at 30% 0%, rgba(212,165,116,.10) 0%, transparent 60%);
}
.testimonials-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.testimonials-head h2 {
  font-size: clamp(1.4rem, 2.5vw + .4rem, 1.9rem);
  margin: 0 0 .6rem;
}
.testimonials-head p {
  color: var(--txt-dim);
  margin: 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  max-width: 1080px;
  margin: 0 auto;
}
.testimonial-card {
  border: 1px solid var(--warm-border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  background: var(--warm-bg);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -.4rem;
  left: 1rem;
  font-size: 3rem;
  line-height: 1;
  color: var(--warm-gold);
  opacity: .4;
  font-family: Georgia, serif;
}
.testimonial-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  margin: 0 0 1rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.testimonial-author strong {
  color: var(--warm-gold);
  font-size: .95rem;
}
.testimonial-author small {
  color: var(--txt-dim);
  font-size: .8rem;
}

/* =========================================================
   REPRODUCTEURS — carrousel « stars » (home, style Netflix)
   ========================================================= */
.stars-section {
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(circle at 70% 0%, rgba(212,165,116,.10) 0%, transparent 55%);
}
.stars-head {
  max-width: 780px;
  margin: 0 auto 1.8rem;
  padding: 0 1.5rem;
  text-align: center;
}
.stars-eyebrow {
  color: var(--warm-gold, #d4a574);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 .5rem;
  font-weight: 600;
}
.stars-head h2 {
  font-size: clamp(1.5rem, 2.8vw + .4rem, 2.1rem);
  margin: 0 0 .6rem;
}
.stars-head p {
  color: var(--txt-dim);
  margin: 0;
}

.stars-scroll-wrap {
  position: relative;
}
.stars-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1.5rem;
  padding: .5rem 1.5rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--warm-gold, #d4a574) transparent;
  -webkit-overflow-scrolling: touch;
}
.stars-scroll::-webkit-scrollbar {
  height: 6px;
}
.stars-scroll::-webkit-scrollbar-thumb {
  background: var(--warm-gold, #d4a574);
  border-radius: 3px;
}
.stars-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,.04);
}

.star-card {
  flex: 0 0 auto;
  width: 210px;
  aspect-ratio: 3 / 4;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  scroll-snap-align: start;
  background: var(--warm-bg, rgba(212,165,116,.08));
  border: 1px solid var(--warm-border, rgba(212,165,116,.25));
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.star-card:hover,
.star-card:focus-visible {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 40px -15px rgba(212,165,116,.4);
  border-color: var(--warm-gold, #d4a574);
  z-index: 2;
  outline: none;
}
.star-card-img {
  position: absolute;
  inset: 0;
}
.star-card-img picture,
.star-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.star-card:hover .star-card-img img {
  transform: scale(1.08);
}
.star-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.8rem .9rem .9rem;
  background: linear-gradient(to top, rgba(0,0,0,.88) 15%, rgba(0,0,0,.55) 55%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 5.6rem;
}
.star-card-badge {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .22rem .55rem;
  border-radius: .4rem;
  margin-bottom: .35rem;
  color: #fff;
}
.star-card-badge.female {
  background: rgba(244, 114, 182, .92);
}
.star-card-badge.male {
  background: rgba(96, 165, 250, .92);
}
.star-card-badge.status-available {
  background: rgba(34, 197, 94, .92);
}
.star-card-badge.status-reserved {
  background: rgba(234, 179, 8, .92);
  color: #1c1917;
}
.star-card-badge.status-sold {
  background: rgba(120, 113, 108, .85);
}
.star-card-meta {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .72rem;
  color: rgba(255, 255, 255, .72);
  margin-top: .25rem;
  letter-spacing: .02em;
}

/* Seconde section Netflix (chatons) — légèrement plus compacte */
.latest-kittens-section {
  padding-top: 1.2rem;
  background:
    radial-gradient(circle at 30% 0%, rgba(212,165,116,.06) 0%, transparent 55%);
}
.star-card-name {
  font-size: 1.05rem;
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.2em * 2);
  word-break: break-word;
  hyphens: auto;
}

.star-card-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212,165,116,.15), rgba(212,165,116,.05));
  border: 1px dashed var(--warm-border, rgba(212,165,116,.3));
}
.star-card-more:hover {
  background: linear-gradient(135deg, rgba(212,165,116,.25), rgba(212,165,116,.1));
}
.star-card-more-inner {
  text-align: center;
  color: var(--warm-gold, #d4a574);
  font-weight: 600;
  padding: 1rem;
  line-height: 1.4;
  font-size: .95rem;
}
.star-card-more-arrow {
  display: block;
  font-size: 2rem;
  margin-bottom: .5rem;
  transition: transform .3s ease;
}
.star-card-more:hover .star-card-more-arrow {
  transform: translateX(6px);
}

@media (max-width: 640px) {
  .star-card { width: 160px; }
  .stars-scroll {
    gap: .75rem;
    padding: .5rem 1rem 1rem;
    scroll-padding-left: 1rem;
  }
  .star-card-name { font-size: .95rem; }
}

/* ── Section SEO local "chatons Maine Coon en Haute-Savoie" ── */
.local-seo-section {
  padding: 3rem 1.5rem 2.5rem;
  background:
    radial-gradient(circle at 70% 0%, rgba(190, 130, 170, .08) 0%, transparent 60%);
}
.local-seo-inner {
  max-width: 860px;
  margin: 0 auto;
}
.local-seo-inner h2 {
  font-size: clamp(1.4rem, 2.5vw + .4rem, 1.9rem);
  margin: 0 0 1rem;
  text-align: center;
}
.local-seo-intro {
  color: var(--txt-dim);
  margin: 0 0 1.5rem;
  line-height: 1.65;
  text-align: center;
}
.local-seo-cities {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  gap: .7rem;
}
.local-seo-cities li {
  padding: .85rem 1.1rem;
  background: var(--warm-bg);
  border: 1px solid var(--warm-border);
  border-radius: var(--radius);
  line-height: 1.55;
}
.local-seo-cities strong {
  color: var(--warm-gold);
}
.local-seo-cta {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}

/* ───────── ACTUALITÉS — REFONTE MAGAZINE ───────── */
/* Featured hero card (1er article) */
.news-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  background: linear-gradient(135deg, rgba(17,24,39,.95), rgba(15,23,42,.97));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  cursor: pointer;
}
.news-featured:hover {
  transform: translateY(-4px);
  border-color: rgba(249,168,212,.45);
  box-shadow: 0 38px 80px rgba(0,0,0,.85);
}
.news-featured--no-media {
  grid-template-columns: 1fr;
}
.news-featured-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #0b0914;
}
.news-featured-media img,
.news-featured-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.news-featured:hover .news-featured-media img,
.news-featured:hover .news-featured-media video {
  transform: scale(1.04);
}
.news-featured-body {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.news-featured-eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: linear-gradient(115deg, #f9a8d4 0%, #fbbf24 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.news-featured-title {
  font-size: clamp(1.4rem, 2.2vw + .4rem, 1.95rem);
  line-height: 1.18;
  font-weight: 700;
  margin: 0;
  letter-spacing: -.02em;
}
.news-featured-title a {
  color: var(--txt);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .3s ease;
}
.news-featured-title a:hover {
  background-size: 100% 1px;
}
.news-featured-excerpt {
  color: #cbd5e1;
  font-size: .98rem;
  line-height: 1.65;
  margin: 0;
}
.news-featured-cta {
  align-self: flex-start;
  margin-top: .4rem;
}

/* Badges overlay sur les médias */
.news-badges {
  position: absolute;
  top: .85rem;
  left: .85rem;
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  z-index: 3;
}
.news-badge-new,
.news-badge-tag {
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.news-badge-new {
  background: linear-gradient(135deg, rgba(251,191,36,.95), rgba(249,168,212,.95));
  color: #1f1b14;
  box-shadow: 0 8px 22px rgba(251,191,36,.35);
}
.news-badge-tag {
  background: rgba(15,23,42,.72);
  color: #fbdfe9;
  border: 1px solid rgba(255,255,255,.15);
}

/* Grille articles (2 col desktop, 1 col mobile) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.news-card--grid {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.news-card--grid:hover {
  transform: translateY(-4px);
}
.news-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b0914;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.news-card-media img,
.news-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.news-card--grid:hover .news-card-media img,
.news-card--grid:hover .news-card-media video {
  transform: scale(1.05);
}
.news-card-media--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.news-card-body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.news-card--grid .news-title {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
}
.news-card--grid .news-meta {
  display: flex;
  gap: .25rem;
  flex-wrap: wrap;
}
.news-readtime {
  color: var(--txt-dim);
}
.news-card--grid .news-body {
  margin: 0;
  font-size: .88rem;
  line-height: 1.6;
  color: #cbd5e1;
  white-space: normal;
}
.news-card-kitten {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  padding-top: .6rem;
  font-size: .8rem;
  color: var(--accent);
  text-decoration: none;
  border-top: 1px dashed rgba(255,255,255,.08);
}
.news-card-kitten:hover {
  color: #fbbf24;
}
.news-card-kitten .kitten-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.news-card--no-media .news-card-body {
  padding: 1.6rem 1.4rem 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .news-featured {
    grid-template-columns: 1fr;
  }
  .news-featured-media {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }
  .news-featured-body {
    padding: 1.6rem 1.4rem 1.8rem;
  }
}
@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .news-featured-title {
    font-size: 1.35rem;
  }
  .news-featured-body {
    padding: 1.3rem 1.2rem 1.6rem;
  }
}
