/* InsideYou : site vitrine, style Paysage (mêmes tokens que l'app) */
:root {
  --sky: #CDEBE4;
  --sky-2: #BFE3DC;
  --ink: #123B45;
  --ink-soft: #2F6068;
  --sun: #FBE29A;
  --sun-deep: #F2B544;
  --hill-far: #A6D8CA;
  --hill-mid: #7FC0AB;
  --hill-near: #4E9C86;
  --coral: #E4584A;
  --coral-deep: #B8453A;
  --line: #A9D6CB;
  --sheet: #F4FBF8;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 18px 40px rgba(18, 59, 69, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sheet);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--coral-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

/* Titres */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(38px, 6.4vw, 66px); }
h2 { font-size: clamp(29px, 4.2vw, 44px); }
h3 { font-size: 21px; line-height: 1.25; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); max-width: 36em; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-deep); background: var(--sun); padding: 6px 14px; border-radius: 999px; }

/* Navigation */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; position: relative; z-index: 5; }
.nav a.brand { display: inline-flex; align-items: center; text-decoration: none; }
.nav .brand img { width: 128px; height: auto; display: block; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav ul a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 999px; }
.nav ul a:hover { background: rgba(255,255,255,.6); }
.nav .btn { padding: 10px 18px; font-size: 15px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--coral); color: #fff; font-weight: 700; font-size: 17px; padding: 15px 26px; border-radius: 999px; text-decoration: none; border: 0; box-shadow: 0 5px 0 var(--coral-deep); transition: transform .12s, box-shadow .12s; cursor: pointer; }
.btn:hover { color: #fff; transform: translateY(2px); box-shadow: 0 3px 0 var(--coral-deep); }
.btn.ghost { background: rgba(255,255,255,.75); color: var(--ink); box-shadow: 0 5px 0 var(--line); }
.btn.ghost:hover { color: var(--ink); box-shadow: 0 3px 0 var(--line); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 28px 0 0; position: relative; z-index: 2; }
.hero-copy { padding: 24px 0 120px; }
.hero h1 { margin: 18px 0 18px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; align-items: center; }
.hero .badge-link img { height: 52px; width: auto; display: block; }
.hero .micro { font-size: 14px; color: var(--ink-soft); font-weight: 600; margin: 0; }
.sun { position: absolute; top: 150px; right: 2%; width: 70px; height: 70px; border-radius: 50%; background: var(--sun); border: 5px solid var(--sun-deep); animation: bob 6s ease-in-out infinite; z-index: 1; }
.cloud { position: absolute; fill: #fff; animation: drift 60s linear infinite; z-index: 1; opacity: .92; }
.cloud.c1 { top: 120px; }
.cloud.c2 { top: 300px; animation-duration: 85s; animation-delay: -30s; opacity: .7; }
.cloud.c3 { top: 60px; animation-duration: 110s; animation-delay: -60s; opacity: .8; }
@keyframes drift { from { transform: translateX(-220px); } to { transform: translateX(110vw); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 130px; display: block; z-index: 3; }

/* Téléphone */
.phone { position: relative; width: min(290px, 70vw); margin: 0 auto -60px; background: var(--ink); border-radius: 44px; padding: 10px; box-shadow: 0 30px 60px rgba(18,59,69,.28); z-index: 2; transform: rotate(2deg); }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; background: var(--sky); }
.phone.alt { transform: rotate(-2deg); }

/* Sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { margin-bottom: 40px; }
.section-head h2 { margin: 14px 0 14px; }
.mint { background: linear-gradient(180deg, var(--sky) 0%, #E4F4EF 100%); }
.grid { display: grid; gap: 20px; }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 28px; border-bottom: 5px solid var(--line); box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 8px; }
.card p { margin: 0; color: var(--ink-soft); }
.ico { width: 52px; height: 52px; border-radius: 16px; background: var(--sun); display: grid; place-items: center; font-size: 26px; }

/* Bloc réponse (GEO) */
.answer { background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: 8px 8px 0 var(--sun); }
.answer p { margin: 0; font-size: clamp(19px, 2.4vw, 23px); line-height: 1.55; }
.answer strong { background: linear-gradient(transparent 62%, var(--sun) 62%); }

/* Exemple avant / après */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; margin-top: 8px; }
.ba .bubble { background: #fff; border-radius: 22px; padding: 24px; border-bottom: 5px solid var(--line); box-shadow: var(--shadow); }
.ba .bubble small { display: block; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.ba .bubble p { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.ba .bubble.good { background: var(--sun); border-bottom-color: var(--sun-deep); }
.ba .arrow { display: grid; place-items: center; font-size: 30px; color: var(--coral-deep); font-weight: 700; }

/* Étapes */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 28px; border-bottom: 5px solid var(--line); box-shadow: var(--shadow); position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Captures */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 28px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots figure { flex: 0 0 clamp(210px, 24vw, 260px); margin: 0; scroll-snap-align: start; }
.shots img { width: 100%; height: auto; display: block; border-radius: 28px; border: 6px solid var(--ink); background: var(--sky); box-shadow: var(--shadow); }
.shots figcaption { margin-top: 12px; text-align: center; font-weight: 600; font-size: 15px; color: var(--ink-soft); }

/* Moments */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.chips li { background: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; border-bottom: 4px solid var(--line); }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { background: #fff; border-radius: var(--radius); padding: 32px 28px; text-align: center; border-bottom: 5px solid var(--line); box-shadow: var(--shadow); position: relative; }
.plan.best { border: 3px solid var(--ink); border-bottom-width: 6px; }
.plan .tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--sun); color: var(--ink); font-weight: 700; font-size: 13px; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 20px; color: var(--ink-soft); font-family: var(--sans); }
.plan .price { font-family: var(--serif); font-size: 46px; font-weight: 700; margin: 6px 0 2px; }
.plan .per { color: var(--ink-soft); font-weight: 600; margin: 0; }
.perks { list-style: none; padding: 0; margin: 32px auto 0; max-width: 560px; display: grid; gap: 12px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks li::before { content: "✓"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 700; color: var(--ink); }
.fine { text-align: center; color: var(--ink-soft); font-size: 15px; margin-top: 22px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 20px; border-bottom: 4px solid var(--line); padding: 0 24px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--coral-deep); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); }

/* Appel final */
.final { background: linear-gradient(180deg, var(--sky-2), var(--sky)); text-align: center; position: relative; overflow: hidden; padding-bottom: 150px; }
.final .lead { margin-inline: auto; }
.final .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; align-items: center; }
.final .badge-link img { height: 52px; width: auto; display: block; }

/* Pied de page */
footer { background: var(--ink); color: #D6EBE6; padding: 48px 0 40px; font-size: 15px; }
footer a { color: #fff; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer h2 { font-family: var(--sans); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); margin: 0 0 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; }

/* Articles */
.crumbs { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
.crumbs a { color: var(--ink-soft); }
.article-hero { background: linear-gradient(180deg, var(--sky), var(--sky-2)); padding: 20px 0 64px; position: relative; overflow: hidden; }
.article-hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 14px 0; }
.article-hero .by { color: var(--ink-soft); font-size: 15px; font-weight: 600; margin: 0; }
.prose { padding: 48px 0 24px; }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 44px 0 14px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: #1d4a54; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .answer { margin: 8px 0 32px; }
.callout { background: var(--sun); border-radius: 20px; padding: 20px 24px; margin: 28px 0; font-weight: 600; }
.related { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
.related a { display: block; background: #fff; border-radius: 20px; padding: 20px; border-bottom: 4px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.related a span { display: block; font-weight: 500; color: var(--ink-soft); margin-top: 4px; font-size: 15px; }

/* CTA mobile collant */
.sticky-cta { display: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { padding-bottom: 8px; }
  .hero .lead { margin-inline: auto; }
  .hero .cta-row { justify-content: center; }
  .phone { margin-bottom: -50px; }
  .sun { top: 110px; width: 52px; height: 52px; right: 6%; }
  .grid.g3, .steps { grid-template-columns: 1fr; }
  .grid.g2, .plans, .related { grid-template-columns: 1fr; }
  .ba { grid-template-columns: 1fr; }
  .ba .arrow { transform: rotate(90deg); }
  footer .cols { grid-template-columns: 1fr; }
  .nav ul li:not(:last-child) { display: none; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(244,251,248,.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); z-index: 50; }
  .sticky-cta .btn { width: 100%; }
  body { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sun, .cloud { animation: none; }
  .btn { transition: none; }
}

/* ---- Refonte 2026-11 : mêmes codes que l'accueil (paysage vivant) ---- */
html { overflow-x: clip; }
.btn { box-shadow: 0 12px 26px rgba(184,69,58,.28); transition: transform .25s cubic-bezier(.22,.8,.24,1), box-shadow .25s, background .2s; }
.btn:hover { background: #9C372E; color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(184,69,58,.34); }
.btn.ghost { box-shadow: none; }
.btn.ghost:hover { background: #fff; box-shadow: none; }
.card, .steps li, .plan, .ba .bubble, .related a, .faq details, .chips li { border-bottom: 0; box-shadow: 0 14px 34px rgba(18,59,69,.08); }
.answer { border: 0; box-shadow: 0 18px 44px rgba(18,59,69,.09); font-family: var(--serif); }
.answer p { font-size: clamp(18px, 2.1vw, 21px); }
.answer strong { background: none; }
.related a { transition: transform .35s cubic-bezier(.22,.8,.24,1), box-shadow .35s; font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.related a:hover { transform: translateY(-5px); box-shadow: 0 22px 40px rgba(18,59,69,.13); color: var(--ink); }
.related a span { font-family: var(--sans); font-weight: 400; line-height: 1.5; }
.faq summary::after { transition: transform .3s cubic-bezier(.22,.8,.24,1); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.callout { background: linear-gradient(135deg, var(--sun), #FBEFC4); box-shadow: 0 16px 36px rgba(242,181,68,.28); }
.article-hero { background: linear-gradient(180deg, #B5DED6 0%, #D6EEE8 60%, #F4FBF8 100%); padding-bottom: 110px; }
.article-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 90' preserveAspectRatio='none'%3E%3Cpath d='M0 40Q100 5 200 35T400 25V90H0Z' fill='%23A6D8CA'/%3E%3Cpath d='M0 60Q120 25 230 55T400 48V90H0Z' fill='%237FC0AB'/%3E%3Cpath d='M0 78Q110 52 220 74T400 68V90H0Z' fill='%23F4FBF8'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; pointer-events: none; }
.article-hero .cloud.c1 { top: 90px; left: 62%; animation: none; opacity: .8; }
footer { background: #0C2B33; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--hill-near), var(--sun-deep), var(--coral)); z-index: 60; }
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.22,.8,.24,1), transform .8s cubic-bezier(.22,.8,.24,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .article-hero h1, .js .article-hero .crumbs, .js .article-hero .by { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.22,.8,.24,1), transform .9s cubic-bezier(.22,.8,.24,1); }
.js.loaded .article-hero h1 { opacity: 1; transform: none; transition-delay: .1s; }
.js.loaded .article-hero .crumbs, .js.loaded .article-hero .by { opacity: 1; transform: none; transition-delay: .25s; }
@media (max-width: 900px) {
  .sticky-cta { transition: opacity .3s, transform .3s; }
  .sticky-cta.off { opacity: 0; transform: translateY(16px); pointer-events: none; }
  .article-hero { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .article-hero h1, .js .article-hero .crumbs, .js .article-hero .by { opacity: 1; transform: none; transition: none; }
  .progress { display: none; }
}

/* Articles piliers : À retenir, sommaire, bloc d'entonnoir */
.box-title { font: 700 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-deep); margin: 0 0 10px; }
.takeaways { background: #fff; border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 14px 34px rgba(18,59,69,.08); margin: 0 0 22px; }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { margin-bottom: 8px; }
.toc { background: #E9F6F1; border-radius: var(--radius); padding: 24px 28px; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 22px; columns: 1; }
.toc li { margin-bottom: 6px; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { text-decoration: underline; }
.funnel { background: linear-gradient(135deg, #123B45, #1F5A52); color: #fff; border-radius: var(--radius); padding: 30px 30px 26px; margin: 36px 0; box-shadow: 0 24px 50px rgba(18,59,69,.22); }
.funnel .box-title { color: var(--sun); }
.funnel p { color: #E7F5F0; margin: 0 0 16px; }
.funnel a:not(.btn) { color: #fff; }
.funnel strong { color: #fff; font-family: var(--serif); font-size: 21px; line-height: 1.3; display: block; margin-bottom: 8px; }
.funnel .btn { background: var(--sun); color: var(--ink) !important; box-shadow: none; }
.funnel .btn:hover { background: #fff; }
.prose h2[id] { scroll-margin-top: 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: #E9F6F1; }

/* Encadre autrice */
.author-box { background: #fff; border-radius: var(--radius); padding: 24px 28px; margin: 36px 0 8px; box-shadow: 0 14px 34px rgba(18,59,69,.08); }
.author-box p:last-child { margin: 0; }
.by a { color: inherit; font-weight: 700; }

/* Pied de page compact */
footer ul { gap: 6px; }
footer { padding: 44px 0 34px; }
@media (max-width: 900px) {
  footer .cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  footer .cols > div:first-child { grid-column: 1 / -1; }
  footer { font-size: 14px; }
}

/* Refonte UX : confort de lecture et micro-interactions */
@view-transition { navigation: auto; }
::selection { background: #FBE29A; color: #123B45; }
html { -webkit-tap-highlight-color: transparent; scroll-padding-top: 76px; }
.btn:active { transform: translateY(1px) scale(.98); }
.prose { font-size: 18px; }
.prose p, .prose li { line-height: 1.75; }
.prose p { margin: 0 0 1.05em; }
.prose h2 { margin: 52px 0 16px; }
.prose ul li::marker, .prose ol li::marker { color: var(--coral-deep); font-weight: 700; }
.prose a { text-decoration-thickness: 2px; text-decoration-color: rgba(184,69,58,.35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: currentColor; }
.tablewrap { overflow-x: auto; margin: 18px 0; border-radius: 16px; -webkit-overflow-scrolling: touch; }
.tablewrap table { margin: 0; min-width: 440px; }
.prose tbody tr { transition: background .2s; }
.prose tbody tr:hover { background: rgba(205,235,228,.35); }

/* Inside : revelation en deux temps, comme dans l'app */
.callout.ins .b { display: inline; }
.js .callout.ins:not(.show) .b { opacity: 0; transform: translateY(8px); display: inline-block; }
.callout.ins .b { transition: opacity .7s cubic-bezier(.22,.8,.24,1), transform .7s cubic-bezier(.22,.8,.24,1); }
.callout.ins.show .b { opacity: 1; transform: none; display: inline-block; }
.callout.ins { cursor: pointer; }

/* Sommaire flottant (grands ecrans) */
.rail { position: fixed; left: max(16px, calc(50% - 620px)); top: 110px; width: 210px; font-size: 14px; line-height: 1.35; opacity: 0; pointer-events: none; transform: translateX(-8px); transition: opacity .4s, transform .4s; z-index: 20; }
.rail.on { opacity: 1; pointer-events: auto; transform: none; }
.rail p { font: 700 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-deep); margin: 0 0 10px; }
.rail ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.rail a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; transition: color .2s, border-color .2s; }
.rail a:hover { color: var(--ink); }
.rail a.cur { color: var(--ink); font-weight: 700; border-left-color: var(--coral); }
@media (max-width: 1280px) { .rail { display: none; } }

/* Boutons flottants : haut de page et partage */
.fab { position: fixed; right: 18px; bottom: 22px; z-index: 56; display: grid; gap: 10px; }
.fab button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: 0 10px 26px rgba(18,59,69,.2); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(10px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.fab button.on { opacity: 1; transform: none; pointer-events: auto; }
.fab button:hover { background: var(--sun); }
.fab svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .fab { bottom: 84px; right: 14px; } }

/* Recherche et filtres du hub */
.hubtools { margin: 8px 0 26px; }
.hubtools input { width: 100%; font: 400 17px var(--sans); padding: 15px 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(18,59,69,.06); transition: border-color .2s, box-shadow .2s; }
.hubtools input:focus { outline: none; border-color: var(--coral); box-shadow: 0 8px 26px rgba(184,69,58,.16); }
.chipsbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chipsbar button { font: 600 14px var(--sans); padding: 9px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.chipsbar button:hover { border-color: var(--hill-near); }
.chipsbar button:active { transform: scale(.96); }
.chipsbar button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.related a.hide, .hubsec.hide { display: none; }
.hubempty { display: none; text-align: center; color: var(--ink-soft); padding: 26px 0; }
.hubempty.on { display: block; }

/* Partage et temps de lecture */
.by .rt { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .callout.ins .b, .rail, .fab button { transition: none; } .js .callout.ins:not(.show) .b { opacity: 1; transform: none; } }
