/* HIDE DEFAULT ODOO HEADER/FOOTER (keep our custom ap2- versions) */
#wrapwrap > header:not(.ap2-header):not(.ap2-site-header) { display: none !important; pointer-events: none !important; }
#wrapwrap > footer:not(.ap2-footer) { display: none !important; pointer-events: none !important; }
/* Ensure all ap2 buttons are clickable */
[data-action="open-modal"] { position: relative; z-index: 10; pointer-events: auto !important; cursor: pointer !important; }
.ap2-guide-cta-btn { position: relative; z-index: 10; pointer-events: auto !important; }
.ap2-btn-guide-launch { position: relative; z-index: 10; pointer-events: auto !important; }
.ap2-modal-close-btn { position: relative; z-index: 9999; pointer-events: auto !important; }

/* SVG sizing */
.ap2-config-head-icon svg { width: 18px; height: 18px; }
.ap2-flip-row-icon svg { width: 22px; height: 22px; }
.ap2-flip-row-action svg { width: 22px; height: 22px; }
.ap2-btn-cta svg { width: 18px; height: 18px; }
.ap2-config-hint svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .55; }
.ap2-input-icon-right svg { width: 18px; height: 18px; }

/* Links as buttons */
a[class*="ap2-btn"], a[class*="ap2-cta"], a[class*="ap2-link"],
a.ap2-subband, a.ap2-gamme-card, a.ap2-gamme-row,
a.ap2-guide-main, a.ap2-guide-mini, a.ap2-mega-link,
a.ap2-drawer-link, a.ap2-drawer-btn, a.ap2-compte-link,
a.ap2-mega-best-card, a.ap2-mega-best-see,
a.ap2-mega-footer-link, a.ap2-mega-guide-card,
.ap2-footer-links a { text-decoration: none; color: inherit; }
a.ap2-mob-sub-item { text-decoration: none; color: rgba(255,255,255,0.78); }

/* Extra layout classes */
.ap2-footer-col { display: flex; flex-direction: column; gap: 8px; }
.ap2-footer-logo-dot {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, var(--C), var(--C-d));
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.ap2-panier-empty { padding: 20px; text-align: center; color: var(--muted); font-size: 16px; }
.ap2-desktop-only { }
@media (max-width: 860px) { .ap2-desktop-only { display: none !important; } }

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --C: #00A8D4;
  --C-l: #E6F7FC;
  --C-d: #007FA0;
  --M: #E8155A;
  --J: #F5C800;
  --N: #1A1A2E;
  --N-card: #1A2A4A;
  --green: #1A8A4A;
  --green-l: #E8F5EE;
  --purple: #6B21A8;
  --purple-l: #F3E8FF;
  --orange: #F59E0B;
  --orange-l: #FEF3C7;
  --grey: #F5F7FA;
  --border: #E2E8F0;
  --muted: #64748B;
  --white: #fff;
  --cmj: linear-gradient(90deg,#00A8D4 0%,#E8155A 50%,#F5C800 100%);
  --shadow: 0 2px 12px rgba(0,0,0,.07);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.18);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --ease: 200ms ease;
  --font-title: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
/* ── LARGEUR MAXIMALE GLOBALE — 1600px uniforme sur toute la page ── */
.ap2-header .ap2-header-inner,
.ap2-hero-outer,
.ap2-section-cr, .ap2-cr-card,
.ap2-section-reassurance, .ap2-reassurance-card,
.ap2-section-bons-plans, .ap2-bp-wrap,
.ap2-section-gammes, .ap2-gammes-wrap,
.ap2-section-guides, .ap2-guides-wrap,
.ap2-section-topsales, .ap2-topsales-wrap,
.ap2-section-guide-cta, .ap2-guide-cta-banner,
.ap2-newsletter-inner,
.ap2-footer-inner, .ap2-footer-bottom-top, .ap2-footer-bottom-legal, .footer-reas {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* Newsletter + footer — fond pleine largeur */
.ap2-section-newsletter, .ap2-newsletter-banner, .ap2-footer, .ap2-footer-bottom {
  max-width: 100% !important;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}


html, body {
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background: #ECEEF2;
  color: var(--N);
  min-height: 100vh;
}

/* Reset titres h1-h6 — neutralise le faux-bold UA sur DM Serif Display (chargée en 400 uniquement). */
.alfaprint_v2 h1,
.alfaprint_v2 h2,
.alfaprint_v2 h3,
.alfaprint_v2 h4,
.alfaprint_v2 h5,
.alfaprint_v2 h6 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.2;
}

/* Form elements héritent de DM Sans (sinon fallback police système). */
.alfaprint_v2 button,
.alfaprint_v2 input,
.alfaprint_v2 select,
.alfaprint_v2 textarea {
  font-family: inherit;
}

/* ============================================================
   HEADER
   ============================================================ */
.ap2-header {
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: background .3s, box-shadow .3s;
}
.ap2-header.scrolled {
  background: rgba(255,255,255,0.88);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

/* Wrapper interne aligné sur le même max-width que le contenu */
.ap2-header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}

.ap2-header-row {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo — largeur fixe pour équilibrer */
.ap2-logo {
  font-family: var(--font-title);
  font-size: 24px;
  color: var(--N);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
  padding: 0;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  position: relative;
}

.ap2-logo {
  font-family: var(--font-title);
  font-size: 24px;
  color: var(--N);
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.ap2-logo span { color: var(--C); }

.ap2-subnav {
  padding: 0;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  position: relative;
}
.logo-dot {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--C), var(--C-d));
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}

.ap2-search-wrap {
  display: flex; align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  background: var(--grey);
  overflow: hidden;
  width: 420px;
  flex-shrink: 0;
}

/* Groupe droite — même flex:1 que le logo pour centrer la search */
.ap2-header-right-group {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
/* Form wrapper inside search — Odoo wraps input+button in a <form> */
.ap2-search-wrap form {
  display: flex; align-items: center; flex: 1; width: 100%;
}
.ap2-search-wrap input {
  flex: 1; border: none; background: transparent;
  padding: 9px 13px; font-size: 14px;
  font-family: var(--font-body); outline: none; color: var(--N);
}
.ap2-search-wrap input::placeholder { color: var(--muted); }
.ap2-search-wrap button {
  background: white; color: var(--muted); border: none;
  border-left: 1.5px solid var(--border);
  padding: 9px 13px; font-size: 16px; cursor: pointer;
  transition: color .15s;
}
.ap2-search-wrap button:hover { color: var(--N); }

.ap2-etrusted {
  display: flex; flex-direction: column; align-items: center;
  gap: 1px; padding: 5px 8px; cursor: pointer; flex-shrink: 0;
}
.ap2-etrusted-top { font-size: 11px; font-weight: 800; color: var(--N); display: flex; align-items: center; gap: 3px; }
.ap2-etrusted-stars { color: #F5A623; font-size: 14px; letter-spacing: -1px; }
.ap2-etrusted-score { font-size: 10px; color: var(--muted); }

/* Compte dropdown */
.ap2-compte-wrap { position: relative; flex-shrink: 0; }
.ap2-btn-compte {
  background: var(--N); color: white; border: none;
  border-radius: 9px; padding: 0 14px; height: 36px;
  font-size: 14px; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.ap2-compte-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: white; border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  border: 1px solid var(--border);
  min-width: 220px; padding: 10px;
  display: none; z-index: 500;
  animation: fadeIn .15s ease;
}
.ap2-compte-dropdown.open { display: block; }
.ap2-compte-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.ap2-compte-link {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 9px;
  font-size: 16px; color: var(--N); cursor: pointer;
  transition: background .12s; text-decoration: none;
}
.ap2-compte-link:hover { background: var(--grey); }
.ap2-compte-sep { height: 1px; background: var(--border); margin: 6px 0; }
.ap2-compte-btn-connexion {
  width: 100%; background: var(--N); color: white; border: none;
  border-radius: 9px; padding: 10px; font-size: 16px; font-weight: 700;
  font-family: var(--font-body); cursor: pointer; margin-bottom: 8px;
  transition: background .15s;
}
.ap2-compte-btn-connexion:hover { background: var(--C); }
.ap2-compte-nouveau { font-size: 14px; color: var(--muted); text-align: center; padding: 2px 0 4px; }
.ap2-compte-inscrire { color: var(--C); font-weight: 600; cursor: pointer; }
.ap2-compte-inscrire:hover { text-decoration: underline; }

/* Panier dropdown */
.ap2-panier-wrap { position: relative; flex-shrink: 0; }
.ap2-btn-panier {
  height: 36px; padding: 0 14px 0 10px;
  border-radius: 9px;
  background: var(--N); color: #fff;
  border: 1.5px solid var(--N); font-size: 17px;
  cursor: pointer; display: flex; align-items: center; gap: 8px; justify-content: center;
  position: relative; flex-shrink: 0; transition: all .15s;
  font-family: var(--font-body); font-weight: 600;
}
.ap2-btn-panier:hover { background: #2A2A4E; border-color: #2A2A4E; }
.ap2-btn-panier-icon { font-size: 19px; line-height: 1; }
.ap2-btn-panier-label { font-size: 16px; font-weight: 600; white-space: nowrap; }
.ap2-btn-panier-count {
  background: var(--M); color: white;
  font-size: 12px; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ap2-panier-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: white; border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  border: 1px solid var(--border);
  min-width: 280px; padding: 14px;
  display: none; z-index: 500;
  animation: fadeIn .15s ease;
}
.ap2-panier-dropdown.open { display: block; }
.ap2-panier-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.ap2-panier-item { display: flex; align-items: center; gap: 10px; }
.ap2-panier-item-img {
  width: 38px; height: 38px; border-radius: 7px;
  background: var(--grey); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
}
.ap2-panier-item-info { flex: 1; }
.ap2-panier-item-name { font-size: 14px; font-weight: 600; color: var(--N); line-height: 1.3; }
.ap2-panier-item-meta { font-size: 12px; color: var(--muted); }
.ap2-panier-item-price { font-size: 16px; font-weight: 700; color: var(--N); flex-shrink: 0; }
.ap2-panier-sep { height: 1px; background: var(--border); margin: 6px 0; }
.ap2-panier-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ap2-panier-total-label { font-size: 14px; color: var(--muted); }
.ap2-panier-total-price { font-size: 19px; font-weight: 800; color: var(--N); }
.ap2-panier-checkout-btn {
  width: 100%; background: var(--C); color: white; border: none;
  border-radius: 9px; padding: 10px; font-size: 16px; font-weight: 700;
  font-family: var(--font-body); cursor: pointer; margin-bottom: 6px;
}
.ap2-panier-voir-btn {
  width: 100%; background: var(--grey); color: var(--N);
  border: 1px solid var(--border); border-radius: 9px; padding: 8px;
  font-size: 14px; font-weight: 600; font-family: var(--font-body); cursor: pointer;
}

/* Wishlist dropdown */
.ap2-wishlist-wrap { position: relative; flex-shrink: 0; }
.ap2-btn-heart {
  width: 36px; height: 36px; border-radius: 9px;
  background: white; border: 1.5px solid var(--N);
  font-size: 19px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: all .15s; flex-shrink: 0;
  color: var(--N);
}
.ap2-btn-heart:hover { border-color: var(--M); color: var(--M); }
.ap2-wishlist-badge {
  position: absolute; top: -6px; right: -6px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--M); color: white; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}
.ap2-wishlist-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: white; border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  border: 1px solid var(--border);
  min-width: 220px; padding: 10px;
  display: none; z-index: 500;
  animation: fadeIn .15s ease;
}
.ap2-wishlist-dropdown.open { display: block; }
.ap2-wishlist-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 11px; border-radius: 9px;
  font-size: 16px; color: var(--N); cursor: pointer;
  transition: background .12s;
}
.ap2-wishlist-item:hover { background: var(--grey); }
.ap2-wishlist-item-left { display: flex; align-items: center; gap: 9px; }
.ap2-wishlist-count {
  font-size: 14px; font-weight: 700; color: white;
  background: var(--muted); padding: 1px 7px; border-radius: 20px;
}
.ap2-wishlist-count.ap2-has-items { background: var(--M); }
.ap2-wishlist-sep { height: 1px; background: var(--border); margin: 6px 0; }
.ap2-wishlist-footer { font-size: 14px; color: var(--muted); text-align: center; padding: 4px 0 2px; }
.ap2-wishlist-footer a { color: var(--C); font-weight: 600; cursor: pointer; }

@keyframes fadeIn { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }

/* CMJ bar */
.ap2-cmj-bar { height: 3px; background: var(--cmj); }

/* Subnav — padding géré par .ap2-header-inner */
.ap2-subnav-left { display: flex; }
.ap2-nav-item {
  padding: 14px 20px; font-size: 16px; font-weight: 600;
  color: var(--muted); cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .15s; white-space: nowrap; user-select: none;
}
.ap2-nav-item:hover, .ap2-nav-item.open { color: var(--N); border-bottom-color: var(--C); }
.ap2-subnav-right { display: flex; }
.ap2-nav-secondary {
  padding: 14px 16px; font-size: 14px; color: var(--muted);
  cursor: pointer; transition: color .15s; text-decoration: none;
  display: flex; align-items: center;
}
.ap2-nav-secondary:hover { color: var(--N); }

