/* FamilyPet+ — feuille de style partagée (pages localisées + blog).
   Reprend le design de la page d'accueil (Fredoka + Nunito, fond crème, aurora). */
:root {
  --cream:#FFF6EA; --paper:#FFFFFF;
  --ink:#43352B; --ink2:#7A6A5D; --ink3:#A89A8C;
  --green:#4CAF6E; --greenD:#2F8F54; --greenTint:#E3F5E8;
  --greenBtn:#277A47; --greenText:#1B6E3C;
  --sky:#5FC0E6; --skyD:#2A7AAC; --skyTint:#DCF1FA;
  --honey:#E0A12E; --honeyD:#B66E15; --honeyTint:#FDF0D2;
  --coral:#E26B5A; --coralD:#B0402F; --coralTint:#FBE2DD;
  --rose:#F58FB0; --roseD:#C0457F; --roseTint:#FCE2EC;
  --lilac:#B89BE6; --lilacD:#7E5BC0; --lilacTint:#EFE7FB;
  --glass:rgba(255,255,255,.55); --glassBorder:rgba(255,255,255,.85);
  --shadow:0 10px 30px rgba(127,90,52,.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'Nunito', system-ui, sans-serif; color: var(--ink); background: var(--cream); min-height: 100vh; line-height: 1.5; overflow-x: hidden; }

.amb { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: linear-gradient(125deg,#E7F6EB,#DCEFF8,#EFE4FB,#FCE6EE,#E7F6EB); background-size: 300% 300%; animation: appAur 16s ease infinite; }
@keyframes appAur { 0%{background-position:0% 50%;} 50%{background-position:100% 50%;} 100%{background-position:0% 50%;} }
.paws { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.apaw { position: absolute; color: rgba(127,90,52,.5); opacity: 0; animation: appPaw 9s linear infinite; will-change: transform, opacity; }
.apaw::before { content: "🐾"; }
@keyframes appPaw { 0%{opacity:0;transform:translateY(40px) rotate(var(--r,0deg)) scale(.7);} 12%{opacity:.14;} 55%{opacity:.14;} 100%{opacity:0;transform:translateY(-220px) rotate(var(--r,0deg)) scale(1.05);} }

a { color: var(--greenText); text-decoration: none; }
:focus-visible { outline: 3px solid var(--greenD); outline-offset: 3px; border-radius: 6px; }

header.site { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(255,246,234,.92); border-bottom: 1px solid rgba(127,90,52,.07); }
.header-in { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 21px; color: var(--ink); }
.brand-logo { width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(135deg, var(--green), var(--greenD)); display: flex; align-items: center; justify-content: center; font-size: 21px; box-shadow: 0 6px 16px rgba(47,143,84,.30); }
.brand b { color: var(--greenText); font-weight: 600; }
nav.site { display: flex; align-items: center; gap: 6px; }
nav.site a { color: var(--ink2); font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
nav.site a:hover { color: var(--greenText); background: rgba(255,255,255,.55); }
.nav-cta { color: #fff !important; background: var(--greenBtn); box-shadow: 0 6px 16px rgba(47,143,84,.30); }
.nav-cta:hover { filter: brightness(1.08); }

.hero { max-width: 880px; margin: 0 auto; padding: 56px 24px 30px; text-align: center; }
.petring { position: relative; width: 220px; height: 220px; margin: 0 auto 30px; display: flex; align-items: center; justify-content: center; }
.petring .halo { position: absolute; inset: 0; border-radius: 50%; padding: 6px; background: conic-gradient(from 0deg,#5FC0E6,#7FE0A0,#FBC55A,#F58FB0,#B89BE6,#5FC0E6); -webkit-mask: radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 6px)); mask: radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 6px)); animation: spin 7s linear infinite; }
@supports not ((-webkit-mask: radial-gradient(#000,#000)) or (mask: radial-gradient(#000,#000))) { .petring .halo { background: transparent; } }
@keyframes spin { to { transform: rotate(360deg); } }
.petring .av { position: relative; z-index: 1; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle at 35% 30%,#BFE3C0,#7FBE86); display: flex; align-items: center; justify-content: center; font-size: 92px; border: 6px solid #fff; box-shadow: 0 14px 30px rgba(127,90,52,.22); animation: breathe 3.4s ease-in-out infinite; }
@keyframes breathe { 0%,100%{transform:scale(1);} 50%{transform:scale(1.035);} }
.petring .chip { position: absolute; z-index: 2; width: 50px; height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 14px rgba(127,90,52,.14); }
.petring .chip svg { width: 24px; height: 24px; }
.petring .c1 { top: 0; right: 2px; color: var(--sky); animation: float 4s ease-in-out infinite; }
.petring .c2 { bottom: 22px; left: -8px; color: var(--honey); animation: float 4s ease-in-out .8s infinite; }
.petring .c3 { bottom: -4px; right: 28px; color: var(--rose); animation: float 4s ease-in-out 1.6s infinite; }
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-9px);} }

.hero h1 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: clamp(34px, 6vw, 58px); line-height: 1.06; letter-spacing: -.5px; max-width: 720px; margin: 0 auto 18px; }
.hero h1 span { color: var(--greenD); }
.hero p { font-size: clamp(16px, 2.2vw, 20px); color: var(--ink2); font-weight: 600; max-width: 560px; margin: 0 auto 32px; line-height: 1.5; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 999px; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 16px; cursor: pointer; transition: transform .14s, box-shadow .14s, background .14s; }
.btn-primary { background: var(--greenBtn); color: #fff; box-shadow: 0 10px 24px rgba(47,143,84,.40); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(47,143,84,.48); }
.btn-primary:active { transform: scale(.98); }
.btn-primary svg { width: 22px; height: 22px; }
.btn-ghost { background: var(--glass); border: 1px solid var(--glassBorder); color: var(--ink); backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.trust { margin-top: 22px; font-size: 13.5px; color: var(--ink2); font-weight: 700; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust svg { width: 16px; height: 16px; color: var(--greenText); }

.section { max-width: 1120px; margin: 0 auto; padding: 48px 24px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.eyebrow { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--greenText); }
.section-head h2 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.5px; margin: 8px 0 10px; }
.section-head p { color: var(--ink2); font-weight: 600; font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.feature { background: var(--glass); border: 1px solid var(--glassBorder); border-radius: 22px; padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 18px rgba(127,90,52,.08); transition: transform .18s, box-shadow .18s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; font-size: 19px; margin-bottom: 7px; color: var(--ink); }
.feature p { color: var(--ink2); font-weight: 600; font-size: 14.5px; line-height: 1.55; }

.closing { max-width: 1120px; margin: 24px auto 0; padding: 0 24px; }
.closing-card { background: var(--glass); border: 1px solid var(--glassBorder); border-radius: 30px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); padding: 48px 32px; text-align: center; }
.closing-card h2 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.5px; margin-bottom: 10px; }
.closing-card h2 span { color: var(--greenD); }
.closing-card p { color: var(--ink2); font-weight: 600; font-size: 16px; max-width: 460px; margin: 0 auto 28px; }

footer.site { max-width: 1120px; margin: 56px auto 0; padding: 28px 24px 48px; font-size: 13px; color: var(--ink2); font-weight: 700; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid rgba(127,90,52,.10); }
footer.site nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
footer.site a { color: var(--ink2); padding: 6px 8px; border-radius: 8px; }
footer.site a:hover { color: var(--greenText); }

/* ── Fil d'Ariane ─────────────────────────────────────────────── */
.crumbs { max-width: 760px; margin: 0 auto; padding: 18px 24px 0; font-size: 13px; color: var(--ink2); font-weight: 700; }
.crumbs a { color: var(--ink2); } .crumbs a:hover { color: var(--greenText); }

/* ── Article (blog) ───────────────────────────────────────────── */
.article { max-width: 760px; margin: 0 auto; padding: 8px 24px 10px; }
.article .post-meta { color: var(--ink3); font-weight: 700; font-size: 13.5px; margin-bottom: 14px; }
.article h1 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: clamp(28px, 5vw, 44px); line-height: 1.1; letter-spacing: -.5px; margin: 6px 0 18px; }
.article h2 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: clamp(22px, 3.5vw, 30px); margin: 34px 0 12px; }
.article h3 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; font-size: 20px; margin: 24px 0 8px; }
.article p { font-size: 17px; line-height: 1.7; color: var(--ink); margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 18px 22px; } .article li { font-size: 17px; line-height: 1.7; margin-bottom: 6px; }
.article a { color: var(--greenText); text-decoration: underline; text-underline-offset: 2px; }
.article strong { color: var(--ink); font-weight: 800; }
.article .note { background: var(--honeyTint); border: 1px solid #F0D89A; border-radius: 16px; padding: 14px 18px; font-size: 15px; font-weight: 600; color: var(--ink); margin: 18px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.article th, .article td { border: 1px solid rgba(127,90,52,.18); padding: 9px 12px; text-align: left; }
.article th { background: var(--greenTint); }
.cta-card { background: var(--glass); border: 1px solid var(--glassBorder); border-radius: 22px; box-shadow: var(--shadow); padding: 24px; margin: 28px 0; text-align: center; }
.cta-card .btn { height: 50px; }
.faq { margin: 26px 0; }
.faq details { background: var(--paper); border: 1px solid rgba(127,90,52,.12); border-radius: 14px; padding: 4px 16px; margin-bottom: 10px; }
.faq summary { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; font-size: 17px; cursor: pointer; padding: 12px 0; }
.faq details p { font-size: 16px; padding-bottom: 8px; }
.related { border-top: 1px solid rgba(127,90,52,.12); margin-top: 30px; padding-top: 16px; }
.related a { display: block; font-weight: 700; padding: 6px 0; }

/* ── Index du blog ────────────────────────────────────────────── */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.post-card { display: block; background: var(--glass); border: 1px solid var(--glassBorder); border-radius: 22px; padding: 24px; box-shadow: 0 6px 18px rgba(127,90,52,.08); transition: transform .18s, box-shadow .18s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .tag { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--greenText); }
.post-card h3 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; font-size: 20px; color: var(--ink); margin: 6px 0 8px; }
.post-card p { color: var(--ink2); font-weight: 600; font-size: 14.5px; line-height: 1.55; }

@media (max-width: 560px) {
  nav.site a:not(.nav-cta) { display: none; }
  .hero { padding-top: 40px; }
  .petring { width: 190px; height: 190px; }
  .petring .av { width: 150px; height: 150px; font-size: 78px; }
  .btn { width: 100%; justify-content: center; }
  footer.site { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .amb, .apaw, .halo, .av, .chip { animation: none !important; }
  .paws { display: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .feature:hover, .post-card:hover { transform: none; }
}
@media print {
  .amb, .paws { display: none !important; }
  header.site { position: static; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border: none; }
  body { background: #fff; }
  .btn, .feature, .closing-card, .post-card { box-shadow: none; }
}
