/* =========================================================
   WAFI — v2 · design propre, doux et professionnel
   ========================================================= */
:root {
  --bg: #FBF7F1;
  --surface: #FFFFFF;
  --peach: #FFF1E2;
  --peach-2: #FFE3C4;
  --ink: #231A33;
  --ink-2: #4B4258;
  --muted: #7A7186;
  --line: rgba(35, 26, 51, .09);
  --sun: #F2A93B;
  --sun-dark: #E0952A;
  --live: #22C55E;
  --hold: #F59E0B;
  --rose: #F43F5E;
  --wa: #25D366;
  --shadow-card: 0 1px 2px rgba(35, 26, 51, .04), 0 10px 30px -12px rgba(35, 26, 51, .16);
  --shadow-hover: 0 2px 4px rgba(35, 26, 51, .05), 0 28px 50px -18px rgba(35, 26, 51, .28);
  --radius: 28px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.5, .64, 1);

  /* alias utilisés par le dashboard */
  --cream: var(--bg); --cream-2: #F3ECE2; --paper: var(--surface); --sun-2: var(--peach-2);
  --terra: #E07A3F; --sage: var(--live); --ink-soft: var(--ink-2);
  --shadow: var(--shadow-hover); --shadow-sm: var(--shadow-card);
  --r: 22px; --r-lg: var(--radius); --f-display: var(--font); --f-body: var(--font); --f-hand: var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 10px; }
.ico { display: inline-flex; width: 1.15em; height: 1.15em; }
.ico svg { width: 100%; height: 100%; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; border: 0;
  padding: .85em 1.35em; border-radius: 999px; font-weight: 700; font-size: .96rem; white-space: nowrap;
  transition: transform .3s var(--spring), box-shadow .3s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--primary, .btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(242, 169, 59, .9); }
.btn--primary:hover, .btn--sun:hover { background: var(--sun-dark); }
.btn--dark, .btn--ink { background: var(--ink); color: #fff; }
.btn--light { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8); }
.btn--lg { padding: 1em 1.6em; font-size: 1rem; }
.btn--sm { padding: .6em 1.05em; font-size: .9rem; }
.btn .ico, .btn > svg { width: 1.15em; height: 1.15em; flex: none; }
.link { font-weight: 700; color: var(--terra); }
.link:hover { text-decoration: underline; }

.pill-tag { display: inline-flex; align-items: center; gap: .5em; padding: .4em .9em; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-card); font-size: .85rem; font-weight: 700; color: var(--ink-2); margin: 0 0 1.2rem; }
.pill-tag--light { background: rgba(255, 255, 255, .7); box-shadow: none; }
.dot-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.dot-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3); opacity: 0; } }

