/* =========================================================
   Sanja Tech · feuille de style principale
   ========================================================= */
:root {
  --ink: #0b1724; --ink-2: #13263a; --ink-3: #1c3550;
  --teal: #2ec4be; --teal-d: #149a94; --teal-l: #e6f8f7;
  --amber: #f5a524; --red: #e5484d; --green: #1f9d62;
  --bg: #ffffff; --soft: #f4f7fa; --line: #e3e9ef;
  --text: #17212b; --muted: #5d6b79;
  --r: 16px; --r-sm: 10px;
  --sh-1: 0 1px 2px rgba(11,23,36,.06), 0 2px 8px rgba(11,23,36,.05);
  --sh-2: 0 10px 30px rgba(11,23,36,.10);
  --sh-3: 0 24px 60px rgba(11,23,36,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  --hdr: 76px;
  --font-h: "Poppins", system-ui, sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font-b); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--teal-d); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; } .right { text-align: right; }
.muted { color: var(--muted); } .small { font-size: .88rem; }
.mb { margin-bottom: 1.4rem; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-h); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin-bottom: .9rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(46,196,190,.6); animation: pulse 2.2s infinite; }

/* ---------- Boutons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.35rem; border-radius: 999px; border: 2px solid var(--teal-d); background: var(--teal-d); color: #fff; font-family: var(--font-h); font-weight: 600; font-size: .95rem; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:hover::after { transform: translateX(120%); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-sm { padding: .5rem 1rem; font-size: .86rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--teal-d); }
.btn-ghost:hover { background: var(--teal-d); border-color: var(--teal-d); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-h); font-weight: 600; }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--teal-d); font: inherit; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
.danger, .linkbtn.danger { color: var(--red) !important; }
.btn.danger { border-color: var(--red); }

/* ---------- Barre du haut + en-tête ---------- */
.topbar { background: var(--ink); color: #b9c6d3; font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.topbar a { color: #dce5ee; } .topbar a:hover { color: var(--teal); }
.topbar-right { display: flex; gap: 1.2rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: background .35s, box-shadow .35s, border-color .35s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,23,36,.08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); transition: height .3s var(--ease); }
.site-header.scrolled .header-inner { height: 64px; }
.brand { display: flex; align-items: center; gap: .5rem; }
.brand img { height: 44px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 38px; }
.brand-tag { font-family: var(--font-h); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--teal); padding: .22rem .55rem; border-radius: 6px; }
.logo-light { display: none; }
.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav > a { position: relative; padding: .5rem .8rem; color: var(--text); font-weight: 500; font-size: .95rem; }
.site-nav > a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav > a:hover::after, .site-nav > a.active::after { transform: scaleX(1); }
.site-nav > a.active { color: var(--teal-d); }
.nav-actions { display: flex; align-items: center; gap: .6rem; margin-left: .8rem; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: transform .2s, border-color .2s; }
.icon-btn:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--teal-d); }
.icon-btn .count, .account-side .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--teal); color: var(--ink); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* En-tête transparent au-dessus des bandeaux sombres */
.has-hero .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header:not(.scrolled) .logo-dark { display: none; }
.has-hero .site-header:not(.scrolled) .logo-light { display: block; }
.has-hero .site-header:not(.scrolled) .brand-tag { background: var(--teal); color: var(--ink); }
.has-hero .site-header:not(.scrolled) .site-nav > a { color: #e8eef4; }
.has-hero .site-header:not(.scrolled) .site-nav > a.active { color: var(--teal); }
.has-hero .site-header:not(.scrolled) .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.has-hero .site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.has-hero main > .hero, .has-hero main > .page-hero { margin-top: calc(-1 * var(--hdr)); padding-top: calc(var(--hdr) + 70px); }

/* ---------- Bandeaux ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, #16405f 0%, transparent 60%), linear-gradient(160deg, var(--ink) 0%, #0e2134 60%, #0b1a2a 100%); color: #fff; }
.hero { padding-bottom: 110px; }
.hero h1, .page-hero h1 { color: #fff; }
.hero .lead, .page-hero .lead { color: #b8c7d6; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--teal); }
.accent { background: linear-gradient(90deg, var(--teal), #8fe7e2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 420px; height: 420px; background: #1aa59f; top: -120px; right: -80px; }
.b2 { width: 320px; height: 320px; background: #1b4f86; bottom: -140px; left: -60px; animation-delay: -6s; }
.b3 { width: 220px; height: 220px; background: #2ec4be; top: 45%; left: 48%; opacity: .25; animation-delay: -12s; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.4rem; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; color: #c8d5e2; font-size: .92rem; }
.hero-checks .ico { color: var(--teal); }
.hero-visual { position: relative; }
.glass-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.25); color: #fff; }
.glass-card.main { position: absolute; inset: 20px 30px 40px 20px; padding: 22px; animation: floaty 7s ease-in-out infinite; }
.gc-head { display: flex; gap: 6px; margin-bottom: 26px; }
.gc-head span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.gc-head span:first-child { background: #ff6b6b; } .gc-head span:nth-child(2) { background: var(--amber); } .gc-head span:nth-child(3) { background: var(--teal); }
.gc-stat small { display: block; color: #a9bccf; font-size: .82rem; }
.gc-stat strong { font-family: var(--font-h); font-size: 2.6rem; }
.gc-stat em { font-style: normal; color: var(--teal); font-size: 1.4rem; margin-left: .3rem; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: 18px; }
.bars i { display: block; flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--teal), rgba(46,196,190,.25)); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.bars i:nth-child(2) { animation-delay: .1s } .bars i:nth-child(3) { animation-delay: .2s } .bars i:nth-child(4) { animation-delay: .3s } .bars i:nth-child(5) { animation-delay: .4s } .bars i:nth-child(6) { animation-delay: .5s } .bars i:nth-child(7) { animation-delay: .6s }
.glass-card.float { position: absolute; padding: .7rem 1rem; font-size: .88rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.95); color: var(--ink); }
.glass-card.float .ico { color: var(--teal-d); }
.f1 { left: -10px; bottom: 10px; animation: floaty 6s ease-in-out infinite -2s; }
.f2 { right: 0; top: 0; animation: floaty 8s ease-in-out infinite -4s; }
.page-hero { padding-bottom: 70px; }
.page-hero .container { position: relative; }

/* ---------- Statistiques ---------- */
.stats { position: relative; margin-top: -54px; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r); box-shadow: var(--sh-3); padding: 28px 10px; }
.stats-grid > div { text-align: center; padding: 6px 12px; border-right: 1px solid var(--line); }
.stats-grid > div:last-child { border-right: 0; }
.stats-grid strong { display: block; font-family: var(--font-h); font-size: 2.3rem; color: var(--ink); line-height: 1.1; }
.stats-grid span { color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #c9d6e2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--teal); }
.section-head { margin-bottom: 42px; }
.section-head.center { text-align: center; } .section-head.center .lead { margin: 0 auto; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin-bottom: .3em; }
.page-title { margin-bottom: 1.4rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Services */
.service-card { position: relative; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-d)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card p { color: var(--muted); margin: 0; }
.service-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--teal-l); color: var(--teal-d); margin-bottom: 18px; transition: transform .35s var(--ease), background .3s, color .3s; flex-shrink: 0; }
.service-icon .ico { width: 26px; height: 26px; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); background: var(--teal-d); color: #fff; }