/* ============================================================
   MEGA MENU
   ============================================================ */
.ap2-mega-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.3); z-index: 150;
  backdrop-filter: blur(2px);
}
.ap2-mega-overlay.active { display: block; }

.ap2-mega-panel {
  position: fixed;
  left: 0; right: 0;
  background: white;
  border-top: 2px solid var(--C);
  box-shadow: var(--shadow-xl);
  z-index: 300;
  display: none;
  animation: slideDown .18s ease;
}
.ap2-mega-panel.open { display: block; }
@keyframes slideDown { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

.ap2-mega-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 28px 48px;
  display: grid; gap: 32px;
}
.ap2-mega-cols { display: flex; gap: 32px; }
.ap2-mega-col { flex: 1; }
.ap2-mega-col-title {
  font-size: 12px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: .09em;
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.ap2-mega-links { display: flex; flex-direction: column; gap: 4px; }
.ap2-mega-link {
  padding: 7px 10px; border-radius: 8px; font-size: 16px;
  color: var(--N); cursor: pointer; transition: background .12s;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.ap2-mega-link:hover { background: var(--C-l); color: var(--C-d); }
/* count toujours à droite */
.ap2-mega-link-count {
  font-size: 12px; color: var(--muted); font-weight: 500;
  margin-left: auto; flex-shrink: 0;
}
.ap2-mega-link:hover .ap2-mega-link-count { color: var(--C-d); }
.ap2-mega-link-arrow { font-size: 14px; color: var(--muted); opacity: 0; flex-shrink: 0; }
.ap2-mega-link:hover .ap2-mega-link-arrow { opacity: 1; color: var(--C); }

.ap2-mega-best {
  width: 240px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.ap2-mega-best-title {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 4px;
}
.ap2-mega-best-card {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--grey);
  text-decoration: none; cursor: pointer;
  transition: background .12s, border-color .12s;
}
.ap2-mega-best-card:hover { background: var(--C-l); border-color: rgba(0,168,212,.25); }
.ap2-mega-best-img {
  width: 36px; height: 36px; flex-shrink: 0;
  background: white; border-radius: 8px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.ap2-mega-best-info { flex: 1; min-width: 0; }
.ap2-mega-best-name {
  font-size: 14px; font-weight: 600; color: var(--N);
  line-height: 1.3; margin-bottom: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.ap2-mega-best-meta { margin-bottom: 3px; }
.ap2-mega-best-badge {
  font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 10px;
}
.ap2-mega-best-badge.ap2-compat { background: var(--green-l); color: var(--green); }
.ap2-mega-best-badge.ap2-oem    { background: var(--C-l); color: var(--C-d); }
.ap2-mega-best-badge.ap2-pack   { background: #FFE4EE; color: #BE185D; }
.ap2-mega-best-price {
  font-size: 16px; font-weight: 800; color: var(--N);
}
.ap2-mega-best-old {
  font-size: 14px; font-weight: 400; color: var(--muted);
  text-decoration: line-through; margin-left: 4px;
}
.ap2-mega-best-see {
  font-size: 14px; font-weight: 600; color: var(--C);
  text-decoration: none; text-align: right; padding: 4px 2px 0;
  display: block;
}
.ap2-mega-best-see:hover { text-decoration: underline; }
.ap2-mega-promo {
  width: 240px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--N), #1A2A4A);
  border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
}
.ap2-mega-promo::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(0,168,212,.2), transparent 70%);
  border-radius: 50%;
}
.ap2-mega-promo-label { font-size: 11px; font-weight: 700; color: var(--C); text-transform: uppercase; letter-spacing: .08em; }
.ap2-mega-promo-title { font-family: var(--font-title); font-size: 19px; color: white; line-height: 1.3; }
.ap2-mega-promo-title span { color: var(--C); }
.ap2-mega-promo-sub { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.4; }
.ap2-mega-promo-btn {
  background: var(--C); color: white; border: none;
  border-radius: 8px; padding: 8px 14px; font-size: 14px; font-weight: 700;
  font-family: var(--font-body); cursor: pointer; align-self: flex-start; margin-top: auto;
}
.ap2-mega-guide-card {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; cursor: pointer; transition: all .15s;
  display: flex; gap: 10px; align-items: flex-start;
}
.ap2-mega-guide-card:hover { border-color: var(--C); background: var(--C-l); }
.ap2-mega-guide-thumb {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--C-l); display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0; border: 1px solid rgba(0,168,212,.2);
}
.ap2-mega-guide-cat { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.ap2-mega-guide-title { font-size: 14px; font-weight: 700; color: var(--N); line-height: 1.3; margin-bottom: 4px; }
.ap2-mega-guide-meta { font-size: 12px; color: var(--muted); }
.ap2-mega-article {
  border-bottom: 1px solid var(--border); padding: 9px 0;
  cursor: pointer; display: flex; gap: 8px; align-items: flex-start;
}
.ap2-mega-article:last-child { border-bottom: none; }
.ap2-mega-article:hover .ap2-mega-article-title { color: var(--C); }
.ap2-mega-article-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--C); flex-shrink: 0; margin-top: 5px; }
.ap2-mega-article-title { font-size: 14px; color: var(--N); line-height: 1.4; transition: color .15s; }
.ap2-mega-article-meta { font-size: 12px; color: var(--muted); }
.ap2-mega-footer {
  border-top: 1px solid var(--border); padding-top: 14px;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.ap2-mega-footer-link {
  font-size: 14px; font-weight: 600; color: var(--C);
  cursor: pointer; display: flex; align-items: center; gap: 5px;
}
.ap2-mega-footer-link:hover { text-decoration: underline; }

/* ============================================================
   HERO
   ============================================================ */
.ap2-page-content {
  background-color: #F0F2F5;
  background-image: radial-gradient(circle, rgba(0,0,0,.045) 1px, transparent 1px);
  background-size: 24px 24px;
}

.ap2-hero-outer {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 48px 0;
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 10px;
  align-items: start;
}

/* Flip 3D */
.ap2-config-slot { display: flex; flex-direction: column; align-self: start; perspective: 1200px; }
.ap2-flip-inner { position: relative; width: 100%; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.ap2-flip-inner.flipped { transform: rotateY(180deg); }
.ap2-config-slot .ap2-config-card,
.ap2-config-slot .ap2-config-back { display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ap2-config-slot .ap2-config-card { position: relative; }
.ap2-config-slot .ap2-config-back { position: absolute; inset: 0; transform: rotateY(180deg); }

.ap2-hero-right { display: flex; flex-direction: column; gap: 10px; overflow: hidden; min-width: 0; }

/* Config card
   Pas d'`overflow: hidden` sur la card front : le dropdown autocomplete
   .ap2-finder-ac doit pouvoir sortir verticalement de la card. Le
   contexte 3D du parent `.ap2-flip-inner` (transform-style: preserve-3d)
   rendait `overflow: hidden` instable ; on déplace le clipping sur le
   state-bar via son propre border-radius. */
.ap2-config-card {
  background: #fff; border-radius: var(--r-xl);
  display: flex; flex-direction: column;
  box-shadow: 0 2px 20px rgba(0,0,0,0.10); min-height: 540px;
}
.ap2-config-state-bar {
  padding: 12px 20px; display: flex; align-items: center; gap: 20px;
  background: #1A2A4A; border-bottom: 1px solid rgba(255,255,255,0.07);
  border-top-left-radius: var(--r-xl); border-top-right-radius: var(--r-xl);
}
.ap2-state-tab {
  font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.35);
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  background: none; border: none; font-family: var(--font-body); padding: 0;
  transition: color var(--ease); white-space: nowrap;
}
.ap2-state-tab:hover:not(.active) { color: rgba(255,255,255,0.6); }
.ap2-state-tab.active { color: #fff; }
.ap2-state-dot-ind {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  transition: background var(--ease), box-shadow var(--ease);
  background: rgba(255,255,255,0.2);
}
.ap2-state-tab.active .ap2-state-dot-ind { background: var(--C); box-shadow: 0 0 0 2px rgba(0,168,212,0.25); }

.ap2-config-head {
  background: var(--N-card); padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0;
}
.ap2-config-head-left { display: flex; align-items: flex-start; gap: 10px; flex: 1; min-width: 0; }
.ap2-config-head-icon { width: 18px; height: 18px; color: #fff; flex-shrink: 0; margin-top: 2px; }
.ap2-config-head-title { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 3px; }
.ap2-config-head-sub { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.4; }
.ap2-config-head-badge {
  background: var(--C); color: #fff; font-size: 13px; font-weight: 700;
  padding: 5px 9px; border-radius: var(--r-sm); text-align: center; line-height: 1.4;
  flex-shrink: 0; white-space: nowrap;
}

.ap2-config-body { padding: 18px 20px 0; flex: 1; display: flex; flex-direction: column; }
.ap2-form-step-label {
  font-size: 13px; font-weight: 600; color: #9CA3AF;
  text-transform: uppercase; letter-spacing: 0.7px;
  margin-bottom: 7px; display: flex; align-items: center; gap: 5px;
}
.ap2-form-step-label .ap2-step-n { font-weight: 700; color: var(--N); }
.ap2-form-group { margin-bottom: 13px; }

.ap2-form-select, .ap2-form-input-wrap input {
  width: 100%; height: 44px;
  border: 1.5px solid #D1D5DB; border-radius: var(--r-md);
  padding: 0 14px; font-family: var(--font-body); font-size: 17px;
  color: #374151; background: #fff; appearance: none; -webkit-appearance: none;
  outline: none; transition: border-color var(--ease), box-shadow var(--ease);
}
.ap2-form-select:focus, .ap2-form-input-wrap input:focus {
  border-color: var(--C); box-shadow: 0 0 0 3px rgba(0,168,212,0.12);
}
.ap2-form-select:disabled, .ap2-form-input-wrap input:disabled {
  background: #F9FAFB; color: #C0C6D0; cursor: not-allowed; border-color: #E5E7EB;
}
.ap2-form-select::placeholder, .ap2-form-input-wrap input::placeholder { color: #B0B7C3; }
.ap2-select-wrap { position: relative; }
.ap2-select-wrap::after {
  content: ''; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-left: 5px solid transparent;
  border-right: 5px solid transparent; border-top: 5px solid #9CA3AF; pointer-events: none;
}
.ap2-form-input-wrap { position: relative; }
.ap2-form-input-wrap input { padding-right: 44px; }
.ap2-input-icon-right {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: #C0C6D0; display: flex; align-items: center;
}
.ap2-input-icon-right svg { width: 18px; height: 18px; }

.ap2-autocomplete-dropdown {
  position: absolute; top: calc(100% + 3px); left: 0; right: 0;
  background: #fff; border: 1.5px solid var(--C);
  border-radius: var(--r-md); box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 50; display: none;
  max-height: 240px !important; overflow-y: auto !important; overflow-x: hidden !important;
  /* Always-visible scrollbar (macOS/iOS hide them by default) */
  scrollbar-width: thin;
  scrollbar-color: #C7CCD3 transparent;
  overscroll-behavior: contain;
}
.ap2-autocomplete-dropdown::-webkit-scrollbar { width: 8px; }
.ap2-autocomplete-dropdown::-webkit-scrollbar-track { background: transparent; }
.ap2-autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: #C7CCD3; border-radius: 4px; border: 2px solid #fff;
}
.ap2-autocomplete-dropdown::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }
.ap2-autocomplete-dropdown.open { display: block; }
.ac-item {
  padding: 10px 14px; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; gap: 10px; transition: background var(--ease);
}
.ac-item:hover { background: #F0F9FC; }
.ac-ref { font-family: var(--font-mono); font-size: 14px; color: var(--C); background: #E8F7FC; padding: 1px 6px; border-radius: 3px; }
.ac-spinner { padding: 10px 14px; font-size: 16px; color: #9CA3AF; display: flex; align-items: center; gap: 8px; }
.spin { width: 13px; height: 13px; border: 2px solid #E0E3E8; border-top-color: var(--C); border-radius: 50%; animation: spin .7s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.ap2-btn-cta {
  width: 100%; height: 48px; background: var(--C); color: #fff; border: none;
  border-radius: var(--r-md); font-family: var(--font-body); font-size: 18px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 2px; transition: background var(--ease), transform var(--ease), opacity var(--ease);
}
.ap2-btn-cta svg { width: 18px; height: 18px; }
.ap2-btn-cta:hover:not(:disabled) { background: #0090B8; transform: translateY(-1px); }
.ap2-btn-cta:disabled { background: #A8D8EC; opacity: .7; cursor: not-allowed; }
.ap2-config-hint {
  font-size: 14px; color: #9CA3AF; display: flex; align-items: center; gap: 5px;
  margin-top: 10px; font-style: italic;
}
.ap2-config-hint svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .55; }

.ap2-flip-row {
  border-top: none; padding: 22px 20px;
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  background: linear-gradient(135deg, #0090B8 0%, var(--C) 100%);
  transition: filter var(--ease), transform var(--ease);
  text-decoration: none; border: none; width: 100%; font-family: var(--font-body);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.ap2-flip-row:hover { filter: brightness(1.08); }
.ap2-flip-row-icon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: white;
  border: none;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 26px; transition: background var(--ease), transform var(--ease);
  color: var(--C);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.ap2-flip-row:hover .ap2-flip-row-icon { background: #F0F9FC; transform: scale(1.05); }
.ap2-flip-row-text { flex: 1; text-align: left; }
.ap2-flip-row-title { font-size: 17px; font-weight: 700; color: #fff; display: block; }
.ap2-flip-row-sub { font-size: 14px; color: rgba(255,255,255,0.75); display: block; margin-top: 3px; }
.ap2-flip-row-action { color: rgba(255,255,255,0.8); display: flex; align-items: center; flex-shrink: 0; transition: transform var(--ease); }
.ap2-flip-row:hover .ap2-flip-row-action { transform: rotate(180deg); }
.ap2-flip-row-action svg { width: 22px; height: 22px; }

/* Config back */
.ap2-config-back {
  background: var(--N); border-radius: var(--r-xl); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 20px rgba(0,0,0,0.18); min-height: 540px;
}
.ap2-config-back .ap2-config-state-bar { background: #1A2A4A; border-bottom: 1px solid rgba(255,255,255,0.07); }
.ap2-config-back .ap2-state-tab { color: rgba(255,255,255,0.35); }
.ap2-config-back .ap2-state-tab:hover:not(.active) { color: rgba(255,255,255,0.6); }
.ap2-config-back .ap2-state-tab.active { color: #fff; }
.ap2-config-back .ap2-state-tab.active .ap2-state-dot-ind { background: var(--C); box-shadow: 0 0 0 2px rgba(0,168,212,0.25); }

.ap2-config-back-body { padding: 32px 20px 0; flex: 1; display: flex; flex-direction: column; }
.ap2-guide-badge-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; width: fit-content;
}
.ap2-guide-badge-pill svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--C); }
.ap2-guide-title-back { font-family: var(--font-title); font-size: 28px; color: #fff; line-height: 1.2; margin-bottom: 8px; }
.ap2-guide-title-back .ap2-accent-cyan { color: var(--C); font-style: italic; }
.ap2-guide-sub-back { font-size: 15px; color: rgba(255,255,255,0.45); line-height: 1.5; margin-bottom: 16px; }
.ap2-guide-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.ap2-gchip {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65); font-size: 14px; padding: 5px 11px;
  border-radius: 20px; font-weight: 500;
}
.ap2-gchip svg { width: 11px; height: 11px; color: rgba(255,255,255,0.4); }
.ap2-gchip.ap2-check svg { color: var(--C); }
.ap2-btn-guide-launch {
  width: 100%;
  height: 44px; padding: 0 20px;
  background: var(--C); color: #fff; border: none;
  border-radius: 10px; font-family: var(--font-body); font-size: 17px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--ease), transform var(--ease); margin-top: 16px;
  box-shadow: 0 4px 14px rgba(0,168,212,.35);
}
.ap2-btn-guide-launch:hover { background: #0090B8; transform: translateY(-1px); }
.ap2-flip-back-row {
  border-top: 1px solid rgba(255,255,255,0.07); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  background: rgba(0,0,0,0.2); transition: background var(--ease); border: none;
  width: 100%; font-family: var(--font-body);
}
.ap2-flip-back-row:hover { background: rgba(0,0,0,0.35); }
.ap2-flip-back-arrow {
  width: 38px; height: 38px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: rgba(255,255,255,0.5); font-size: 22px;
}
.ap2-flip-back-text-wrap { flex: 1; text-align: left; }
.ap2-flip-back-label { font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.7); display: block; }
.ap2-flip-back-sublbl { font-size: 14px; color: rgba(255,255,255,0.3); display: block; margin-top: 2px; }

/* ── HERO BANNER — layout fidèle à la capture ── */
.ap2-hero-banner {
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  /* 2 colonnes : texte | image blanche */
  display: grid;
  grid-template-columns: 1fr 280px;
  min-height: 380px;
  background: radial-gradient(ellipse at 15% 60%, #E8255A 0%, #A01040 40%, #6B0028 100%);
}
/* Lueur rose derrière le titre */
.ap2-hero-banner::before {
  content: ''; position: absolute; top: -40px; left: -20px;
  width: 50%; height: 140%;
  background: radial-gradient(ellipse, rgba(255,60,100,0.18) 0%, transparent 70%);
  pointer-events: none;
}
/* Étoiles décoratives (angle bas droit) */
.ap2-hero-banner::after {
  content: '✦  ✦✦';
  position: absolute; bottom: 16px; right: 16px;
  font-size: 19px; color: rgba(255,255,255,0.15);
  letter-spacing: 6px; pointer-events: none;
}

/* Contenu texte — tout groupé en haut, btns collés sous le texte */
.ap2-hero-content {
  padding: 28px 16px 24px 32px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2; min-width: 0; overflow: hidden; height: 100%;
  gap: 0;
}
.ap2-hero-top { display: flex; flex-direction: column; min-width: 0; }
.ap2-hero-btns-wrap { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; margin-top: 20px; }

/* Badge pill style capture */
.ap2-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 700;
  padding: 5px 13px; border-radius: 20px; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 0.6px; width: fit-content; flex-shrink: 0;
}
/* Grand titre serif — plus grand, plus impactant */
.ap2-hero-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 400;
  color: #fff; line-height: 1.1; margin-bottom: 10px;
}
.ap2-hero-title .ap2-accent { color: #F0A0C0; font-style: italic; }
.ap2-hero-sub { font-size: 15px; color: rgba(255,255,255,0.58); line-height: 1.55; }

/* Boutons */
.ap2-hero-btns { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.ap2-btn-primary {
  height: 42px; padding: 0 20px; background: #fff; color: var(--N); border: none;
  border-radius: var(--r-md); font-family: var(--font-body); font-size: 16px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 7px;
  transition: background var(--ease), transform var(--ease); white-space: nowrap; flex-shrink: 0;
}
.ap2-btn-primary:hover { background: #F0F0F0; transform: translateY(-1px); }
.ap2-btn-outline {
  height: 42px; padding: 0 20px;
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; gap: 7px;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
  white-space: nowrap; flex-shrink: 0;
}
.ap2-btn-outline:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.55); transform: translateY(-1px); }

/* Countdown pill sombre — comme la capture */
.ap2-hero-countdown {
  display: inline-flex; align-items: center; gap: 3px; flex-wrap: nowrap;
  background: rgba(0,0,0,0.55); border: none;
  padding: 7px 14px; border-radius: 20px;
  font-size: 14px; color: rgba(255,255,255,0.75);
  width: fit-content; max-width: 100%; flex-shrink: 0;
}
.ap2-countdown-sep { color: rgba(255,255,255,0.4); margin: 0 4px; }
.ap2-countdown-val { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: #fff; }
.ap2-countdown-unit { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-left: 1px; }
.ap2-countdown-date { font-weight: 600; color: #fff; white-space: nowrap; margin-right: 3px; }

/* Chevrons navigation (cachés dans ce layout, navigués via subbands) */
.hero-arrows-right { display: none; }
.arrow-chevron {
  width: 22px; height: 22px; border: none; background: none;
  color: rgba(255,255,255,0.4); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1; transition: color var(--ease); padding: 0;
}
.arrow-chevron:hover { color: rgba(255,255,255,0.85); }

/* Zone image — grande, fond blanc, pleine hauteur */
.ap2-hero-image-zone {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px 20px 32px 12px;
  background: transparent; overflow: visible;
}
/* Boîte blanche carrée — aspect-ratio:1 force le carré */
.ap2-product-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  border: none; border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: #fff; position: relative;
  transition: transform .25s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  flex-shrink: 0;
}
.ap2-product-img-box:hover { transform: scale(1.02); }
.ap2-product-img-placeholder { color: #D1D5DB; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ap2-product-img-placeholder svg { width: 36px; height: 36px; }
.ap2-product-img-placeholder span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #D1D5DB; }
.ap2-badge-pack {
  position: absolute; top: -10px; right: -10px;
  background: var(--M); color: #fff; font-size: 14px; font-weight: 700;
  padding: 5px 10px; border-radius: var(--r-sm); white-space: nowrap;
}
.ap2-product-price-pill {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--N); font-size: 18px; font-weight: 700;
  padding: 7px 16px; border-radius: 20px; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  display: flex; align-items: baseline; gap: 4px;
}
.ap2-product-price-pill .ap2-ttc { font-size: 12px; font-weight: 500; color: #9CA3AF; text-transform: uppercase; }

/* Subbands */
.ap2-subbands-slot {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex-shrink: 0; width: 100%;
}
.ap2-subband {
  padding: 13px 16px; cursor: pointer; display: flex; align-items: center; gap: 11px;
  border: none; background: #fff; text-align: left; font-family: var(--font-body);
  border-top: 3px solid transparent; border-radius: var(--r-md);
  transition: background var(--ease), border-color var(--ease); position: relative;
}
.ap2-subband:hover:not(.active) { background: #F8F9FA; }
.ap2-subband.active { border-top-color: var(--slide-color, var(--M)); background: var(--slide-color, var(--M)); }
.ap2-subband-icon {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; background: rgba(0,0,0,0.05); transition: background var(--ease);
}
.ap2-subband.active .ap2-subband-icon { background: rgba(255,255,255,0.15); }
.ap2-subband-text { flex: 1; min-width: 0; }
.ap2-subband-name {
  font-size: 16px; font-weight: 600; color: var(--C);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--ease);
}
.ap2-subband.active .ap2-subband-name { color: #fff; }
.ap2-subband-desc { font-size: 14px; color: #6B7280; margin-top: 1px; transition: color var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap2-subband.active .ap2-subband-desc { color: rgba(255,255,255,0.75); }

/* ============================================================
   SECTION : COMMANDER RAPIDEMENT
   ============================================================ */
.ap2-section-cr {
  padding: 20px 48px;
}
.ap2-cr-card {
  max-width: 1600px; margin: 0 auto;
  background: white; border-radius: var(--r-xl);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  overflow: hidden;
}
.ap2-cr-inner { padding: 20px 24px; }
.ap2-cr-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ap2-cr-title {
  font-size: 19px; font-weight: 700; color: var(--N);
  display: flex; align-items: center; gap: 8px;
}
.ap2-cr-title .ap2-icon { color: var(--C); }
.ap2-cr-subtitle { font-size: 14px; color: var(--muted); margin-top: 3px; }
.ap2-cr-subtitle span { color: var(--C); font-weight: 600; cursor: pointer; }
.ap2-cr-clear { font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.ap2-cr-clear:hover { color: var(--N); }

.ap2-cr-cards { display: flex; gap: 10px; }
.ap2-cr-product-card {
  flex: 1; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 12px 10px; display: flex; align-items: center; gap: 10px;
  cursor: pointer; transition: box-shadow .15s, border-color .15s; position: relative;
}
.ap2-cr-product-card:hover { box-shadow: 0 4px 16px rgba(0,168,212,0.15); border-color: var(--C); }
.ap2-cr-prod-img {
  width: 40px; height: 40px; background: var(--grey);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0; border: 1px solid var(--border);
}
.ap2-cr-prod-info { flex: 1; min-width: 0; }
.ap2-cr-prod-ref { font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap2-cr-prod-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px; margin-bottom: 3px;
}
.ap2-cr-prod-badge.ap2-compat { background: var(--green-l); color: var(--green); }
.ap2-cr-prod-badge.ap2-oem { background: var(--C-l); color: var(--C-d); }
.ap2-cr-prod-badge.ap2-rebuilt { background: var(--purple-l); color: var(--purple); }
.ap2-cr-prod-name { font-size: 14px; font-weight: 600; color: var(--N); line-height: 1.3; }
.ap2-cr-prod-price { font-size: 16px; font-weight: 700; color: var(--N); }
.ap2-cr-prod-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.ap2-cr-add-btn {
  width: 30px; height: 30px; background: var(--C); border: none;
  border-radius: 8px; color: white; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background var(--ease), transform var(--ease);
}
.ap2-cr-add-btn:hover { background: var(--C-d); transform: scale(1.1); }

.ap2-cr-rgpd {
  margin-top: 12px; padding: 6px 10px;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted);
}
.ap2-cr-rgpd::before { content: '●'; color: var(--green); font-size: 11px; }
.ap2-cr-rgpd a { color: var(--C); text-decoration: underline; cursor: pointer; }

.ap2-cr-nudge {
  padding: 14px 24px; margin: 0 0 0 0;
  background: linear-gradient(135deg, var(--green-l), #D1FAE5);
  border-top: 1px solid rgba(26,138,74,0.15);
  display: flex; align-items: center; gap: 12px;
}
.ap2-cr-nudge-icon { font-size: 26px; flex-shrink: 0; }
.ap2-cr-nudge-text { flex: 1; }
.ap2-cr-nudge-title { font-size: 16px; font-weight: 700; color: var(--green); margin-bottom: 2px; }
.ap2-cr-nudge-sub { font-size: 14px; color: #166534; line-height: 1.4; }
.ap2-cr-nudge-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ap2-cr-nudge-cta {
  background: var(--green); color: white; border: none; border-radius: 8px;
  padding: 8px 14px; font-size: 14px; font-weight: 700;
  font-family: var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background var(--ease);
}
.ap2-cr-nudge-cta:hover { background: #157A40; }
.ap2-cr-nudge-link { font-size: 14px; color: var(--green); text-decoration: underline; cursor: pointer; white-space: nowrap; }

/* ============================================================
   MODALS
   ============================================================ */
.ap2-modal-overlay {
  position: fixed; inset: 0; background: rgba(15,26,46,0.78);
  backdrop-filter: blur(4px); z-index: 600;
  top: 0; left: 0; width: 100vw; height: 100vh;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.ap2-modal-overlay.open {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background: rgba(0,0,0,0.5) !important;
  align-items: center !important;
  justify-content: center !important;
}
.ap2-modal-box {
  background: #fff; border-radius: var(--r-xl);
  width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.ap2-modal-hdr {
  padding: 18px 22px 14px; border-bottom: 1px solid #E8EBF0;
  display: flex; align-items: center; gap: 12px;
}
.ap2-modal-hdr h2,
.ap2-modal-hdr-title { font-family: var(--font-title); font-size: 23px; color: var(--N); flex: 1; }
.ap2-modal-close-btn {
  width: 30px; height: 30px; border: 1px solid #E0E3E8; border-radius: 6px;
  background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #6B7280; font-size: 20px; transition: background var(--ease), color var(--ease);
}
.ap2-modal-close-btn:hover { background: #FEF2F2; color: #EF4444; }
.ap2-modal-prog { padding: 14px 22px 0; }
.ap2-prog-track { height: 4px; background: #E8EBF0; border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.ap2-prog-fill { height: 100%; background: var(--cmj); border-radius: 2px; transition: width .4s ease; }
.ap2-prog-labels { display: flex; justify-content: space-between; }
.ap2-prog-lbl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: #9CA3AF; transition: color var(--ease); }
.ap2-prog-lbl.done { color: var(--C); }
.ap2-prog-lbl.active { color: var(--N); }
.ap2-modal-bdy { padding: 20px 22px; }
.step-q, .ap2-step-q { font-size: 17px; font-weight: 600; color: var(--N); margin-bottom: 3px; }
.step-s, .ap2-step-s { font-size: 14px; color: #6B7280; margin-bottom: 14px; }
.choices-grid, .ap2-choices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 10px; }
.choices-grid-2, .ap2-choices-grid-2 { grid-template-columns: 1fr 1fr; }
.choices-grid-3, .ap2-choices-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.choice-btn, .ap2-choice-btn {
  padding: 13px 11px; border: 1.5px solid #E0E3E8; border-radius: var(--r-md);
  cursor: pointer; text-align: center; background: #fff; font-family: var(--font-body);
  transition: border-color var(--ease), background var(--ease);
}
.choice-btn:hover, .ap2-choice-btn:hover { border-color: var(--C); background: #F0F9FC; }
.choice-btn.sel, .ap2-choice-btn.sel { border-color: var(--C); background: #E8F7FC; }
.choice-btn .ci, .ap2-choice-btn .ap2-ci { display: flex; align-items: center; justify-content: center; margin-bottom: 8px; height: 48px; }
.choice-btn .ci img, .ap2-choice-btn .ap2-ci img { max-width: 100%; max-height: 48px; object-fit: contain; }
.choice-btn .ci svg, .ap2-choice-btn .ap2-ci svg { max-width: 100%; max-height: 48px; }
.choice-btn .cl, .ap2-choice-btn .ap2-cl { font-size: 16px; font-weight: 600; color: var(--N); display: block; line-height: 1.3; }
.choice-btn .ch, .ap2-choice-btn .ap2-ch { font-size: 14px; color: #6B7280; display: block; margin-top: 2px; line-height: 1.3; }
.ap2-modal-ftr {
  padding: 14px 22px 18px; border-top: 1px solid #E8EBF0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.ap2-modal-ftr-right {
  display: flex; align-items: center; gap: 10px;
}
.ap2-modal-count-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 600; color: var(--green);
  background: var(--green-l); border: 1px solid rgba(26,138,74,.2);
  padding: 5px 11px; border-radius: 20px; white-space: nowrap;
  transition: all .3s; cursor: pointer;
}
.ap2-modal-count-badge:hover {
  background: var(--green); color: white; border-color: var(--green);
  transform: scale(1.04);
}
.ap2-modal-count-badge:hover svg { color: white; }
.ap2-modal-count-badge svg { flex-shrink: 0; color: var(--green); transition: color .2s; }
.ap2-link-see-results { font-size: 14px; color: var(--muted); text-decoration: none; opacity: 0; pointer-events: none; transition: opacity var(--ease); cursor: pointer; }
.ap2-link-see-results.vis { opacity: 1; pointer-events: all; }
.ap2-link-see-results:hover { color: var(--N); text-decoration: underline; }
.ap2-btn-modal-next {
  height: 42px; padding: 0 20px; background: var(--C); color: #fff; border: none;
  border-radius: var(--r-md); font-family: var(--font-body); font-size: 17px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 7px;
  transition: background var(--ease), opacity var(--ease);
}
.ap2-btn-modal-next:disabled { background: #A8D8EC; cursor: not-allowed; }
.ap2-btn-modal-next:hover:not(:disabled) { background: #0090B8; }

/* Modal inscription */
.ap2-modal-inscription .ap2-modal-header {
  background: linear-gradient(135deg, var(--N), #1A2A4A);
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
}
.ap2-modal-inscription .ap2-modal-header-title { font-family: var(--font-title); font-size: 23px; color: white; }
.ap2-modal-inscription .ap2-modal-header-title span { color: var(--C); }
.ap2-modal-inscription .ap2-modal-close { background: rgba(255,255,255,.1); border: none; color: white; width: 28px; height: 28px; border-radius: 8px; font-size: 17px; cursor: pointer; }
.ap2-modal-inscription .ap2-modal-body { padding: 24px; }
.ap2-form-label { font-size: 14px; font-weight: 600; color: var(--N); margin-bottom: 5px; display: block; }
.ap2-form-input {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--border);
  border-radius: 9px; font-size: 16px; font-family: var(--font-body);
  outline: none; margin-bottom: 14px; color: var(--N); background: var(--grey);
}
.ap2-form-input:focus { border-color: var(--C); background: white; }
.ap2-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ap2-form-submit {
  width: 100%; background: var(--C); color: white; border: none;
  border-radius: 10px; padding: 12px; font-size: 17px; font-weight: 700;
  font-family: var(--font-body); cursor: pointer; margin-top: 4px; transition: background .15s;
}
.ap2-form-submit:hover { background: var(--C-d); }
.ap2-form-legal { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.5; }
.ap2-form-legal a { color: var(--C); }

/* Res cards */
.res-card {
  border: 1.5px solid #E0E3E8; border-radius: var(--r-md);
  padding: 14px; display: flex; align-items: center; gap: 14px;
  margin-bottom: 9px; transition: border-color .15s, box-shadow .15s, transform .15s;
  cursor: pointer; position: relative;
}
.res-card::after {
  content: '→';
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%) translateX(4px);
  color: var(--C); font-size: 19px; font-weight: 700;
  opacity: 0; transition: opacity .15s, transform .15s;
}
.res-card:hover { border-color: var(--C); box-shadow: 0 4px 16px rgba(0,168,212,.1); transform: translateY(-1px); }
.res-card:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.res-card:hover .res-price { padding-right: 20px; transition: padding .15s; }
.res-score { text-align: center; flex-shrink: 0; width: 48px; }
.res-score-n { font-size: 23px; font-weight: 700; color: #1A8A4A; display: block; line-height: 1; }
.res-score-l { font-size: 11px; color: #9CA3AF; text-transform: uppercase; letter-spacing: .5px; }
.res-info { flex: 1; }
.res-name { font-size: 17px; font-weight: 600; color: var(--N); }
.res-ref { font-family: var(--font-mono); font-size: 14px; color: #6B7280; margin-top: 2px; }
.res-badge-top { display: inline-flex; align-items: center; gap: 3px; background: #FFF7E0; border: 1px solid #F5C800; color: #92400E; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; margin-top: 3px; }
.res-price { font-size: 18px; font-weight: 700; color: var(--N); flex-shrink: 0; display: inline-flex; align-items: baseline; gap: 4px; }
.res-price .res-price-tax { font-size: 10px; font-weight: 600; color: #6B7280; letter-spacing: .02em; }
.btn-catalog-full {
  width: 100%; height: 42px; background: var(--N); color: #fff; border: none;
  border-radius: var(--r-md); font-family: var(--font-body); font-size: 16px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 14px; transition: background var(--ease);
}
.btn-catalog-full:hover { background: #2D2D4E; }

/* ============================================================
   SECTION RÉASSURANCE
   ============================================================ */
.ap2-section-reassurance {
  padding: 20px 48px;
}
.ap2-reassurance-card {
  max-width: 1600px; margin: 0 auto;
  display: flex;
  align-items: stretch;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: white;
}

/* ── Bloc SAV cyan — 40% ── */
.ap2-reas-sav {
  background: linear-gradient(140deg, #00BCD4 0%, #0090B8 100%);
  padding: 28px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 40%;
  flex-shrink: 0;
}
.ap2-reas-sav-flag {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.ap2-reas-sav-dispo {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.ap2-reas-sav-title {
  font-family: var(--font-title);
  font-size: 26px; font-weight: 400;
  color: #fff; line-height: 1.2;
  margin-bottom: 10px;
}
.ap2-reas-sav-sub {
  font-size: 14px; color: rgba(255,255,255,0.72);
  line-height: 1.55; margin-bottom: 16px; flex: 1;
}
.ap2-reas-sav-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff; font-size: 14px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
  margin-bottom: 12px; width: fit-content;
}
.ap2-reas-sav-link {
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.85);
  cursor: pointer; text-decoration: none;
  transition: color var(--ease);
}
.ap2-reas-sav-link:hover { color: #fff; }

/* body wrapper desktop */
.ap2-reas-item-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
/* pill droite visible uniquement mobile */
.ap2-reas-item-right { display: none; }
.ap2-reas-sep {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── 3 items droite ── */
.ap2-reas-items {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.ap2-reas-item {
  flex: 1;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;  /* centrage horizontal du contenu */
  text-align: center;   /* texte centré */
  gap: 0;
  border-left: 1px solid var(--border);
}
.ap2-reas-item:first-child { border-left: none; }
.ap2-reas-item-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EFF6FF, #E0F2FE);
  border: 1px solid rgba(0,168,212,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  color: var(--C);
}
.ap2-reas-item-title {
  font-size: 18px; font-weight: 700;
  color: var(--N); line-height: 1.25;
  margin-bottom: 8px;
}
.ap2-reas-item-sub {
  font-size: 14px; color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 0;
}
.ap2-reas-item-pill {
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
  width: fit-content;
  flex-shrink: 0;
  margin-top: 12px;
}
.ap2-reas-item-pill.ap2-green {
  background: var(--green-l); color: var(--green);
  border: 1px solid rgba(26,138,74,0.2);
}
.ap2-reas-item-pill.ap2-blue {
  background: var(--C-l); color: var(--C-d);
  border: 1px solid rgba(0,168,212,0.2);
}

/* ── Mobile : liste compacte ── */
@media (max-width: 860px) {
  .ap2-section-reassurance { padding: 0 16px 24px; }
  .ap2-reassurance-card { flex-direction: column; }

  /* Bloc SAV — cyan conservé, compact en une ligne */
  .ap2-reas-sav {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(140deg, #00BCD4 0%, #0090B8 100%); /* cyan conservé */
    align-items: center;
  }
  .ap2-reas-sav-flag {
    margin-bottom: 0; width: 32px; height: 32px; font-size: 14px; flex-shrink: 0;
  }
  .ap2-reas-sav-dispo { display: none; }
  .ap2-reas-sav-title {
    font-size: 16px; font-weight: 700; margin-bottom: 0;
    flex: 1; color: #fff; font-family: var(--font-body);
  }
  .ap2-reas-sav-sub { display: none; }
  .ap2-reas-sav-badge {
    font-size: 12px; padding: 4px 10px;
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.28);
    color: #fff; margin-bottom: 0; white-space: nowrap; flex-shrink: 0;
  }
  .ap2-reas-sav-link { display: none; }

  .ap2-reas-sep { display: none; }

  /* Items — ligne compacte, pas d'espace blanc */
  .ap2-reas-items { flex-direction: column; }
  .ap2-reas-item {
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    border-left: none;
    border-top: 1px solid var(--border);
    text-align: left;        /* reset du centrage desktop */
  }
  .ap2-reas-item-icon {
    width: 36px; height: 36px; font-size: 22px;
    border-radius: 10px; margin-bottom: 0; flex-shrink: 0;
  }
  /* body prend tout l'espace central */
  .ap2-reas-item-body {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
    align-items: flex-start; /* reset du align-items:center desktop */
  }
  .ap2-reas-item-title { font-size: 16px; font-weight: 700; margin-bottom: 0; }
  .ap2-reas-item-sub {
    font-size: 14px; color: var(--muted);
    flex: none;
    margin-top: 0; margin-bottom: 0;
  }
  /* pill cachée dans le body en mobile, affichée à droite via reas-item-right */
  .ap2-reas-item .ap2-reas-item-body .ap2-reas-item-pill { display: none; }
  .ap2-reas-item-right {
    display: flex; align-items: center; flex-shrink: 0;
  }
  .ap2-reas-item-right .ap2-reas-item-pill {
    display: inline-flex;
    margin-top: 0;
    font-size: 12px; padding: 3px 8px;
  }
}

/* ============================================================
   SECTION BONS PLANS DU MOMENT
   ============================================================ */
.ap2-section-bons-plans {
  max-width: 1600px; margin: 0 auto;
  padding: 20px 48px;
}

/* bp-wrap = même comportement que .ap2-cr-card / .ap2-reassurance-card */
.ap2-bp-wrap {
  max-width: 1600px; margin: 0 auto;
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px 24px 20px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.ap2-bp-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.ap2-bp-header-left { display: flex; align-items: center; gap: 8px; }
.ap2-bp-heart { font-size: 19px; color: var(--M); }
.ap2-bp-title { font-family: var(--font-title); font-size: 26px; font-weight: 400; color: var(--N); }
.ap2-bp-voir-tout { font-size: 16px; font-weight: 600; color: var(--C); cursor: pointer; text-decoration: none; white-space: nowrap; transition: opacity var(--ease); }
.ap2-bp-voir-tout:hover { opacity: .75; }

/* 4 colonnes — stretch = toutes les cartes à la même hauteur */
.ap2-bp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch; /* ← clé : toutes les cartes à la même hauteur */
}

/* Carte standard */
.ap2-bp-card {
  background: var(--grey); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.ap2-bp-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09); transform: translateY(-2px); }

.ap2-bp-card-img {
  position: relative; padding: 24px 16px 34px;
  display: flex; align-items: center; justify-content: center;
  min-height: 130px; flex-shrink: 0; border-radius: 12px 12px 0 0;
}
.ap2-bp-img-placeholder { font-size: 60px; line-height: 1; }
.ap2-bp-badge-remise {
  position: absolute; top: 10px; left: 10px;
  background: var(--M); color: white;
  font-size: 14px; font-weight: 800; padding: 3px 8px; border-radius: 6px;
}
.ap2-bp-badge-type {
  position: absolute; top: 10px; right: 10px;
  font-size: 12px; font-weight: 700; padding: 3px 9px;
  border-radius: 20px; white-space: nowrap;
}
.ap2-bp-badge-type.ap2-twin    { background: #DBEAFE; color: #1E40AF; }
.ap2-bp-badge-type.ap2-rebuilt { background: var(--purple-l); color: var(--purple); }
.ap2-bp-badge-type.ap2-pack    { background: #FFE4EE; color: #BE185D; }
.ap2-bp-badge-type.eco     { background: var(--green-l); color: var(--green); }
.ap2-bp-eco-pill {
  position: absolute; bottom: -1px; right: 12px;
  background: white; border: 1px solid var(--border);
  border-radius: 20px; font-size: 13px; font-weight: 700;
  color: var(--green); padding: 4px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

/* Corps — flex column pour pousser CTA + urgence en bas */
.ap2-bp-card-body {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column;
  gap: 10px; flex: 1;
  background: white;
}
.ap2-bp-brand { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ap2-bp-product-name { font-size: 16px; font-weight: 700; color: var(--N); line-height: 1.35; }
.ap2-bp-advantage {
  display: flex; align-items: flex-start; gap: 9px;
  border-radius: 10px; padding: 9px 11px;
  font-size: 14px; line-height: 1.4;
}
.ap2-bp-advantage strong { display: block; font-size: 14px; margin-bottom: 1px; }
.ap2-bp-advantage span { color: var(--muted); font-size: 14px; }
.ap2-bp-advantage.ap2-twin    { background: #EFF6FF; color: #1E40AF; }
.ap2-bp-advantage.ap2-rebuilt { background: var(--purple-l); color: var(--purple); }
.ap2-bp-advantage.ap2-pack    { background: #FFF0F5; color: #BE185D; }
.ap2-bp-advantage.eco     { background: var(--green-l); color: var(--green); }
.ap2-bp-adv-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }

.ap2-bp-price-row {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  margin-top: auto; /* ← pousse prix vers le bas */
}
.ap2-bp-price { font-size: 24px; font-weight: 800; color: var(--N); }
.ap2-bp-old-price { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.ap2-bp-saving { font-size: 14px; font-weight: 700; color: white; background: var(--M); padding: 2px 7px; border-radius: 5px; }

.ap2-bp-cta {
  width: 100%; height: 42px; background: var(--C); color: white; border: none;
  border-radius: 10px; font-family: var(--font-body); font-size: 16px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background var(--ease), transform var(--ease);
}
.ap2-bp-cta:hover { background: var(--C-d); transform: translateY(-1px); }

.ap2-bp-urgency {
  font-size: 14px; display: flex; align-items: center; gap: 5px;
  padding: 6px 10px; border-radius: 8px; font-weight: 500;
}
.ap2-bp-urgency.ap2-timer { background: #FFF7ED; color: #C2410C; }
.ap2-bp-urgency.ap2-stock { background: #FFF1F2; color: #BE123C; }
.ap2-bp-urgency-icon { font-size: 14px; flex-shrink: 0; }
.ap2-bp-timer { font-family: var(--font-mono); font-weight: 700; }

/* ── Carte Prévoyez & Économisez — bordure dégradé CMJ ── */
.ap2-bp-card-pe {
  background: linear-gradient(160deg, #0F1C2E 0%, #1A2E50 100%);
  border: none;
  position: relative;
}
.ap2-bp-card-pe::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(135deg, #00A8D4, #E8155A, #F5C800);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.ap2-bp-card-pe:hover { box-shadow: 0 8px 32px rgba(0,0,0,.22); }
.ap2-bp-pe-header {
  padding: 20px 18px 0;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.ap2-bp-pe-icon-wrap {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(0,168,212,.15); border: 1.5px solid rgba(0,168,212,.3);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.ap2-bp-pe-badge {
  background: var(--J); color: var(--N);
  font-size: 11px; font-weight: 800; padding: 3px 9px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: .04em;
}
.ap2-bp-pe-body { padding: 12px 18px 18px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.ap2-bp-pe-title { font-family: var(--font-title); font-size: 25px; color: white; line-height: 1.2; }
.ap2-bp-pe-sub { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.55; }
.ap2-bp-pe-benefits { display: flex; flex-direction: column; gap: 6px; }
.ap2-bp-pe-benefit {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.4;
}
.ap2-bp-pe-benefit strong { color: white; }
.ap2-bp-pe-check {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(0,168,212,.2); color: var(--C);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.bp-pe-divider {
  height: 1px; background: rgba(255,255,255,.07); margin: 2px 0;
}
.ap2-bp-pe-freq-label {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .08em;
}
.ap2-bp-pe-freq-btns { display: flex; gap: 6px; }
.ap2-bp-pe-freq {
  flex: 1; height: 34px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.55);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all var(--ease);
}
.ap2-bp-pe-freq:hover { border-color: var(--C); color: white; }
.ap2-bp-pe-freq.active { background: var(--C); border-color: var(--C); color: white; }
.ap2-bp-pe-cta {
  width: 100%; height: 44px; background: var(--C); color: white; border: none;
  border-radius: 10px; font-family: var(--font-body); font-size: 16px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--ease), transform var(--ease);
  margin-top: auto;
}
.ap2-bp-pe-cta:hover { background: #0090B8; transform: translateY(-1px); }
.ap2-bp-pe-note { font-size: 12px; color: rgba(255,255,255,.25); text-align: center; line-height: 1.5; }

.ap2-bp-scroll-hint { display: none; text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; }

@media (max-width: 860px) {
  .ap2-section-bons-plans { padding: 16px 0 24px; }
  .ap2-bp-wrap { border-radius: 0; border-left: none; border-right: none; padding: 16px; }
  .ap2-bp-header { margin-bottom: 14px; }
  .ap2-bp-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 12px; padding: 0 0 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ap2-bp-grid::-webkit-scrollbar { display: none; }
  .ap2-bp-card { flex-shrink: 0; width: calc(85vw - 32px); max-width: 300px; scroll-snap-align: start; }
  .ap2-bp-scroll-hint { display: block; padding: 0 16px; }
}

/* ============================================================
   SECTION NOS GAMMES
   ============================================================ */
.ap2-section-gammes {
  padding: 20px 48px;
}
.ap2-gammes-wrap {
  max-width: 1600px; margin: 0 auto;
  background: white; border-radius: var(--r-xl);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 28px 28px 32px;
}
.ap2-gammes-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.ap2-gammes-title {
  font-family: var(--font-title); font-size: 28px; font-weight: 400;
  color: var(--N);
}
.ap2-gammes-coming {
  display: flex; align-items: center; gap: 8px;
}
.ap2-gammes-coming-badge {
  background: var(--C-l); color: var(--C-d);
  font-size: 14px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  border: 1px solid rgba(0,168,212,.2);
  white-space: nowrap;
}
.ap2-gammes-coming-label {
  font-size: 14px; color: var(--muted); font-style: italic;
}

/* Grille 3 cartes desktop */
.ap2-gammes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Carte gamme */
.ap2-gamme-card {
  background: linear-gradient(160deg, #0D1F35 0%, #0A2540 100%);
  border-radius: 14px;
  padding: 26px 24px 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 200px;
  position: relative; overflow: hidden;
  text-decoration: none; cursor: pointer;
  transition: transform .22s, box-shadow .22s;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
  border-bottom: 3px solid var(--card-accent, var(--C));
}
.ap2-gamme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.28);
}

/* Image produit fantôme */
.ap2-gamme-bg-img {
  position: absolute; bottom: 16px; right: 20px;
  width: 130px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  opacity: 1;
  transition: opacity .22s, transform .22s, filter .22s;
  pointer-events: none;
}
.ap2-gamme-card:hover .ap2-gamme-bg-img {
  opacity: 1; transform: scale(1.06) rotate(-2deg);
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255,255,255,.6));
}
.ap2-gamme-bg-img svg {
  width: 100%; height: 100%;
  filter: brightness(0) invert(1);
}

.ap2-gamme-content { position: relative; z-index: 1; }
.ap2-gamme-name {
  font-size: 24px; font-weight: 700; color: #fff;
  margin-bottom: 6px; line-height: 1.2;
}
.ap2-gamme-count {
  font-size: 16px; color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.ap2-gamme-count strong {
  color: rgba(255,255,255,.85); font-weight: 700;
  font-size: 17px; margin-right: 2px;
}
.ap2-gamme-link {
  font-size: 16px; font-weight: 600; color: var(--card-accent, var(--C));
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap .15s;
}
.ap2-gamme-card:hover .ap2-gamme-link { gap: 9px; }

/* ── Mobile layout A — liste verticale ── */
.ap2-gammes-grid-mobile { display: none; }
.ap2-gamme-row {
  display: flex; align-items: center; gap: 14px;
  background: #0D1F35;
  border-radius: 12px; padding: 16px 18px;
  text-decoration: none; cursor: pointer;
  transition: background .15s;
  margin-bottom: 10px;
}
.ap2-gamme-row:last-child { margin-bottom: 0; }
.ap2-gamme-row:hover { background: #132840; }
.ap2-gamme-row-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(255,255,255,.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.ap2-gamme-row-info { flex: 1; }
.ap2-gamme-row-name { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.ap2-gamme-row-count { font-size: 14px; color: rgba(255,255,255,.45); }
.ap2-gamme-row-arrow { color: var(--C); font-size: 22px; flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .ap2-section-gammes { padding: 16px 16px 32px; }
  .ap2-gammes-wrap { padding: 20px 20px 24px; }
  /* Cacher grille desktop, afficher liste mobile */
  .ap2-gammes-grid { display: none; }
  .ap2-gammes-grid-mobile { display: block; }
  .ap2-gammes-coming { display: none; }
}

/* ============================================================
   SECTION GUIDES & EXPERTISE
   ============================================================ */
.ap2-section-guides {
  padding: 20px 48px 28px;
}
.ap2-guides-wrap {
  max-width: 1600px; margin: 0 auto;
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px 24px 28px;
}
.ap2-guides-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.ap2-guides-title {
  font-size: 26px; font-weight: 700; color: var(--N);
  font-family: var(--font-body);
}
.ap2-guides-voir-tout {
  font-size: 16px; font-weight: 600; color: var(--C);
  text-decoration: none; white-space: nowrap;
}
.ap2-guides-voir-tout:hover { text-decoration: underline; }

/* Grille : article principal | 3 mini */
.ap2-guides-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}

/* ── Article principal ── */
.ap2-guide-main {
  display: flex; flex-direction: column;
  text-decoration: none; cursor: pointer;
}
.ap2-guide-main:hover .ap2-guide-main-img { box-shadow: 0 10px 36px rgba(0,0,0,.25); }
.ap2-guide-main:hover .ap2-guide-main-read { text-decoration: underline; }

/* Image : card sombre pleine largeur */
.ap2-guide-main-img {
  position: relative;
  height: 260px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, #0A3550 0%, #052438 50%, #021520 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: box-shadow .2s;
  flex-shrink: 0;
}
.ap2-guide-img-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.2);
}
.ap2-guide-img-placeholder svg { opacity: .5; }
.ap2-guide-img-placeholder span {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,.2);
}
/* Overlay gradient + cat + titre en bas de l'image */
.ap2-guide-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 22px 22px;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, transparent 100%);
}
.ap2-guide-cat-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 11px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 10px;
}
.ap2-guide-img-title {
  font-size: 22px; font-weight: 700; color: #fff;
  line-height: 1.3; margin: 0;
}

/* Texte sous l'image — fond transparent, sur fond page */
.ap2-guide-main-text {
  padding: 14px 0 0;
}
.ap2-guide-excerpt {
  font-size: 16px; color: var(--muted); line-height: 1.65;
  margin-bottom: 14px;
}
.ap2-guide-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 14px; color: var(--muted);
}
.ap2-guide-main-read {
  margin-left: auto; font-size: 16px; font-weight: 600;
  color: var(--C); text-decoration: none; white-space: nowrap;
}

/* ── 3 mini articles ── */
.ap2-guides-side { display: flex; flex-direction: column; gap: 10px; }
.ap2-guide-mini {
  display: flex; align-items: flex-start; gap: 14px;
  background: white; border-radius: 14px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 15px 16px; text-decoration: none; cursor: pointer;
  transition: box-shadow .18s, transform .18s;
}
.ap2-guide-mini:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); transform: translateY(-1px); }
.guide-mini-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ap2-guide-mini-body { flex: 1; min-width: 0; }
.ap2-guide-mini-cat {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px;
  display: flex; align-items: center; gap: 4px;
}
.ap2-guide-mini-title {
  font-size: 16px; font-weight: 700; color: var(--N);
  line-height: 1.35; margin-bottom: 6px;
}
.ap2-guide-mini-meta { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ap2-guide-tag { font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 20px; }
.ap2-guide-tag.ap2-consulte { background: var(--C-l); color: var(--C-d); }
.ap2-guide-tag.ap2-nouveau   { background: var(--green-l); color: var(--green); }

@media (max-width: 860px) {
  .ap2-section-guides { padding: 12px 16px 20px; }
  .ap2-guides-wrap { padding: 16px 16px 20px; }
  .ap2-guides-layout { grid-template-columns: 1fr; }
  .ap2-guide-main-img { height: 200px; }
  .ap2-guide-img-title { font-size: 19px; }
}

/* ============================================================
   SECTION LES PLUS COMMANDÉS
   ============================================================ */
.ap2-section-topsales {
  max-width: 1600px; margin: 0 auto;
  padding: 20px 48px;
}
.ap2-topsales-wrap {
  max-width: 1600px; margin: 0 auto;
  background: white; border-radius: var(--r-xl);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 24px 24px 28px;
}
.ap2-topsales-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.ap2-topsales-title {
  font-family: var(--font-title); font-size: 26px; font-weight: 400; color: var(--N);
}
.ap2-topsales-voir-tout {
  font-size: 16px; font-weight: 600; color: var(--C);
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.ap2-topsales-voir-tout:hover { text-decoration: underline; }

/* Filtres pills */
.ap2-topsales-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.ap2-ts-filter {
  height: 34px; padding: 0 16px;
  border-radius: 20px; border: 1.5px solid var(--border);
  background: white; color: var(--N);
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  cursor: pointer; transition: all var(--ease); white-space: nowrap;
}
.ap2-ts-filter:hover { border-color: var(--C); color: var(--C); }
.ap2-ts-filter.active {
  background: var(--N); color: white; border-color: var(--N);
  font-weight: 600;
}

/* Grille 4 produits */
.ap2-topsales-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Carte produit */
.ap2-ts-card {
  border: 1.5px solid var(--border); border-radius: 14px;
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 0;
  transition: box-shadow .18s, border-color .18s, transform .18s;
  position: relative; background: white;
}
.ap2-ts-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  border-color: var(--C); transform: translateY(-2px);
}
/* Icône œil — visible uniquement au hover */
.ap2-ts-card-top {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  min-height: 26px; margin-bottom: 8px;
}
.ap2-ts-eye {
  margin-left: auto;
  background: var(--grey); border: 1px solid var(--border);
  border-radius: 8px; width: 28px; height: 28px;
  font-size: 17px; cursor: pointer;
  transition: background var(--ease), transform var(--ease);
  padding: 0; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.45;
}
.ap2-ts-card:hover .ap2-ts-eye { opacity: 1; background: var(--C-l); border-color: rgba(0,168,212,.3); }
.ap2-ts-eye:hover { background: var(--C) !important; transform: scale(1.1); }

/* Badges */
.ap2-ts-badge {
  font-size: 12px; font-weight: 700; padding: 3px 8px;
  border-radius: 20px; white-space: nowrap;
}
.ap2-ts-badge.ap2-compat { background: var(--green-l); color: var(--green); border: 1px solid rgba(26,138,74,.2); }
.ap2-ts-badge.ap2-oem    { background: var(--C-l); color: var(--C-d); border: 1px solid rgba(0,168,212,.2); }
.ap2-ts-badge.ap2-rebuilt{ background: var(--purple-l); color: var(--purple); }
.ap2-ts-badge.ap2-stock  { background: #FEF9C3; color: #854D0E; border: 1px solid #F59E0B; }

/* Badge remise */
.ap2-ts-remise {
  position: absolute; top: 42px; left: 14px;
  background: var(--M); color: white;
  font-size: 14px; font-weight: 800;
  padding: 2px 8px; border-radius: 6px;
}

/* Image */
.ap2-ts-img {
  font-size: 64px; text-align: center;
  padding: 12px 0 16px; line-height: 1;
}

/* Corps */
.ap2-ts-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ap2-ts-brand { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ap2-ts-name { font-size: 16px; font-weight: 700; color: var(--N); line-height: 1.3; }
.ap2-ts-prices { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.ap2-ts-price { font-size: 24px; font-weight: 800; color: var(--N); }
.ap2-ts-old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.ap2-ts-cta {
  width: 100%; height: 40px; background: var(--C); color: white; border: none;
  border-radius: 10px; font-family: var(--font-body); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: background var(--ease); margin-top: 4px;
}
.ap2-ts-cta:hover { background: var(--C-d); }

/* Carte masquée (filtre) */
.ap2-ts-card.hidden { display: none; }

/* Mobile — grille 2 cols, scroll horizontal */
@media (max-width: 860px) {
  .ap2-section-topsales { padding: 12px 16px; }
  .ap2-topsales-wrap { padding: 18px 16px 20px; }
  .ap2-topsales-filters { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 4px; }
  .ap2-topsales-filters::-webkit-scrollbar { display: none; }
  /* Règle V2 mobile (Aymen 2026-05-13) : 1 carte produit par ligne */
  .ap2-topsales-grid { grid-template-columns: 1fr; gap: 12px; }
  .ap2-ts-img { font-size: 48px; padding: 8px 0 12px; }
  .ap2-ts-price { font-size: 20px; }
  .ap2-ts-eye { opacity: 1; } /* toujours visible sur mobile */
}

/* ============================================================
   SECTION NEWSLETTER
   ============================================================ */
.ap2-section-newsletter {
  width: 100%;
  padding: 0;
  margin: 0;
}
.ap2-newsletter-banner {
  background: linear-gradient(135deg, #0D2A45 0%, #0A3D6E 40%, #0090B8 100%);
  padding: 44px 0;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.ap2-newsletter-banner::before {
  content: ''; position: absolute;
  top: -80px; right: 200px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,168,212,.25) 0%, transparent 70%);
  pointer-events: none;
}
/* Contenu centré aligné sur le même max-width que le footer */
.ap2-newsletter-inner {
  max-width: 1600px; margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
/* Halo décoratif */
.ap2-newsletter-banner::before {
  content: ''; position: absolute;
  top: -80px; right: 200px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,168,212,.25) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Gauche ── */
.ap2-nl-left { flex: 1; min-width: 0; }
.ap2-nl-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,200,0,.18); border: 1px solid rgba(245,200,0,.35);
  color: var(--J); font-size: 13px; font-weight: 700;
  padding: 5px 13px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 16px;
}
.ap2-nl-title {
  font-family: var(--font-title); font-size: 42px; font-weight: 400;
  color: #fff; line-height: 1.15; margin-bottom: 12px;
}
.ap2-nl-sub {
  font-size: 16px; color: rgba(255,255,255,.65);
  line-height: 1.6; margin-bottom: 12px; max-width: 420px;
}
.ap2-nl-legal {
  font-size: 14px; color: rgba(255,255,255,.35); line-height: 1.5;
}

/* ── Droite ── */
.ap2-nl-right { width: 100%; }
.ap2-nl-form {
  display: flex; gap: 10px; margin-bottom: 12px;
}
.ap2-nl-input {
  flex: 1; height: 48px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 0 16px; font-size: 17px;
  font-family: var(--font-body); color: #fff; outline: none;
  transition: border-color var(--ease), background var(--ease);
}
.ap2-nl-input::placeholder { color: rgba(255,255,255,.45); }
.ap2-nl-input:focus {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.15);
}
.ap2-nl-cta {
  height: 48px; padding: 0 20px;
  background: #fff; color: var(--N);
  border: none; border-radius: 10px;
  font-family: var(--font-body); font-size: 17px; font-weight: 700;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: background var(--ease), transform var(--ease);
}
.ap2-nl-cta:hover { background: #F0F9FC; transform: translateY(-1px); }
.ap2-nl-reassurances {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; color: rgba(255,255,255,.55);
}

/* ── Mobile ── */
@media (max-width: 860px) {
  .ap2-section-newsletter { padding: 12px 16px 32px; }
  .ap2-newsletter-banner {
    flex-direction: column; gap: 28px;
    padding: 28px 22px;
    align-items: flex-start;
  }
  .ap2-newsletter-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }
  .ap2-nl-right { width: 100%; }
  .ap2-nl-form { flex-direction: column; gap: 10px; width: 100%; }
  .ap2-nl-input { width: 100% !important; height: 52px !important; flex: none !important; box-sizing: border-box; }
  .ap2-nl-cta { width: 100% !important; height: 52px !important; flex: none !important; box-sizing: border-box; }
  .ap2-nl-title { font-size: 33px; }
  .ap2-nl-reassurances { gap: 6px; flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   SECTION GUIDE SÉLECTION — BANNIÈRE CTA
   ============================================================ */
.ap2-section-guide-cta {
  max-width: 1600px; margin: 0 auto;
  padding: 0 48px 28px;
}
.ap2-guide-cta-banner {
  max-width: 1600px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(135deg, #0090B8 0%, #00A8D4 60%, #00BCD4 100%);
  border-radius: var(--r-xl);
  padding: 20px 28px;
  box-shadow: 0 4px 20px rgba(0,168,212,.3);
}
.ap2-guide-cta-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.ap2-guide-cta-text { flex: 1; min-width: 0; }
.ap2-guide-cta-title {
  font-size: 19px; font-weight: 700; color: #fff;
  margin-bottom: 4px; line-height: 1.3;
}
.ap2-guide-cta-sub {
  font-size: 15px; color: rgba(255,255,255,.75);
}
.ap2-guide-cta-btn {
  flex-shrink: 0;
  height: 42px; padding: 0 22px;
  background: #fff; color: var(--N);
  border: none; border-radius: 10px;
  font-family: var(--font-body); font-size: 17px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: background var(--ease), transform var(--ease);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.ap2-guide-cta-btn:hover { background: #F0F9FC; transform: translateY(-1px); }

@media (max-width: 860px) {
  .ap2-section-guide-cta { padding: 0 16px 20px; }
  .ap2-guide-cta-banner { flex-wrap: wrap; gap: 14px; padding: 18px 20px; }
  .ap2-guide-cta-title { font-size: 18px; }
  .ap2-guide-cta-btn { width: 100%; justify-content: center; display: flex; align-items: center; }
}

/* ============================================================
   10. FOCUS STATES ACCESSIBLES
   ============================================================ */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--C);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   11. SKELETON SHIMMER
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
}

/* ============================================================
   1. SCROLL-REVEAL — sections apparaissent en fondu au scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   3. BADGE TOP PME sur première carte topsales
   ============================================================ */
.ts-card-toppme {
  position: relative;
}
.ts-card-toppme::after {
  content: '⭐ Top PME';
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #F5C800, #F5A623);
  color: #1A1A2E; font-size: 12px; font-weight: 800;
  padding: 3px 10px; border-radius: 20px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245,184,0,.35);
  letter-spacing: .03em;
}

/* ============================================================
   7. PATTERN GÉOMÉTRIQUE NEWSLETTER
   ============================================================ */
.ap2-newsletter-banner::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.018) 0px,
      rgba(255,255,255,.018) 1px,
      transparent 1px,
      transparent 12px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,.018) 0px,
      rgba(255,255,255,.018) 1px,
      transparent 1px,
      transparent 12px
    );
  pointer-events: none; border-radius: inherit;
}

/* ============================================================
   8. SÉPARATEURS EN VAGUE entre sections
   ============================================================ */
.ap2-wave-sep {
  width: 100%; overflow: hidden;
  line-height: 0; margin: -2px 0;
}
.ap2-wave-sep svg { display: block; width: 100%; }

/* ============================================================
   RESPONSIVE — MOBILE HEADER COMPLET
   ============================================================ */
.page-wrapper {
  min-height: 100vh;
  width: 100%;
  overflow-x: clip;
}

/* Éléments mobile — cachés par défaut sur desktop */
.ap2-promo-bar { display: none; }
.ap2-btn-hamburger { display: none; }
.ap2-mobile-icons { display: none; }
.ap2-mobile-search-row { display: none; }

@media (max-width: 860px) {

  /* ── Barre promo ── */
  .ap2-promo-bar {
    display: flex; align-items: center; justify-content: center;
    background: var(--N); padding: 7px 16px;
    font-size: 14px; color: rgba(255,255,255,0.85); gap: 4px;
    font-weight: 500;
  }
  .ap2-promo-bar strong { color: white; font-weight: 700; }

  /* ── Header row mobile ── */
  .ap2-header-inner { padding: 0 16px; }
  .ap2-logo { flex: none; margin-right: auto; }
  .ap2-header-right-group { flex: none; gap: 8px; }

  /* ── Desktop éléments — cachés sur mobile ── */
  .ap2-search-wrap { display: none !important; }
  .ap2-etrusted { display: none !important; }
  .ap2-compte-wrap { display: none !important; }
  .ap2-panier-wrap { display: none !important; }
  .ap2-wishlist-wrap { display: none !important; }
  .ap2-desktop-only { display: none !important; }

  /* Barre de recherche mobile visible (padding horizontal hérité de .ap2-header-inner) */
  .ap2-mobile-search-row {
    display: block !important;
    padding: 0 0 10px;
  }

  /* Icônes mobile visibles */
  .ap2-mobile-icons { display: flex !important; }

  /* Éléments mobile visibles */
  .ap2-btn-hamburger {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 9px;
    background: var(--grey); border: 1.5px solid var(--border);
    cursor: pointer; flex-shrink: 0; gap: 0;
    flex-direction: column; padding: 0;
    transition: border-color var(--ease);
  }
  .ap2-btn-hamburger:hover { border-color: var(--C); }
  .ap2-btn-hamburger span {
    display: block; width: 16px; height: 1.5px;
    background: var(--N); border-radius: 2px; margin: 2.5px 0;
    transition: all .2s;
  }

  /* Header row mobile : hamburger à gauche, logo centré, icônes au bord droit */
  .ap2-header-row { justify-content: space-between; }
  .ap2-logo { margin: 0 !important; }

  /* Icônes droite mobile — collées au bord droit (même limite que la search bar) */
  .ap2-mobile-icons {
    display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  }
  .ap2-mob-icon-btn {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--grey); border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; cursor: pointer; position: relative;
    flex-shrink: 0;
  }
  .ap2-mob-icon-btn.dark { background: var(--N); border-color: var(--N); }
  .ap2-mob-icon-btn.dark svg { fill: white; }
  .ap2-mob-badge {
    position: absolute; top: -5px; right: -5px;
    width: 15px; height: 15px; border-radius: 50%;
    background: var(--M); color: white; font-size: 10px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid white;
  }

  /* Barre de recherche sous le logo */
  .ap2-mobile-search {
    display: flex; align-items: stretch; width: 100%;
    border: 1.5px solid var(--border); border-radius: 10px;
    background: var(--grey); overflow: hidden;
  }
  .ap2-mobile-search form {
    display: flex; align-items: stretch; width: 100%;
  }
  .ap2-mobile-search input {
    flex: 1; min-width: 0; border: none; background: transparent;
    padding: 10px 14px; font-size: 17px;
    font-family: var(--font-body); outline: none; color: var(--N);
  }
  .ap2-mobile-search input::placeholder { color: var(--muted); }
  .ap2-mobile-search button {
    background: var(--C); color: white; border: none;
    padding: 0 16px; cursor: pointer; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .ap2-mobile-search button:hover { background: var(--C-d); }

  /* ── CMJ bar mobile ── */
  .ap2-cmj-bar { height: 3px; }

  /* ── Global width fix — évite tout débordement horizontal ── */
  .ap2-header, .ap2-page-content, .ap2-footer,
  .ap2-hero-outer, .ap2-section-cr, .ap2-section-reassurance,
  .ap2-section-bons-plans, .ap2-section-gammes, .ap2-section-guides,
  .ap2-section-guide-cta, .ap2-section-topsales, .ap2-section-newsletter,
  .ap2-bp-wrap, .ap2-gammes-wrap, .ap2-guides-wrap, .ap2-reassurance-card {
    max-width: 100% !important;
    overflow-x: clip;
  }

  /* ══ HERO TABLETTE (≤860px) ══
     layout 1 colonne : bannière + subbands en haut, configurateur en bas
     image produit encore visible */
  .ap2-hero-outer {
    grid-template-columns: 1fr;
    padding: 12px 16px 0;
    gap: 10px;
  }
  .ap2-config-slot { order: 2; align-self: auto; }
  .ap2-hero-right  { order: 1; max-height: none !important; }

  /* Bannière tablette : image visible, taille réduite */
  .ap2-hero-banner {
    grid-template-columns: 1fr 190px;
    min-height: 280px;
    border-radius: var(--r-lg);
  }
  .ap2-hero-image-zone { display: flex !important; }
  .ap2-hero-content { padding: 20px 12px 18px 22px; }
  .ap2-hero-title { font-size: clamp(20px, 4vw, 30px); }
  .ap2-hero-sub { font-size: 14px; }
  .ap2-hero-btns-wrap { margin-top: 12px; gap: 8px; }
  .ap2-hero-countdown { font-size: 14px; padding: 6px 12px; }

  /* Subbands visibles sur tablette */
  .ap2-subbands-slot { display: grid !important; grid-template-columns: repeat(3,1fr); }

  /* Dots slide masqués sur tablette */
  .ap2-slide-dots { display: none !important; }

  /* Configurateur compact */
  .ap2-config-card, .ap2-config-back { min-height: auto; border-radius: var(--r-lg); }
  .ap2-config-state-bar {
    border-top-left-radius: var(--r-lg); border-top-right-radius: var(--r-lg);
  }
  .ap2-flip-row { padding: 14px 16px; border-radius: 0 0 var(--r-lg) var(--r-lg); }

  .ap2-section-cr { padding: 12px 16px; }
  .ap2-cr-cards { flex-direction: column; }
  .ap2-section-reassurance { padding: 0 16px 12px; }
  .ap2-section-bons-plans { padding: 12px 0; }
  .ap2-section-gammes { padding: 12px 16px; }
  .ap2-gammes-wrap { padding: 18px 18px 22px; }
}

/* ══ HERO MOBILE STRICT (≤600px) ══
   image masquée, subbands masquées
   bannière texte seul + dots de navigation */
@media (max-width: 600px) {

  /* Bannière : 1 colonne, texte seul */
  .ap2-hero-banner {
    grid-template-columns: 1fr !important;
    min-height: 220px !important;
    border-radius: var(--r-lg) !important;
  }
  /* Image cachée */
  .ap2-hero-image-zone { display: none !important; }
  /* Subbands cachées */
  .ap2-subbands-slot { display: none !important; }

  /* Texte plus compact et lisible */
  .ap2-hero-content { padding: 18px 18px 16px !important; }
  .ap2-hero-badge { font-size: 11px; padding: 4px 10px; margin-bottom: 10px; }
  .ap2-hero-title { font-size: clamp(22px, 6.5vw, 30px) !important; }
  .ap2-hero-sub { font-size: 14px; }

  /* Boutons pleine largeur */
  .ap2-hero-btns-wrap { margin-top: 14px; gap: 10px; }
  .ap2-hero-btns { flex-direction: column; gap: 8px; }
  .ap2-btn-primary,
  .ap2-btn-outline { width: 100%; justify-content: center; height: 40px; }

  /* Countdown compact */
  .ap2-hero-countdown { font-size: 13px; padding: 6px 11px; flex-wrap: wrap; gap: 2px; }
  .ap2-countdown-val { font-size: 14px; }

  /* Dots de navigation visibles */
  .ap2-slide-dots { display: flex !important; justify-content: center; gap: 6px; padding: 8px 0 2px; }
}

/* ── Slide dots ── */
.ap2-slide-dots { display: none; }
.ap2-slide-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.35); cursor: pointer;
  transition: background var(--ease), transform var(--ease);
  flex-shrink: 0; border: none;
}
.ap2-slide-dot.active {
  background: #fff; transform: scale(1.3);
}

/* ════════════════════════════════════════════════
   DRAWER MOBILE
   ════════════════════════════════════════════════ */
.ap2-drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.45); z-index: 400;
  backdrop-filter: blur(2px);
}
.ap2-drawer-overlay.open { display: block; }

.ap2-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(340px, 92vw);
  background: white; z-index: 500;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.ap2-drawer.open { transform: translateX(0); }

/* Header drawer */
.ap2-drawer-head {
  background: white;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.ap2-drawer-logo {
  font-family: var(--font-title); font-size: 24px; color: var(--N);
  text-decoration: none;
}
.ap2-drawer-logo span { color: var(--C); }
.ap2-drawer-close {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--grey); border: 1px solid var(--border);
  color: var(--N); font-size: 19px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* Liens catégories */
.ap2-drawer-body { flex: 1; overflow-y: auto; }
.ap2-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  font-size: 18px; font-weight: 600; color: var(--N);
  cursor: pointer; transition: background .12s; background: white;
  text-decoration: none;
}
.ap2-drawer-link:hover { background: var(--grey); }
.ap2-drawer-link .ap2-chev {
  font-size: 17px; color: var(--C);
}

/* 4 boutons grille */
.ap2-drawer-btns {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; padding: 16px;
}
.ap2-drawer-btn {
  background: var(--N); color: white; border: none;
  border-radius: 12px; padding: 16px 10px;
  font-family: var(--font-body);
  cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  min-height: 78px; transition: opacity .15s;
}
.ap2-drawer-btn:hover { opacity: .85; }
.ap2-drawer-btn.ap2-cyan { background: var(--C-d); }
.ap2-drawer-btn.ap2-green { background: var(--green); }
.ap2-drawer-btn .ap2-btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
}
.ap2-drawer-btn .ap2-btn-label {
  font-size: 16px; font-weight: 600; color: white; line-height: 1.2;
  text-align: center; white-space: nowrap;
}

/* ════════════════════════════════════════════════
   SOUS-MENU MOBILE (slide depuis la droite)
   ════════════════════════════════════════════════ */
.ap2-mob-submenu {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(340px, 92vw);
  background: var(--N); z-index: 600;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.ap2-mob-submenu.open { transform: translateX(0); }

.ap2-mob-sub-back {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: pointer; background: none; border-left: none; border-right: none; border-top: none;
  width: 100%; font-family: var(--font-body);
}
.ap2-mob-sub-back-arrow { font-size: 19px; color: var(--C); }
.ap2-mob-sub-back-label { font-size: 16px; color: rgba(255,255,255,0.6); font-weight: 500; }

.ap2-mob-sub-title {
  font-size: 24px; font-weight: 700; color: white;
  padding: 14px 20px 10px; border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.ap2-mob-sub-body { flex: 1; overflow-y: auto; }

.ap2-mob-sub-section-label {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.3); text-transform: uppercase;
  letter-spacing: 0.08em; padding: 12px 20px 6px;
}
.ap2-mob-sub-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 17px; color: rgba(255,255,255,0.78);
  cursor: pointer; transition: background .12s;
}
.ap2-mob-sub-item:hover { background: rgba(255,255,255,0.05); }
.ap2-mob-sub-item .ap2-chev { font-size: 14px; color: rgba(255,255,255,0.25); }
.ap2-mob-sub-item-main { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex: 1; }
.ap2-mob-sub-count { font-size: 14px; color: rgba(255,255,255,0.35); font-weight: 500; flex-shrink: 0; }

.ap2-mob-sub-cta {
  padding: 14px 18px; flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.ap2-mob-sub-cta button {
  width: 100%; background: rgba(255,255,255,.06); color: white;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 12px 14px; height: auto;
  font-family: var(--font-body); cursor: pointer;
  display: flex; align-items: center; gap: 12px; text-align: left;
}
.ap2-mob-cta-badge { display: flex; flex-direction: column; align-items: center; gap: 3px; flex-shrink: 0; }
.ap2-mob-cta-dot { width: 8px; height: 8px; border-radius: 50%; background: #00D464; }
.ap2-mob-cta-icon { width: 38px; height: 38px; border-radius: 10px; background: #1A3A5C; display: flex; align-items: center; justify-content: center; }
.ap2-mob-cta-text { flex: 1; }
.ap2-mob-cta-title { font-size: 16px; font-weight: 700; color: white; display: block; line-height: 1.3; }
.ap2-mob-cta-chip { background: rgba(0,168,212,.2); color: #00A8D4; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-top: 4px; display: inline-block; }
.ap2-mob-cta-arrow { width: 32px; height: 32px; border-radius: 50%; background: #00A8D4; display: flex; align-items: center; justify-content: center; color: white; font-size: 19px; flex-shrink: 0; font-weight: 700; line-height: 1; }
/* ============================================================
   FOOTER — override Odoo base styles on <footer> element
   ============================================================ */
footer.ap2-footer,
#wrapwrap > footer.ap2-footer,
#wrapwrap .ap2-footer,
.ap2-footer {
  background: #0B1828 !important;
  background-color: #0B1828 !important;
  color: rgba(255,255,255,.78);
  border: none !important;
  box-shadow: none !important;
}
/* Reset Odoo footer link/text defaults */
.ap2-footer a { color: inherit; }
.ap2-footer ul { list-style: none; padding: 0; margin: 0; }
.ap2-footer p { margin: 0; }

/* Barre CMJ séparatrice */
.ap2-footer .ap2-cmj-bar {
  height: 3px;
  background: linear-gradient(90deg, #00A8D4 0%, #E8155A 50%, #F5C800 100%);
}

/* ── Bande réassurance ── */
.ap2-footer-reas-bar {
  background: #101E2E !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ap2-footer-reas-inner {
  max-width: 1600px; margin: 0 auto;
  padding: 0 48px;
  display: flex; align-items: center;
  height: 60px;
}
.ap2-footer-reas-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; color: rgba(255,255,255,.65);
  flex: 1; justify-content: center;
}
.ap2-footer-reas-item strong { color: #fff; font-weight: 700; }
.ap2-footer-reas-item svg { opacity: .55; flex-shrink: 0; }
.ap2-footer-reas-sep {
  width: 1px; height: 28px;
  background: rgba(255,255,255,.1); flex-shrink: 0;
}

/* ── Corps ── */
.ap2-footer-body { padding: 52px 0 36px; }
.ap2-footer-inner {
  max-width: 1600px; margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 220px 1fr 160px 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Col brand */
.ap2-footer-logo { display: inline-block; margin-bottom: 20px; text-decoration: none; }
.ap2-footer-about {
  font-size: 15px; color: rgba(255,255,255,.75);
  line-height: 1.7; margin-bottom: 18px;
  text-align: justify; hyphens: auto;
}
.ap2-footer-about a { color: var(--C); text-decoration: none; }
.ap2-footer-about a:hover { text-decoration: underline; }
.ap2-footer-contact { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.ap2-footer-contact-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; color: rgba(255,255,255,.85);
}
.ap2-footer-contact-item svg { opacity: .45; flex-shrink: 0; }
.ap2-footer-social { display: flex; gap: 8px; }
.ap2-footer-social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); text-decoration: none;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.ap2-footer-social-btn:hover { background: var(--C); color: #fff; border-color: var(--C); }

/* Colonnes liens */
.ap2-footer-col-title {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.ap2-footer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ap2-footer-links a {
  font-size: 16px; color: rgba(255,255,255,.78);
  text-decoration: none; display: flex; align-items: center; gap: 5px;
  transition: color var(--ease);
  line-height: 1.3;
}
.ap2-footer-links a:hover { color: #fff; }
.ap2-footer-links a svg { opacity: .45; flex-shrink: 0; }
.footer-link-cta { color: var(--C) !important; font-weight: 600; }
.footer-link-cta:hover { text-decoration: underline !important; }

/* Footer accordion mobile */
.ap2-footer-acc-btn {
  width: 100%; background: none; border: none; padding: 0;
  font-family: var(--font-body); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  text-align: left;
}
.ap2-footer-acc-chevron { transition: transform .25s; flex-shrink: 0; opacity: .55; }
.ap2-footer-acc-btn.open .ap2-footer-acc-chevron { transform: rotate(180deg); }
.ap2-footer-acc-body { transition: max-height .3s ease, opacity .3s ease; }

@media (max-width: 768px) {
  .ap2-footer-col-title { margin-bottom: 0; }
  .ap2-footer-acc-col { border-bottom: 1px solid rgba(255,255,255,.08); padding: 4px 0; }
  .ap2-footer-acc-btn { padding: 14px 0; }
  .ap2-footer-acc-body {
    max-height: 0; overflow: hidden; opacity: 0;
    margin-bottom: 0;
  }
  .ap2-footer-acc-body.open {
    max-height: 400px; opacity: 1;
    padding-bottom: 14px;
  }
  .ap2-footer-acc-body:not(.ap2-footer-acc-body) { display: flex; }
}

/* ── Barre du bas ── */
.ap2-footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.06);
  background: #060E1A !important;
}
.ap2-footer-bottom-top {
  max-width: 1600px; margin: 0 auto;
  padding: 14px 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ap2-footer-bottom-badges { display: flex; gap: 8px; }
.ap2-footer-trust-badge {
  font-size: 14px; color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 5px 12px; border-radius: 6px; white-space: nowrap;
}
.ap2-footer-payments { display: flex; gap: 6px; }
.ap2-footer-pay-badge {
  font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
}
.ap2-footer-bottom-legal {
  max-width: 1600px; margin: 0 auto;
  padding: 10px 48px;
  text-align: center;
  font-size: 14px; color: rgba(255,255,255,.25);
  line-height: 1.6;
}
.ap2-footer-bottom-legal a { color: rgba(255,255,255,.38); text-decoration: none; }
.ap2-footer-bottom-legal a:hover { color: rgba(255,255,255,.7); }

/* ── Mobile footer ── */
@media (max-width: 860px) {
  .ap2-section-newsletter { padding: 0; }
  .ap2-newsletter-banner { padding: 28px 0; }
  .ap2-newsletter-inner { padding: 0 20px; flex-direction: column; gap: 24px; align-items: flex-start; }
  .ap2-nl-right { width: 100%; }
  .ap2-nl-form { flex-direction: column; }
  .ap2-nl-input, .ap2-nl-cta { width: 100%; }
  .ap2-nl-title { font-size: 31px; }
  .ap2-nl-reassurances { flex-direction: column; gap: 4px; align-items: flex-start; }
  .ap2-footer-reas-inner { padding: 14px 16px; height: auto; flex-wrap: wrap; gap: 10px; }
  .ap2-footer-reas-item { flex: auto; justify-content: flex-start; font-size: 14px; }
  .ap2-footer-reas-sep { display: none; }
  .ap2-footer-inner { padding: 0 20px; grid-template-columns: 1fr 1fr; gap: 24px; }
  .ap2-footer-col-brand { grid-column: 1 / -1; }
  .ap2-footer-bottom-top { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .ap2-footer-bottom-legal { padding: 8px 16px; text-align: left; }
  .ap2-footer-body { padding: 32px 0 20px; }
}


/* ── Modal Abonnement Consommables ── */
.ap2-sub-modal-overlay {
  position:fixed;inset:0;background:rgba(15,23,42,.55);
  backdrop-filter:blur(4px);z-index:9100;
  display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;transition:opacity .2s;padding:16px;
}
.ap2-sub-modal-overlay.open { opacity:1;pointer-events:all; }
.ap2-sub-modal-box {
  background:white;border-radius:var(--r-xl);
  width:100%;max-width:540px;max-height:94vh;overflow-y:auto;
  position:relative;transform:translateY(20px);transition:transform .25s;
  box-shadow:0 20px 60px rgba(0,0,0,.2);
}
.ap2-sub-modal-overlay.open .ap2-sub-modal-box { transform:translateY(0); }
.ap2-sub-modal-head {
  background:linear-gradient(135deg,#0D1F35,#00A8D4);
  border-radius:var(--r-xl) var(--r-xl) 0 0;padding:22px 26px 18px;position:relative;
}
.ap2-sub-modal-close {
  position:absolute;top:12px;right:12px;width:28px;height:28px;border-radius:7px;
  border:1.5px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);
  cursor:pointer;display:flex;align-items:center;justify-content:center;color:white;
  transition:all .15s;
}
.ap2-sub-modal-close:hover { background:rgba(255,255,255,.22); }
.ap2-sub-modal-pretitle { font-size:12px;font-weight:800;color:rgba(255,255,255,.7);text-transform:uppercase;letter-spacing:.1em;margin-bottom:5px; }
.ap2-sub-modal-title { font-family:var(--font-title);font-size:24px;color:white;margin-bottom:4px; }
.ap2-sub-modal-sub { font-size:14px;color:rgba(255,255,255,.65); }
.ap2-sub-modal-body { padding:22px 26px; }
.ap2-sub-form-row { display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px; }
@media(max-width:480px){ .ap2-sub-form-row { grid-template-columns:1fr; } }
.ap2-sub-form-group { display:flex;flex-direction:column;gap:4px; }
.ap2-sub-form-group.ap2-full { grid-column:1/-1; }
.ap2-sub-form-label { font-size:14px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em; }
.ap2-sub-form-label span { color:var(--M); }
.ap2-sub-form-input,.ap2-sub-form-select {
  height:38px;padding:0 12px;border:1.5px solid var(--border);border-radius:var(--r-md);
  font-family:var(--font-body);font-size:16px;color:var(--N);background:var(--grey);
  outline:none;transition:border-color .15s;width:100%;box-sizing:border-box;
}
.ap2-sub-form-input:focus,.ap2-sub-form-select:focus { border-color:var(--C);background:white; }
.ap2-sub-form-select { cursor:pointer; }
.ap2-sub-form-textarea {
  padding:10px 12px;min-height:70px;resize:vertical;
  border:1.5px solid var(--border);border-radius:var(--r-md);
  font-family:var(--font-body);font-size:16px;color:var(--N);
  background:var(--grey);outline:none;width:100%;box-sizing:border-box;
  transition:border-color .15s;line-height:1.5;
}
.ap2-sub-form-textarea:focus { border-color:var(--C);background:white; }
.ap2-sub-divider { height:1px;background:var(--border);margin:4px 0 16px; }
.ap2-sub-submit-btn {
  width:100%;padding:14px;background:var(--C);border:none;border-radius:var(--r-lg);
  color:white;font-family:var(--font-body);font-size:17px;font-weight:700;
  cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;
  transition:all .15s;margin-top:6px;
}
.ap2-sub-submit-btn:hover { background:var(--C-d);transform:translateY(-1px);box-shadow:0 6px 20px rgba(0,168,212,.3); }
.ap2-sub-reassurances { display:flex;gap:12px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--border); }
.ap2-sub-reassurances span { font-size:14px;color:var(--muted);display:flex;align-items:center;gap:4px; }
.ap2-sub-success { display:none;text-align:center;padding:30px 20px; }
.ap2-sub-success-icon { width:56px;height:56px;background:var(--green-l);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 14px; }
.ap2-sub-success-title { font-family:var(--font-title);font-size:24px;color:var(--N);margin-bottom:8px; }
.ap2-sub-success-sub { font-size:16px;color:var(--muted);line-height:1.7; }

/* Footer link visibility fix */
.ap2-footer .ap2-footer-links a,
.ap2-footer .ap2-footer-col a,
.ap2-footer a {
  color: rgba(255,255,255,.78) !important;
  text-decoration: none;
}
/* Footer full color override — fight Odoo theme defaults */
.ap2-footer,
.ap2-footer div,
.ap2-footer span,
.ap2-footer p,
.ap2-footer li {
  color: rgba(255,255,255,.78) !important;
}
.ap2-footer a,
.ap2-footer .ap2-footer-links a,
.ap2-footer .ap2-footer-col a,
.ap2-footer .ap2-footer-links li a {
  color: rgba(255,255,255,.78) !important;
  text-decoration: none !important;
}
.ap2-footer a:hover,
.ap2-footer .ap2-footer-links a:hover {
  color: #fff !important;
}
.ap2-footer button,
.ap2-footer .ap2-footer-col-title,
.ap2-footer .ap2-footer-acc-btn {
  color: rgba(255,255,255,.55) !important;
}
.ap2-footer .ap2-footer-about,
.ap2-footer .ap2-footer-about a {
  color: rgba(255,255,255,.75) !important;
}
.ap2-footer .ap2-footer-about a:hover {
  color: #fff !important;
}
.ap2-footer .ap2-footer-contact-item {
  color: rgba(255,255,255,.85) !important;
}
.ap2-footer .ap2-footer-reas-item {
  color: rgba(255,255,255,.65) !important;
}
.ap2-footer .ap2-footer-reas-item strong {
  color: #fff !important;
}
.ap2-footer .ap2-footer-bottom-legal {
  color: rgba(255,255,255,.25) !important;
}
.ap2-footer .ap2-footer-bottom-legal a {
  color: rgba(255,255,255,.38) !important;
}
.ap2-footer .ap2-footer-bottom-legal a:hover {
  color: rgba(255,255,255,.7) !important;
}
.ap2-footer .ap2-footer-trust-badge {
  color: rgba(255,255,255,.5) !important;
}
.ap2-footer .ap2-footer-pay-badge {
  color: rgba(255,255,255,.55) !important;
}
.ap2-footer .ap2-footer-social-btn {
  color: rgba(255,255,255,.55) !important;
}
.ap2-footer .ap2-footer-social-btn:hover {
  color: #fff !important;
}
.ap2-footer .ap2-footer-acc-chevron {
  color: rgba(255,255,255,.55) !important;
  stroke: rgba(255,255,255,.55) !important;
}