/* ---------- Annonce ---------- */
.annonce { text-align: center; padding: .6rem 1rem; font-weight: 700; font-size: .88rem; background: var(--ink); color: #fff; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 12px; z-index: 50; width: min(1200px, calc(100% - 24px)); margin: 12px auto 0;
  display: flex; align-items: center; gap: 1rem; padding: 8px 8px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: var(--shadow-card);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand img { border-radius: 12px; transition: transform .5s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand__name { font-size: 1.45rem; font-weight: 800; letter-spacing: -.05em; }
.nav__links { display: flex; gap: .15rem; margin-left: auto; }
.nav__links a { font-weight: 600; font-size: .94rem; padding: .55em .95em; border-radius: 999px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav__links a:hover { background: var(--bg); color: var(--ink); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); position: relative; margin-left: auto; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.drawer { position: fixed; inset: 76px 12px auto; z-index: 49; display: grid; gap: .2rem; padding: .8rem; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-hover); animation: drop .3s var(--ease); }
.drawer a:not(.btn) { padding: .9rem 1rem; font-size: 1.2rem; font-weight: 700; border-radius: 14px; }
.drawer a:not(.btn):active { background: var(--bg); }
.drawer .btn { margin-top: .4rem; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Hero ---------- */
.hero { width: min(1200px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 60px); }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); letter-spacing: -.045em; line-height: 1; margin-bottom: 1.3rem; }
.accent { color: var(--sun); position: relative; white-space: nowrap; }
.accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: 99px; background: var(--peach-2); z-index: -1; transform-origin: left; animation: grow 1s .5s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.hero__lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-2); max-width: 32em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.8rem 0 2rem; }
.hero__proof { display: flex; align-items: center; gap: .9rem; }
.faces { display: flex; }
.faces span { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg); margin-left: -12px; background: var(--peach); }
.faces span:first-child { margin-left: 0; }
.faces img { width: 100%; height: 100%; object-fit: cover; }
.hero__proof b { display: block; font-size: 1rem; }
.hero__proof small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.hero__visual { position: relative; }
.hero__photo { border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-hover); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero__chip, .hero__dog {
  position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 20px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-hover);
  animation: bob 6s ease-in-out infinite;
}
.hero__chip b, .hero__dog b { display: block; font-size: .9rem; line-height: 1.2; }
.hero__chip small, .hero__dog small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.hero__chip--a { top: 7%; left: -6%; }
.hero__chip-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--peach); font-size: 1.1rem; }
.hero__dog { bottom: 6%; right: -5%; animation-delay: -3s; padding-right: 1rem; }
.hero__dog-img { flex: none; width: 52px; height: 52px; border-radius: 16px; overflow: hidden; background: var(--peach); }
.hero__dog-img img { width: 100%; height: 100%; object-fit: cover; }
.hero__dog .mini-status { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 800; color: #15803D; text-transform: uppercase; letter-spacing: .06em; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Confiance ---------- */
.trust { width: min(1200px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.trust__item { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-card); }
.trust__item > span { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--peach); font-size: 1.25rem; }
.trust__item b { display: block; font-size: .92rem; line-height: 1.25; }
.trust__item small { color: var(--muted); font-size: .8rem; font-weight: 600; }

/* ---------- Sections ---------- */
.section { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: clamp(64px, 8vw, 110px) 0 0; }
.section--tight { padding-top: clamp(48px, 6vw, 80px); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.head--center { justify-content: center; text-align: center; }
.head__sub { color: var(--muted); margin: .6rem 0 0; font-size: 1.02rem; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-card); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; background: transparent; padding: .6em 1.1em; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink-2); transition: background .25s, color .25s; }
.tabs button.is-on { background: var(--ink); color: #fff; }

/* =========================================================
   CARTE CHIOT
   ========================================================= */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.card {
  --rx: 0deg; --ry: 0deg; --ty: 0px; --mx: 50%; --my: 50%; --o: 0;
  position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); cursor: pointer; outline: none;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover, .card:focus-visible { --ty: -6px; box-shadow: var(--shadow-hover); }
.card.is-tilting { transition: transform .1s linear, box-shadow .4s var(--ease); }
.card__media { position: relative; margin: 10px 10px 0; aspect-ratio: 1 / 1.08; border-radius: 20px; overflow: hidden; background: var(--peach); isolation: isolate; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.card:hover .card__media img { scale: 1.05; }
.status {
  position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; overflow: hidden;
  padding: .38em .8em .38em .7em; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .78rem; font-weight: 800; color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}
.status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status--live i { background: var(--live); }
.status--live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live); animation: ping 1.6s var(--ease) infinite; }
.status--live::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(34, 197, 94, .16) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 3.2s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { transform: translateX(100%); } }
.status--hold i { background: var(--hold); }
.status--done i { background: var(--rose); }
.card__video { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: .3rem; padding: .38em .7em; border-radius: 999px; background: rgba(35, 26, 51, .7); color: #fff; font-size: .74rem; font-weight: 700; backdrop-filter: blur(6px); }
.card__video svg { width: 11px; height: 11px; }
.card__offer { position: absolute; left: 10px; bottom: 10px; z-index: 2; max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: .38em .75em; border-radius: 999px; background: var(--sun); font-size: .76rem; font-weight: 800; }
.card__body { padding: 14px 18px 18px; }
.card__title { display: flex; align-items: center; gap: .45rem; }
.card__title h3 { font-size: 1.3rem; }
.sex { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .85rem; font-weight: 800; }
.sex--m { background: #E8F1FF; color: #2F6FDB; }
.sex--f { background: #FFE8EF; color: #E0457B; }
.card__breed { margin: .1rem 0 0; color: var(--ink-2); font-weight: 600; font-size: .94rem; }
.card__meta { margin: .1rem 0 0; color: var(--muted); font-size: .85rem; font-weight: 500; }
.card__go { position: absolute; right: 16px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: background .3s, color .3s, transform .4s var(--spring); }
.card__go svg { width: 18px; height: 18px; }
.card:hover .card__go { background: var(--ink); color: #fff; transform: translateX(3px); }
.card__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--o); transition: opacity .4s; background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 45%); mix-blend-mode: soft-light; z-index: 3; }
.card.is-vendu .card__media img { filter: saturate(.75); }
.grid .card { opacity: 0; translate: 0 24px; transition: opacity .6s var(--ease), translate .6s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.grid .card.is-in { opacity: 1; translate: 0 0; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }

/* ---------- Bannière test ---------- */
.match {
  position: relative; width: 100%; border: 0; text-align: left; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem;
  padding: clamp(28px, 5vw, 64px); border-radius: 40px; background: linear-gradient(135deg, #FFE9CF 0%, #FFE1DA 55%, #F4E3FF 100%); box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.match:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.match h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); margin-bottom: .9rem; max-width: 14em; }
.match p { color: var(--ink-2); font-size: 1.05rem; max-width: 30em; margin-bottom: 1.6rem; }
.match .btn { pointer-events: none; }
.match:hover .btn .ico { transform: translateX(4px); }
.match .btn .ico { transition: transform .3s var(--spring); }
.match__art { position: relative; height: 340px; }
.match__face { position: absolute; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-hover); background: var(--peach); animation: bob 7s ease-in-out infinite; }
.match__face img { width: 100%; height: 100%; object-fit: cover; }
.match__face:nth-of-type(1) { width: 190px; height: 190px; left: 28%; top: 18%; z-index: 2; }
.match__face:nth-of-type(2) { width: 120px; height: 120px; left: 2%; top: 52%; animation-delay: -2s; }
.match__face:nth-of-type(3) { width: 130px; height: 130px; right: 2%; top: 4%; animation-delay: -4s; }
.bubble { position: absolute; z-index: 3; padding: .55em .95em; border-radius: 18px; background: #fff; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-card); white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.bubble--1 { left: 0; top: 6%; border-bottom-left-radius: 4px; }
.bubble--2 { right: 0; top: 52%; animation-delay: -2.5s; border-bottom-right-radius: 4px; }
.bubble--3 { left: 30%; bottom: 0; animation-delay: -4s; }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step { background: var(--surface); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-card); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--peach); color: var(--terra); font-weight: 800; font-size: 1.1rem; margin-bottom: 1.1rem; }
.step h3 { margin-bottom: .4rem; font-size: 1.2rem; }
.step p { color: var(--ink-2); margin: 0; font-size: .96rem; }

/* ---------- Adoptés ---------- */
.adopted { display: flex; gap: 1.4rem; overflow-x: auto; padding: .5rem .2rem 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.adopted::-webkit-scrollbar { display: none; }
.adopted__item { flex: none; width: 150px; text-align: center; scroll-snap-align: start; border: 0; background: none; padding: 0; }
.adopted__photo { display: block; position: relative; width: 130px; height: 130px; margin: 0 auto .7rem; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-card); transition: transform .4s var(--spring); }
.adopted__item:hover .adopted__photo { transform: scale(1.05); }
.adopted__photo img { width: 100%; height: 100%; object-fit: cover; }
.adopted__heart { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--rose); box-shadow: var(--shadow-card); }
.adopted__heart svg { width: 15px; height: 15px; }
.adopted__item b { display: block; font-size: 1rem; }
.adopted__item small { color: var(--muted); font-weight: 600; font-size: .82rem; }

/* ---------- Pension ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; border-radius: 36px; box-shadow: var(--shadow-hover); }
.split h2 { margin-bottom: 1rem; }
.split p { color: var(--ink-2); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 1.3rem 0 1.8rem; display: grid; gap: .7rem; }
.ticks li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.ticks .ico { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #DCFCE7; color: #15803D; }

/* ---------- Bientôt ---------- */
.soon { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.soon__card { position: relative; padding: 2rem 1.8rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.soon__card--alt { background: linear-gradient(135deg, #FFF6E8, #FFEDEA); }
.soon__badge { position: absolute; top: 1.4rem; right: 1.4rem; padding: .3em .8em; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 800; }
.soon__emoji { font-size: 2.4rem; display: block; margin-bottom: 1rem; }
.soon__card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.soon__card p { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .7rem; }
.faq details { background: var(--surface); border-radius: 20px; padding: 0 1.4rem; box-shadow: var(--shadow-card); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 2.4rem 1.15rem 0; position: relative; font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); font-size: 1.2rem; font-weight: 600; transition: transform .3s var(--spring), background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--peach-2); }
.faq details p { color: var(--ink-2); padding-bottom: 1.2rem; margin: 0; }

/* ---------- Contact ---------- */
.cta { text-align: center; padding: clamp(40px, 7vw, 80px) 20px; border-radius: 40px; background: var(--ink); color: #fff; }
.cta__logo { margin: 0 auto 1.2rem; border-radius: 18px; }
.cta h2 { max-width: 16em; margin: 0 auto; }
.cta__phone { display: inline-block; margin: 1.2rem 0 1.8rem; font-size: clamp(2.2rem, 7vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; color: var(--sun); transition: transform .3s var(--spring); }
.cta__phone:hover { transform: scale(1.03); }
.cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; }
.cta__city { margin: 1.6rem 0 0; color: rgba(255, 255, 255, .65); font-weight: 600; font-size: .92rem; }

/* ---------- Footer ---------- */
.footer { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 110px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; color: var(--muted); font-size: .9rem; }
.footer p { margin: 0; }
.footer .brand__name { font-size: 1.25rem; color: var(--ink); }
.footer__links { display: flex; gap: 1.2rem; }
.footer__links a { font-weight: 700; color: var(--ink); }
.mbar { display: none; }

/* =========================================================
   FICHE CHIOT
   ========================================================= */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(35, 26, 51, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet { width: min(1080px, calc(100% - 32px)); max-height: calc(100dvh - 40px); border-radius: 32px; background: var(--bg); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .45); overflow: hidden; }
.sheet[open] { animation: pop .45s var(--spring); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.close { position: absolute; top: 14px; right: 14px; z-index: 6; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-card); font-weight: 800; transition: transform .3s var(--spring); }
.close:hover { transform: rotate(90deg); }
.close--flat { position: static; box-shadow: none; background: var(--surface); }
.sheet__body { overflow-y: auto; max-height: calc(100dvh - 40px); outline: none; }
.quiz__stage:focus { outline: none; }
.dog { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.dog__gallery { position: sticky; top: 0; align-self: start; padding: 16px; }
.dog__main { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: var(--peach); }
.dog__main img, .dog__main video { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; animation: fadeIn .4s var(--ease); }
.dog__main video { cursor: default; background: #000; object-fit: contain; }
@keyframes fadeIn { from { opacity: .3; } }
.dog__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font-size: 1.3rem; font-weight: 800; box-shadow: var(--shadow-card); }
.dog__nav--prev { left: 12px; } .dog__nav--next { right: 12px; }
.dog__thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.dog__thumbs button { position: relative; flex: none; width: 68px; height: 68px; padding: 0; border-radius: 14px; overflow: hidden; border: 2.5px solid transparent; opacity: .6; transition: all .25s; background: var(--ink); }
.dog__thumbs button.is-on { border-color: var(--sun); opacity: 1; }
.dog__thumbs img, .dog__thumbs video { width: 100%; height: 100%; object-fit: cover; }
.dog__thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .3); }
.dog__thumbs .play svg { width: 22px; height: 22px; }
.dog__info { padding: 28px 30px 0 14px; }
.dog__info .status { position: static; box-shadow: var(--shadow-card); }
.dog__name { font-size: clamp(2.2rem, 4.5vw, 3rem); letter-spacing: -.045em; margin: .7rem 0 .2rem; }
.dog__breed { color: var(--ink-2); font-weight: 600; font-size: 1.05rem; margin: 0 0 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }
.chips span { background: var(--surface); box-shadow: var(--shadow-card); padding: .45em .85em; border-radius: 999px; font-weight: 600; font-size: .86rem; }
.dog__offer { background: var(--peach); padding: .8rem 1rem; border-radius: 16px; font-weight: 700; margin-bottom: 1.2rem; }
.block { margin: 1.5rem 0; }
.block h3 { font-size: 1.05rem; margin-bottom: .55rem; }
.block p { color: var(--ink-2); margin: 0; }
.block--soft { background: var(--surface); border-radius: 20px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow-card); }
.health { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.health li { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .9rem; }
.health .ico { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #DCFCE7; color: #15803D; }
.health li.no { color: var(--muted); opacity: .6; }
.health li.no .ico { background: #F1F1F3; color: #A1A1AA; }
.breedbox dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: .8rem 0; }
.breedbox dt { font-size: .75rem; font-weight: 700; color: var(--muted); }
.breedbox dd { margin: 0; font-weight: 700; font-size: .9rem; }
.breedbox .fact { font-size: .92rem; background: var(--peach); padding: .7rem .9rem; border-radius: 14px; color: var(--ink-2); }
.share { display: flex; flex-wrap: wrap; gap: .55rem; }
.share__btn { display: flex; flex-direction: column; align-items: center; gap: .3rem; border: 0; background: none; padding: 0; font-size: .72rem; font-weight: 700; color: var(--ink-2); }
.share__btn > span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .3s var(--spring); }
.share__btn:hover > span { transform: translateY(-3px) scale(1.06); }
.share__btn svg { width: 22px; height: 22px; }
.share__btn--whatsapp > span { background: #25D366; }
.share__btn--facebook > span { background: #1877F2; }
.share__btn--messenger > span { background: linear-gradient(45deg, #0695FF, #A334FA 60%, #FF6968); }
.share__btn--x > span { background: #000; }
.share__btn--instagram > span { background: radial-gradient(circle at 30% 110%, #FFDB8B 0%, #EE653D 25%, #D42E81 50%, #A237B6 75%, #3E57BC 100%); }
.share__btn--link > span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); }
.share__btn.is-busy > span { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.dog__cta { position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; padding: 1rem 0 1.4rem; margin-top: 1rem; background: linear-gradient(180deg, rgba(251, 247, 241, 0), var(--bg) 35%); }
.dog__cta .btn { min-width: 0; white-space: normal; text-align: center; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(15, 10, 25, .94); display: grid; place-items: center; padding: 20px; }
.lightbox__media img, .lightbox__media video { max-width: 94vw; max-height: 88vh; border-radius: 14px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 400; background: var(--ink); color: #fff; padding: .85rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-hover); animation: toastIn .35s var(--spring); max-width: calc(100% - 32px); text-align: center; }
.toast.is-err { background: var(--rose); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } }

/* =========================================================
   TEST — trouver mon chien
   ========================================================= */
.quiz { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; background: var(--bg); }
.quiz[open] { display: flex; flex-direction: column; animation: fadeIn .3s var(--ease); }
.quiz__top { flex: none; display: flex; align-items: center; gap: 1rem; padding: 14px 18px; }
.quiz__top img { border-radius: 10px; }
.quiz__dots { flex: 1; display: flex; justify-content: center; gap: 6px; }
.quiz__dots i { width: 28px; height: 6px; border-radius: 99px; background: rgba(35, 26, 51, .1); transition: background .4s, width .4s var(--ease); }
.quiz__dots i.done { background: var(--sun); }
.quiz__dots i.now { width: 44px; background: var(--ink); }
.quiz__stage { flex: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: center; padding: clamp(20px, 5vh, 56px) 20px 40px; }
.q { width: min(820px, 100%); text-align: center; animation: qIn .45s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateY(16px); } }
.q__step { font-weight: 700; color: var(--muted); font-size: .9rem; }
.q__title { font-size: clamp(1.7rem, 4.4vw, 2.6rem); letter-spacing: -.035em; margin: .5rem 0 2rem; }
.q__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; }
.opt { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.5rem 1rem; border-radius: 24px; border: 0; background: var(--surface); box-shadow: var(--shadow-card); transition: transform .35s var(--spring), box-shadow .35s, background .2s, color .2s; }
.opt:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.opt.is-picked { background: var(--ink); color: #fff; transform: scale(1.03); }
.opt__emo { font-size: 2.6rem; line-height: 1; transition: transform .4s var(--spring); }
.opt:hover .opt__emo { transform: scale(1.15) rotate(-6deg); }
.opt b { font-size: 1.02rem; }
.opt small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.opt.is-picked small { color: rgba(255, 255, 255, .7); }
.q__back { margin-top: 1.6rem; background: none; border: 0; color: var(--muted); font-weight: 700; }
.intro { text-align: center; width: min(640px, 100%); animation: qIn .45s var(--ease); }
.intro__faces { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.intro__faces span { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 5px solid #fff; margin-left: -18px; box-shadow: var(--shadow-card); background: var(--peach); animation: bob 5s ease-in-out infinite; }
.intro__faces span:nth-child(2) { width: 104px; height: 104px; z-index: 2; animation-delay: -1.5s; }
.intro__faces span:nth-child(3) { animation-delay: -3s; }
.intro__faces span:first-child { margin-left: 0; }
.intro__faces img { width: 100%; height: 100%; object-fit: cover; }
.intro h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.04em; margin-bottom: .8rem; }
.intro p { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 1.8rem; }
.intro small { display: block; margin-top: 1rem; color: var(--muted); font-weight: 600; }
.loading { text-align: center; padding-top: 12vh; }
.loading__paw { font-size: 3rem; display: inline-block; animation: bob 1s ease-in-out infinite; }
.loading p { font-size: 1.4rem; font-weight: 800; margin-top: 1rem; }
.result { width: min(980px, 100%); animation: qIn .5s var(--ease); }
.result__head { text-align: center; margin-bottom: 1.8rem; }
.result__head .pill-tag { margin-bottom: .8rem; }
.result__head h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); letter-spacing: -.04em; }
.result__head p { color: var(--muted); margin: .5rem auto 0; max-width: 36em; }
.best { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.6rem; align-items: center; padding: 18px; border-radius: 32px; background: var(--surface); box-shadow: var(--shadow-hover); }
.best__photo { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: var(--peach); }
.best__photo img { width: 100%; height: 100%; object-fit: cover; }
.best__info { padding: 8px 10px 8px 0; text-align: left; }
.best__info h3 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -.04em; margin: .6rem 0 .1rem; }
.best__breed { color: var(--ink-2); font-weight: 600; margin: 0 0 1rem; }
.ring { --p: 90; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--sun) calc(var(--p) * 1%), #F1ECE4 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.ring b { position: relative; font-size: .95rem; }
.best__match { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.best__match span { font-weight: 700; color: var(--ink-2); font-size: .92rem; line-height: 1.3; }
.why { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .45rem; }
.why li { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; }
.why .ico { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #DCFCE7; color: #15803D; }
.best__btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.result h4 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin: 2.4rem 0 1rem; text-align: left; }
.result .grid .card { opacity: 1; translate: none; }
.pct { position: absolute; top: 10px; right: 10px; z-index: 4; padding: .38em .7em; border-radius: 999px; background: var(--ink); color: #fff; font-size: .76rem; font-weight: 800; }
.result__foot { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-top: 2.4rem; }
.confetti { position: fixed; top: -30px; z-index: 500; pointer-events: none; font-size: 1.4rem; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(420deg); } }

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .hero__chip--a { left: -2%; } .hero__dog { right: -2%; }
}
@media (max-width: 900px) {
  .nav__links, .nav__call { display: none; }
  .nav__burger { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; gap: 2.4rem; }
  .hero__visual { width: min(520px, 100%); margin: 0 auto; }
  .match { grid-template-columns: 1fr; text-align: center; }
  .match h2, .match p { margin-left: auto; margin-right: auto; }
  .match__art { height: 260px; max-width: 420px; width: 100%; margin: 0 auto; }
  .match__face:nth-of-type(1) { width: 150px; height: 150px; }
  .match__face:nth-of-type(2) { width: 96px; height: 96px; }
  .match__face:nth-of-type(3) { width: 104px; height: 104px; }
  .steps, .soon, .split { grid-template-columns: 1fr; }
  .dog { grid-template-columns: minmax(0, 1fr); }
  .dog__gallery { position: static; padding: 10px 10px 0; }
  .dog__info { padding: 18px 18px 0; }
  .best { grid-template-columns: 1fr; }
  .best__info { padding: 0 6px 6px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 6px; border-radius: 999px; background: rgba(35, 26, 51, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-hover);
  }
  .mbar__btn { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .85rem; border-radius: 999px; font-weight: 800; background: var(--sun); color: var(--ink); }
  .mbar__btn--wa { background: var(--wa); color: #fff; }
}
@media (max-width: 640px) {
  .section, .hero, .trust { width: calc(100% - 32px); }
  .hero h1 { font-size: 2.6rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__chip { padding: .55rem .7rem; } .hero__chip b { font-size: .8rem; } .hero__chip small { display: none; }
  .hero__chip-ico { width: 32px; height: 32px; }
  .hero__dog { padding: .5rem .8rem .5rem .5rem; } .hero__dog-img { width: 44px; height: 44px; }
  .trust { gap: .6rem; }
  .trust__item { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .9rem; }
  .head { margin-bottom: 1.4rem; }
  .grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .card { border-radius: 22px; }
  .card__media { margin: 6px 6px 0; border-radius: 17px; }
  .card__body { padding: 10px 12px 14px; }
  .card__title h3 { font-size: 1.05rem; }
  .card__breed { font-size: .8rem; line-height: 1.3; }
  .card__meta { font-size: .74rem; }
  .card__go { display: none; }
  .status { top: 7px; left: 7px; font-size: .68rem; padding: .3em .6em .3em .55em; }
  .card__video { top: 7px; right: 7px; font-size: 0; padding: .45em; }
  .card__offer { left: 7px; bottom: 7px; font-size: .66rem; }
  .sex { width: 20px; height: 20px; font-size: .72rem; }
  .match { border-radius: 30px; }
  .bubble { font-size: .74rem; }
  .q__title { margin-bottom: 1.4rem; }
  .q__opts { grid-template-columns: 1fr; gap: .6rem; }
  .opt { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: 0; align-items: center; justify-items: start; text-align: left; padding: 1rem 1.2rem; border-radius: 20px; }
  .opt__emo { grid-row: span 2; font-size: 2.1rem; }
  .opt b { font-size: 1rem; }
  .opt small { font-size: .82rem; }
  .dog__cta .btn { font-size: .92rem; padding: .95em .8em; }
  .health { grid-template-columns: 1fr; }
  .breedbox dl { grid-template-columns: 1fr 1fr; }
  .sheet { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .sheet__body { max-height: 100dvh; }
  .cta { border-radius: 30px; }
  .footer { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .grid .card { opacity: 1; transform: none; translate: none; }
}
