/* OUVRIO — feuille de styles (mobile d'abord). Couleurs issues du logo officiel. */
:root {
  --navy: #0B2447; --navy-900: #071a35; --navy-700: #163a6b; --navy-100: #e6ecf5; --navy-50: #f2f5fa;
  --orange: #F26A10; --orange-cta: #D95700; --orange-cta-hover: #BF4C00; --orange-100: #fff0e5;
  --ink: #1d2433; --muted: #586174; --line: #e2e7ef; --surface: #f5f7fb; --white: #fff;
  --success: #137a46; --success-bg: #e6f6ed; --danger: #b42318; --danger-bg: #fdecea; --warning: #8a5300; --warning-bg: #fff4dc; --info: #1d5fae; --info-bg: #e8f1fc;
  --radius: 14px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(11,36,71,.06), 0 6px 20px rgba(11,36,71,.06); --shadow-lg: 0 18px 40px rgba(11,36,71,.14);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --font-display: "Poppins", var(--font);
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--orange-cta); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); } h2 { font-size: clamp(1.4rem, 3vw, 2rem); } h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.ic { flex-shrink: 0; vertical-align: middle; }
.hide-sm { display: none; } @media (min-width: 640px) { .hide-sm { display: inline; } }
.muted { color: var(--muted); } .small { font-size: .875rem; } .center { text-align: center; } .mt { margin-top: 1rem; } .mt-lg { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-cta); color: #fff; } .btn-primary:hover { background: var(--orange-cta-hover); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; } .btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); } .btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); } .btn-ghost:hover { background: var(--navy-50); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); } .btn-light:hover { background: var(--navy-50); color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); } .btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-danger { background: var(--danger); color: #fff; } .btn-danger:hover { background: #8f1c13; color: #fff; }
.btn-wa { background: #128C4B; color: #fff; } .btn-wa:hover { background: #0e6f3b; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; padding-block: 10px; }
.btn[disabled], .btn[aria-disabled="true"] { background: #dfe3ea; color: #6b7280; border-color: #dfe3ea; cursor: not-allowed; transform: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--navy); cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--navy-50); }
.link-btn { background: none; border: 0; padding: 0; color: var(--navy-700); text-decoration: underline; font: inherit; cursor: pointer; }

/* ---------- Badges, alertes */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.badge-neutral { background: #eef0f4; color: #464f60; } .badge-info { background: var(--info-bg); color: var(--info); } .badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); } .badge-danger { background: var(--danger-bg); color: var(--danger); } .badge-primary { background: var(--navy-100); color: var(--navy); }
.badge-orange { background: var(--orange-100); color: #a0430a; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); margin: 0 0 16px; border: 1px solid transparent; }
.alert .ic { margin-top: 2px; } .alert > div > :last-child { margin-bottom: 0; }
.alert-success { background: var(--success-bg); color: #0d5a33; border-color: #bfe5cf; } .alert-danger { background: var(--danger-bg); color: #8f1c13; border-color: #f5c6c1; }
.alert-warning { background: var(--warning-bg); color: #6b4100; border-color: #f2d79b; } .alert-info { background: var(--info-bg); color: #18497f; border-color: #c4dbf5; }
.flash-wrap { padding-top: 16px; }

/* ---------- En-tête public */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand img { height: 40px; width: auto; }
.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-cta { display: none; }
@media (min-width: 340px) { .header-cta { display: inline-flex; padding: 0 12px; } }
@media (max-width: 380px) { .brand img { height: 34px; } }
html.js .main-nav.open { display: flex; position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); gap: 2px; max-height: calc(100vh - var(--header-h)); overflow: auto; }
.main-nav a { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--navy-50); color: var(--navy); }
.main-nav .nav-cta { color: #fff; margin-top: 8px; } .main-nav .nav-cta:hover { background: var(--orange-cta-hover); color: #fff; }
html:not(.js) .main-nav { display: flex; flex-wrap: wrap; }
/* Menu horizontal à partir de 1200 px (8 entrées sur une seule ligne) ; en dessous, menu « burger » */
@media (min-width: 1200px) {
  .main-nav, html.js .main-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 0; box-shadow: none; padding: 0; border: 0; }
  .main-nav a { padding: 9px 9px; font-size: .9rem; white-space: nowrap; }
  .main-nav .nav-cta { margin: 0 0 0 8px; padding: 0 18px; }
  .header-actions { display: none; }
}

/* ---------- Sections génériques */
.section { padding: 56px 0; } @media (min-width: 768px) { .section { padding: 80px 0; } }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-cta); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.page-hero { background: var(--navy); color: #fff; padding: 40px 0 44px; }
.page-hero h1 { color: #fff; margin-bottom: 8px; } .page-hero p { color: #c9d4e6; margin: 0; max-width: 680px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: #aebcd3; margin-bottom: 14px; }
.breadcrumb a { color: #dbe4f1; } .breadcrumb a:hover { color: #fff; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.card h2 { font-size: 1.2rem; } .card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-title h2, .card-title h3 { margin: 0; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.prose { max-width: 760px; } .prose h2 { font-size: 1.35rem; margin-top: 1.6em; } .prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .3em; }

/* ---------- Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 60px solid rgba(242,106,16,.10); pointer-events: none; }
.hero-inner { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 48px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.05fr 1fr; padding-top: 72px; padding-bottom: 80px; gap: 48px; } }
.hero h1 { color: #fff; font-size: clamp(2rem, 5.5vw, 3.3rem); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub { color: #d0dae9; font-size: 1.08rem; max-width: 560px; margin-bottom: 24px; }
.hero .eyebrow { color: #ffb27d; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-actions .btn { flex: 1 1 auto; } @media (min-width: 520px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-search { display: flex; background: #fff; border-radius: 12px; padding: 6px; gap: 6px; max-width: 560px; margin-bottom: 18px; }
.hero-search input { flex: 1; border: 0; font: inherit; padding: 0 10px; min-width: 0; color: var(--ink); background: transparent; }
.hero-search input:focus { outline: none; } .hero-search:focus-within { box-shadow: 0 0 0 3px rgba(242,106,16,.55); }
.hero-popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; color: #b8c5da; }
.hero-popular a { color: #fff; text-decoration: none; padding: 6px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-weight: 500; }
.hero-popular a:hover { border-color: var(--orange); background: rgba(242,106,16,.15); }
.hero-visual img { width: 100%; max-width: 620px; margin: 0 auto; }

/* ---------- Carrousels */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 84%; scroll-snap-align: start; }
@media (min-width: 640px) { .carousel-slide { flex-basis: 46%; } }
@media (min-width: 1024px) { .carousel-slide { flex-basis: calc((100% - 32px) / 3.15); } }
.carousel-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.carousel-btn:hover { border-color: var(--navy); } .carousel-btn:disabled { opacity: .4; cursor: default; }
.section-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-bar .section-head { margin: 0; }

/* ---------- Boutiques */
.shop-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.shop-banner { aspect-ratio: 16 / 7; background: var(--navy-100) center / cover no-repeat; position: relative; }
.shop-banner img { width: 100%; height: 100%; object-fit: cover; }
.shop-body { padding: 0 18px 18px; display: flex; flex-direction: column; flex: 1; }
.shop-logo { width: 64px; height: 64px; border-radius: 16px; border: 3px solid #fff; background: var(--navy); color: #fff; margin-top: -32px; display: grid; place-items: center; font: 700 1.3rem var(--font-display); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.shop-body h3 { margin: 12px 0 4px; } .shop-meta { flex-wrap: wrap; font-size: .85rem; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.shop-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.shop-hero { background: var(--navy); }
.shop-hero-banner { aspect-ratio: 16 / 5; max-height: 320px; width: 100%; object-fit: cover; background: var(--navy-700); }
.shop-head { display: flex; gap: 16px; align-items: flex-end; margin-top: -40px; padding-bottom: 24px; flex-wrap: wrap; }
.shop-head .shop-logo { width: 96px; height: 96px; margin: 0; font-size: 2rem; }
.shop-head h1 { color: #fff; margin: 0 0 4px; } .shop-head .shop-meta { color: #c9d4e6; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.product-card:hover { box-shadow: var(--shadow-lg); color: inherit; }
.product-img { aspect-ratio: 1; background: var(--surface); object-fit: cover; width: 100%; }
.product-card .pc-body { padding: 14px; } .product-card h3 { font-size: 1rem; margin: 0 0 6px; } .price { font: 700 1.1rem var(--font-display); color: var(--orange-cta); }
.gallery { display: grid; gap: 10px; } .gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface); }
@media (min-width: 640px) { .gallery { grid-template-columns: 2fr 1fr; } .gallery img:first-child { grid-row: span 2; } }

/* ---------- Services */
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; height: 100%; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: inherit; }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-50); }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { margin: 0 0 6px; font-size: 1.08rem; } .service-body p { color: var(--muted); font-size: .92rem; margin: 0 0 12px; flex: 1; }
.service-link { display: inline-flex; gap: 6px; align-items: center; color: var(--orange-cta); font-weight: 600; font-size: .92rem; }
.services-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 479px) { .services-grid .service-body p, .services-grid .service-link { display: none; } .services-grid .service-body { padding: 12px; } .services-grid .service-body h3 { font-size: .98rem; } }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.search-bar { display: flex; gap: 8px; margin-bottom: 16px; } .search-bar input { flex: 1; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.filter-chip { flex: 0 0 auto; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; cursor: pointer; }
.filter-chip[aria-pressed="true"], .filter-chip[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.sub-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.sub-list a { display: inline-flex; padding: 8px 12px; border-radius: 10px; background: var(--navy-50); color: var(--navy); text-decoration: none; font-size: .9rem; font-weight: 600; }
.sub-list a:hover { background: var(--orange-100); color: #a0430a; }
.search-result { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; align-items: center; }
.search-result img { width: 88px; height: 66px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.category-hero { display: grid; gap: 24px; align-items: center; } @media (min-width: 900px) { .category-hero { grid-template-columns: 1.2fr 1fr; } }
.category-hero img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Étapes et avantages */
.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step-num { position: absolute; top: 18px; right: 18px; font: 700 2rem/1 var(--font-display); color: var(--navy-100); }
.step-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-cta); margin-bottom: 14px; }
.step h3 { font-size: 1.02rem; margin: 0; }
.note { font-size: .88rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; }
.adv { display: flex; gap: 14px; padding: 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.adv-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.adv h3 { font-size: 1rem; margin: 2px 0 6px; } .adv p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Témoignages */
.tcard { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; height: 100%; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.tcard blockquote { margin: 0; color: var(--ink); flex: 1; }
.tcard-head { display: flex; gap: 12px; align-items: center; } .tcard-head strong { display: block; color: var(--navy); } .tcard-head span { font-size: .85rem; color: var(--muted); }
.stars { display: inline-flex; gap: 1px; color: #d1d5db; } .stars .on { color: #f2a10c; } .stars .on svg { fill: currentColor; }
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-initials { display: grid; place-items: center; background: var(--navy-100); color: var(--navy); font-weight: 700; font-size: .95rem; border-radius: 50%; flex-shrink: 0; }
.tabs { display: inline-flex; gap: 4px; background: var(--navy-50); padding: 4px; border-radius: 12px; }
.tabs button, .tabs a { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font: 600 .9rem var(--font); color: var(--navy); cursor: pointer; text-decoration: none; }
.tabs [aria-pressed="true"], .tabs [aria-current="page"] { background: #fff; box-shadow: var(--shadow); }

/* ---------- Appels à l'action */
.cta-split { display: grid; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .cta-split { grid-template-columns: 1.3fr 1fr; padding: 44px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; } .checklist .ic { color: var(--success); margin-top: 2px; }
.partner-cta { background: var(--navy); color: #fff; border-radius: 22px; padding: 32px 24px; position: relative; overflow: hidden; display: grid; gap: 24px; }
.partner-cta::before { content: ""; position: absolute; left: -90px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(242,106,16,.16); }
.partner-cta > * { position: relative; }
.partner-cta h2 { color: #fff; } .partner-cta p { color: #d0dae9; } .partner-cta .checklist .ic { color: var(--orange); }
@media (min-width: 900px) { .partner-cta { grid-template-columns: 1.4fr 1fr; padding: 52px; align-items: center; } }
.partner-visual { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.partner-visual div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px; font-size: .9rem; color: #d0dae9; }
.partner-visual strong { display: block; color: #fff; font-size: 1rem; margin-top: 8px; } .partner-visual .ic { color: var(--orange); }

/* ---------- Pied de page */
.site-footer { background: var(--navy-900); color: #b9c6db; padding: 48px 0 0; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; } @media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 14px; margin-bottom: 14px; } .footer-logo img { height: 48px; width: auto; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; } .site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #dbe4f1; text-decoration: none; } .site-footer a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 8px; align-items: center; } .socials { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding: 22px 16px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Formulaires */
.field { margin-bottom: 18px; } .field label, .label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.req { color: var(--orange-cta); } .opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input[type=url], input[type=date], input[type=datetime-local], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #cfd6e2; border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(22,58,107,.15); }
input[type=file] { font: inherit; width: 100%; padding: 12px; border: 1.5px dashed #b9c3d3; border-radius: var(--radius-sm); background: var(--surface); }
.help { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 6px 0; } .check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange-cta); flex-shrink: 0; }
.radio-cards { display: grid; gap: 10px; } @media (min-width: 640px) { .radio-cards { grid-template-columns: repeat(3, 1fr); } }
.radio-card { position: relative; } .radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1.5px solid #cfd6e2; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; color: var(--navy); height: 100%; }
.radio-card small { font-weight: 400; color: var(--muted); }
.radio-card input:checked + span { border-color: var(--orange-cta); background: var(--orange-100); box-shadow: 0 0 0 1px var(--orange-cta); }
.radio-card input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.check-grid { display: grid; gap: 4px 16px; } @media (min-width: 640px) { .check-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1024px) { .check-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.form-row { display: grid; gap: 0 16px; } @media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } .form-row.three { grid-template-columns: repeat(3, 1fr); } }
fieldset { border: 0; padding: 0; margin: 0 0 8px; } legend { font: 700 1.15rem var(--font-display); color: var(--navy); margin-bottom: 14px; padding: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.form-actions > form { margin: 0; display: inline-flex; }
.form-card { max-width: 760px; margin: 0 auto; }

/* Formulaire progressif */
.stepper { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; counter-reset: s; }
.stepper li { flex: 1; font-size: .78rem; color: var(--muted); font-weight: 600; }
.stepper li::before { content: ""; display: block; height: 5px; border-radius: 5px; background: var(--line); margin-bottom: 6px; }
.stepper li.done::before, .stepper li.current::before { background: var(--orange-cta); } .stepper li.current { color: var(--navy); }
@media (max-width: 520px) { .stepper li span { display: none; } }
html.js .form-step[hidden] { display: none; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.recap { background: var(--surface); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .92rem; }
.recap dt { font-weight: 700; color: var(--navy); } .recap dd { margin: 0 0 8px; }

/* ---------- Authentification */
.auth-body { background: var(--surface); }
.auth-wrap { max-width: 480px; margin: 0 auto; padding: 32px 16px 48px; }
.auth-wrap.wide { max-width: 860px; }
.auth-logo { display: block; margin: 0 auto 24px; width: fit-content; } .auth-logo img { height: 56px; width: auto; }
.auth-card h1 { font-size: 1.5rem; } .auth-back { text-align: center; margin-top: 20px; } .auth-back a { display: inline-flex; gap: 6px; align-items: center; }
.auth-admin { background: var(--navy-900); } .auth-admin .auth-logo { background: #fff; padding: 10px 14px; border-radius: 14px; }

/* ---------- Espace prestataire */
.app-body { background: var(--surface); padding-bottom: 72px; } @media (min-width: 1024px) { .app-body { padding-bottom: 0; } }
.app-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 12px; background: #fff; border-bottom: 1px solid var(--line); }
.app-top .brand img { height: 34px; } .app-space { font-size: .8rem; color: var(--muted); font-weight: 600; display: none; } @media (min-width: 640px) { .app-space { display: inline; } }
.app-top-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--orange-100); color: #8f3a06; text-decoration: none; font-size: .9rem; }
.bell .dot { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--orange-cta); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.app-shell { display: block; } @media (min-width: 1024px) { .app-shell { display: grid; grid-template-columns: 260px 1fr; } .side-toggle { display: none !important; } }
.app-side { display: none; background: #fff; border-right: 1px solid var(--line); padding: 16px 12px; }
html.js .app-side.open, html.js .admin-side.open { display: block; position: fixed; inset: 60px 0 0 0; z-index: 45; overflow: auto; }
@media (min-width: 1024px) { .app-side, html.js .app-side { display: block; position: sticky; top: 60px; height: calc(100vh - 60px); overflow: auto; inset: auto; } }
.side-user { padding: 8px 12px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; } .side-user strong { display: block; color: var(--navy); } .side-user span { font-size: .82rem; color: var(--muted); word-break: break-all; }
.app-side nav a, .side-logout, .side-site { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 600 .95rem var(--font); background: none; border: 0; cursor: pointer; }
.app-side nav a:hover, .side-logout:hover, .side-site:hover { background: var(--navy-50); color: var(--navy); }
.app-side nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.app-side .count { margin-left: auto; background: var(--orange-cta); color: #fff; border-radius: 999px; font-size: .75rem; padding: 1px 8px; }
.side-logout { margin-top: 12px; border-top: 1px solid var(--line); border-radius: 0; padding-top: 16px; }
.app-main { padding: 20px 16px 32px; max-width: 1100px; width: 100%; } @media (min-width: 768px) { .app-main { padding: 28px 32px 48px; } }
.app-main h1 { font-size: 1.6rem; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; font-size: .72rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.bottom-nav a[aria-current="page"] { color: var(--orange-cta); } @media (min-width: 1024px) { .bottom-nav { display: none; } }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-bottom: 20px; } @media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: inherit; }
a.stat:hover { border-color: var(--navy-700); color: inherit; }
.stat-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.stat-value { font: 700 1.45rem/1.1 var(--font-display); color: var(--navy); } .stat-label { font-size: .82rem; color: var(--muted); } .stat-hint { font-size: .75rem; color: var(--orange-cta); font-weight: 600; }
.balance-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.balance-card .big { font: 700 2.4rem/1 var(--font-display); } .balance-card span { color: #c9d4e6; font-size: .9rem; }
.opp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; }
.opp + .opp { margin-top: 12px; }
.opp-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.opp-head h3 { margin: 0; font-size: 1.05rem; } .opp p { margin: 0; color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; color: var(--muted); } .meta span { display: inline-flex; gap: 6px; align-items: center; }
.cost { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #8f3a06; background: var(--orange-100); padding: 4px 12px; border-radius: 999px; font-size: .9rem; }
.locked { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 10px; background: var(--surface); color: var(--muted); font-size: .9rem; }
.contact-box { background: var(--success-bg); border: 1px solid #bfe5cf; border-radius: var(--radius); padding: 18px; }
.contact-box dl { display: grid; gap: 4px 16px; grid-template-columns: auto 1fr; margin: 0 0 12px; } .contact-box dt { font-weight: 700; color: var(--navy); } .contact-box dd { margin: 0; word-break: break-word; }
.confirm-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; } .confirm-table td { padding: 10px 0; border-bottom: 1px solid var(--line); } .confirm-table td:last-child { text-align: right; font-weight: 700; }
.confirm-table tr.total td { border-bottom: 0; font-size: 1.1rem; color: var(--navy); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 16px 18px; } .timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-700); }
.timeline time { display: block; font-size: .8rem; color: var(--muted); }
.notif { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; } .notif + .notif { margin-top: 8px; }
.notif.unread { border-left: 4px solid var(--orange-cta); } .notif h3 { font-size: .98rem; margin: 0 0 2px; } .notif p { margin: 0; font-size: .9rem; color: var(--muted); }
.pack { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.pack.featured { border-color: var(--orange-cta); } .pack .badge { position: absolute; top: 14px; right: 14px; }
.pack-credits { font: 700 2rem/1 var(--font-display); color: var(--navy); } .pack-price { font-weight: 700; font-size: 1.1rem; }
/* Récapitulatif avant la page de paiement du fournisseur, et retour de paiement */
.pay-recap { max-width: 560px; display: grid; gap: 16px; }
.pay-recap-head { display: flex; gap: 12px; align-items: center; }
.pay-recap-head h2 { margin: 0; font-size: 1.25rem; }
.pay-recap-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-cta); }
.pay-recap-lines { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pay-recap-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
.pay-recap-lines > div:first-child { border-top: 0; }
.pay-recap-lines dt { color: var(--muted); font-weight: 600; font-size: .92rem; }
.pay-recap-lines dd { margin: 0; font-weight: 700; color: var(--navy); text-align: right; overflow-wrap: anywhere; }
.pay-recap-lines .pay-recap-total { background: var(--navy); border-top: 0; align-items: center; padding: 16px; }
.pay-recap-lines .pay-recap-total dt { color: rgba(255,255,255,.8); white-space: nowrap; }
.pay-recap-lines .pay-recap-total dd { color: #fff; font: 700 1.35rem/1.1 var(--font-display); white-space: nowrap; }
.pay-recap-secure { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.pay-recap-secure svg { flex: none; margin-top: 2px; color: var(--success); }
/* Achat personnalisé de crédits (quantité libre) */
.custom-buy { margin-top: 24px; background: linear-gradient(180deg, var(--navy-50) 0%, #fff 70%); border: 1.5px solid var(--navy-100); border-radius: var(--radius); padding: 20px; scroll-margin-top: calc(var(--header-h) + 12px); }
.custom-buy-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.custom-buy-head h2 { font-size: 1.2rem; margin: 0 0 4px; }
.custom-buy-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-cta); }
.custom-buy-form { display: grid; gap: 16px; }
.qty-stepper { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: stretch; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; max-width: 340px; }
.qty-stepper:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-100); }
.qty-stepper.has-error { border-color: var(--danger); }
.qty-stepper input { border: 0; text-align: center; font: 700 1.6rem/1 var(--font-display); color: var(--navy); padding: 12px 4px; width: 100%; min-width: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty-stepper input:focus { outline: none; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { border: 0; background: var(--surface); color: var(--navy); font: 700 1.5rem/1 var(--font); min-height: 56px; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .qty-btn:hover:not(:disabled) { background: var(--navy-100); } }
.qty-btn:active:not(:disabled) { background: var(--navy-100); }
.qty-btn:disabled { color: var(--muted); opacity: .45; cursor: not-allowed; }
.qty-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: -3px; }
.custom-buy-summary { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.custom-buy-summary > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.custom-buy-summary dt { font-size: .8rem; color: var(--muted); font-weight: 600; }
.custom-buy-summary dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.custom-buy-summary .wide { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.custom-buy-summary .wide dd { margin: 0; text-align: right; }
.custom-buy-summary .total { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.custom-buy-summary .total dt { color: rgba(255,255,255,.8); font-size: .9rem; }
.custom-buy-summary .total dd { color: #fff; font: 700 1.45rem/1.1 var(--font-display); margin: 0; text-align: right; }
.custom-buy-form [data-qty-submit]:disabled { opacity: .5; cursor: not-allowed; }
@media (min-width: 760px) {
  .custom-buy { padding: 26px 28px; }
  .custom-buy-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 28px; align-items: start; }
  .custom-buy-form > .btn, .custom-buy-form > p { grid-column: 2; }
  .custom-buy-summary { grid-row: span 1; }
}

.progress { height: 8px; background: var(--line); border-radius: 8px; overflow: hidden; } .progress span { display: block; height: 100%; background: var(--orange-cta); }

/* ---------- Tableaux */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.table th { text-align: left; font-weight: 700; color: var(--navy); background: var(--navy-50); padding: 12px 14px; white-space: nowrap; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
.table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; } .table tr:hover td { background: #fafbfd; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; } .pos { color: var(--success); font-weight: 700; } .neg { color: var(--danger); font-weight: 700; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: .9rem; color: var(--muted); }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); background: #fff; border: 1px dashed #cfd6e2; border-radius: var(--radius); }
.empty .ic { color: var(--navy-700); margin-bottom: 8px; } .empty h3 { color: var(--navy); margin-bottom: 6px; } .empty p { max-width: 460px; margin: 0 auto 14px; }
.kv { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 8px 16px; margin: 0; } .kv dt { color: var(--muted); font-size: .9rem; } .kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; } .photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* ---------- Administration */
.admin-body { background: var(--surface); }
.admin-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 12px; background: var(--navy-900); color: #fff; }
.admin-top .brand { background: #fff; padding: 4px 8px; border-radius: 8px; } .admin-top .brand img { height: 28px; }
.admin-top .icon-btn { color: #fff; } .admin-top .icon-btn:hover { background: rgba(255,255,255,.1); }
.admin-tag { font-size: .8rem; color: #ffb27d; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; display: none; } @media (min-width: 640px) { .admin-tag { display: inline; } }
.admin-user { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: .9rem; } .admin-user form { margin: 0; }
.admin-shell { display: block; } @media (min-width: 1024px) { .admin-shell { display: grid; grid-template-columns: 250px 1fr; } }
.admin-side { display: none; background: #fff; border-right: 1px solid var(--line); padding: 12px 10px 32px; }
@media (min-width: 1024px) { .admin-side, html.js .admin-side { display: block; position: sticky; top: 60px; height: calc(100vh - 60px); overflow: auto; inset: auto; } }
.nav-group { margin-bottom: 10px; } .nav-group > span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 10px 12px 4px; }
.admin-side a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.admin-side a:hover { background: var(--navy-50); color: var(--navy); } .admin-side a[aria-current="page"] { background: var(--navy); color: #fff; }
.admin-main { padding: 20px 16px 48px; min-width: 0; } @media (min-width: 768px) { .admin-main { padding: 28px 32px 56px; } }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; } .page-head h1 { font-size: 1.55rem; margin: 0; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: flex-end; } .toolbar .field { margin: 0; min-width: 150px; flex: 1; } .toolbar .field label { font-size: .8rem; }
.toolbar input, .toolbar select { min-height: 42px; }
.actions-inline { display: flex; flex-wrap: wrap; gap: 6px; } .actions-inline form { margin: 0; }
.two-col { display: grid; gap: 16px; } @media (min-width: 1100px) { .two-col { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; background: var(--surface); }
.code { font-family: ui-monospace, monospace; font-size: .85rem; background: var(--surface); padding: 2px 6px; border-radius: 6px; }
pre.code { white-space: pre-wrap; word-break: break-word; padding: 10px; }
details.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; } details.box + details.box { margin-top: 10px; }
details.box summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.integration { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); } .integration:last-child { border-bottom: 0; }
.err-page { text-align: center; padding: 80px 16px; } .err-page .code-big { font: 700 4rem/1 var(--font-display); color: var(--orange-cta); }
.two-col { margin-bottom: 16px; } .two-col > * { min-width: 0; } .two-col > .card + .card, .grid > .card + .card, .two-col > div > .card:first-child { margin-top: 0; }

/* ---------- Carrousels continus */
.marquee-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.marquee-viewport { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; touch-action: pan-x pan-y; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%); }
.marquee-viewport::-webkit-scrollbar { display: none; }
.marquee.is-live .marquee-viewport { cursor: grab; }
.marquee-viewport.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.marquee-track { display: flex; gap: 16px; width: max-content; padding: 4px 2px 18px; }
.marquee-slide { flex: 0 0 auto; width: min(80vw, 320px); }
@media (min-width: 640px) { .marquee-slide { width: 300px; } }
@media (min-width: 1024px) { .marquee-slide { width: 340px; } }
.marquee-slide .shop-card, .marquee-slide .tcard { height: 100%; }
.tcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tcard-date { display: block; font-size: .78rem; color: var(--muted); }
.btn-lg { min-height: 54px; font-size: 1.05rem; }
.alert > div { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Sélection de fichiers */
.upload { position: relative; }
.upload-input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.upload-drop { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 64px; border: 2px dashed #b9c3d3; border-radius: var(--radius-sm); background: var(--surface); color: var(--navy); cursor: pointer; transition: border-color .15s, background .15s; }
.upload-drop:hover, .upload.is-dragover .upload-drop { border-color: var(--orange-cta); background: var(--orange-100); }
.upload-input:focus-visible + .upload-list, .upload:focus-within .upload-drop { outline: 3px solid var(--orange); outline-offset: 2px; }
.upload-drop > span { display: grid; gap: 2px; } .upload-drop .small { color: var(--muted); font-weight: 400; }
.upload-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 10px 0 0; }
.upload-list:empty { display: none; }
.upload-thumb { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.upload-thumb img, .upload-file { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface); display: grid; place-items: center; color: var(--navy-700); }
.upload-thumb figcaption { font-size: .74rem; padding: 4px 6px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-thumb .upload-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(7,26,53,.82); color: #fff; display: grid; place-items: center; cursor: pointer; }
.upload-thumb.is-new { border-color: var(--orange-cta); }
.upload-del { display: flex; gap: 6px; align-items: center; font-size: .78rem; padding: 4px 6px 6px; color: var(--danger); cursor: pointer; }
.upload-del input { accent-color: var(--danger); }
.upload-thumb.is-removed img { opacity: .35; filter: grayscale(1); }
.upload-error { color: var(--danger); font-size: .88rem; margin: 8px 0 0; }
.upload-progress { display: grid; gap: 6px; margin: 12px 0; }
.upload-progress .progress { height: 10px; }
.upload-progress span { font-size: .88rem; color: var(--navy); font-weight: 600; }
.page-hero.has-banner { background: linear-gradient(90deg, rgba(11,36,71,.94) 0%, rgba(11,36,71,.78) 55%, rgba(11,36,71,.45) 100%), var(--banner) center / cover no-repeat, var(--navy); padding: 56px 0 64px; }

/* Note en étoiles (saisie) */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { color: #cfd6e2; cursor: pointer; padding: 2px; border-radius: 6px; }
.star-input label svg { fill: currentColor; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f2a10c; }
.star-input input:focus-visible + label { outline: 3px solid var(--orange); }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; padding-block: 8px; } }
.grid > * { min-width: 0; }
pre.code { overflow-x: auto; max-width: 100%; }
.search-result > div { min-width: 0; }
.rot90 { transform: rotate(90deg); }
.upload-error.is-info { color: var(--navy-700); }

.shop-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.shop-actions .btn-outline { flex: 1 1 auto; }
.rating-summary { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 12px !important; padding: 8px 16px; background: var(--surface); border-radius: 999px; color: var(--ink); }
.rating-summary strong { color: var(--navy); font-size: 1.05rem; } .rating-summary span { color: var(--muted); font-size: .9rem; }
.reviews-empty { max-width: 640px; margin: 0 auto; }

/* ---------- Tableaux en fiches sur téléphone (administration, espace prestataire) */
@media (max-width: 760px) {
  .table-wrap.as-cards { overflow: visible; background: transparent; border: 0; }
  .as-cards table.table { min-width: 0; font-size: .92rem; }
  .as-cards .table thead { display: none; }
  .as-cards .table, .as-cards .table tbody, .as-cards .table tr, .as-cards .table td { display: block; width: 100%; }
  .as-cards .table tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
  .as-cards .table tr:hover td { background: transparent; }
  .as-cards .table td { border: 0; padding: 5px 0; display: grid; grid-template-columns: minmax(92px, 32%) minmax(0, 1fr); gap: 10px; align-items: start; text-align: left; overflow-wrap: anywhere; }
  .as-cards .table td::before { content: attr(data-label); font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding-top: 3px; }
  .as-cards .table td[data-label=""] { grid-template-columns: minmax(0, 1fr); padding-top: 8px; }
  .as-cards .table td[data-label=""]::before { display: none; }
  .as-cards .table td.num { text-align: left; }
  .as-cards .actions-inline { gap: 8px; } .as-cards .actions-inline .btn { min-height: 42px; }
  .toolbar .field { flex: 1 1 140px; min-width: 0; }
  .page-head { align-items: flex-start; } .page-head h1 { font-size: 1.3rem; }
  .admin-main .card { padding: 16px; }
}
@media (max-width: 760px) { .as-cards .td-v { min-width: 0; } .as-cards .td-v .badge { margin: 0 4px 4px 0; } }

/* ---------- Achat de crédits : étapes, moyens de paiement */
.buy-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 4px 0 20px; flex-wrap: wrap; counter-reset: none; }
.buy-steps li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); color: var(--muted); font-weight: 600; font-size: .9rem; border: 1px solid var(--line); }
.buy-steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-size: .85rem; }
.buy-steps li.is-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.buy-steps li.is-current span { background: var(--orange-cta); color: #fff; border-color: transparent; }
.buy-steps li.is-done { color: var(--navy); }
.buy-steps li.is-done span { background: var(--orange-100); border-color: var(--orange-cta); }
.pay-methods { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; min-height: 60px; }
.pay-method:hover { border-color: #b9c3d3; }
.pay-method:has(input:checked) { border-color: var(--orange-cta); background: var(--orange-100); }
.pay-method input { width: 20px; height: 20px; accent-color: var(--orange-cta); flex: 0 0 auto; margin: 0; }
.pay-method > span:last-child { display: grid; gap: 2px; min-width: 0; }
.pay-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); color: var(--navy); display: grid; place-items: center; flex: 0 0 auto; }
.checkout { align-items: start; }
.pack-summary .kv dd { text-align: right; }

/* ---------- Confirmation (e-mail confirmé, demande envoyée) */
.confirm-ok { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #e7f6ee; color: #137a43; }
.toggle-list { display: grid; gap: 10px; margin-bottom: 14px; }
.toggle-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.toggle-row input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--orange-cta); flex: 0 0 auto; }
.toggle-row > span { display: grid; gap: 4px; min-width: 0; }
.toggle-row > span > .badge { justify-self: start; }
.toggle-row:has(input:checked) { border-color: var(--orange-cta); background: var(--orange-100); }

/* Suivi client sans compte */
.new-request { border: 2px solid var(--orange-cta, #D95700); }
.secret-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 10px; }
.secret { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border-radius: 12px; background: var(--navy-50); text-align: center; }
.secret span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.secret strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.45rem; letter-spacing: .08em; color: var(--navy-900, #0B2447); overflow-wrap: anywhere; }
.req-list { display: grid; gap: 12px; }
.req-item { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; margin: 0; } .req-item:hover { border-color: var(--navy-700); }
.req-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.track-cta { display: inline-flex; align-items: center; gap: 8px; }
.hero-track { margin: 18px 0 0; } .hero-track a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; }
.hero-track a:hover { color: var(--orange); }
/* Pages de vérification (textes personnalisables) */
.verif-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-cta); margin: 0 0 14px; }
.center .verif-icon, .verif-card.center .verif-icon { margin-left: auto; margin-right: auto; }
.verif-icon-warn { background: #fff4e0; color: #8a5300; }
.verif-help { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--navy-50); text-align: left; }
.verif-help .ic { flex: 0 0 auto; margin-top: 2px; color: var(--navy-700); }
.verif-resend [data-countdown-text] { margin-top: 8px; }
.mt-sm { margin-top: 8px; }
/* Aperçu dans l'administration : la page n'est pas cliquable */
.vt-preview a, .vt-preview button, .vt-preview input, .vt-preview textarea, .vt-preview select { pointer-events: none; }
.vt-preview [data-vt] { transition: background-color .3s; }
.vt-preview [data-vt].vt-flash { background: #fff3c4; border-radius: 4px; }
.vt-preview-banner { background: #071a35; color: #fff; text-align: center; font-size: .8rem; padding: 6px 10px; }
/* Éditeur des textes de vérification */
.vt-editor { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1100px) { .vt-editor { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } .vt-preview-col { position: sticky; top: 76px; } }
.vt-group { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 10px; }
.vt-group > summary { cursor: pointer; padding: 12px 14px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.vt-group > summary::-webkit-details-marker { display: none; }
.vt-group > summary::after { content: "+"; font-weight: 700; color: var(--muted); }
.vt-group[open] > summary::after { content: "−"; }
.vt-group-body { padding: 0 14px 6px; }
.vt-group .field textarea { min-height: 76px; }
.vt-field-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .75rem; color: var(--muted); margin-top: 4px; }
.vt-field-meta .vt-changed { color: var(--orange-cta); font-weight: 600; }
.vt-vars { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.vt-vars button { font: 600 .72rem/1 ui-monospace, Menlo, Consolas, monospace; padding: 5px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--navy-50); color: var(--navy-700); cursor: pointer; }
.vt-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.vt-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.vt-seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 999px; font: 600 .85rem var(--font-body, inherit); color: var(--muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.vt-seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.vt-stage { background: #e9eef6; border-radius: 14px; padding: 16px; display: flex; justify-content: center; overflow: hidden; }
.vt-device { background: #fff; overflow: hidden; box-shadow: 0 10px 30px rgba(11, 36, 71, .18); transform-origin: top left; }
.vt-device iframe { border: 0; display: block; width: 100%; height: 100%; background: #fff; }
.vt-device.phone { width: 390px; height: 760px; border-radius: 34px; border: 10px solid #0b1424; }
.vt-device.desktop { width: 1280px; height: 820px; border-radius: 10px; border: 1px solid #c9d3e2; }
.vt-device-wrap { position: relative; }
.vt-actions { position: sticky; bottom: 0; z-index: 5; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); padding: 12px 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.vt-flow-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.vt-flow { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; background: #fff; display: grid; gap: 8px; align-content: start; }
.vt-flow h3 { margin: 0; font-size: 1rem; }
.vt-history li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.vt-history li:last-child { border-bottom: 0; }
@media (max-width: 720px) {
  .vt-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 0; }
  .vt-actions .btn { padding: 8px 10px; font-size: .82rem; min-height: 40px; justify-content: center; text-align: center; }
  .vt-stage { padding: 10px; }
}
@media (min-width: 1100px) { .vt-back { display: none; } }
/* Page « Toutes les boutiques » : grille compacte (2 colonnes sur téléphone, 3 à 4 sur ordinateur) */
.shops-count { margin: -6px 0 12px; font-size: .88rem; color: var(--muted); }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 600px) { .shop-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1180px) { .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-tile { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(11, 36, 71, .05); transition: box-shadow .2s, transform .2s; content-visibility: auto; contain-intrinsic-size: auto 290px; }
@media (hover: hover) { .shop-tile:hover { box-shadow: 0 10px 24px rgba(11, 36, 71, .12); transform: translateY(-2px); } }
.shop-tile-cover { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); overflow: hidden; }
.shop-tile-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-tile-cover-empty { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .55); }
.shop-tile-logo { position: relative; z-index: 2; margin: -22px 0 0 10px; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(11, 36, 71, .18); overflow: hidden; display: grid; place-items: center; font: 700 .9rem var(--font-display); color: var(--navy); }
.shop-tile-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.shop-tile-logo .avatar, .shop-tile-logo > span { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 0; font-size: .85rem; }
.shop-tile-body { display: flex; flex-direction: column; gap: 4px; padding: 6px 10px 10px; flex: 1; min-width: 0; }
.shop-tile-name { margin: 0; font-size: .95rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.shop-tile-name a { color: var(--navy); text-decoration: none; }
.shop-tile-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toute la carte ouvre la boutique */
.shop-tile-meta { margin: 0; display: flex; flex-direction: column; gap: 1px; font-size: .76rem; color: var(--muted); min-width: 0; }
.shop-tile-meta > span { display: flex; align-items: center; gap: 4px; min-width: 0; }
.shop-tile-meta > span { align-items: flex-start; }
.shop-tile-meta .ic { margin-top: 2px; }
.shop-tile-meta > span > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; line-height: 1.3; }
.shop-tile-meta .ic { flex: 0 0 auto; color: var(--orange-cta); }
.shop-tile-desc { margin: 2px 0 0; font-size: .8rem; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.shop-tile-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; position: relative; z-index: 2; }
.shop-tile-actions .btn { min-height: 40px; padding: 8px 10px; font-size: .85rem; }
.shop-tile-actions .btn-primary { flex: 1 1 auto; justify-content: center; min-width: 0; }
.shop-tile-wa { flex: 0 0 42px; width: 42px; padding: 0 !important; justify-content: center; }
@media (min-width: 600px) {
  .shop-tile-logo { width: 52px; height: 52px; margin: -26px 0 0 12px; }
  .shop-tile-body { padding: 8px 14px 14px; gap: 6px; }
  .shop-tile-name { font-size: 1.02rem; }
  .shop-tile-meta { flex-direction: row; flex-wrap: wrap; gap: 2px 10px; font-size: .8rem; }
  .shop-tile-desc { font-size: .86rem; }
}
.shops-more { display: flex; justify-content: center; margin-top: 24px; }
.shops-more .btn { min-height: 46px; }
@media (max-width: 359px) {
  .shop-grid { gap: 10px; }
  .shop-tile-body { padding: 6px 8px 8px; }
  .shop-tile-actions { gap: 5px; }
  .shop-tile-actions .btn { font-size: .78rem; padding: 8px 6px; letter-spacing: 0; }
  .shop-tile-wa { flex-basis: 38px; width: 38px; }
}
/* Entrée « Devenir prestataire » du menu : mise en avant discrète (orange) */
.main-nav .nav-pro { color: var(--orange-cta); }
.main-nav .nav-pro .nav-ic { color: var(--orange-cta); flex: 0 0 auto; }
.main-nav .nav-pro:hover, .main-nav .nav-pro[aria-current="page"] { background: var(--orange-100); color: var(--orange-cta-hover); }
@media (max-width: 1199px) { .main-nav .nav-pro { background: var(--orange-100); margin: 4px 0; } }
@media (min-width: 1200px) { .main-nav .nav-pro .nav-ic { display: none; } }
@media (min-width: 1360px) { .main-nav a { padding: 10px 12px; font-size: .95rem; } }
/* Page « Devenir prestataire » */
.pro-hero .eyebrow { color: var(--orange); }
.pro-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pro-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.pro-card { margin: 0; } .pro-card h3 { font-size: 1.05rem; margin: 0 0 6px; } .pro-card .step-ic { margin-bottom: 12px; }
.pro-steps { list-style: none; counter-reset: pro; padding: 0; margin: 0; display: grid; gap: 14px; }
.pro-steps li { counter-increment: pro; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 2px; }
.pro-steps li::before { content: counter(pro); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--orange-cta); color: #fff; font-weight: 700; display: grid; place-items: center; }
.pro-steps li span { font-size: .9rem; color: var(--muted); }
@media (max-width: 480px) { .pro-hero .hero-actions .btn { width: 100%; justify-content: center; } }
.tier-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.tier-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--navy-50); }
.tier-list li > span:last-child { display: flex; flex-direction: column; align-items: flex-end; text-align: right; white-space: nowrap; }
.tier-list strong { color: var(--navy); } .tier-list small { color: var(--muted); font-size: .78rem; }
@media (max-width: 639px) {
  .pro-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start; padding: 14px; }
  .pro-card .step-ic { width: 44px; height: 44px; border-radius: 12px; margin: 0; grid-row: span 2; }
  .pro-card h3 { font-size: 1rem; margin: 2px 0 4px; }
}

/* ---------- Suivi client : barre de progression, avis, code perdu, liens d'accès */
.progress-steps { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: st; }
.progress-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 4px; min-width: 0; }
.progress-steps li::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.progress-steps li:first-child::before { display: none; }
.progress-steps li.ps-done::before, .progress-steps li.ps-skipped::before { background: var(--orange); }
.ps-dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--line); color: #fff; }
.ps-done .ps-dot { background: var(--orange); border-color: var(--orange); }
.ps-skipped .ps-dot { border-color: var(--orange); border-style: dashed; }
.ps-label { margin-top: 6px; font-weight: 700; font-size: .82rem; color: var(--navy-900, var(--ink)); line-height: 1.2; }
.ps-todo .ps-label { color: var(--muted); font-weight: 600; }
.ps-date { font-size: .72rem; color: var(--muted); margin-top: 2px; line-height: 1.25; }
.progress-steps.is-cancelled { grid-template-columns: repeat(6, 1fr); }
.ps-cancel .ps-dot { background: #b42318; border-color: #b42318; }
.ps-cancel .ps-label { color: #b42318; }
@media (max-width: 560px) {
  .progress-steps, .progress-steps.is-cancelled { grid-template-columns: 1fr; gap: 0; }
  .progress-steps li { flex-direction: row; align-items: flex-start; text-align: left; gap: 10px; padding: 0 0 14px; flex-wrap: wrap; }
  .progress-steps li::before { left: 13px; top: -14px; width: 3px; height: 28px; }
  .ps-label { margin-top: 4px; flex: 1; }
  .ps-date { flex-basis: 100%; padding-left: 38px; margin-top: -2px; }
}
.tl-note { margin: 4px 0 0; padding: 8px 10px; background: var(--navy-50); border-radius: 8px; }
.review-invite { border: 2px solid var(--orange); }
.review-invite-head { display: flex; gap: 12px; align-items: flex-start; color: var(--orange); }
.review-invite-head h2 { color: var(--ink); margin: 0 0 2px; }
.review-invite-head p { color: var(--ink); }
.review-details > summary { list-style: none; margin-top: 12px; display: inline-flex; }
.review-details > summary::-webkit-details-marker { display: none; }
.review-details[open] > summary { display: none; }
.review-sent blockquote { margin: 8px 0; font-style: italic; }
.lost-code > summary { list-style: none; cursor: pointer; }
.lost-code > summary::-webkit-details-marker { display: none; }
.lost-code > summary h2 { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 1.1rem; color: var(--navy-700); }
.lost-code > summary h2::after { content: "+"; margin-left: auto; font-size: 1.4rem; color: var(--orange); }
.lost-code[open] > summary h2::after { content: "–"; }
.lost-code[open] > summary { margin-bottom: 10px; }
.wa-preview { white-space: pre-wrap; font: .85rem/1.45 var(--font); background: #e9f9ef; border: 1px solid #bfe9cf; border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; overflow-wrap: anywhere; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
/* ---------- Administration : relation clients */
.rc-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; align-items: end; }
.rc-filters .field { margin: 0; }
.rc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* Recherche des demandes : une colonne sur téléphone, 2 puis 3 colonnes équilibrées sur ordinateur */
.rc-search-head { margin-bottom: 14px; } .rc-search-head h2 { font-size: 1.1rem; margin: 0 0 2px; }
.rc-search-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 16px; align-items: start; }
.rc-search-grid .field { margin: 0; }
.rc-search-grid .field input, .rc-search-grid .field select { width: 100%; min-width: 0; }
.rc-dates { margin: 0; min-width: 0; }
.rc-dates legend { font: 600 .95rem var(--font); color: var(--navy); margin-bottom: 6px; }
.rc-dates-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.rc-dates-row .field label { font-weight: 500; color: var(--muted); font-size: .85rem; }
@media (min-width: 400px) { .rc-dates-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 640px) { .rc-search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rc-search-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rc-dates { grid-column: span 2; } .rc-dates-row { max-width: 520px; } }
.rc-search-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 480px) { .rc-search-actions .btn { flex: 1 1 100%; justify-content: center; } }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-bg); }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; margin: 4px 0 0; }
@media (min-width: 761px) { .table .rc-nw { white-space: nowrap; } }
#rc-resultats { margin-top: 18px; } #rc-resultats > .alert { margin: 0 0 12px; }
.rc-results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0 0 8px; }
.rc-results-head h2 { font-size: 1.1rem; margin: 0; }
.rc-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; }
.rc-chips li { display: inline-flex; align-items: center; gap: 4px; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: 999px; padding: 3px 4px 3px 12px; font-size: .85rem; max-width: 100%; }
.rc-chips li span { overflow-wrap: anywhere; }
.rc-chips a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; color: var(--navy); text-decoration: none; font-size: 1.1rem; line-height: 1; }
.rc-chips a:hover, .rc-chips a:focus-visible { background: var(--navy-100); }
.rc-secret { background: #fff7ed; border: 2px dashed var(--orange); border-radius: 12px; padding: 14px; }
.rc-secret code { display: block; overflow-wrap: anywhere; margin: 6px 0 10px; font-size: .9rem; }
.rc-msg { white-space: pre-wrap; font: .9rem/1.45 var(--font); background: #e9f9ef; border: 1px solid #bfe9cf; border-radius: 10px; padding: 12px; margin: 8px 0; overflow-wrap: anywhere; }
.rc-vars { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.rc-sol { border-left: 4px solid var(--orange); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
nav.tabs.mb { display: flex; flex-wrap: wrap; } nav.tabs.mb a { display: inline-flex; align-items: center; gap: 6px; }
/* Section « Votre avis sur OUVRIO » */
.review-box h2, .review-invite h2 { display: flex; align-items: center; gap: 8px; }
.review-box h2 .ic { color: var(--orange); }
.review-state { padding: 10px 12px; border-radius: 10px; background: var(--navy-50); margin: 0 0 12px; }
.review-state-publie { background: #e7f6ee; color: #0f5c33; }
.review-state-en_attente { background: #fff4e0; color: #5c3a00; }
.review-state-refuse { background: #fdecec; color: #8f1c13; }
#avis { scroll-margin-top: 90px; }

/* Fiche demande : « Contacter le client » */
.rc-contacts { display: grid; gap: 10px; }
.rc-contact { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.rc-contact > summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.rc-contact > summary::-webkit-details-marker { display: none; }
.rc-contact > summary > span:last-child { display: flex; flex-direction: column; flex: 1; color: var(--navy); }
.rc-contact > summary::after { content: "+"; font-size: 1.4rem; color: var(--orange); font-weight: 700; }
.rc-contact[open] > summary::after { content: "–"; }
.rc-contact[open] { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 106, 33, .12); }
.rc-contact-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #e9f9ef; color: #128c4a; flex-shrink: 0; }
#contact-recuperation .rc-contact-ic { background: #fff4e0; color: #8a5300; }
#contact-avis .rc-contact-ic { background: #fff4e0; color: var(--orange); }
.rc-contact.is-disabled .rc-contact-ic { background: var(--navy-50); color: var(--muted); }
.rc-contact-body { padding: 0 14px 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.review-who { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 12px; border-radius: 10px; background: var(--navy-50); color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.review-who span { display: inline-flex; align-items: center; gap: 6px; }
.review-form .star-input label svg { width: 34px; height: 34px; }
.review-problem { margin: 4px 0 10px; } .review-problem > summary { cursor: pointer; color: var(--navy-700); }
@media (max-width: 560px) { .btn-block-sm { width: 100%; justify-content: center; } }

/* Carte « Votre avis sur OUVRIO » (sous « Besoin d'aide ? ») */
.review-card { margin-top: 4px; }
.review-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; } .review-title-row h2 { margin: 0; }
.review-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.review-locked { border: 2px dashed var(--line); }
.review-locked .review-fields { opacity: .55; }
.review-locked .review-invite-head { color: var(--muted); }
.review-wait { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff4e0; color: #5c3a00; font-weight: 600; font-size: .95rem; }
.review-submit { margin-top: 6px; }
@media (min-width: 900px) { .review-card { max-width: 760px; margin-left: auto; margin-right: auto; } }
.review-note { margin: 10px 0 0; text-align: center; }
.rc-temoignage { min-width: 240px; }

/* ---------- Page « Devenir partenaire » (boutiques et entreprises) */
.pa-hero { background: var(--navy); color: #fff; padding: 28px 0 36px; overflow: hidden; }
.pa-hero .breadcrumb, .pa-hero .breadcrumb a { color: #c9d4e6; }
.pa-hero .eyebrow { color: var(--orange); }
.pa-hero h1 { color: #fff; font-size: clamp(1.7rem, 5.4vw, 2.9rem); line-height: 1.15; margin: 6px 0 12px; }
.pa-lead { color: #dbe3f0; font-size: 1.05rem; line-height: 1.6; margin: 0 0 20px; max-width: 46ch; }
.pa-hero-grid { display: grid; gap: 22px; align-items: center; }
.pa-hero-media { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); aspect-ratio: 16 / 9; }
.pa-hero-media .pa-img { width: 100%; height: 100%; object-fit: cover; }
.pa-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pa-actions .btn { flex: 1 1 220px; justify-content: center; }
.pa-actions-center { justify-content: center; max-width: 620px; margin: 0 auto; }
.pa-img { display: block; width: 100%; height: auto; }
.pa-split { display: grid; gap: 26px; align-items: center; }
.pa-media { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; position: relative; }
.pa-media-phone { max-width: 440px; margin: 0 auto; width: 100%; }
.pa-caption { position: absolute; left: 10px; bottom: 10px; background: rgba(11, 31, 58, .78); color: #fff; font-size: .72rem; padding: 4px 9px; border-radius: 999px; }
.pa-wide { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 22px; }
.pa-parts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.pa-parts li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.pa-parts strong { display: block; color: var(--navy); font-size: .97rem; }
.pa-parts span:not(.pa-ic) { font-size: .88rem; color: var(--muted); }
.pa-ic { width: 38px; height: 38px; border-radius: 10px; background: #fff1e6; color: var(--orange-cta); display: grid; place-items: center; flex-shrink: 0; }
.pa-note { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; }
.pa-cta-inline { margin-top: 18px; display: flex; justify-content: center; }
.pa-chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pa-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .9rem; color: var(--navy); font-weight: 600; }
.pa-final { background: var(--navy); color: #fff; padding: 52px 0; }
.pa-final h2 { color: #fff; font-size: clamp(1.5rem, 4.6vw, 2.3rem); margin: 0 0 10px; }
.pa-final p { color: #dbe3f0; margin: 0 auto 22px; max-width: 52ch; }
.pa-final-num { color: #aebcd3 !important; margin-top: 14px !important; }
@media (min-width: 900px) {
  .pa-hero { padding: 40px 0 56px; }
  .pa-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .pa-split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .pa-split-rev > :first-child { order: 0; }
  .pa-parts { grid-template-columns: 1fr 1fr; }
  .pa-actions .btn { flex: 0 1 auto; }
}

/* Catalogue des boutiques : deux colonnes sur téléphone, trois puis quatre sur grand écran */
.product-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .product-grid .product-card .pc-body { padding: 10px; } .product-grid .product-card h3 { font-size: .9rem; } .product-grid .price { font-size: 1rem; } }
.pro-grid > .card { margin: 0; }

/* Accueil — « Boutiques & entreprises » avec photographie : titre, photo, avantages, bouton, puis les 4 cartes (mobile) ;
   texte à gauche et photo à droite, cartes en dessous (ordinateur) */
.partner-cta-photo { grid-template-areas: "head" "photo" "body" "cards"; gap: 20px; }
.partner-cta-photo .pc-head { grid-area: head; } .partner-cta-photo .pc-head p { margin-bottom: 0; }
.partner-cta-photo .pc-photo { grid-area: photo; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 36px rgba(0, 0, 0, .3); aspect-ratio: 16 / 10; background: rgba(255, 255, 255, .06); }
.partner-cta-photo .pc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.partner-cta-photo .pc-body { grid-area: body; } .partner-cta-photo .pc-body .checklist { margin-top: 0; }
.partner-cta-photo .partner-visual { grid-area: cards; }
@media (max-width: 559px) { .partner-cta-photo .pc-body .btn { width: 100%; justify-content: center; } }
@media (min-width: 900px) {
  .partner-cta-photo { grid-template-columns: 1fr 1.05fr; grid-template-areas: "head photo" "body photo" "cards cards"; column-gap: 44px; row-gap: 18px; align-items: start; }
  .partner-cta-photo .pc-head { align-self: end; }
  .partner-cta-photo .pc-photo { aspect-ratio: 4 / 3.3; align-self: stretch; }
  .partner-cta-photo .partner-visual { grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
}

/* ======================================================================
   Boutiques partenaires : vitrines e-commerce (catalogue, fiche produit, éditeur enrichi)
   ====================================================================== */
.section-tight { padding: 24px 0 40px; } @media (min-width: 768px) { .section-tight { padding: 32px 0 56px; } }
/* Cartes produits */
.product-card { position: relative; transition: box-shadow .15s, transform .15s; }
.product-card:hover { transform: translateY(-2px); }
.product-card .pc-media { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.product-card .product-img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface); }
.product-img-empty { display: grid; place-items: center; color: #b7c1d3; }
.pc-badge { position: absolute; top: 8px; left: 8px; background: var(--orange-cta); color: #fff; font: 700 .72rem/1 var(--font); padding: 6px 8px; border-radius: 999px; letter-spacing: .01em; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.pc-badge-out { left: auto; right: 8px; background: var(--navy); }
.product-card .pc-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card h3 { font: 600 .95rem/1.3 var(--font); color: var(--ink); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; }
.pc-price .price { color: var(--orange-cta); }
.price-ask { font-size: .95rem !important; color: var(--navy) !important; }
.price-old { color: var(--muted); font-size: .85rem; font-weight: 500; }
.discount { background: var(--orange-100); color: var(--orange-cta-hover); font: 700 .85rem var(--font); padding: 3px 8px; border-radius: 999px; }
@media (max-width: 480px) { .product-grid { gap: 10px; } .product-card h3 { font-size: .86rem; } .pc-badge { font-size: .66rem; padding: 5px 7px; top: 6px; left: 6px; } .price-old { font-size: .78rem; } }
/* Page boutique */
.shop-head { align-items: center; }
.shop-head-txt { flex: 1 1 220px; min-width: 0; }
.shop-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 639px) { .shop-head { align-items: flex-end; } .shop-head-actions { width: 100%; } .shop-head-actions .btn { flex: 1 1 auto; } }
.shop-crumb { color: var(--muted); margin: 14px auto 0; } .shop-crumb a, .pp-crumb a, .cat-hero .breadcrumb a { color: var(--navy-700); } .pp-crumb, .cat-hero .breadcrumb { color: var(--muted); }
.shop-tagline { font-size: 1.05rem; color: var(--ink); margin: 6px 0 0; max-width: 760px; }
.cat-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.cat-head h2 { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.cat-more { display: flex; justify-content: center; margin-top: 22px; }
.cat-more .btn { width: 100%; max-width: 420px; justify-content: center; }
/* Page catalogue complet */
.cat-hero { background: var(--navy-50); border-bottom: 1px solid var(--line); padding: 18px 0 20px; }
.cat-shop { display: flex; gap: 14px; align-items: center; }
.cat-shop .shop-logo { margin: 0; width: 72px; height: 72px; flex: 0 0 72px; text-decoration: none; }
.cat-shop h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0 0 2px; }
.cat-shop p { margin: 0; color: var(--muted); }
.cat-count { margin-top: 4px !important; color: var(--ink) !important; font-size: .95rem; }
.cat-back { margin-top: 12px; }
.cat-tools { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cat-tools .filters { margin-bottom: 0; flex: 1 1 320px; }
.cat-sort { display: flex; align-items: center; gap: 8px; }
.cat-sort label { font-size: .9rem; font-weight: 600; color: var(--muted); }
.cat-sort select { min-height: 40px; width: auto; padding: 6px 34px 6px 12px; }
.cat-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin: 28px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
/* Fiche produit */
.pp { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 900px) { .pp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; } .pp-gallery { position: sticky; top: calc(var(--header-h) + 16px); } }
.pp-main { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; }
.pp-main-empty { display: grid; place-content: center; justify-items: center; gap: 6px; color: #9aa6ba; cursor: default; background: var(--surface); }
.pp-zoom { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; background: rgba(11,36,71,.82); color: #fff; font-size: .8rem; font-weight: 600; padding: 7px 11px; border-radius: 999px; }
.pp-main .pc-badge { top: 12px; left: 12px; font-size: .8rem; padding: 7px 10px; }
.pp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pp-thumb { flex: 0 0 68px; height: 68px; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumb[aria-current="true"] { border-color: var(--orange-cta); box-shadow: 0 0 0 2px var(--orange-100); }
.pp-cat { display: inline-block; background: var(--navy-50); color: var(--navy-700); font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.pp-info h1 { font-size: clamp(1.45rem, 3.6vw, 2.05rem); margin-bottom: 10px; }
.pc-price-lg .price { font-size: clamp(1.6rem, 4.5vw, 2rem); }
.pc-price-lg .price-old { font-size: 1.05rem; }
.pp-save { color: var(--success); font-weight: 600; font-size: .92rem; margin: 6px 0 0; }
.pp-facts { display: grid; gap: 0; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.pp-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; } .pp-facts > div + div { border-top: 1px solid var(--line); }
.pp-facts dt { color: var(--muted); font-size: .9rem; } .pp-facts dd { margin: 0; text-align: right; }
.avail { font-weight: 700; } .avail-en_stock { color: var(--success); } .avail-stock_limite { color: var(--warning); } .avail-sur_commande { color: var(--info); } .avail-rupture { color: var(--danger); }
.pp-order { min-height: 56px; font-size: 1.05rem; }
.pp-wa-note { margin: 8px 0 0; }
.pp-pay { display: flex; gap: 8px; align-items: flex-start; background: var(--surface); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .88rem; color: var(--muted); margin: 14px 0; }
.seller { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.seller .shop-logo { margin: 0; width: 56px; height: 56px; flex: 0 0 56px; font-size: 1.1rem; text-decoration: none; }
.seller-txt { display: flex; flex-direction: column; flex: 1 1 140px; min-width: 0; line-height: 1.3; } .seller-txt strong { color: var(--navy); font-size: 1.05rem; }
.pp-desc-block { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.pp-desc-block > h2 { font: 700 .82rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.pp-desc { font-size: 1rem; line-height: 1.7; } .pp-desc img { margin: 14px 0; }
.pp-seller-brief dd a { font-weight: 600; }
.seller { margin-top: 24px; }
.seller-desc { flex: 1 1 100%; margin: 0; color: var(--muted); font-size: .95rem; }
.seller-btn { flex: 1 1 100%; justify-content: center; min-height: 46px; }
.pp-others { margin-top: 32px; } .pp-others .cat-head a { font-weight: 600; text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
/* Contenu enrichi (présentations et descriptions) */
.rich { overflow-wrap: anywhere; }
.rich > :first-child { margin-top: 0 !important; } .rich > :last-child { margin-bottom: 0; }
/* Titres du contenu enrichi : l'apparence suit le niveau choisi dans l'éditeur (H1 à H4) ; à l'affichage public, les
   balises sont décalées (h3 à h6) pour ne jamais créer un second h1 — la classe rt-hN garde le style choisi. */
.rich h1:not([class]), .rich h2:not([class]), .rich h3:not([class]), .rich h4:not([class]), .rich [class^="rt-h"] { font-family: var(--font-display); color: var(--navy); line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
.rich h1:not([class]), .rich .rt-h1 { font-size: clamp(1.5rem, 4.2vw, 1.85rem); margin: 1.1em 0 .5em; }
.rich h2:not([class]), .rich .rt-h2 { font-size: clamp(1.28rem, 3.4vw, 1.45rem); margin: 1.1em 0 .45em; }
.rich h3:not([class]), .rich .rt-h3 { font-size: 1.12rem; margin: 1em 0 .4em; }
.rich h4:not([class]), .rich .rt-h4 { font-size: .98rem; margin: 1em 0 .35em; color: var(--navy-700); text-transform: uppercase; letter-spacing: .03em; }
.rich p { margin: 0 0 .9em; }
.rich ul, .rich ol { padding-left: 1.4em; margin: 0 0 1em; } .rich li { margin: .25em 0; }
.rich img { border-radius: var(--radius-sm); margin: 12px auto; max-height: 560px; width: auto; }
.rich blockquote { margin: 0 0 1em; padding: 10px 16px; border-left: 4px solid var(--orange); background: var(--orange-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.rich hr { border: 0; border-top: 1px solid var(--line); margin: 1.4em 0; }
.rich a { font-weight: 600; }
/* Contenu enrichi : retraits, surlignage, taille et position des images (classes en liste fermée, voir rich-text.js) */
.rich .rt-ind-1 { margin-left: 1.5em; } .rich .rt-ind-2 { margin-left: 3em; } .rich .rt-ind-3 { margin-left: 4.5em; } .rich .rt-ind-4 { margin-left: 6em; }
@media (max-width: 480px) { .rich .rt-ind-1 { margin-left: 1em; } .rich .rt-ind-2 { margin-left: 2em; } .rich .rt-ind-3 { margin-left: 3em; } .rich .rt-ind-4 { margin-left: 4em; } }
.rich span[style*="background-color"] { padding: 0 .15em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.rich img.rt-img-s { width: 33%; } .rich img.rt-img-m { width: 50%; } .rich img.rt-img-l { width: 75%; } .rich img.rt-img-f { width: 100%; max-height: none; }
@media (max-width: 480px) { .rich img.rt-img-s { width: 50%; } .rich img.rt-img-m { width: 70%; } .rich img.rt-img-l { width: 100%; } }
.rich img.rt-img-left { margin-left: 0; margin-right: auto; } .rich img.rt-img-center { margin-left: auto; margin-right: auto; } .rich img.rt-img-right { margin-left: auto; margin-right: 0; }
.rich img[class*="rt-img-"] { height: auto; object-fit: contain; }
/* Agrandissement plein écran */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(7,26,53,.94); display: flex; align-items: center; justify-content: center; }
.lb-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 12px; overflow: auto; touch-action: pan-y pinch-zoom; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; border-radius: 6px; }
.lb-stage.is-zoomed { align-items: flex-start; justify-content: flex-start; touch-action: auto; }
.lb-stage.is-zoomed img { max-width: none; max-height: none; width: auto; cursor: zoom-out; margin: auto; }
.lb-btn { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 10px; right: 10px; } .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); } .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); color: #fff; margin: 0; font-weight: 600; }
.lb-hint { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #c9d4e6; font-size: .82rem; margin: 0; }
/* Administration : formulaires en sections */
.form-section { margin: 26px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-section:first-of-type, form > .form-section:first-child, input[type=hidden] + .form-section { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section h2 { font-size: 1.1rem; margin: 0 0 4px; }
.form-section .help { margin: 0; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px; }
.form-group .field:last-child { margin-bottom: 0; }
.check-list { display: grid; gap: 2px 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
/* Photos supplémentaires */
.ga-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.ga-item { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.ga-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ga-item figcaption { padding: 8px 10px; font-size: .85rem; }
.ga-item .check { padding: 3px 0; } .ga-item .check input { width: 18px; height: 18px; margin-top: 2px; }
.ga-order { display: flex; align-items: center; gap: 6px; font-weight: 600; } .ga-order input { width: 64px; min-height: 34px; padding: 4px 8px; }
.ga-item.is-removed img { opacity: .35; filter: grayscale(1); } .ga-item.is-removed { border-color: var(--danger); }
/* Éditeur de texte enrichi */
.rt-toolbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px; border: 1.5px solid var(--line); border-bottom: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--navy-50); position: sticky; top: 60px; z-index: 5; }
.rt-group { display: inline-flex; gap: 2px; padding-right: 6px; border-right: 1px solid var(--line); } .rt-group:last-of-type { border-right: 0; }
.rt-block { width: auto; min-height: 40px; padding: 4px 30px 4px 10px; font-size: .9rem; }
.rt-btn { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 8px; background: transparent; color: var(--navy); cursor: pointer; font: 600 .9rem var(--font); padding: 0 8px; }
.rt-btn:hover { background: #fff; } .rt-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.rt-preview-btn { margin-left: auto; background: #fff; border: 1px solid var(--line); }
.rt-palette { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; border: 1.5px solid var(--line); border-bottom: 0; background: #fff; }
.rt-swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.rt-swatch-none { background: #fff; color: var(--muted); font-size: 1.1rem; }
.rt-linkbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1.5px solid var(--line); border-bottom: 0; background: #fff; }
.rt-linkbar input { flex: 1 1 220px; min-height: 40px; }
.rt-area { min-height: 220px; max-height: 70vh; overflow: auto; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: #fff; line-height: 1.6; }
.rt-area:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px var(--navy-100); }
.rt-area img { max-width: 100%; height: auto; }
.rt-preview { border: 1.5px dashed var(--orange); border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 14px 16px; background: #fff; }
.rt-preview-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--orange-cta); margin: 0 0 10px; }
.rt.is-preview .rt-toolbar > :not(.rt-preview-btn) { opacity: .4; pointer-events: none; }
.rt-source { font-family: ui-monospace, monospace; font-size: .85rem; }
.rt-status { margin: 6px 0 0; min-height: 1.2em; color: var(--info); } .rt-status.is-error { color: var(--danger); }
/* Éditeur : outils supplémentaires (« Plus » sur téléphone), surlignage, image sélectionnée, texte indicatif */
.rt-btn:disabled { opacity: .35; cursor: default; } .rt-btn:disabled:hover { background: transparent; }
.rt-more { display: contents; } .rt-more-btn { display: none; } .rt-break { display: none; }
.rt-pal-title { flex: 1 0 100%; font-size: .8rem; font-weight: 700; color: var(--muted); }
.rt-imgmenu, .rt-imgbar { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1.5px solid var(--line); border-bottom: 0; background: #fff; }
.rt-img-choices, .rt-img-url, .rt-imgbar-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rt-img-url input { flex: 1 1 220px; min-height: 40px; } .rt-img-url .help { flex: 1 0 100%; }
.rt-imgbar { background: var(--navy-50); }
.rt-imgbar-label { font-size: .8rem; font-weight: 700; color: var(--muted); min-width: 72px; }
.rt-chip { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 600 .86rem var(--font); cursor: pointer; }
.rt-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.rt-imgbar-alt { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .rt-imgbar-alt input { flex: 1 1 200px; min-height: 40px; }
.rt-area { position: relative; min-height: 300px; font-size: 1rem; }
.rt-area img[data-rt-sel] { outline: 3px solid var(--orange); outline-offset: 2px; }
.rt-area img { cursor: pointer; }
.rt-area.is-empty::before { content: attr(data-placeholder); position: absolute; left: 16px; right: 16px; top: 14px; color: var(--muted); pointer-events: none; line-height: 1.6; }
@media (max-width: 700px) {
  /* Téléphone : deux rangées (niveau, gras, italique, souligné, couleur | surlignage, listes, image, annuler, rétablir, Plus) ;
     « Plus » ouvre une troisième rangée (lien, barré, citation, alignements, retraits, effacer, aperçu). */
  .rt-toolbar { gap: 2px; padding: 4px; top: 56px; }
  .rt-group, .rt-more { display: contents; }
  .rt-block { order: 0; flex: 1 0 110px; width: auto; min-width: 0; min-height: 44px; padding-right: 24px; font-size: .86rem; }
  .rt-btn { min-width: 44px; height: 44px; padding: 0 6px; }
  .rt-btn[data-cmd=highlight], .rt-btn[data-cmd=insertUnorderedList], .rt-btn[data-cmd=insertOrderedList], .rt-btn[data-cmd=image], .rt-btn[data-cmd=undo], .rt-btn[data-cmd=redo], .rt-more-btn { order: 1; }
  .rt-more-btn { display: inline-flex; }
  .rt-more > .rt-group > .rt-btn, .rt-more > .rt-preview-btn { order: 3; display: none; }
  .rt.rt-show-more .rt-more > .rt-group > .rt-btn, .rt.rt-show-more .rt-more > .rt-preview-btn { display: inline-flex; }
  .rt.rt-show-more .rt-break { display: block; order: 2; flex: 0 0 100%; height: 0; border-top: 1px solid var(--line); margin: 2px 0; }
  .rt-more-btn[aria-expanded="true"] { background: #fff; }
  .rt-preview-btn { margin-left: 0; }
  .rt-preview-btn span, .rt-more-btn span { display: none; }
  .rt-area { min-height: 260px; max-height: none; padding: 12px; }
  .rt-swatch { width: 40px; height: 40px; }
  .rt-imgbar { position: fixed; left: 8px; right: 8px; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); z-index: 70; border: 1.5px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(11, 36, 71, .22); max-height: 60vh; overflow: auto; }
}

/* Fiche produit (vendeur) : prix, promotion, aperçu du prix client */
.product-form fieldset { padding-top: 6px; border-top: 1px solid var(--line); margin-top: 6px; } .product-form fieldset:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.pf-switch { margin: 4px 0 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--navy-50); }
.pf-switch strong { display: block; color: var(--navy); } .pf-switch small { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.pf-switch:has(input:checked) { border-color: var(--orange); background: var(--orange-100); }
.pf-promo { border-left: 3px solid var(--orange); padding: 4px 0 4px 14px; margin: 0 0 14px; }
.pf-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 6px; }
.pf-calc > div { background: var(--surface); border-radius: var(--radius-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pf-calc span { font-size: .8rem; color: var(--muted); } .pf-calc strong { font: 700 1.15rem var(--font-display); color: var(--navy); overflow-wrap: anywhere; }
.pf-period { margin-top: 12px; } .pf-period h3 { font-size: 1rem; margin: 0 0 6px; color: var(--navy); }
.pf-rules { margin: 0 0 10px; padding-left: 1.2em; color: var(--muted); } .pf-rules li { margin: 2px 0; }
.pf-preview { border: 1.5px dashed var(--orange); border-radius: var(--radius-sm); padding: 12px 14px; background: #fff; margin: 4px 0 10px; }
.pf-preview-title { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--orange-cta); margin: 0 0 8px; }
.pf-pv-name { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; overflow-wrap: anywhere; }
.pf-pv-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pf-pv-prices .price { font: 700 1.4rem var(--font-display); color: var(--orange-cta); } .pf-pv-prices .price-old { font-size: 1rem; }
.pf-error { margin: 8px 0 0; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--danger-bg); color: var(--danger); font-size: .9rem; font-weight: 600; }
.pf-preview-action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 8px 0 14px; padding: 12px 0; border-top: 1px solid var(--line); }
@media (max-width: 480px) { .pf-calc strong { font-size: 1.02rem; } .pf-preview-action .btn { width: 100%; } }
@media (max-width: 370px) { .rt-btn { min-width: 41px; padding: 0 4px; } }
/* Aperçu administratif d'un produit (bandeau absent de la page publique) */
.preview-bar { background: var(--navy); color: #fff; border-bottom: 4px solid var(--orange); padding: 10px 0; }
.preview-bar .container { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.pvb-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .pvb-txt strong { display: inline-flex; gap: 6px; align-items: center; font-family: var(--font-display); }
.pvb-txt span { font-size: .85rem; color: #c9d4e6; }
.pvb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pvb-warn { flex: 1 1 100%; margin: 0; background: var(--warning-bg); color: var(--warning); border-radius: var(--radius-sm); padding: 8px 12px; font-size: .9rem; display: flex; gap: 8px; align-items: flex-start; }
@media (max-width: 639px) { .pvb-actions { width: 100%; } .pvb-actions .btn { flex: 1 1 auto; justify-content: center; } }
/* ---------- Accueil : bande de produits « coups de cœur » (compacte), entre « Devenir partenaire » et le pied de page */
.products-strip { background: linear-gradient(180deg, #fff 0, var(--navy-50) 100%); border-top: 1px solid var(--line); padding: 18px 0 14px; }
@media (min-width: 768px) { .products-strip { padding: 26px 0 20px; } }
.products-strip h2 { font-size: clamp(1.12rem, 3.2vw, 1.5rem); margin: 0 0 8px; }
.stepper-viewport { position: relative; margin-bottom: -8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; outline-offset: 4px; }
.stepper-viewport::-webkit-scrollbar { display: none; }
.stepper.glide .stepper-viewport { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
.stepper-track { display: flex; gap: 10px; width: max-content; padding: 3px 2px 12px; }
.stepper-slide { flex: 0 0 auto; width: clamp(118px, 33vw, 150px); }
@media (min-width: 768px) { .stepper-track { gap: 14px; } .stepper-slide { width: 168px; } }
.stepper.is-static .stepper-track { width: auto; flex-wrap: wrap; }
.pt-card { display: flex; flex-direction: column; gap: 2px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 8px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(11,36,71,.05), 0 4px 14px rgba(11,36,71,.06); transition: box-shadow .15s, transform .15s; }
.pt-card:hover { color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pt-img { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--surface); margin-bottom: 3px; }
.pt-img img { width: 100%; height: 100%; object-fit: cover; }
.pt-img .product-img-empty { display: grid; place-items: center; width: 100%; height: 100%; color: #b7c1d3; }
.pt-badge { position: absolute; top: 6px; left: 6px; background: var(--orange-cta); color: #fff; font: 700 .7rem/1 var(--font); padding: 5px 7px; border-radius: 999px; }
.pt-name { font: 600 .82rem/1.25 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.pt-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.pt-price strong { font: 700 .92rem var(--font-display); color: var(--orange-cta); }
.pt-price s { font-size: .78rem; color: var(--muted); }
.pt-price .pt-ask { font-size: .85rem; color: var(--navy); }
.pt-shop { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: auto; }
.pstrip-all { display: flex; justify-content: center; margin-top: 2px; }
.pstrip-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--navy-100); background: #fff; color: var(--navy); font-weight: 700; font-size: .92rem; text-decoration: none; transition: border-color .15s, color .15s; }
.pstrip-link:hover { border-color: var(--orange); color: var(--orange-cta); }
.pc-shop { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ---------- Administration : pays et villes */
.geo-issues { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.geo-issues li { padding: 8px 12px; border-radius: 10px; font-size: .92rem; border-left: 4px solid var(--line); background: var(--surface); }
.geo-issues .geo-danger { border-left-color: var(--danger); background: var(--danger-bg); }
.geo-issues .geo-warning { border-left-color: var(--warning); background: var(--warning-bg); }
.geo-issues .geo-info { border-left-color: var(--info); background: var(--info-bg); }
.geo-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; background: var(--navy-50); border-radius: 10px; }
.geo-switches { display: grid; gap: 6px; margin-bottom: 6px; }
.search-bar { flex-wrap: wrap; } .search-bar input { min-width: 0; flex: 1 1 200px; }
.search-bar .shop-lieu { flex: 1 1 100%; order: 3; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; font: inherit; }
@media (min-width: 640px) { .search-bar .shop-lieu { flex: 0 1 240px; order: 0; } }
@media (min-width: 761px) { .geo-list .table td { white-space: nowrap; } .geo-list .table td .badge { display: inline-block; margin: 0 0 4px; } }
/* ---------- Catalogue « Tous les produits » : compteurs et chargement */
.filter-chip .chip-n { display: inline-block; min-width: 1.6em; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--navy-50); color: var(--muted); font-size: .78rem; font-weight: 600; text-align: center; }
.filter-chip[aria-current] .chip-n { background: rgba(255,255,255,.2); color: inherit; }
.catalog.is-loading .catalog-results, .catalog.is-loading [data-catalog-count] { opacity: .45; transition: opacity .15s; }
.catalog.is-loading { cursor: progress; }
/* Relation clients : journal des accès d'une demande (liste compacte, lisible dans la colonne étroite) */
.rc-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: .875rem; }
.rc-log li { padding: 10px 0; border-top: 1px solid var(--line, #e6e9ef); overflow-wrap: anywhere; }
.rc-log li:first-child { border-top: 0; padding-top: 0; }

/* ---------------------------------------------------------------- Boutiques partenaires : abonnements, vendeurs, sponsorisés */
.plans-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 16px 0; }
@media (min-width: 720px) { .plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan-card { display: flex; flex-direction: column; margin: 0; } .plan-card .checklist { flex: 1; font-size: .92rem; } .plan-card form { margin-top: auto; }
.plan-card.is-current { border: 2px solid var(--success); }
.plan-price { margin: 4px 0 10px; } .plan-price strong { font: 700 1.5rem var(--font-display); color: var(--navy); }
.checklist li.ok .ic { color: var(--success); } .checklist li:not(.ok) .ic { color: var(--warning); }
.pc-sponso { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .02em; color: var(--navy-700); background: var(--navy-100); border-radius: 999px; padding: 2px 8px; margin-bottom: 4px; }
.product-card.is-sponsored { box-shadow: 0 0 0 1px var(--navy-100), var(--shadow); }
.premium-badge { display: inline-block; font-size: .68rem; font-weight: 700; color: #6b4100; background: #ffe8b0; border-radius: 999px; padding: 1px 7px; vertical-align: middle; }
h1 .premium-badge { font-size: .8rem; padding: 3px 10px; }
.shop-trust { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--success); margin-top: 6px; }
.shop-head .shop-trust { color: #9be3b8; }
.report-block { margin-top: 24px; font-size: .9rem; } .report-block summary { cursor: pointer; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.product-search { margin-bottom: 16px; } .product-search .search-bar { margin-bottom: 8px; }
.search-filters summary { cursor: pointer; color: var(--navy-700); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; padding: 6px 0; }
.search-filters .form-row { margin-top: 8px; }
.product-row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.product-row-scroll > * { scroll-snap-align: start; }
@media (min-width: 720px) { .product-row-scroll { grid-auto-columns: minmax(200px, 23%); } }
.market-block { margin-top: 24px; } .market-block .section-bar { margin-bottom: 12px; align-items: flex-end; } .market-block h3 { margin: 0; font-size: 1.15rem; }
.market-block .shop-card { min-width: 0; }
/* Espace vendeur */
.seller-body .page-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.seller-body .page-head h1 { margin: 0; font-size: 1.4rem; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; } .plain-list li.unread { border-left: 3px solid var(--orange-cta); padding-left: 10px; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 2px 0; }
.finance-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; } .finance-filter .form-row { flex: 1 1 320px; margin: 0; } .finance-filter > .btn { margin-bottom: 16px; }
.break-any { word-break: break-all; }
.stack-actions { min-width: 230px; } .stack-actions .inline-form { display: flex; }
.inline-form input { min-width: 0; width: 140px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .85rem; }
.product-row { display: grid; gap: 10px; margin-bottom: 10px; } .product-row-main { display: flex; gap: 12px; align-items: flex-start; }
.product-row-main img, .thumb-empty { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--surface); flex: none; display: grid; place-items: center; color: var(--muted); }
.product-row .form-actions { gap: 4px; }
.thumb-sm { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 6px; }
.thumb-wide { height: 64px; max-width: 100%; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 6px; }
.thumb-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; } .thumb-row img { object-fit: cover; border-radius: 10px; background: var(--surface); }
.thumb-item { display: grid; gap: 4px; justify-items: center; }
.pay-total { font: 700 1.4rem var(--font-display); color: var(--navy); }
.price-row { display: grid; gap: 8px; grid-template-columns: 1fr; align-items: end; padding: 12px 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .price-row { grid-template-columns: 1.2fr 1fr 1fr auto; } }
.price-row .field { margin: 0; }
.decision-forms { display: grid; gap: 14px; } .decision-forms form { padding-top: 12px; border-top: 1px solid var(--line); }
.auth-wide { max-width: 640px; }
.check-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.receipt { max-width: 640px; }
@media print { .app-top, .app-side, .bottom-nav, .btn, .flash-wrap { display: none !important; } .app-main { padding: 0 !important; } }
.pa-signup { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 14px; } .pa-login { color: inherit; text-decoration: underline; font-weight: 600; }

/* ---------- Gestion des boutiques (v1.12) : essai, compteurs, dossiers, historique, notifications ---------- */
.trial-card { border-left: 4px solid var(--orange-cta); }
.trial-card.trial-over { border-left-color: var(--muted); }
.trial-count { font-size: 1.35rem; margin: 4px 0 12px; color: var(--navy); }
.trial-count strong { font-size: 1.6rem; }
.product-counts .count-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
@media (min-width: 700px) { .product-counts .count-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); } }
.count-grid > div { background: var(--surface); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.count-value { font: 700 1.4rem var(--font); color: var(--navy); }
.kpi-shops { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .kpi-shops { grid-template-columns: repeat(4, 1fr); } }
.shop-search { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.shop-search .field { flex: 1 1 280px; margin: 0; }
.shop-search > .btn { margin-bottom: 2px; }
.dossier-banner { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; background: var(--surface); }
.dossier-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.dossier-logo { width: 88px; height: 88px; object-fit: cover; border-radius: 14px; background: var(--surface); flex: none; }
.dossier-product { display: flex; gap: 10px; align-items: flex-start; }
.dossier-product > img, .dossier-product > .thumb-empty { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; }
.thumb-row.mini { gap: 6px; margin: 6px 0 0; } .thumb-row.mini img { width: 36px; height: 36px; border-radius: 6px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px 6px; }
.timeline li::before { content: ''; position: absolute; left: -25px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy-50); border: 2px solid var(--navy); }
.timeline .tl-essai::before { border-color: var(--orange-cta); } .timeline .tl-paiement::before, .timeline .tl-abonnement::before { border-color: #1a8f4c; }
.timeline .tl-suspension::before, .timeline .tl-expiration::before { border-color: #b42318; }
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-list li { border-bottom: 1px solid var(--line); }
.notif-list li a { display: block; padding: 12px 4px; color: inherit; text-decoration: none; }
.notif-list li.unread a { background: var(--navy-50); border-left: 3px solid var(--orange-cta); padding-left: 10px; }
.admin-top .bell { position: relative; }

.nowrap { white-space: nowrap; }
.kv dd .badge { white-space: normal; text-align: left; }

/* ---------- Accueil : vitrine des produits sponsorisés (cartes carrées qui glissent de droite à gauche) ----------
   Téléphone : une grande carte, toute la largeur utile (marges habituelles de la page). Tablette : 2 cartes côte à côte ;
   ordinateur : 3. Jamais plus de cartes visibles que de produits moins un (pour qu'il y ait toujours une carte qui entre)
   — variable --n fournie par le serveur. Chaque carte est plafonnée à 440 px pour ne pas être étirée. */
.sponso-strip { padding: 0 0 24px; }
@media (min-width: 768px) { .sponso-strip { padding: 0 0 32px; } }
.sponso-head { display: flex; justify-content: flex-end; }
.sponso-all { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 2px 4px; font: 600 .85rem var(--font); color: var(--navy); text-decoration: none; border-radius: 6px; }
.sponso-all:hover { color: var(--orange-cta); text-decoration: underline; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.sponso-carousel, .sponso-head { --per-max: 1; --per: min(var(--per-max), var(--n, 1)); width: 100%; max-width: calc(var(--per) * 440px); margin: 0 auto; }
.sponso-head { margin-bottom: 6px; }
@media (min-width: 640px) { .sponso-carousel, .sponso-head { --per-max: 2; } }
@media (min-width: 1000px) { .sponso-carousel, .sponso-head { --per-max: 3; } }
.sponso-viewport { overflow: hidden; margin: 0 -6px; outline-offset: 4px; }
.sponso-track { display: flex; will-change: transform; }
.sponso-card { flex: 0 0 calc(100% / var(--per)); box-sizing: border-box; padding: 0 6px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--navy); }
.sponso-media { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.sponso-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sponso-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--muted); background: var(--surface); }
.sponso-tag, .sponso-off { position: absolute; top: 12px; padding: 5px 12px; border-radius: 999px; font: 700 .82rem/1.3 var(--font); letter-spacing: .01em; box-shadow: 0 2px 8px rgba(11, 27, 51, .18); }
.sponso-tag { left: 12px; background: rgba(11, 27, 51, .82); color: #fff; }
.sponso-off { right: 12px; background: var(--orange-cta); color: #fff; font-size: .9rem; }
.sponso-name { font: 600 1.05rem/1.35 var(--font); text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; padding: 0 4px; }
.sponso-card:hover .sponso-name, .sponso-card:focus-visible .sponso-name { color: var(--orange-cta); }
/* Sans animation (préférence du navigateur ou JavaScript absent) : défilement manuel, carte par carte. */
.sponso-carousel:not(.is-animated) .sponso-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sponso-carousel:not(.is-animated) .sponso-viewport::-webkit-scrollbar { display: none; }
.sponso-carousel:not(.is-animated) .sponso-card { scroll-snap-align: start; }

/* ---------- Statistiques (administration et espace vendeur) : période, indicateurs, graphiques, tableaux */
.st-period { padding: 14px 16px; margin-bottom: 14px; }
.st-period-row, .st-filters, .st-inline { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
.st-custom { display: flex; flex-wrap: wrap; gap: 10px 14px; } .st-custom[hidden] { display: none; }
.st-field { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--navy); min-width: 0; flex: 1 1 150px; }
.st-field select, .st-field input { min-height: 44px; width: 100%; }
.st-compare { padding: 0; min-height: 44px; align-items: center; font-size: .9rem; flex: 1 1 220px; } .st-compare input { margin-top: 0; }
.st-range { margin-top: 12px; display: block; color: var(--ink); } .st-range svg { vertical-align: -3px; }
.st-error { margin: 10px 0 0; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--danger-bg); color: var(--danger); font-size: .9rem; font-weight: 600; }
.st-filters { padding: 14px 16px; margin-bottom: 12px; }
.st-notes p { background: var(--info-bg); color: var(--info); border-radius: var(--radius-sm); padding: 8px 12px; margin: 0 0 10px; } .st-notes svg { vertical-align: -3px; }
[data-stats-root] { position: relative; transition: opacity .15s; } [data-stats-root][aria-busy="true"] { opacity: .45; pointer-events: none; }
[data-stats-root][aria-busy="true"]::after { content: "Calcul en cours…"; position: fixed; left: 50%; top: 40%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; z-index: 80; }
.st-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
@media (min-width: 760px) { .st-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (min-width: 1200px) { .st-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; min-width: 0; position: relative; }
.st-kpi-top { display: flex; align-items: flex-start; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); line-height: 1.3; } .st-kpi-top span { flex: 1; min-width: 0; } .st-kpi-top svg { flex-shrink: 0; margin-top: 1px; }
.st-kpi-value { font: 700 1.55rem var(--font-display); color: var(--navy); margin: 4px 0 2px; overflow-wrap: anywhere; }
.st-kpi-cmp { font-size: .78rem; line-height: 1.4; }
.st-delta { font-weight: 700; white-space: nowrap; } .st-up { color: var(--success); } .st-down { color: var(--danger); } .st-flat { color: var(--muted); font-weight: 600; white-space: normal; }
.st-info { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 700 .75rem var(--font); cursor: pointer; padding: 0; position: relative; }
.st-info::before { content: ""; position: absolute; inset: -11px; }
.st-tip-pop { position: absolute; z-index: 60; left: 8px; right: 8px; top: calc(100% + 4px); background: var(--navy); color: #fff; font-size: .8rem; font-weight: 500; line-height: 1.45; padding: 10px 12px; border-radius: 10px; box-shadow: 0 8px 24px rgba(11, 36, 71, .25); }
.st-charts { display: grid; gap: 14px; margin-bottom: 16px; } @media (min-width: 1100px) { .st-charts { grid-template-columns: 1fr 1fr; } }
.st-chart { margin: 0; background: #fcfcfb; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 10px; min-width: 0; }
.st-chart figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; margin-bottom: 8px; } .st-chart h3 { font-size: 1rem; margin: 0; color: var(--navy); }
.st-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; font-size: .8rem; color: var(--ink); } .st-legend li { display: inline-flex; align-items: center; gap: 6px; }
.st-swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.st-plot { position: relative; height: 210px; } .st-plot svg { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.st-grid { stroke: #e7e9ee; stroke-width: 1; vector-effect: non-scaling-stroke; } .st-plot polyline { vector-effect: non-scaling-stroke; }
.st-ylab, .st-xlab { position: absolute; font: 500 11px var(--font); color: #6b7385; white-space: nowrap; pointer-events: none; }
.st-ylab { left: 0; width: 5.6%; min-width: 30px; text-align: right; transform: translateY(-50%); } .st-xlab { bottom: 2px; transform: translateX(-50%); } .st-xlab.is-first { transform: none; } .st-xlab.is-last { transform: translateX(-100%); }
.st-cross { stroke: #9aa3b5; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.st-hit { fill: transparent; cursor: crosshair; } .st-dot { opacity: 0; position: absolute; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; transform: translate(-50%, -50%); pointer-events: none; box-sizing: content-box; }
.st-dot[data-fixed], .st-dot.is-on { opacity: 1; }
@media (max-width: 600px) { .st-xlab.is-alt { display: none; } }
.st-empty { position: absolute; inset: 0 0 30px 7%; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .9rem; margin: 0; pointer-events: none; }
.st-tooltip { position: absolute; z-index: 5; top: 4px; max-width: min(260px, 80%); background: var(--navy); color: #fff; font-size: .78rem; line-height: 1.45; padding: 7px 10px; border-radius: 8px; pointer-events: none; box-shadow: 0 6px 18px rgba(11, 36, 71, .25); }
.st-tooltip strong { display: block; margin-bottom: 2px; } .st-tooltip span { display: flex; align-items: center; gap: 6px; }
.st-data { margin-top: 8px; font-size: .85rem; } .st-data summary { cursor: pointer; color: var(--navy); font-weight: 600; padding: 6px 0; } .st-data .table-wrap { max-height: 320px; overflow: auto; margin-top: 6px; }
.st-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: .9rem; }
.st-bar-label { overflow-wrap: anywhere; } .st-bar-value { font-weight: 700; color: var(--navy); } .st-bar-track { grid-column: 1 / -1; height: 8px; background: var(--surface); border-radius: 4px; overflow: hidden; }
.st-bar { display: block; height: 100%; background: #2a78d6; border-radius: 0 4px 4px 0; }
.st-table th.num, .st-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .as-cards .st-table td.num { text-align: left; } }
.st-prod { display: inline-flex; align-items: center; gap: 10px; } .st-prod img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.st-prod-head { display: flex; gap: 14px; align-items: center; } .st-prod-head img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.st-kv dd { font-weight: 700; color: var(--navy); }
.st-defs summary { cursor: pointer; } .st-defs ul { margin: 10px 0 0; padding-left: 1.2em; } .st-defs li { margin: 4px 0; }
@media (max-width: 480px) { .st-kpi-value { font-size: 1.3rem; } .st-plot { height: 190px; } .st-period .btn, .st-filters .btn { flex: 1 1 100%; } }

/* ---------- Bandes publicitaires à défilement continu (formulaire de demande : produits ; « Devenir partenaire » : boutiques) ----------
   Animation CSS seule : la série est écrite deux fois, la piste glisse de −50 % puis recommence (boucle sans saut). */
.ad-band { margin-top: 16px; }
.ad-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%); }
.ad-track { display: flex; width: max-content; padding: 2px 0 4px; }
.ad-band:not(.ad-band-static) .ad-track { animation: ad-scroll var(--ad-d, 40s) linear infinite; will-change: transform; }
@keyframes ad-scroll { to { transform: translate3d(-50%, 0, 0); } }
@media (hover: hover) { .ad-band:hover .ad-track { animation-play-state: paused; } }
.ad-band:focus-within .ad-track { animation-play-state: paused; }
.ad-band-static .ad-view { -webkit-mask-image: none; mask-image: none; }
.ad-band-static .ad-track { width: auto; }
.ad-item { flex: 0 0 auto; display: flex; flex-direction: column; gap: 3px; margin-right: 10px; text-decoration: none; color: var(--ink); }
.ad-item:hover { color: var(--ink); }
.ad-item:focus-visible { outline: 2px solid var(--orange-cta); outline-offset: 2px; border-radius: 10px; }
.ad-prod { width: 104px; }
.ad-img, .ad-banner { position: relative; display: block; border-radius: 10px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.ad-img { aspect-ratio: 1; }
.ad-banner { aspect-ratio: 16 / 9; }
.ad-img > img, .ad-banner > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ad-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: #b7c1d3; }
.ad-tag { position: absolute; top: 5px; left: 5px; padding: 3px 7px; border-radius: 999px; background: rgba(11, 27, 51, .84); color: #fff; font: 700 .62rem/1.25 var(--font); letter-spacing: .01em; }
.ad-name { font: 600 .76rem/1.25 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; overflow-wrap: anywhere; }
.ad-price { font: 700 .78rem/1.2 var(--font-display); color: var(--orange-cta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-shop { width: 160px; margin-right: 12px; }
.ad-shop .ad-name { min-height: 0; -webkit-line-clamp: 1; text-align: center; font-size: .8rem; }
.ad-logo { position: absolute; left: 6px; bottom: 6px; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: #fff; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(11, 27, 51, .25); }
.ad-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ad-band-section { padding: 0 0 36px; }
.ad-band-section .ad-band { margin-top: 0; }
@media (min-width: 768px) { .ad-prod { width: 112px; } .ad-shop { width: 184px; } }
@media (prefers-reduced-motion: reduce) {
  .ad-band .ad-track { animation: none !important; transform: none !important; }
  .ad-band .ad-copy { display: none; }
  .ad-band .ad-view { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
  .ad-band .ad-view::-webkit-scrollbar { display: none; }
}
@media print { .ad-band, .ad-band-section { display: none; } }

/* ---------- Parcours d'inscription des boutiques (v1.16.0) : étapes, choix de la formule, confirmation, attente ---------- */
.signup-steps { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 0 0 14px; font-size: .86rem; color: var(--muted); }
.signup-steps li { display: flex; align-items: center; gap: 6px; }
.signup-steps li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .76rem; }
.signup-steps li.done span { background: var(--success); border-color: var(--success); color: #fff; }
.signup-steps li.current { color: var(--navy); font-weight: 700; }
.signup-steps li.current span { background: var(--navy); border-color: var(--navy); color: #fff; }
.lead-sm { font-size: 1rem; max-width: 70ch; }
.pending-card { border-left: 4px solid var(--warning, #b7791f); }
.center-card { max-width: 640px; margin: 0 auto; }
.center-card .big-check { color: var(--success); margin-bottom: 4px; }
.center-card .form-actions, .pending-card .form-actions, .trial-card .form-actions { flex-wrap: wrap; }
.trial-card .inline-form, .center-card .inline-form { display: inline-flex; }
@media (max-width: 520px) { .center-card .form-actions .btn, .pending-card .form-actions .btn, .trial-card .form-actions .btn, .trial-card .form-actions .inline-form { width: 100%; } .trial-card .form-actions .inline-form .btn { width: 100%; } }

/* ---------- Publicités sponsorisées en libre-service (v1.17.0) ---------- */
.btn-sponsor { background: var(--navy); color: #fff; border-color: var(--navy); } .btn-sponsor:hover { background: #0a1c3a; color: #fff; }
.sponsor-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-left: 4px solid var(--navy); }
.camp-list { display: grid; gap: 14px; grid-template-columns: 1fr; } @media (min-width: 900px) { .camp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.camp-card { margin: 0; display: flex; flex-direction: column; gap: 12px; } .camp-card .form-actions { margin-top: auto; }
.camp-product { display: flex; gap: 12px; align-items: flex-start; } .camp-product > div { min-width: 0; overflow-wrap: anywhere; }
.camp-product img, .camp-product .thumb-empty { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.offer-cards { display: grid; gap: 10px; grid-template-columns: 1fr; } @media (min-width: 640px) { .offer-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offer-card .offer-price { font: 700 1.25rem/1.2 var(--font-display); color: var(--orange-cta); }
.place-list { margin: 0 0 10px; padding-left: 18px; display: grid; gap: 6px; font-size: .92rem; }
.pay-box { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pay-box .form-actions { flex-wrap: wrap; }
@media (max-width: 520px) { .pay-box .form-actions .btn, .pay-box .form-actions .inline-form, .pay-box .form-actions .inline-form .btn, .sponsor-cta .btn { width: 100%; } }

/* ---------- Sélecteur de pays (tous les pays, recherche, disponibilité) */
.cp { position: relative; }
.cp-native { position: absolute !important; left: 0; bottom: 0; width: 100% !important; height: 1px !important; min-height: 0 !important; opacity: 0; pointer-events: none; padding: 0 !important; border: 0 !important; }
.cp-button { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 10px 40px 10px 14px; border: 1.5px solid #cfd6e2; border-radius: var(--radius-sm); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B2447' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.cp-button:focus-visible { border-color: var(--navy-700); }
.cp-button.cp-invalid { border-color: var(--danger); }
.cp-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-panel { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; min-width: min(320px, 92vw); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 8px; }
.cp-search { width: 100%; min-height: 44px; padding: 8px 12px; border: 1.5px solid #cfd6e2; border-radius: 8px; font: inherit; margin-bottom: 6px; }
.cp-list { list-style: none; margin: 0; padding: 0; max-height: min(320px, 50vh); overflow-y: auto; overscroll-behavior: contain; }
.cp-list li { display: flex; align-items: center; gap: 8px; padding: 10px 10px; border-radius: 8px; cursor: pointer; min-height: 44px; }
.cp-list li span:first-child { flex: 1; min-width: 0; }
.cp-list li.active, .cp-list li:hover { background: var(--navy-50); }
.cp-dial { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.cp-badge { font-size: .72rem; font-weight: 700; color: var(--success); background: var(--success-bg); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.cp-empty { margin: 8px; color: var(--muted); font-size: .9rem; }
.country-status { margin-top: 8px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--warning-bg); color: var(--warning); font-size: .92rem; }
.country-status a { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--navy-700); }
.flag { font-size: 1.15em; line-height: 1; }
.checklist { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; }
.checklist li.ok { color: var(--success); } .checklist li.todo { color: var(--warning); }

/* ---------- Centre de notifications (v1.20.0) : cloche, fenêtre des récentes, page complète, préférences */
.header-bell { margin-left: auto; display: flex; align-items: center; }
.header-bell + .header-actions { margin-left: 0; }
@media (min-width: 1200px) { .site-header .header-bell { margin-left: 4px; } .site-header .header-inner:has(.header-bell) .main-nav { margin-left: auto; } }
.nb { position: relative; display: inline-flex; }
.nb .bell .dot[hidden] { display: none !important; }
.nb-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 380px; max-width: calc(100vw - 16px); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 120; overflow: hidden; text-align: left; font-size: .95rem; }
.nb-head, .nb-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; }
.nb-head { border-bottom: 1px solid var(--line); } .nb-head strong { color: var(--navy); font-family: var(--font-display); }
.nb-foot { border-top: 1px solid var(--line); justify-content: center; } .nb-foot a { font-weight: 700; color: var(--navy-700); }
.nb-list { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 440px); overflow-y: auto; overscroll-behavior: contain; }
.nb-list li + li { border-top: 1px solid var(--line); }
.nb-list a { display: grid; grid-template-columns: 32px 1fr; gap: 2px 10px; padding: 11px 14px; color: inherit; text-decoration: none; }
.nb-list a:hover { background: var(--navy-50); color: inherit; }
.nb-list a > :not(.nb-ic) { grid-column: 2; }
.nb-list .nb-ic { grid-row: 1 / span 4; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; }
.nb-list .unread a { background: var(--orange-100); } .nb-list .unread .nb-ic { background: var(--orange-cta); color: #fff; }
.nb-list .nb-cat { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.nb-list strong { color: var(--navy); line-height: 1.3; } .nb-list .nb-text { font-size: .86rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-list time { font-size: .76rem; color: var(--muted); }
.nb-empty { padding: 22px 14px; text-align: center; color: var(--muted); }
@media (max-width: 600px) {
  .nb-panel { position: fixed; left: 8px; right: 8px; top: calc(var(--header-h) + 4px); width: auto; max-width: none; }
  .nb-list { max-height: calc(100dvh - var(--header-h) - 200px); }
}
.nc-short { display: none; }
.btn-xs { min-height: 32px; padding: 0 10px; font-size: .82rem; border-radius: 8px; gap: 5px; }
.nc-head-actions { display: flex; flex-wrap: wrap; gap: 6px; } .nc-head-actions form { margin: 0; }
.nc-fresh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; margin: 0 0 14px; border-radius: var(--radius-sm); background: var(--info-bg); color: #18497f; border: 1px solid #c4dbf5; font-weight: 600; }
.nc-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 6px; scrollbar-width: thin; }
.nc-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.nc-chip[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; } .nc-chip:hover { border-color: var(--navy-700); }
.nc-chip-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--orange-cta); color: #fff; font-size: .72rem; display: inline-grid; place-items: center; }
.nc-filters .field { margin-bottom: 0; }
.nc-searchrow { display: flex; gap: 8px; align-items: stretch; } .nc-searchrow .btn { flex: 0 0 auto; }
.nc-search { position: relative; flex: 1 1 auto; min-width: 0; }
.nc-more { margin-top: 12px; } .nc-more > summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 6px 0; list-style-position: inside; }
.nc-more[open] > summary { margin-bottom: 10px; } .nc-search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.nc-search input { width: 100%; min-height: 46px; padding: 0 12px 0 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff; }
.nc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .nc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nc-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; } .nc-dates .help { grid-column: 1 / -1; margin: 0; }
html.js .nc-dates[data-collapsed] { display: none; }
.nc-filters .form-actions { margin-top: 12px; }
.nc-bulk { position: sticky; top: calc(var(--header-h) + 4px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 12px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.admin-body .nc-bulk { top: 64px; }
.nc-bulk .check { margin: 0; } .nc-bulk-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.nc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nc-item { display: grid; grid-template-columns: 26px 38px minmax(0, 1fr); gap: 10px; align-items: start; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: background .2s; }
.nc-item.unread { border-left: 4px solid var(--orange-cta); background: #fffaf6; }
.nc-check { padding-top: 8px; } .nc-check input { width: 20px; height: 20px; accent-color: var(--orange-cta); }
.nc-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; }
.nc-item.unread .nc-ic { background: var(--orange-100); color: var(--orange-cta); }
.nc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .8rem; color: var(--muted); }
.nc-cat { font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .72rem; }
.nc-new { background: var(--orange-cta); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .7rem; font-weight: 700; }
.nc-title { display: block; margin: 3px 0 2px; font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.35; overflow-wrap: anywhere; }
.nc-title:hover { text-decoration: underline; }
.nc-text { margin: 0; color: var(--ink); font-size: .92rem; overflow-wrap: anywhere; }
.nc-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; margin-left: -10px; }
.nc-danger { color: var(--danger); } .nc-danger:hover { background: var(--danger-bg); color: var(--danger); }
@media (max-width: 520px) {
  .nc-long { display: none; } .nc-short { display: inline; }
  .nc-bulk-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nc-item { grid-template-columns: 24px minmax(0, 1fr); padding: 12px; } .nc-ic { display: none; }
  .nc-bulk-actions { margin-left: 0; width: 100%; } .nc-bulk-actions .btn { padding: 0 6px; }
  .nc-head-actions { width: 100%; }
}
.nc-prefs h2 { font-size: 1.15rem; } .nc-prefs .toggle-row { margin-bottom: 8px; }
.nc-client { max-width: 980px; } .nc-client-wrap { padding-top: 24px; }
.nc-status { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 90; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-lg); font-size: .9rem; max-width: calc(100vw - 32px); }
@media (min-width: 1024px) { .nc-status { bottom: 24px; } }
