/* ═══════════════════════════════════════════════════════════
   PrimeO Site — Apple × Tesla × O-CORE
   Homepage · Configurateurs · Fiches produit
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'APEIcons';
  src: url('../assets/fonts/APEIcons.woff') format('woff');
  font-display: block;
}
@font-face {
  font-family: 'PrimoFont';
  src: url('../assets/fonts/PrimoFont-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'PrimoFont';
  src: url('../assets/fonts/PrimoFont-Thin.ttf') format('truetype');
  font-weight: 100;
  font-display: swap;
}

:root, [data-theme="light"] {
  --po-blue: #0071e3;
  --po-blue-hover: #0077ed;
  --po-brand: #0d477f;
  --po-green: #34c759;
  --po-bg: #fbfbfd;
  --po-bg-alt: #f5f5f7;
  --po-ink: #1d1d1f;
  --po-ink-2: #6e6e73;
  --po-ink-3: #86868b;
  --po-dark: #000;
  --po-dark-2: #161617;
  --po-sep: rgba(0, 0, 0, 0.08);
  --po-glass: rgba(255, 255, 255, 0.72);
  --po-blur: 20px;
  --po-r: 18px;
  --po-r-lg: 28px;
  --po-pill: 980px;
  --po-max: 1080px;
  --po-wide: 1280px;
  --po-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', system-ui, sans-serif;
  --po-display: 'PrimoFont', var(--po-font);
  --po-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --po-nav-bg: rgba(251, 251, 253, 0.8);
  --po-card: #fff;
  --po-card-border: rgba(0, 0, 0, 0.06);
  --po-overlay: rgba(255, 255, 255, 0.72);
  --po-overlay-strong: rgba(255, 255, 255, 0.92);
  --po-surface-hover: rgba(0, 0, 0, 0.06);
}

/* Sombre pastel — inspiré Opalis */
[data-theme="dark"] {
  --po-blue: #6aa1f5;
  --po-blue-hover: #7eb0f7;
  --po-brand: #8ad8d0;
  --po-green: #4cd964;
  --po-bg: #0d1320;
  --po-bg-alt: #101828;
  --po-ink: #eef3fa;
  --po-ink-2: #bcc7d6;
  --po-ink-3: #8390a3;
  --po-dark: #000;
  --po-dark-2: #0b111c;
  --po-sep: rgba(255, 255, 255, 0.09);
  --po-glass: rgba(255, 255, 255, 0.08);
  --po-nav-bg: rgba(16, 24, 40, 0.88);
  --po-card: rgba(255, 255, 255, 0.06);
  --po-card-border: rgba(255, 255, 255, 0.09);
  --po-logo-plate: rgba(255, 255, 255, 0.12);
  --po-overlay: rgba(22, 28, 42, 0.94);
  --po-overlay-strong: rgba(22, 28, 42, 0.98);
  --po-surface-hover: rgba(255, 255, 255, 0.08);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--po-font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  color: var(--po-ink);
  background: var(--po-bg);
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s var(--po-ease), color 0.35s;
}
img { max-width: 100%; display: block; }
a { color: var(--po-blue); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ── Icons (subset) ── */
.apei { font-family: 'APEIcons' !important; font-style: normal; line-height: 1; speak: never; }
.apei-ecodrink:before { content: '\ea29'; }
.apei-calcopure:before { content: '\ea28'; }
.apei-prosource:before { content: '\ea27'; }
.apei-shield:before { content: '\e97e'; }
.apei-housing:before { content: '\ea2b'; }
.apei-safedrink:before { content: '\ea24'; }
.apei-aquapolish:before { content: '\ea2a'; }
.apei-ScaleControl:before { content: '\e90f'; }
.apei-info-circle:before { content: '\ea30'; }
.apei-check:before { content: '\e927'; }
.apei-shopping-cart:before { content: '\e976'; }
.apei-chevron_right:before { content: '\e9f2'; }
.apei-chevron_down:before { content: '\e9f0'; }
.apei-home:before { content: '\e9e9'; }
.apei-filter:before { content: '\e9c9'; }
.apei-stainless-steel:before { content: '\e952'; }
.apei-diamond:before { content: '\e932'; }
.apei-valve:before { content: '\e906'; }
.apei-best_water:before { content: '\e96b'; }
.apei-add-to-basket:before { content: '\e975'; }
.apei-primuser:before { content: '\ea0c'; }
.apei-filtration:before { content: '\e931'; }
.apei-molecule:before { content: '\e911'; }
.apei-manutension-free:before { content: '\e95d'; }
.apei-hover-cancel:before { content: '\e922'; }
.apei-warning-circle:before { content: '\ea32'; }
.apei-helpdesk:before { content: '\e9a3'; }
.apei-delivery-truck:before { content: '\e98c'; }
.apei-wireless:before { content: '\e958'; }
.apei-barcode:before { content: '\e9d2'; }
.apei-barcode-2:before { content: '\e9d3'; }
/* Aliases sémantiques → glyphes existants */
.apei-chevron_left:before { content: '\e9f3'; }
.apei-world:before { content: '\e9f7'; }
.apei-invoice:before { content: '\ea14'; }
.apei-alt-chat:before { content: '\e9a3'; }
.apei-location:before { content: '\e9f7'; }
.apei-doanload:before { content: '\e9f0'; }
.apei-download:before { content: '\e919'; }
.apei-shipping:before { content: '\e98c'; }
.apei-aquality:before { content: '\e96b'; }
.apei-diagnostic:before { content: '\e96f'; }
.apei-video:before { content: '\e958'; }
.apei-heart:before { content: '\e932'; }
.apei-compare:before { content: '\e9c9'; }
.apei-phone:before { content: '\ea18'; }
.apei-send:before { content: '\e99b'; }
.apei-coupon:before { content: '\ea14'; }
.apei-install:before { content: '\e90d'; }
.apei-maintenance:before { content: '\e96f'; }
.apei-aquaspares:before { content: '\e966'; }

/* ── Global nav (apple.com) ── */
.po-nav {
  position: sticky; top: 0; z-index: 9999;
  height: 44px;
  background: var(--po-nav-bg);
  backdrop-filter: saturate(180%) blur(var(--po-blur));
  -webkit-backdrop-filter: saturate(180%) blur(var(--po-blur));
  border-bottom: 1px solid var(--po-sep);
  transition: background 0.35s, border-color 0.35s;
}
.po-nav-inner {
  max-width: var(--po-wide); margin: 0 auto; padding: 0 22px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.po-nav .logo img { height: 28px; width: auto; }
.po-nav-links { display: flex; gap: 0; flex: 1; justify-content: center; }
.po-nav-links a {
  font-size: 12px; color: var(--po-ink); opacity: 0.88;
  padding: 0 12px; white-space: nowrap;
}
.po-nav-links a:hover { opacity: 1; text-decoration: none; }
.po-nav-links a.active { opacity: 1; font-weight: 600; }
.po-nav-tools { display: flex; align-items: center; gap: 6px; }
.po-nav-tool-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px;
  color: var(--po-ink); background: transparent;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.po-nav-tool-btn:hover { background: rgba(0,0,0,0.06); }
[data-theme="dark"] .po-nav-tool-btn:hover { background: rgba(255,255,255,0.08); }
.po-nav-tool-btn .apei { font-size: 20px; color: var(--po-ink-2); }
.po-nav.dark .po-nav-tool-btn { color: #f5f5f7; }
.po-nav.dark .po-nav-tool-btn .apei { color: #f5f5f7; }
.po-nav-tools a:not(.po-nav-tool-btn) { font-size: 12px; color: var(--po-ink); opacity: 0.88; }

.po-nav.dark {
  background: var(--po-nav-bg);
  border-color: var(--po-sep);
}
.po-nav.dark .po-nav-links a,
.po-nav.dark .po-nav-tools a { color: var(--po-ink); }

/* ── Theme switch macOS (Opalis) ── */
.po-theme-switch {
  --tsw: 46px;
  --tsh: 26px;
  --tkw: 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  width: var(--tsw);
  height: var(--tsh);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.po-theme-switch-track {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #d1d5db;
  box-shadow: inset 0 1.5px 3px rgba(0,0,0,.15);
  transition: background .35s cubic-bezier(.4,0,.2,1), box-shadow .35s;
  overflow: hidden;
}
[data-theme="dark"] .po-theme-switch-track {
  background: linear-gradient(145deg, #1e2d4a, #0a1628);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.4), 0 0 0 1px rgba(99,140,255,.22), 0 0 14px rgba(60,100,255,.18);
}
.po-theme-switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: var(--tkw);
  height: var(--tkw);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(0,0,0,.22), 0 0 0 .5px rgba(0,0,0,.06);
  transition: transform .38s cubic-bezier(.34,1.56,.64,1), background .35s, box-shadow .35s;
  display: grid;
  place-items: center;
  overflow: hidden;
}
[data-theme="dark"] .po-theme-switch-knob {
  transform: translateX(20px);
  background: #e0e7ff;
  box-shadow: 0 1px 6px rgba(0,0,0,.32), 0 0 8px rgba(120,160,255,.35);
}
.po-theme-switch-knob svg {
  position: absolute;
  width: 11px;
  height: 11px;
  transition: opacity .22s, transform .22s;
}
.knob-sun { opacity: 1; transform: rotate(0deg) scale(1); color: #f59e0b; }
.knob-moon { opacity: 0; transform: rotate(-40deg) scale(.6); color: #6272e4; }
[data-theme="dark"] .knob-sun { opacity: 0; transform: rotate(40deg) scale(.6); }
[data-theme="dark"] .knob-moon { opacity: 1; transform: rotate(0deg) scale(1); }

[data-theme="dark"] .po-nav .logo img { filter: brightness(0) invert(1); opacity: .88; }
[data-theme="dark"] .po-product-tile,
[data-theme="dark"] .po-tech-card,
[data-theme="dark"] .po-why-card,
[data-theme="dark"] .po-support-tile,
[data-theme="dark"] .po-tier-card { background: var(--po-card); border-color: var(--po-card-border); }
[data-theme="dark"] .po-logo-slot--fine::before {
  background: linear-gradient(180deg, var(--po-logo-plate) 0%, rgba(255,255,255,0.06) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
[data-theme="dark"] .po-footer { background: var(--po-bg-alt); }

/* ── Buttons ── */
.po-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: var(--po-pill);
  font-size: 14px; font-weight: 400; letter-spacing: -0.01em;
  transition: background 0.2s var(--po-ease), transform 0.15s;
}
.po-btn:active { transform: scale(0.98); }
.po-btn-primary { background: var(--po-blue); color: #fff; }
.po-btn-primary:hover { background: var(--po-blue-hover); text-decoration: none; color: #fff; }
.po-btn-primary:disabled { background: #d2d2d7; color: #86868b; cursor: not-allowed; }
.po-btn-secondary { background: transparent; color: var(--po-blue); }
.po-btn-secondary:hover { text-decoration: underline; }
.po-btn-ghost {
  background: rgba(0, 0, 0, 0.04); color: var(--po-ink);
  border: 1px solid var(--po-sep);
}
.po-btn-ghost:hover { background: rgba(0, 0, 0, 0.07); text-decoration: none; color: var(--po-ink); }
.po-btn-dark { background: #fff; color: var(--po-ink); }
.po-btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; background: transparent;
}
.po-btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; text-decoration: none; }
.po-btn-sm { padding: 8px 16px; font-size: 12px; }

[data-theme="dark"] .po-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--po-ink);
}
[data-theme="dark"] .po-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--po-ink); }
[data-theme="dark"] .po-btn-primary:disabled { background: rgba(255,255,255,0.12); color: var(--po-ink-3); }

[data-theme="dark"] .ap-step,
[data-theme="dark"] .ap-composition,
[data-theme="dark"] .cfg-water-bar,
[data-theme="dark"] .cat-card,
[data-theme="dark"] .ap-modal-content,
[data-theme="dark"] .pdp-var-pill {
  background: var(--po-card);
  border-color: var(--po-card-border);
}
[data-theme="dark"] .ap-option-card:hover,
[data-theme="dark"] .ap-option-card.selected {
  background: rgba(106, 161, 245, 0.08);
  border-color: rgba(106, 161, 245, 0.35);
}
[data-theme="dark"] .cat-filter.active { background: var(--po-blue); color: #fff; }

.proto-pill {
  position: fixed; bottom: 14px; right: 14px; z-index: 10000;
  padding: 8px 14px; border-radius: var(--po-pill);
  background: rgba(29, 29, 31, 0.9); color: #fff; font-size: 11px; font-weight: 600;
}
.proto-pill a { color: #2997ff; }

/* ── Typography ── */
.po-eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--po-blue);
}
.po-headline {
  font-family: var(--po-font);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--po-ink);
}
.po-headline-sm {
  font-family: var(--po-font);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.po-subhead {
  font-size: 21px; line-height: 1.381; font-weight: 400;
  color: var(--po-ink-2); max-width: 28em;
}
.po-subhead-sm { font-size: 17px; color: var(--po-ink-2); line-height: 1.47; }

/* ── Homepage sections ── */
.po-hero {
  text-align: center; padding: 48px 22px 0;
  min-height: 70vh; display: flex; flex-direction: column; align-items: center;
}
.po-hero .po-headline { margin-top: 8px; }
.po-hero .po-subhead { margin: 16px auto 24px; }
.po-hero-cta { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.po-hero-visual {
  width: 100%; max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--po-bg-alt) 0%, var(--po-bg) 100%);
  border-radius: 28px;
  overflow: hidden;
}
.po-hero-visual .apei { font-size: min(28vw, 200px); color: var(--po-brand); opacity: 0.15; }

.po-section { padding: 80px 22px; text-align: center; }
.po-section.dark { background: var(--po-dark); color: #f5f5f7; }
.po-section.dark .po-subhead,
.po-section.dark .po-subhead-sm { color: #a1a1a6; }
.po-section.dark .po-headline-sm { color: #f5f5f7; }
.po-section.alt { background: var(--po-bg-alt); }

.po-product-row {
  max-width: var(--po-wide); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.po-product-tile {
  background: var(--po-card); border-radius: var(--po-r-lg);
  border: 1px solid transparent;
  padding: 40px 24px 36px; text-align: center;
  transition: transform 0.35s var(--po-ease);
  color: inherit; display: flex; flex-direction: column; align-items: center;
}
.po-product-tile:hover {
  transform: scale(1.02); text-decoration: none; color: inherit;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
.po-product-tile .apei { font-size: 56px; color: var(--po-blue); margin-bottom: 20px; display: block; }
.po-product-tile h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; width: 100%; }
.po-product-tile p { font-size: 14px; color: var(--po-ink-2); line-height: 1.5; margin-bottom: 16px; width: 100%; }
.po-product-tile .link { font-size: 14px; color: var(--po-blue); font-weight: 400; margin-top: auto; }

.po-band {
  padding: 56px 22px; text-align: center;
  background: linear-gradient(180deg, #0d477f 0%, #001a33 100%);
  color: #f5f5f7;
}
.po-band h2 { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.po-band p { font-size: 17px; color: #a1a1a6; margin-bottom: 24px; }

.po-footer {
  background: var(--po-bg-alt); padding: 40px 22px 24px;
  font-size: 12px; color: var(--po-ink-3);
}
.po-footer-inner {
  max-width: var(--po-wide); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-bottom: 24px; border-bottom: 1px solid var(--po-sep);
}
.po-footer h4 { font-size: 12px; font-weight: 600; color: var(--po-ink); margin-bottom: 12px; }
.po-footer ul { list-style: none; }
.po-footer li { margin-bottom: 8px; }
.po-footer a { color: var(--po-ink-2); font-size: 12px; }
.po-footer-copy { max-width: var(--po-wide); margin: 16px auto 0; font-size: 11px; }

/* ── Configurator shell ── */
.cfg-page { padding: 32px 22px 80px; background: var(--po-bg); }
.cfg-breadcrumb {
  max-width: var(--po-max); margin: 0 auto 24px;
  font-size: 12px; color: var(--po-ink-3);
}
.cfg-breadcrumb a { color: var(--po-ink-3); }
.cfg-breadcrumb span { color: var(--po-ink); font-weight: 500; }

.cfg-water-bar {
  max-width: var(--po-max); margin: 0 auto 20px; padding: 14px 16px;
  background: var(--po-card); border: 1px solid var(--po-sep); border-radius: var(--po-r);
}
.cfg-water-bar-head {
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--po-ink-2); margin-bottom: 10px;
}
.cfg-water-bar-head .apei { color: var(--po-blue); font-size: 18px; }
.cfg-water-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-water-opt {
  padding: 8px 14px; border-radius: var(--po-pill); font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--po-sep); background: var(--po-bg-alt); color: var(--po-ink-2);
  transition: all 0.2s;
}
.cfg-water-opt.selected { border-color: var(--po-blue); background: rgba(0,113,227,0.08); color: var(--po-blue); font-weight: 600; }
.cfg-water-preset {
  margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--po-blue);
  display: inline-flex; align-items: center; gap: 6px;
}
.cfg-water-hint { font-size: 12px; color: var(--po-ink-3); margin-top: 8px; }

.ap-configurator-wrapper {
  display: flex; max-width: var(--po-max); margin: 0 auto;
  gap: 40px; align-items: flex-start;
}

.ap-visual-col {
  flex: 0 0 42%; position: sticky; top: 60px;
}
.ap-visual-frame {
  background: var(--po-bg-alt);
  border-radius: var(--po-r-lg);
  padding: 32px;
  margin-bottom: 20px;
}
#main-product-img {
  width: 100%; transition: opacity 0.26s, transform 0.38s var(--po-ease);
}

.ap-composition {
  background: var(--po-card); border-radius: var(--po-r);
  border: 1px solid var(--po-sep); padding: 20px;
  margin-bottom: 16px; text-align: left;
}
.ap-composition h4 {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--po-ink-3); margin-bottom: 12px;
}
#bom-list { list-style: none; font-size: 13px; }
#bom-list li { padding: 8px 0; border-bottom: 1px solid var(--po-sep); display: flex; gap: 8px; }
#bom-list li::before { content: '·'; color: var(--po-blue); font-weight: 700; }
#bom-list li.empty { color: var(--po-ink-3); font-style: italic; border: none; }
#bom-list li.empty::before { content: none; }

.spec-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  background: rgba(13, 71, 127, 0.06); color: var(--po-brand);
  border-radius: var(--po-pill);
}

.ap-steps-col { flex: 1; min-width: 0; }
.cfg-intro { margin-bottom: 32px; }
.cfg-intro h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; color: var(--po-brand); margin-bottom: 8px; }
.cfg-intro p { font-size: 15px; color: var(--po-ink-2); line-height: 1.5; }

.cfg-phase-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--po-ink-3);
  margin: 24px 0 8px; padding-left: 4px;
}
.cfg-phase-label:first-of-type { margin-top: 0; }

/* Vertical steps — O-CORE */
.ap-step {
  border-radius: var(--po-r);
  margin-bottom: 6px;
  background: var(--po-card);
  border: 1px solid var(--po-sep);
  overflow: hidden;
  transition: opacity 0.28s, filter 0.28s;
}
.ap-step.locked { opacity: 0.28; pointer-events: none; filter: grayscale(0.5); }

.ap-step-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; cursor: pointer; user-select: none;
}
.step-number {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--po-brand); color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ap-step.completed .step-number { background: var(--po-green); }

.step-title {
  flex: 1; font-size: 13px; font-weight: 600; color: var(--po-ink);
  letter-spacing: -0.01em;
}
.step-meta { display: flex; align-items: center; gap: 8px; }
.step-summary {
  font-size: 12px; color: var(--po-ink-3); font-weight: 500;
  opacity: 1; transition: opacity 0.28s, color 0.2s;
  max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ap-step.completed .step-summary { color: var(--po-ink-2); }
.ap-step.incomplete .step-summary { color: #ff9500; }
.step-check { font-size: 14px; color: var(--po-green); opacity: 0; transition: opacity 0.28s; }
.ap-step.completed .step-summary,
.ap-step.completed .step-check { opacity: 1; }

.ap-step-body {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.4s var(--po-ease), opacity 0.28s;
}
.ap-step.active .ap-step-body {
  max-height: 2400px; opacity: 1; padding: 0 18px 20px;
}

.step-instruction { font-size: 13px; color: var(--po-ink-2); margin-bottom: 14px; line-height: 1.45; }

.ap-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.ap-cards-list { display: flex; flex-direction: column; gap: 8px; }
.ap-cards-list .ap-option-card.horizontal { width: 100%; }

.ap-option-card {
  background: var(--po-bg);
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 16px 14px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s, transform 0.18s;
}
.ap-option-card:hover { background: var(--po-card); border-color: var(--po-sep); }
.ap-option-card.selected {
  background: var(--po-card);
  border-color: var(--po-blue);
  box-shadow: 0 0 0 1px var(--po-blue);
}
.ap-option-card.recommended { margin-top: 10px; }

.opt-badge {
  position: absolute; top: -8px; left: 12px;
  background: var(--po-blue); color: #fff;
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 3px 8px; border-radius: var(--po-pill);
}
.opt-title { font-size: 14px; font-weight: 600; color: var(--po-ink); margin-bottom: 4px; }
.opt-desc { font-size: 12px; color: var(--po-ink-2); line-height: 1.4; }
.opt-specs-pills { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0; }

.ap-option-card.horizontal {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
}
.ap-option-card.horizontal .opt-img {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--po-bg-alt); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px; color: var(--po-brand);
}
.ap-option-card.horizontal .opt-info { flex: 1; min-width: 0; }

.ap-tooltip { position: relative; display: inline-flex; margin-left: 4px; cursor: help; color: var(--po-ink-3); }
.ap-tooltip-text {
  visibility: hidden; opacity: 0; width: 280px;
  background: rgba(29, 29, 31, 0.94); color: #f5f5f7;
  font-size: 11px; font-weight: 400; line-height: 1.45;
  text-transform: none; letter-spacing: normal;
  border-radius: 12px; padding: 12px 14px;
  position: absolute; z-index: 100; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.2s;
}
.ap-tooltip:hover .ap-tooltip-text { visibility: visible; opacity: 1; }

.cfg-note {
  font-size: 12px; color: var(--po-ink-3); text-align: center; margin-top: 12px;
}

/* Onfinity form fields */
.cfg-field { margin-bottom: 16px; text-align: left; }
.cfg-field label { display: block; font-size: 12px; font-weight: 600; color: var(--po-ink); margin-bottom: 6px; }
.cfg-field select,
.cfg-field textarea,
.cfg-field input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--po-sep); border-radius: 12px;
  font-size: 14px; font-family: inherit; background: #fff;
}
.cfg-field textarea { min-height: 80px; resize: vertical; }

/* ── Product page (Apple product) ── */
.pdp-hero {
  text-align: center; padding: 40px 22px 0;
}
.pdp-hero h1 { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; }
.pdp-hero .tagline { font-size: 21px; color: var(--po-ink-2); margin-top: 8px; }
.pdp-hero-visual {
  max-width: 800px; margin: 32px auto 0;
  aspect-ratio: 4/3; background: var(--po-bg-alt);
  border-radius: var(--po-r-lg);
  display: flex; align-items: center; justify-content: center;
}
.pdp-hero-visual .apei { font-size: 120px; color: var(--po-brand); opacity: 0.2; }

.pdp-sticky-bar {
  position: sticky; bottom: 0; z-index: 100;
  background: rgba(251, 251, 253, 0.92);
  backdrop-filter: blur(var(--po-blur));
  border-top: 1px solid var(--po-sep);
  padding: 14px 22px;
}
.pdp-sticky-inner {
  max-width: var(--po-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.pdp-sticky-inner .name { font-size: 14px; font-weight: 600; }
.pdp-sticky-inner .from { font-size: 12px; color: var(--po-ink-3); }

.pdp-specs {
  max-width: var(--po-max); margin: 64px auto; padding: 0 22px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.pdp-spec-block h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--po-ink-3); margin-bottom: 8px; }
.pdp-spec-block p { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }

.pdp-features {
  background: var(--po-dark); color: #f5f5f7;
  padding: 80px 22px; text-align: center;
}
.pdp-features h2 { font-size: 40px; font-weight: 600; margin-bottom: 48px; }
.pdp-feature-grid {
  max-width: var(--po-wide); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left;
}
.pdp-feature-card {
  background: rgba(255, 255, 255, 0.06); border-radius: var(--po-r);
  padding: 28px 24px;
}
.pdp-feature-card h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.pdp-feature-card p { font-size: 14px; color: #a1a1a6; line-height: 1.5; }

/* ── Catalogue grid ── */
.cat-header { max-width: var(--po-wide); margin: 0 auto; padding: 48px 22px 32px; }
.cat-header h1 { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; }
.cat-filters {
  max-width: var(--po-wide); margin: 0 auto 24px; padding: 0 22px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cat-filter {
  padding: 8px 16px; border-radius: var(--po-pill);
  font-size: 12px; font-weight: 500;
  background: var(--po-bg-alt); color: var(--po-ink);
  border: 1px solid transparent;
}
.cat-filter.active { background: var(--po-ink); color: #fff; }

.cat-grid {
  max-width: var(--po-wide); margin: 0 auto 80px; padding: 0 22px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cat-card {
  background: var(--po-card); border-radius: var(--po-r);
  overflow: hidden; color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--po-sep);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  text-decoration: none; color: inherit;
}
.cat-card-thumb {
  aspect-ratio: 1; background: var(--po-bg-alt);
  display: flex; align-items: center; justify-content: center;
}
.cat-card-thumb .apei { font-size: 48px; color: var(--po-blue); opacity: 0.5; }
.cat-card-body { padding: 16px; }
.cat-card-body h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cat-card-body p { font-size: 12px; color: var(--po-ink-2); }
.cat-card-body .type { font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--po-blue); margin-bottom: 6px; }

/* Modals */
.ap-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0.48); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.ap-modal-overlay.open { opacity: 1; pointer-events: auto; }
.ap-modal-content {
  background: var(--po-overlay-strong); border-radius: var(--po-r-lg);
  padding: 28px; max-width: 400px; width: 90%;
}
.ap-modal-header { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.ap-modal-body { font-size: 14px; color: var(--po-ink-2); margin-bottom: 20px; line-height: 1.5; }
.ap-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ── PrimeO stylized O — seul le glyphe O en PrimoFont ── */
.po-o {
  font-family: 'PrimoFont', var(--po-font);
  font-weight: 300;
  font-style: normal;
  display: inline;
  line-height: inherit;
  letter-spacing: 0;
  margin-right: -0.04em;
}
.po-word {
  display: inline;
  white-space: nowrap;
  font-family: var(--po-font);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.po-word > .po-o + span,
.po-word > span:not(.po-o) {
  font-family: var(--po-font);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.po-word.thin > span:not(.po-o) { font-weight: 500; }
.cfg-intro h1 .po-o,
.po-headline-sm .po-o,
.po-product-tile h3 .po-o,
.po-nav-links .po-o,
.po-tier-card h3 .po-o {
  font-weight: 300;
}

/* ── Dialog Apple ── */
#po-dialog-root { position: relative; z-index: 20000; }
.po-dialog-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.28s var(--po-ease);
}
.po-dialog-overlay.open { opacity: 1; }
.po-dialog-overlay[hidden] { display: none !important; }

.po-dialog {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(400px, calc(100vw - 40px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: 20px;
  padding: 28px 24px 20px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.8);
  opacity: 0;
  transition: opacity 0.28s var(--po-ease), transform 0.28s var(--po-ease);
}
.po-dialog.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.po-dialog[hidden] { display: none !important; }

.po-dialog-icon { margin: 0 auto 14px; display: flex; justify-content: center; }
.po-dialog-title {
  font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--po-ink); margin-bottom: 8px; line-height: 1.25;
}
.po-dialog-body {
  font-size: 14px; line-height: 1.5; color: var(--po-ink-2); margin-bottom: 16px;
}
.po-dialog-list {
  list-style: none; text-align: left;
  background: var(--po-bg-alt);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
  max-height: 160px;
  overflow-y: auto;
}
.po-dialog-list li {
  font-size: 13px; font-weight: 500; color: var(--po-ink);
  padding: 8px 0; border-bottom: 1px solid var(--po-sep);
  display: flex; align-items: center; gap: 8px;
}
.po-dialog-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--po-blue); flex-shrink: 0;
}
.po-dialog-list li:last-child { border-bottom: none; }
.po-dialog-actions {
  display: flex; flex-direction: column; gap: 8px;
}
.po-dialog-actions .po-dialog-btn { width: 100%; justify-content: center; }

.po-toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(29, 29, 31, 0.92);
  backdrop-filter: blur(16px);
  color: #f5f5f7;
  font-size: 13px; font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--po-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--po-ease);
  pointer-events: none;
  max-width: min(90vw, 360px);
  text-align: center;
}
.po-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.po-toast[hidden] { display: none !important; }

/* ── PoUI · Alert iOS ── */
#po-ui-root { position: relative; z-index: 25000; }
.po-scrim {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}
.po-scrim.open { opacity: 1; pointer-events: auto; }
.po-scrim[hidden] { display: none !important; }

.po-alert {
  position: fixed; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; pointer-events: none;
}
.po-alert.open { pointer-events: auto; }
.po-alert[hidden] { display: none !important; }
.po-alert-card {
  width: min(320px, 100%);
  background: var(--po-overlay-strong);
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  transform: scale(1.08);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.32s;
}
.po-alert.open .po-alert-card { transform: scale(1); opacity: 1; }
.po-alert-icon { padding: 22px 20px 0; display: flex; justify-content: center; }
.po-alert-title {
  font-size: 17px; font-weight: 600; letter-spacing: -0.02em;
  text-align: center; padding: 10px 20px 4px; line-height: 1.3;
}
.po-alert-body {
  font-size: 13px; line-height: 1.45; color: var(--po-ink-2);
  text-align: center; padding: 0 20px 16px;
}
.po-alert-body[hidden] { display: none; }
.po-alert-list {
  list-style: none; margin: 0 16px 12px; padding: 0;
  background: rgba(0, 0, 0, 0.04); border-radius: 10px;
  max-height: 140px; overflow-y: auto;
}
.po-alert-list li {
  font-size: 13px; padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.po-alert-list li:last-child { border-bottom: none; }
.po-alert-actions { border-top: 1px solid rgba(0, 0, 0, 0.08); }
.po-alert-btn {
  display: block; width: 100%; padding: 14px 16px;
  font-size: 17px; font-weight: 400; color: var(--po-blue);
  background: transparent; border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.15s;
}
.po-alert-btn:last-child, .po-alert-btn.last { border-bottom: none; font-weight: 600; }
.po-alert-btn.primary { font-weight: 600; }
.po-alert-btn.destructive { color: #ff3b30; }
.po-alert-btn:active { background: rgba(0, 0, 0, 0.04); }

/* ── PoUI · Sheet ── */
.po-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2;
  max-height: 92vh; background: var(--po-bg-alt);
  border-radius: 14px 14px 0 0;
  transform: translateY(100%);
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex; flex-direction: column;
  box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.18);
}
.po-sheet.open { transform: translateY(0); }
.po-sheet[hidden] { display: none !important; }
.po-sheet-grabber {
  width: 36px; height: 5px; border-radius: 3px;
  background: rgba(0, 0, 0, 0.15); margin: 8px auto 0;
}
.po-sheet-head {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 8px 12px 12px;
  background: var(--po-bg-alt);
}
.po-sheet-cancel {
  justify-self: start; font-size: 17px; color: var(--po-blue);
  padding: 8px 4px; background: none; border: none;
}
.po-sheet-title {
  font-size: 17px; font-weight: 600; text-align: center;
  letter-spacing: -0.02em;
}
.po-sheet-done {
  justify-self: end; font-size: 17px; font-weight: 600;
  color: var(--po-blue); padding: 8px 4px; background: none; border: none;
}
.po-sheet-body {
  padding: 0 16px  max(24px, env(safe-area-inset-bottom));
  overflow-y: auto; flex: 1;
}
.po-sheet-msg { font-size: 14px; color: var(--po-ink-2); margin-bottom: 14px; line-height: 1.45; }
.po-sheet-field input {
  width: 100%; padding: 14px 16px; font-size: 17px;
  border: none; border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

@media (min-width: 640px) {
  .po-sheet {
    left: 50%; right: auto; bottom: auto; top: 50%;
    width: min(420px, calc(100vw - 32px));
    border-radius: 16px;
    transform: translate(-50%, -48%) scale(0.96);
    opacity: 0;
  }
  .po-sheet.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  .po-sheet-grabber { display: none; }
}

/* Celebrate micro-animation */
.po-celebrate {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 72px; height: 72px; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.po-celebrate-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--po-green);
  opacity: 0;
}
.po-celebrate.play .po-celebrate-ring {
  animation: poCelebrateRing 0.85s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}
.po-celebrate svg { position: relative; opacity: 0; transform: scale(0.6); }
.po-celebrate.play svg {
  animation: poCelebrateCheck 0.85s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}
@keyframes poCelebrateRing {
  0% { opacity: 0.95; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.35); }
}
@keyframes poCelebrateCheck {
  0% { opacity: 0; transform: scale(0.5); }
  40% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* Label étape incomplète (inline, pas alert) */
.ap-step.incomplete .step-title::after {
  content: 'Requis';
  margin-left: 8px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: #FF9500;
  padding: 2px 7px;
  border-radius: var(--po-pill);
  vertical-align: middle;
}

@media (max-width: 900px) {
  .po-nav-links { display: none; }
  .po-product-row { grid-template-columns: 1fr; }
  .ap-configurator-wrapper { flex-direction: column; }
  .ap-visual-col { position: static; flex: none; width: 100%; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-specs, .pdp-feature-grid { grid-template-columns: 1fr; }
  .po-footer-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ── Logos solutions & technologies — visibilité calligraphique ── */
.po-logo-slot {
  width: 100%; max-width: 200px; min-height: 108px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; padding: 16px 20px;
  border-radius: 20px; position: relative; overflow: hidden;
  background:
    linear-gradient(155deg, var(--brand-bg, rgba(0,113,227,0.14)) 0%, rgba(255,255,255,0.92) 48%),
    linear-gradient(220deg, var(--brand-bg-2, transparent) 0%, transparent 55%);
  border: 1px solid var(--brand-border, rgba(0,0,0,0.1));
  box-shadow:
    inset 4px 0 0 var(--brand-primary, var(--po-blue)),
    0 6px 24px rgba(0, 0, 0, 0.06);
}
.po-logo-slot img {
  width: auto; max-width: 92%; object-fit: contain;
  display: block; margin: 0 auto; position: relative; z-index: 1;
  filter: contrast(1.15) saturate(1.25) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.3s;
}
.po-logo-slot:hover img {
  transform: scale(1.06);
  filter: contrast(1.2) saturate(1.35) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}
/* Calligraphies fines — pastels SVG + lisibilité par contraste doux */
.po-logo-slot--fine::before {
  content: '';
  position: absolute;
  inset: 8px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.98);
  z-index: 0;
}
.po-logo-slot--fine::after {
  content: '';
  position: absolute;
  width: 68%;
  height: 68%;
  border-radius: 50%;
  background: var(--brand-primary, var(--po-blue));
  opacity: 0.07;
  filter: blur(20px);
  z-index: 0;
}
.po-logo-slot--fine img {
  transform: scale(1.1);
  filter:
    contrast(1.22) saturate(1.04)
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1))
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}
.po-logo-slot--fine:hover img {
  transform: scale(1.12);
  filter:
    contrast(1.28) saturate(1.08)
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12))
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.1));
}
.po-logo-slot--fine.po-logo-slot--landscape img { height: 70px; max-height: 76px; }
.po-logo-slot--fine.po-logo-slot--portrait img { height: 92px; max-height: 100px; }
.po-logo-slot--fine.po-logo-slot--wide img { height: 58px; max-height: 62px; }
/* Formats selon proportions du SVG */
.po-logo-slot--wide { min-height: 88px; max-width: 220px; }
.po-logo-slot--wide img { height: 52px; max-height: 56px; }
.po-logo-slot--landscape { min-height: 100px; }
.po-logo-slot--landscape img { height: 58px; max-height: 64px; }
.po-logo-slot--portrait { min-height: 118px; max-width: 120px; padding: 12px 14px; }
.po-logo-slot--portrait img { height: 78px; max-height: 88px; }

