/* =====================================================================
   LES APERÇUS DU PRODUIT (21/11/2026) — site de présentation (repris des propositions)
   ---------------------------------------------------------------------
   Des écrans de Clever Online DESSINÉS, pas des captures : les modèles de
   sites sont en refonte complète (décision du 21/11/2026), on ne montre
   donc aucun ancien modèle. Les commerces sont inventés (Friterie Lina,
   Atelier Sam), les photos viennent de la banque libre public/gen.
   Partagé par les trois propositions ; chacune l'habille à sa manière
   (variable --ap-p = la couleur choisie par le commerçant).
   ===================================================================== */
.ap-tel { --ap-p: #E4572E; position: relative; width: 300px; height: 620px; border-radius: 46px; padding: 11px; background: #0d0f1a; box-shadow: 0 0 0 2px #2a2d3d inset, 0 40px 80px -30px rgba(10,12,40,.55), 0 18px 30px -18px rgba(10,12,40,.4); flex: none; font: 13px/1.4 'Manrope', 'Segoe UI', system-ui, sans-serif; color: #17182b; text-align: left; letter-spacing: 0; }
.ap-tel::before { content: ''; position: absolute; top: 20px; left: 50%; width: 86px; height: 24px; margin-left: -43px; border-radius: 20px; background: #0d0f1a; z-index: 5; }
.ap-scr { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.ap-sb { position: absolute; top: 0; left: 0; right: 0; height: 44px; display: flex; justify-content: space-between; align-items: center; padding: 6px 26px 0; font: 700 12.5px/1 'Manrope', system-ui, sans-serif; color: #fff; z-index: 4; pointer-events: none; }
.ap-sb.sombre { color: #17182b; }
.ap-sb i { display: inline-flex; gap: 3px; align-items: center; font-style: normal; }
.ap-sb i b { width: 4px; border-radius: 1px; background: currentColor; display: inline-block; }
.ap-sb i em { width: 20px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; margin-left: 4px; position: relative; }
.ap-sb i em::after { content: ''; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.ap-pad { padding: 52px 16px 16px; }
.ap-flex1 { flex: 1; overflow: hidden; }
.ap-h { font: 800 19px/1.15 'Sora', 'Segoe UI', system-ui, sans-serif; letter-spacing: -.02em; margin: 0; color: #17182b; }
.ap-s { font-size: 11.5px; color: #6b6e85; }
.ap-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.92); color: #17182b; }
.ap-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #1fbf75; box-shadow: 0 0 0 3px rgba(31,191,117,.2); }
.ap-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 14px; background: var(--ap-p); color: #fff; font-weight: 800; font-size: 13.5px; border: 0; width: 100%; }
.ap-btn.ghost { background: #f1f2f7; color: #17182b; }
.ap-btn.blanc { background: #fff; color: #17182b; }

/* --- la vitrine (accueil du site du commerçant) --- */
.ap-hero { position: relative; height: 330px; background: #333 center/cover no-repeat; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 16px; }
.ap-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.78)); }
.ap-hero > * { position: relative; }
.ap-hero .ap-h { color: #fff; font-size: 26px; margin: 8px 0 4px; }
.ap-hero .ap-s { color: rgba(255,255,255,.82); font-size: 12px; }
.ap-top { position: absolute; top: 46px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.ap-logo { width: 34px; height: 34px; border-radius: 11px; background: var(--ap-p); color: #fff; font: 800 15px/34px 'Sora', system-ui, sans-serif; text-align: center; }
.ap-langs { display: flex; gap: 3px; font: 800 9.5px/1 'Manrope', system-ui, sans-serif; }
.ap-langs span { padding: 5px 5px; border-radius: 6px; background: rgba(255,255,255,.18); color: #fff; }
.ap-langs span:first-child { background: #fff; color: #17182b; }
.ap-actions { display: grid; gap: 8px; padding: 14px 16px 6px; }
.ap-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 8px 16px; }
.ap-mini div { border-radius: 14px; overflow: hidden; background: #f4f4f8; font-size: 11px; font-weight: 700; }
.ap-mini img { width: 100%; height: 72px; object-fit: cover; }
.ap-mini span { display: block; padding: 6px 8px 8px; }
.ap-mini b { display: block; color: var(--ap-p); font-size: 11px; }

/* --- la carte / la liste --- */
.ap-bar { display: flex; align-items: center; gap: 10px; padding: 50px 14px 10px; border-bottom: 1px solid #eef0f5; }
.ap-bar .ap-logo { width: 30px; height: 30px; line-height: 30px; font-size: 13px; border-radius: 9px; }
.ap-bar strong { font: 800 14px/1.1 'Sora', system-ui, sans-serif; display: block; }
.ap-chips { display: flex; gap: 6px; padding: 10px 14px; overflow: hidden; }
.ap-chips span { flex: none; padding: 7px 11px; border-radius: 99px; background: #f1f2f7; font-weight: 700; font-size: 11.5px; color: #44465c; }
.ap-chips span.on { background: #17182b; color: #fff; }
.ap-row { display: flex; gap: 11px; align-items: center; padding: 9px 14px; }
.ap-row img { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; flex: none; background: #eee; }
.ap-row .t { flex: 1; min-width: 0; }
.ap-row .t b { display: block; font-size: 13px; }
.ap-row .t small { display: block; color: #7b7e93; font-size: 11px; line-height: 1.3; }
.ap-row .t em { font-style: normal; font-weight: 800; font-size: 12.5px; }
.ap-plus { width: 30px; height: 30px; border-radius: 10px; background: var(--ap-p); color: #fff; font: 700 19px/30px system-ui; text-align: center; flex: none; }
.ap-plus.on { background: #17182b; font-size: 12px; font-weight: 800; }
.ap-rupt { opacity: .45; }
.ap-rupt .ap-plus { background: #c9cbd6; font-size: 9px; line-height: 1.1; padding-top: 5px; font-weight: 800; }
.ap-panier { margin: auto 12px 12px; display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 8px 0 16px; border-radius: 16px; background: #17182b; color: #fff; font-weight: 800; font-size: 13px; }
.ap-panier span { background: var(--ap-p); padding: 10px 13px; border-radius: 11px; font-size: 12.5px; }

/* --- la feuille d'article --- */
.ap-photo { height: 150px; background: #ccc center/cover no-repeat; flex: none; }
.ap-feuille { margin-top: -22px; position: relative; background: #fff; border-radius: 22px 22px 0 0; padding: 16px 16px 0; flex: 1; display: flex; flex-direction: column; }
.ap-grp { margin-top: 10px; }
.ap-grp > b { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 7px; }
.ap-grp > b small { font-weight: 700; color: #7b7e93; font-size: 10.5px; }
.ap-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-opts span { padding: 7px 10px; border-radius: 10px; border: 1.5px solid #e3e5ee; font-size: 11.5px; font-weight: 700; color: #44465c; }
.ap-opts span.on { border-color: var(--ap-p); color: var(--ap-p); background: color-mix(in srgb, var(--ap-p) 9%, #fff); }
.ap-allerg { margin-top: 10px; padding: 9px 11px; border-radius: 12px; background: #fff7e6; color: #7a5a12; font-size: 10.5px; line-height: 1.35; }
.ap-bas { margin-top: auto; padding: 12px 0 16px; }

/* --- les créneaux --- */
.ap-titre { padding: 52px 16px 4px; }
.ap-jours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px 16px 4px; }
.ap-jours span { text-align: center; padding: 7px 0; border-radius: 12px; background: #f1f2f7; font-size: 10px; font-weight: 700; color: #6b6e85; line-height: 1.25; }
.ap-jours span b { display: block; font-size: 15px; color: #17182b; }
.ap-jours span.on { background: #17182b; color: rgba(255,255,255,.7); }
.ap-jours span.on b { color: #fff; }
.ap-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 16px; }
.ap-slots span { text-align: center; padding: 9px 0; border-radius: 11px; border: 1.5px solid #e3e5ee; font-weight: 800; font-size: 12px; }
.ap-slots span.off { color: #b5b7c6; text-decoration: line-through; background: #f7f7fa; border-color: #f0f1f5; }
.ap-slots span.on { background: var(--ap-p); border-color: var(--ap-p); color: #fff; }
.ap-lab { padding: 6px 16px 0; font-weight: 800; font-size: 12px; }
.ap-tip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 7px 16px; }
.ap-tip span { text-align: center; padding: 8px 0; border-radius: 11px; background: #f1f2f7; font-weight: 800; font-size: 11.5px; }
.ap-tip span.on { background: #17182b; color: #fff; }
.ap-total { display: flex; justify-content: space-between; padding: 8px 16px; font-weight: 800; font-size: 13px; }
.ap-pay { display: flex; gap: 5px; padding: 0 16px 8px; justify-content: center; }
.ap-pay img { height: 20px; width: auto; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px #e6e7ee; }
.ap-note { margin: 4px 16px 8px; padding: 9px 11px; border-radius: 12px; background: color-mix(in srgb, var(--ap-p) 9%, #fff); color: #3c3e55; font-size: 10.5px; line-height: 1.35; }

/* --- beauté --- */
.ap-presta { margin: 8px 16px 0; padding: 11px 12px; border-radius: 14px; background: #f6f4f2; display: flex; justify-content: space-between; align-items: center; }
.ap-presta b { font-size: 12.5px; display: block; }
.ap-presta small { color: #7b7e93; font-size: 10.5px; }
.ap-presta em { font-style: normal; font-weight: 800; }
.ap-equipe { display: flex; gap: 10px; padding: 8px 16px 2px; }
.ap-equipe span { text-align: center; font-size: 10.5px; font-weight: 700; color: #44465c; }
.ap-equipe span i { display: block; width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 4px; background: #ddd center/cover no-repeat; font: 800 15px/46px 'Sora', system-ui, sans-serif; font-style: normal; color: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px transparent; }
.ap-equipe span.on i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ap-p); }
.ap-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 8px 16px; }
.ap-grille div { border-radius: 14px; background: #f6f4f2; overflow: hidden; font-size: 11px; font-weight: 700; }
.ap-grille img { width: 100%; height: 92px; object-fit: cover; }
.ap-grille span { display: block; padding: 6px 8px 8px; line-height: 1.25; }
.ap-grille span b { display: block; }
.ap-cadeau { margin: 6px 16px; height: 150px; border-radius: 18px; padding: 16px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.35), transparent 50%), linear-gradient(135deg, var(--ap-p), #2a1f3d); box-shadow: 0 16px 30px -14px rgba(0,0,0,.4); }
.ap-cadeau b { font: 800 30px/1 'Sora', system-ui, sans-serif; }
.ap-cadeau small { opacity: .85; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ap-fid { margin: 6px 16px; padding: 12px; border-radius: 14px; border: 1.5px dashed #ddd; font-size: 11px; }
.ap-fid i { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: #eceef4; margin: 6px 3px 0 0; }
.ap-fid i.on { background: var(--ap-p); }

/* --- le côté commerçant --- */
.ap-bo { background: #f5f6f8; }
.ap-bo .ap-bar { background: #fff; }
.ap-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px 4px; }
.ap-kpis div { background: #fff; border-radius: 14px; padding: 10px 12px; font-size: 10.5px; color: #6b6e85; font-weight: 700; }
.ap-kpis b { display: block; font: 800 19px/1.2 'Sora', system-ui, sans-serif; color: #17182b; }
.ap-cmd { margin: 6px 12px 0; background: #fff; border-radius: 14px; padding: 10px 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; align-items: center; font-size: 11.5px; }
.ap-cmd .h { grid-row: span 2; font: 800 13px/1 'Sora', system-ui, sans-serif; background: #f1f2f7; border-radius: 10px; padding: 9px 7px; }
.ap-cmd b { font-size: 12px; }
.ap-cmd small { color: #7b7e93; font-size: 10.5px; }
.ap-cmd em { font-style: normal; font-weight: 800; text-align: right; }
.ap-cmd .st { font-size: 9.5px; font-weight: 800; color: #12945a; background: #e3f7ee; padding: 3px 7px; border-radius: 99px; text-align: center; }
.ap-cmd.neuve { box-shadow: 0 0 0 2px var(--ap-p); animation: ap-arrive 6s ease infinite; }
.ap-cmd.neuve .st { background: var(--ap-p); color: #fff; }
@keyframes ap-arrive { 0%, 4% { transform: translateY(-14px); opacity: 0; } 12%, 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ap-cmd.neuve { animation: none; } }
.ap-agenda { display: grid; grid-template-columns: 30px 1fr 1fr; gap: 0 6px; padding: 8px 12px; font-size: 10px; flex: 1; }
.ap-agenda .hh { color: #9a9cb0; font-weight: 700; height: 44px; }
.ap-agenda .col { position: relative; grid-row: 2 / span 8; background: repeating-linear-gradient(#fff 0 43px, #eceef4 43px 44px); border-radius: 10px; }
.ap-agenda .nom { text-align: center; font-weight: 800; font-size: 11px; padding-bottom: 6px; }
.ap-rdv { position: absolute; left: 4px; right: 4px; border-radius: 9px; padding: 5px 7px; font-size: 10px; line-height: 1.25; color: #17182b; background: color-mix(in srgb, var(--ap-p) 18%, #fff); border-left: 3px solid var(--ap-p); }
.ap-rdv b { display: block; font-size: 10.5px; }
.ap-rdv.b { background: #e9f1ff; border-color: #3b74e8; }
.ap-rdv.c { background: #eaf8f1; border-color: #1fae6d; }

/* --- l'ordinateur (navigateur) --- */
.ap-pc { width: 100%; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(20,22,50,.08), 0 40px 80px -30px rgba(10,12,40,.45); overflow: hidden; font: 13px/1.4 'Manrope', system-ui, sans-serif; color: #17182b; text-align: left; letter-spacing: 0; }
.ap-pc-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; background: #f1f2f6; border-bottom: 1px solid #e4e6ee; }
.ap-pc-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9dbe4; }
.ap-pc-bar span { margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: #fff; font-size: 11px; color: #6b6e85; font-weight: 600; }
.ap-pc-bo { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; background: #f5f6f8; }
.ap-pc-bo nav { background: #fff; padding: 14px 10px; border-right: 1px solid #eceef4; font-size: 11.5px; font-weight: 700; color: #6b6e85; display: grid; align-content: start; gap: 2px; }
.ap-pc-bo nav b { font: 800 13px 'Sora', system-ui, sans-serif; color: #17182b; padding: 0 8px 10px; }
.ap-pc-bo nav span { padding: 7px 8px; border-radius: 8px; }
.ap-pc-bo nav span.on { background: color-mix(in srgb, var(--ap-p, #4339FF) 12%, #fff); color: var(--ap-p, #4339FF); }
.ap-pc-bo main { padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.ap-pc-bo .ap-kpis { padding: 0; grid-template-columns: repeat(4, 1fr); }
.ap-pc-bo .ap-cmd { margin: 0; }
/* Sur un écran étroit, le navigateur dessiné garde sa lecture : la colonne
   du menu s'efface, les chiffres passent sur deux colonnes. */
.ap-pc { container-type: inline-size; }
@container (max-width: 600px) {
  .ap-pc-bo { grid-template-columns: 1fr; }
  .ap-pc-bo nav { display: none; }
  .ap-pc-bo .ap-kpis { grid-template-columns: 1fr 1fr; }
  .ap-pc-site { grid-template-columns: 1fr !important; }
  .ap-pc-site > div:last-child { min-height: 180px; order: -1; }
}