/* Solutions */
.solution-card { position: relative; padding: 32px 28px; border-radius: var(--r); background: linear-gradient(160deg, var(--ink-2), var(--ink-3)); border: 1px solid rgba(255,255,255,.08); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.solution-card:hover { transform: translateY(-6px); border-color: rgba(46,196,190,.5); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.solution-card p { color: #a9bccf; }
.solution-card .link-arrow { color: var(--teal); }
.badge { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: rgba(46,196,190,.15); color: var(--teal); font-size: .75rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 14px; }

/* Cartes génériques */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); padding: 26px; }
.post-card, .product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover, .product-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.card-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--soft); }
.product-card .card-media { aspect-ratio: 1/1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .card-media img, .product-card:hover .card-media img { transform: scale(1.06); }
.post-card .card-media { background: #0d1620; }
.post-card .card-media img { object-fit: contain; }
.post-card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: .5rem 0 .4rem; font-size: 1.08rem; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--teal-d); }
.card-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; font-size: .84rem; color: var(--muted); }
.tag { display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: var(--teal-l); color: var(--teal-d); font-size: .76rem; font-weight: 600; align-self: flex-start; }
.author { display: flex; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 500; color: var(--text); }
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-d)); color: #fff; font-family: var(--font-h); font-weight: 700; font-size: .95rem; flex-shrink: 0; }
.avatar.sm { width: 30px; height: 30px; font-size: .72rem; }
.avatar.xl { width: 100%; height: 100%; border-radius: 0; font-size: 3rem; background: linear-gradient(135deg, var(--ink-3), var(--teal-d)); }
.ribbon { position: absolute; top: 14px; left: 14px; background: var(--amber); color: var(--ink); font-size: .75rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; }
.price-row { display: flex; align-items: baseline; gap: .6rem; margin: .2rem 0 1rem; }
.price { font-family: var(--font-h); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.old { color: var(--muted); font-size: .92rem; }
.price-row.big .price { font-size: 2rem; }
.add-form { margin-top: auto; }

/* Experts */
.expert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; }
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.expert-photo { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--soft); }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.expert-card:hover .expert-photo img { transform: scale(1.05); }
.expert-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(11,23,36,.35)); }
.expert-body { padding: 20px 22px 24px; }
.expert-body h3 { margin-bottom: .2rem; }
.expert-body .role { color: var(--teal-d); font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
.expert-body .legend { color: var(--muted); font-size: .93rem; margin: 0; }
.experts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.experts-grid .legend { position: relative; padding-left: 16px; border-left: 3px solid var(--teal); font-style: italic; }
.expert-links { display: flex; gap: 1rem; margin-top: 1rem; font-size: .88rem; font-weight: 600; }

/* À propos */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; }
.photo-frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--sh-3); }
.photo-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-photo::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 2px solid var(--teal); border-radius: 24px; z-index: -1; }
.photo-badge { position: absolute; right: -20px; bottom: 30px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--sh-2); animation: floaty 7s ease-in-out infinite; }
.photo-badge strong { display: block; font-family: var(--font-h); color: var(--ink); }
.photo-badge span { font-size: .85rem; color: var(--muted); }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.contact-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: var(--teal-l); color: var(--teal-d); font-weight: 600; font-size: .92rem; transition: transform .2s, background .2s, color .2s; }
.pill:hover { background: var(--teal-d); color: #fff; transform: translateY(-2px); }
.value-card { background: #fff; border-radius: var(--r); padding: 32px 28px; box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.value-card .num { font-family: var(--font-h); font-weight: 800; font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1.5px var(--teal); display: block; margin-bottom: .4rem; }
.value-card p { color: var(--muted); margin: 0; }
.info-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-band > div, .perks > div { display: flex; gap: 14px; align-items: flex-start; }
.info-band .ico, .perks .ico { width: 26px; height: 26px; color: var(--teal-d); margin-top: 2px; }
.info-band strong, .perks strong { display: block; font-family: var(--font-h); color: var(--ink); }
.info-band span, .perks span { color: var(--muted); font-size: .94rem; }

/* CTA */
.cta { padding: 0 0 90px; }
.section + .cta, .section-soft + .cta { padding-top: 0; }
.cta-inner { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 52px 56px; border-radius: 24px; background: linear-gradient(120deg, var(--teal-d), #0f6f84 60%, var(--ink)); color: #e6f4f6; }
.cta-inner::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(255,255,255,.07); right: -120px; top: -160px; }
.cta-inner h2 { color: #fff; margin-bottom: .3rem; }
.cta-inner p { margin: 0; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; }

/* Barre d'outils, filtres */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1; }
.chip { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: .9rem; font-weight: 500; transition: all .2s; }
.chip small { color: var(--muted); margin-left: .2rem; }
.chip:hover { border-color: var(--teal); color: var(--teal-d); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.active small { color: #9fb3c6; }
.search { display: flex; gap: .5rem; min-width: 0; }
.search select { min-width: 0; }
.search input, .search select { padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .92rem; background: #fff; }
.search input { min-width: 220px; }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 40px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--text); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty > .ico { width: 48px; height: 48px; color: var(--teal); margin: 0 auto 1rem; }
.back { display: inline-block; margin-bottom: 1.2rem; font-weight: 600; }

/* Article */
.article { padding: 60px 0 40px; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: .8rem 0 1.2rem; }
.article-cover { margin: 30px auto; max-width: 1000px; }
.article-cover img { width: 100%; height: auto; border-radius: 20px; }
.article-cover { max-width: 900px; }
.article-body { font-size: 1.1rem; line-height: 1.85; color: #26323d; }
.share { display: flex; gap: 1rem; align-items: center; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }
.badge-status { background: var(--amber); color: var(--ink); padding: .1rem .5rem; border-radius: 6px; font-size: .75rem; }

/* Produit */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery { border-radius: 20px; overflow: hidden; background: var(--soft); box-shadow: var(--sh-1); }
.product-gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .6rem 0; }
.stock { font-weight: 600; color: var(--green); }
.stock.out { color: var(--red); }
.desc { color: #34414d; margin: 1.2rem 0 1.6rem; }
.buy-form { display: flex; gap: 1rem; align-items: flex-end; margin-bottom: 1rem; flex-wrap: wrap; }
.qty { font-weight: 600; font-size: .9rem; }
.qty input { display: block; width: 90px; margin-top: .3rem; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; font: inherit; }

/* Panier / commande */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 72px 1fr 80px 110px 40px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.cart-name a { font-weight: 600; color: var(--ink); display: block; }
.cart-name small { color: var(--muted); }
.cart-row input { width: 70px; padding: .5rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; }
.summary { position: sticky; top: 90px; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; color: var(--muted); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; color: var(--ink); font-family: var(--font-h); font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; }
.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 1.2rem; }
.radio-card { position: relative; cursor: pointer; margin: 0 !important; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: block; height: 100%; padding: 14px; border: 2px solid var(--line); border-radius: 12px; transition: border-color .2s, background .2s; }
.radio-card small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.radio-card input:checked + span { border-color: var(--teal-d); background: var(--teal-l); }
.confirm-icon { width: 84px; height: 84px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--teal-l); color: var(--teal-d); display: grid; place-items: center; animation: pop .6s var(--ease) both; }
.confirm-icon .ico { width: 42px; height: 42px; }
.confirm .lead { margin: 0 auto 1rem; }

/* Formulaires */
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 1.1rem; color: var(--ink); }
.form input:not([type=checkbox]):not([type=radio]), .form textarea, .form select { display: block; width: 100%; margin-top: .4rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-weight: 400; color: var(--text); background: #fbfcfd; transition: border-color .2s, box-shadow .2s, background .2s; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(46,196,190,.15); }
.form input:disabled { color: var(--muted); }
.form h3 { margin: .6rem 0 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form .check { display: flex; gap: .5rem; align-items: center; font-weight: 500; }
.img-preview { margin: -.4rem 0 1.2rem; display: flex; align-items: center; gap: 1rem; }
.img-preview img { width: 180px; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.img-preview.round img { width: 120px; aspect-ratio: 1/1; border-radius: 50%; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; margin: 0 0 1.2rem; font-weight: 500; }
.alert-ok { background: #e3f6ec; color: #13693f; }
.alert-info { background: #e6f1fb; color: #1d4f7c; }
.alert-error { background: #fdeaea; color: #a3262a; }
.toasts { position: fixed; top: 96px; right: 20px; z-index: 70; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 40px)); }
.flash { margin: 0; box-shadow: var(--sh-2); animation: slideDown .5s var(--ease) both; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.info-item { display: flex; gap: 16px; margin-bottom: 22px; }
.info-item .service-icon { margin: 0; }
.info-item strong { font-family: var(--font-h); color: var(--ink); }
.info-item p { margin: .1rem 0 0; color: var(--muted); }

/* Connexion */
.auth { min-height: 70vh; display: grid; place-items: center; padding: 60px 20px; background: radial-gradient(600px 300px at 20% 10%, var(--teal-l), transparent), var(--soft); }
.auth-card { width: 100%; max-width: 460px; padding: 40px; box-shadow: var(--sh-2); }
.auth-card h1 { font-size: 1.9rem; margin-bottom: .2rem; }

/* Espace membre */
.account { background: var(--soft); padding: 40px 0 80px; min-height: 70vh; }
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.account-side { position: sticky; top: 90px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 18px; }
.account-user { display: flex; gap: .8rem; align-items: center; padding: 6px 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.account-user small { display: block; color: var(--muted); }
.account-side nav { display: flex; flex-direction: column; }
.account-side nav a { position: relative; display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 10px; color: var(--text); font-weight: 500; font-size: .94rem; }
.account-side nav a:hover { background: var(--soft); }
.account-side nav a.active { background: var(--teal-l); color: var(--teal-d); }
.account-side .count { position: static; margin-left: auto; }
.side-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px .8rem 4px; }
.logout { color: var(--red) !important; margin-top: 8px; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 22px; }
.acc-head h1 { font-size: 1.7rem; margin: 0; }
.acc-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.stat-card .service-icon { width: 42px; height: 42px; margin-bottom: 12px; }
.stat-card strong { display: block; font-family: var(--font-h); font-size: 1.6rem; color: var(--ink); }
.stat-card small { color: var(--muted); }
.admin-note { margin-bottom: 22px; background: var(--ink); color: #dbe5ee; border: 0; }
.admin-note a { color: var(--teal); margin-left: .5rem; }
.steps { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.steps li { margin-bottom: .4rem; }
.table-wrap { padding: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 14px 16px; background: #fafbfc; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td a { font-weight: 600; }
.actions { white-space: nowrap; }
.actions > * { display: inline-block; margin-right: .8rem; }
.thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.thumb.round { border-radius: 50%; }
.status { display: inline-block; padding: .18rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--soft); color: var(--muted); }
.s-publie, .s-actif, .s-livree { background: #e3f6ec; color: #13693f; }
.s-nouvelle { background: #e6f1fb; color: #1d4f7c; }
.s-confirmee, .s-brouillon { background: #fff4dc; color: #8a5a00; }
.s-masque, .s-annulee { background: #fdeaea; color: #a3262a; }
.order-card { margin-bottom: 16px; }
.order-card.unread { border-left: 4px solid var(--teal); }
.order-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 10px; }
.order-body ul { margin: 0 0 .6rem; padding-left: 1.1rem; }
.order-actions { display: flex; gap: .5rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }

/* Pied de page */
.site-footer { position: relative; background: var(--ink); color: #a9b9c8; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid img { height: 52px; width: auto; margin-bottom: 1rem; }
.footer-about { font-size: .94rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer-grid > div > a { display: block; color: #a9b9c8; padding: .25rem 0; font-size: .94rem; transition: color .2s, transform .2s; }
.footer-grid > div > a:hover { color: var(--teal); transform: translateX(4px); }
.footer-grid p { font-size: .93rem; margin-bottom: .6rem; }
.footer-grid .contact-line { display: flex; gap: .5rem; }
.footer-grid p a { color: #a9b9c8; } .footer-grid p a:hover { color: var(--teal); }
.footer-grid .ico { color: var(--teal); margin-top: .2em; }
.footer-about a { color: var(--teal); }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; font-weight: 700; font-size: .85rem; transition: background .25s, transform .25s; }
.socials a:hover { background: var(--teal); color: var(--ink); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 56px; padding: 22px 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
.footer-bottom a { color: var(--teal); }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45); transition: transform .25s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 40; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--teal); }

/* ---------- À la une (carrousel) ---------- */
.slider { position: relative; aspect-ratio: 4/3.4; border-radius: 22px; overflow: hidden; background: var(--ink-2); box-shadow: 0 30px 70px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.12); isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.slide.active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.slide.active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,23,36,0) 30%, rgba(11,23,36,.92) 100%); }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 28px 46px; color: #fff; }
.slide-caption > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.slide.active .slide-caption > * { opacity: 1; transform: none; }
.slide.active .slide-caption > :nth-child(2) { transition-delay: .12s; } .slide.active .slide-caption > :nth-child(3) { transition-delay: .24s; }
.slide-caption h3 { color: #fff; font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: .35rem; }
.slide-caption p { color: #c9d7e4; font-size: .95rem; margin-bottom: .7rem; }
.slide-caption .link-arrow { color: var(--teal); }
.slider-label { position: absolute; top: 16px; left: 16px; z-index: 3; display: inline-flex; align-items: center; gap: .4rem; background: var(--teal); color: var(--ink); font-family: var(--font-h); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.slider-prev, .slider-next { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(11,23,36,.45); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .3s, background .3s; backdrop-filter: blur(6px); }
.slider-prev { left: 14px; } .slider-next { right: 14px; }
.slider:hover .slider-prev, .slider:hover .slider-next, .slider:focus-within .slider-prev, .slider:focus-within .slider-next { opacity: 1; }
.slider-prev:hover, .slider-next:hover { background: var(--teal-d); }
.slider-dots { position: absolute; left: 28px; bottom: 18px; z-index: 3; display: flex; gap: 6px; }
.dot-btn { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.4); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.dot-btn.active { width: 28px; background: var(--teal); }
.slider-edit { display: inline-flex; align-items: center; gap: .4rem; margin-top: 12px; color: #c9d7e4; font-size: .88rem; }
.slider-edit:hover { color: var(--teal); }

/* ---------- J'aime, commentaires, partage ---------- */
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.social-mini { display: inline-flex; gap: .7rem; color: var(--muted); font-size: .82rem; }
.social-mini span { display: inline-flex; align-items: center; gap: .25rem; }
.social-mini .ico { width: 15px; height: 15px; }
.social { margin-top: 28px; border-top: 1px solid var(--line); }
.social-stats { display: flex; justify-content: space-between; padding: 12px 2px; color: var(--muted); font-size: .9rem; }
.social-stats .ico { color: #fff; background: var(--red); border-radius: 50%; padding: 3px; width: 20px; height: 20px; vertical-align: -5px; fill: currentColor; }
.social-stats a { color: var(--muted); } .social-stats a:hover { text-decoration: underline; }
.social-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 0; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .7rem .5rem; border: 0; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .2s, color .2s; }
.social-btn:hover { background: var(--soft); color: var(--ink); }
.social-btn .ico { width: 20px; height: 20px; transition: transform .3s var(--ease), fill .2s; }
.social-btn.liked { color: var(--red); }
.social-btn.liked .ico { fill: var(--red); }
.social-btn.pop .ico { transform: scale(1.4); }
.share-wrap { position: relative; }
.share-menu { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 20; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2); padding: 6px; animation: slideDown .25s var(--ease); }
.share-menu a, .share-menu button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .6rem .8rem; border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; font-size: .92rem; text-align: left; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { background: var(--soft); color: var(--ink); }
.share-menu .fb { width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 700; }
.comments { padding-top: 14px; }
.comment { display: flex; gap: .7rem; margin-bottom: 12px; align-items: flex-start; }
.comment-bubble { background: var(--soft); border-radius: 18px; padding: .6rem 1rem; max-width: 100%; }
.comment-bubble strong { font-size: .9rem; color: var(--ink); }
.comment-bubble p { margin: .15rem 0 0; font-size: .95rem; overflow-wrap: anywhere; }
.comment-meta { display: flex; gap: 1rem; align-items: center; font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.comment-meta .linkbtn { font-size: .78rem; color: var(--muted); }
.team-badge { background: var(--teal); color: var(--ink); font-size: .65rem; font-weight: 700; padding: .05rem .4rem; border-radius: 4px; vertical-align: 2px; }
.comment-form { display: flex; gap: .7rem; align-items: flex-start; margin-top: 8px; }
.comment-form textarea { flex: 1; min-height: 42px; max-height: 200px; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 22px; background: var(--soft); font: inherit; font-size: .95rem; resize: none; overflow: hidden; }
.comment-form textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(46,196,190,.15); }
.comment-login { color: var(--muted); font-size: .92rem; background: var(--soft); padding: .8rem 1rem; border-radius: 12px; }
.comment:target .comment-bubble { animation: flashbg 2s var(--ease); }
@keyframes flashbg { 0% { background: var(--teal-l); box-shadow: 0 0 0 3px rgba(46,196,190,.35); } 100% { background: var(--soft); box-shadow: none; } }
.small-comment { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.small-comment p { margin: .2rem 0 0; }

/* ---------- Fil des publications (façon Facebook) ---------- */
.feed-page { background: var(--soft); padding: 36px 0 70px; min-height: 70vh; }
.feed-layout { display: grid; grid-template-columns: 280px minmax(0, 680px); gap: 28px; justify-content: center; align-items: start; }
.feed-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.feed-side .card { padding: 20px; }
.feed-side h3 { margin-bottom: .3rem; }
.feed-search input { width: 100%; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .9rem; background: var(--soft); margin: .4rem 0 .8rem; }
.feed-cats { display: flex; flex-direction: column; }
.feed-cats a { display: flex; justify-content: space-between; padding: .5rem .7rem; border-radius: 10px; color: var(--text); font-weight: 500; font-size: .93rem; }
.feed-cats a:hover { background: var(--soft); }
.feed-cats a.active { background: var(--teal-l); color: var(--teal-d); }
.feed-cats small { color: var(--muted); }
.feed-sub { text-align: center; }
.feed-sub .service-icon { margin: 0 auto 8px; }
.feed-sub strong { display: block; font-family: var(--font-h); color: var(--ink); }
.feed { display: flex; flex-direction: column; gap: 18px; }
.feed-compose { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--muted); }
.feed-compose .fake-input { flex: 1; background: var(--soft); border-radius: 999px; padding: .65rem 1rem; font-size: .95rem; }
.feed-compose:hover .fake-input { background: #e9eef3; }
.feed-filter { margin: 0; }
.feed-post { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); overflow: hidden; }
.feed-new { animation: slideDown .5s var(--ease) both; }
.feed-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 6px; }
.feed-head strong { display: block; color: var(--ink); font-size: .98rem; }
.feed-head small { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .82rem; }
.feed-head small a { color: var(--muted); } .feed-head small a:hover { text-decoration: underline; }
.feed-head .tag { font-size: .7rem; padding: .1rem .5rem; }
.feed-text { padding: 4px 18px 12px; }
.feed-text h2 { font-size: 1.2rem; margin: .3rem 0 .4rem; }
.feed-text h2 a { color: var(--ink); } .feed-text h2 a:hover { color: var(--teal-d); }
.feed-content { color: #2a3642; font-size: .98rem; line-height: 1.6; overflow-wrap: anywhere; }
.feed-content.is-long:not(.open) { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feed-more { font-weight: 600; margin-top: .3rem; color: var(--teal-d); }
.feed-more[hidden] { display: none; }
.feed-image { display: block; background: #0d1620; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feed-image img { width: 100%; height: auto; max-height: none; margin: 0 auto; }
.feed-social { margin: 0; padding: 0 18px 12px; border-top: 0; }
.feed-social .comments { padding-top: 10px; }
.feed-social .comment-form[hidden] { display: none !important; }
.see-comments { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.see-comments:hover { text-decoration: underline; }
.feed-more-wrap { text-align: center; margin-top: 26px; }
.home-feed-col { max-width: 680px; margin: 0 auto; }
.home-feed .section-head { margin-bottom: 28px; }
#feed-more.loading { opacity: .6; pointer-events: none; }
@media (max-width: 960px) {
  .feed-layout { grid-template-columns: minmax(0, 680px); }
  .feed-side { position: static; }
  .feed-sub { display: none; }
  .feed-side .card > p { display: none; }
  .feed-cats { flex-direction: row; flex-wrap: wrap; gap: .3rem; }
}
@media (max-width: 640px) {
  .feed-page { padding: 16px 0 50px; }
  .feed-page .container { padding: 0 8px; }
  .feed-head, .feed-text { padding-left: 14px; padding-right: 14px; }
  .feed-social { padding: 0 12px 10px; }
  .feed-image { border-left: 0; border-right: 0; }
}

/* ---------- Cookies et notifications ---------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 80; max-width: 560px; display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-3); padding: 18px 20px; opacity: 0; transform: translateY(20px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.consent.show { opacity: 1; transform: none; }
.consent-icon { font-size: 1.8rem; line-height: 1; color: var(--teal-d); }
.consent-icon .ico { width: 30px; height: 30px; }
.consent-text { flex: 1; min-width: 220px; }
.consent-text strong { font-family: var(--font-h); color: var(--ink); }
.consent-text p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.consent-actions { display: flex; gap: .5rem; margin-left: auto; align-self: center; }
.notif-email { display: flex; gap: .4rem; margin-top: .6rem; }
.notif-email input { flex: 1; min-width: 0; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .88rem; }

/* ---------- Espace membre : compléments ---------- */
.member-welcome { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.member-welcome .service-icon { margin: 0; }
.headline-list { display: flex; flex-direction: column; gap: 14px; }
.headline-item { display: grid; grid-template-columns: 160px 1fr auto; gap: 18px; align-items: center; padding: 14px; }
.headline-item img { width: 160px; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.headline-item.off img { filter: grayscale(1); opacity: .6; }
.headline-info p { margin: .2rem 0 .4rem; }
.icon-btn.sm { width: 32px; height: 32px; font-size: .9rem; }
.icon-btn:disabled { opacity: .35; cursor: default; transform: none; }
.role-form select { padding: .35rem .6rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .88rem; background: #fff; }

/* ---------- Animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,196,190,.6); } 70% { box-shadow: 0 0 0 10px rgba(46,196,190,0); } 100% { box-shadow: 0 0 0 0 rgba(46,196,190,0); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); flex-direction: column; align-items: stretch; gap: 0; padding: 90px 22px 22px; background: #fff; box-shadow: var(--sh-3); transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; z-index: 55; overflow-y: auto; }
  .nav-open .site-nav { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .site-nav > a { padding: .85rem .4rem; border-bottom: 1px solid var(--line); color: var(--text) !important; }
  .site-nav > a::after { display: none; }
  .nav-actions { margin: 1.2rem 0 0; }
  .nav-actions .icon-btn { background: #fff !important; color: var(--ink) !important; border-color: var(--line) !important; }
  .nav-toggle { position: relative; z-index: 60; }
  .nav-open .nav-toggle span { background: var(--ink) !important; }
  .hero-inner, .about-grid, .product-detail, .contact-grid, .cart-layout, .account-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; width: 100%; }
  .grid-3, .experts-grid { grid-template-columns: repeat(2, 1fr); }
  .info-band { grid-template-columns: 1fr; }
  .account-side { position: static; }
  .account-side nav { flex-direction: row; flex-wrap: wrap; gap: .3rem; }
  .side-label { width: 100%; }
  .summary { position: static; }
  .about-photo { max-width: 440px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar-inner > span:first-child { display: none; }
  .topbar-right { width: 100%; justify-content: center; gap: .9rem; font-size: .8rem; }
  :root { --hdr: 66px; }
  .brand img { height: 36px; }
  .section { padding: 64px 0; }
  .hero { padding-bottom: 90px; }
  .has-hero main > .hero, .has-hero main > .page-hero { padding-top: calc(var(--hdr) + 40px); }
  .hero-inner { gap: 32px; }
  .grid-3, .grid-4, .experts-grid, .stat-cards, .radio-cards, .form-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-card .card-body { padding: 14px; }
  .product-card .btn { font-size: .78rem; padding: .5rem .6rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .stats-grid > div:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 36px 26px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search input { min-width: 0; flex: 1; }
  .cart-row { grid-template-columns: 56px 1fr 60px; }
  .cart-row img { width: 56px; height: 56px; }
  .cart-row strong { grid-column: 2; }
  .auth-card { padding: 28px 22px; }
  .photo-badge { right: 10px; }
  .about-photo::before { display: none; }
  .table { font-size: .86rem; }
  .slider { aspect-ratio: 4/4.2; }
  .slider-prev, .slider-next { display: none; }
  .consent { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .consent-actions { width: 100%; justify-content: flex-end; }
  .headline-item { grid-template-columns: 1fr; }
  .headline-item img { width: 100%; }
  .social-btn span { font-size: .88rem; }
  .wa-float { bottom: 16px; right: 16px; }
}