.po-logo-img { height: 44px; width: auto; max-width: 120px; object-fit: contain; }
.po-logo-img.lg { height: 56px; max-width: 160px; }

/* Audit couleurs — solutions (pastels extraits des SVG calligraphiques) */
.po-product-tile[data-brand="odrink"] {
  --brand-primary: #99b9f2; --brand-bg: rgba(153,185,242,0.14); --brand-bg-2: rgba(130,212,151,0.1); --brand-border: rgba(153,185,242,0.22);
}
.po-product-tile[data-brand="oshield"] {
  --brand-primary: #95b5ee; --brand-bg: rgba(149,181,238,0.15); --brand-bg-2: rgba(138,216,208,0.1); --brand-border: rgba(149,181,238,0.24);
}
.po-product-tile[data-brand="omnify"] {
  --brand-primary: #99b9f2; --brand-bg: rgba(153,185,242,0.14); --brand-bg-2: rgba(128,208,147,0.1); --brand-border: rgba(153,185,242,0.22);
}
.po-product-tile .po-logo-slot { min-height: 124px; max-width: 148px; }
.po-product-tile .po-logo-slot--fine.po-logo-slot--portrait img { height: 98px; }

/* Audit couleurs — technologies (pastels, lisibilité par ombre) */
.po-tech-card[data-brand="safedrink"] { --brand-primary: #9bb7e1; --brand-bg: rgba(155,183,225,0.14); --brand-bg-2: rgba(16,72,128,0.06); }
.po-tech-card[data-brand="aquapolish"] { --brand-primary: #5ac8fa; --brand-bg: rgba(90,200,250,0.14); }
.po-tech-card[data-brand="scalebuster"] { --brand-primary: #ffcc66; --brand-bg: rgba(255,204,102,0.16); }
.po-tech-card[data-brand="multicyclone"] { --brand-primary: #aeaeb2; --brand-bg: rgba(174,174,178,0.14); }
.po-tech-card[data-brand="structuredmatrix"] { --brand-primary: #7097cc; --brand-bg: rgba(112,151,204,0.14); --brand-bg-2: rgba(132,195,145,0.1); }

.po-tech-card .po-logo-slot {
  flex-shrink: 0; width: 104px; max-width: none; min-height: 104px;
  margin: 0;
}
.po-tech-card .po-logo-slot--portrait { width: 96px; min-height: 112px; }
.po-tech-card .po-logo-slot--portrait img { height: 72px; }
.po-tech-card .po-logo-slot--landscape img { height: 54px; }
.po-tech-card .po-logo-slot--fine.po-logo-slot--landscape img { height: 64px; }
.po-tech-card .po-logo-slot--fine.po-logo-slot--portrait img { height: 82px; }

/* Hero composition — couleurs marque (tuiles tech héritent via data-brand) */

.po-tech-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 1080px; margin: 0 auto; text-align: left;
}
@media (max-width: 720px) { .po-tech-grid { grid-template-columns: 1fr; } }
.po-tech-card {
  display: flex; align-items: flex-start; gap: 18px; padding: 22px; border-radius: 20px;
  background: var(--po-card); border: 1px solid var(--po-card-border);
  text-decoration: none; color: inherit; transition: all 0.22s;
  border-left: 3px solid var(--brand-primary, var(--po-blue));
}
.po-tech-card .po-logo-slot { flex-shrink: 0; margin: 0; }
.po-tech-card-body { flex: 1; min-width: 0; }
.po-tech-card:hover { border-color: var(--brand-primary, var(--po-blue)); box-shadow: 0 10px 32px rgba(0,113,227,0.1); transform: translateY(-2px); }
.po-tech-card img { height: 48px; width: auto; flex-shrink: 0; }
.po-tech-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.02em; color: var(--po-ink); }
.po-tech-tagline { font-size: 13px; font-weight: 600; color: var(--brand-primary, var(--po-blue)); line-height: 1.35; margin: 0 0 6px; }
.po-tech-summary { font-size: 13px; color: var(--po-ink-2); line-height: 1.45; margin: 0; }
.po-tech-card .link { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--po-blue); }

.po-nav-tool-btn .psb2-navbadge {
  position: absolute; top: 2px; right: 0;
}

/* OPremium tiers */
.po-tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1080px; margin: 0 auto; text-align: left; }
@media (max-width: 860px) { .po-tier-grid { grid-template-columns: 1fr; } }
.po-tier-card {
  padding: 28px 24px; border-radius: 22px; background: var(--po-card);
  border: 1px solid var(--po-card-border); transition: transform 0.22s, box-shadow 0.22s;
}
.po-tier-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.08); }
.po-tier-card .tier-badge {
  display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 5px 10px; border-radius: 99px; margin-bottom: 14px;
}
.po-tier-card.spark .tier-badge { background: rgba(255,149,0,0.14); color: #c93400; }
.po-tier-card.craft .tier-badge { background: rgba(0,113,227,0.12); color: #0071e3; }
.po-tier-card.flow .tier-badge { background: rgba(52,199,89,0.14); color: #248a3d; }
.po-tier-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 6px; }
.po-tier-card .sub { font-size: 13px; color: var(--po-ink-3); margin-bottom: 12px; }
.po-tier-card p { font-size: 14px; color: var(--po-ink-2); line-height: 1.5; }

/* Fiche produit variable */
.pdp-variations { max-width: 720px; margin: 0 auto 40px; padding: 0 20px; }
.pdp-var-group { margin-bottom: 22px; }
.pdp-var-group label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--po-ink-3); margin-bottom: 10px; }
.pdp-var-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-var-pill {
  padding: 10px 16px; border-radius: 12px; border: 1px solid var(--po-sep);
  background: var(--po-card); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.18s;
}
.pdp-var-pill:hover { border-color: var(--po-blue); }
.pdp-var-pill.active { border-color: var(--po-blue); background: rgba(0,113,227,0.08); color: var(--po-blue); font-weight: 600; }
.pdp-var-desc { font-size: 14px; color: var(--po-ink-2); line-height: 1.5; margin-top: 14px; padding: 16px; border-radius: 14px; background: rgba(0,0,0,0.03); }

/* Sidebar icon actions */
.psb2-icon-actions { display: flex; gap: 6px; margin-top: 8px; }
.psb2-icon-btn {
  width: 32px; height: 32px; border-radius: 9px; border: none; cursor: pointer;
  background: rgba(0,0,0,0.05); color: #515154; display: inline-flex;
  align-items: center; justify-content: center; text-decoration: none; transition: all 0.15s;
}
.psb2-icon-btn:hover { background: rgba(0,113,227,0.1); color: #0071e3; }
.psb2-icon-btn.danger:hover { background: rgba(215,0,21,0.08); color: #d70015; }
.psb2-line.clickable { cursor: pointer; }
.psb2-line.clickable:hover .name { color: #0071e3; }

/* Solution pre-config form (sidebar) */
.psb2-preconfig { padding: 4px 2px 12px; }
.psb2-preconfig p { font-size: 13px; color: #515154; line-height: 1.45; margin-bottom: 14px; }
