/* ============================================================
   OPTERIA : pages « Alternatives à [concurrent] » (14/10/2026, stratégie SEO v2, demande Axel).
   Gabarit commun à toutes les pages alternatives : en-tête cv-hero, scène « duel » sur peinture, « En bref »,
   tableau comparatif sourcé, classement (forces / limites / pour qui), quiz d'orientation (élément original, alternatives.js),
   avis, méthode et sources, questions. Couleurs par variables : le mode nuit suit tout seul (da-theme.css).
   Aucune ombre portée (décision du 10/10/2026) : filets de 1 px seulement.
   ============================================================ */

/* ---------- Scène du haut : deux fiches côte à côte sur la peinture ---------- */
.alt-scene { position: relative; display: grid; place-items: center; margin-top: 64px; padding: 56px 48px; border-radius: var(--r); background: var(--gris-cadre); overflow: hidden; isolation: isolate; text-align: left; }
.alt-duel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: min(900px, 100%); }
.alt-fiche { border-radius: 16px; background: #fff; color: #191919; overflow: hidden; }
.alt-fiche__barre { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-bottom: 1px solid #efefed; font-size: 14px; font-weight: 500; }
.alt-fiche__barre small { margin-left: auto; font-size: 12px; font-weight: 400; color: #6b6b70; }
.alt-fiche--bobby { box-shadow: inset 0 0 0 1px rgba(251,77,23,.55); }
.alt-fiche--bobby .alt-fiche__barre { color: #FB4D17; }
.alt-fiche ul { margin: 0; padding: 8px 18px 14px; list-style: none; }
.alt-fiche li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid #f1f1ef; font-size: 14px; line-height: 1.4; color: #353535; }
.alt-fiche li:last-child { border-bottom: 0; }
.alt-fiche li i { display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: #f1f0f2; font-style: normal; font-size: 11px; color: #6b6b70; }
.alt-fiche--bobby li i { background: #fff0e9; color: #FB4D17; }
/* les maquettes blanches restent blanches en mode nuit (même règle que .ofc-tdb) */
html[data-theme="nuit"] .alt-fiche { background: #fff; color: #191919; }

/* ---------- Tableau comparatif : défile à l'horizontale sur téléphone, première colonne fixe ---------- */
.alt-tab { position: relative; margin: 0 auto; max-width: 1128px; overflow-x: auto; border-radius: 20px; background: var(--gris-carte); -webkit-overflow-scrolling: touch; }
.alt-tab table { width: 100%; min-width: 920px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; line-height: 1.45; color: var(--texte); }
.alt-tab caption { padding: 18px 22px 0; text-align: left; font-size: 13px; color: var(--muet); caption-side: bottom; padding-bottom: 18px; }
.alt-tab th, .alt-tab td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.alt-tab thead th { position: sticky; top: 0; padding-top: 20px; font-size: 15px; font-weight: 500; color: var(--ink); background: var(--gris-carte); }
.alt-tab tbody th { width: 150px; font-weight: 500; color: var(--ink); }
.alt-tab tbody tr:last-child :is(th, td) { border-bottom: 0; }
.alt-tab :is(thead th, tbody th):first-child { position: sticky; left: 0; z-index: 1; background: var(--gris-carte); }
.alt-tab .alt-col-bobby { background: color-mix(in srgb, var(--orange, #FB4D17) 7%, var(--gris-carte)); }
.alt-tab thead .alt-col-bobby { color: var(--orange, #FB4D17); }
.alt-tab small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muet); }
.alt-tab__glisser { display: none; margin: 10px 0 0; font-size: 13px; color: var(--muet); text-align: center; }

/* ---------- Classement : une carte par solution ---------- */
.alt-classement { display: grid; gap: 16px; max-width: 1128px; margin: 0 auto; padding: 0; list-style: none; counter-reset: rang; }
.alt-rang { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 28px 30px; border-radius: 20px; background: var(--gris-carte); }
.alt-rang--bobby { box-shadow: inset 0 0 0 1px var(--orange, #FB4D17); }
.alt-rang__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 20px; font-weight: 500; }
.alt-rang--bobby .alt-rang__n { background: var(--orange, #FB4D17); color: #fff; }
.alt-rang h3 { margin: 4px 0 6px; font-size: clamp(21px, 2vw, 24px); font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.alt-rang__accroche { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: var(--muet); }
.alt-rang__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.alt-rang__col { padding: 16px 18px; border-radius: 14px; background: var(--paper); }
.alt-rang__col h4 { margin: 0 0 8px; font-size: 13px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--muet); }
.alt-rang__col ul { margin: 0; padding: 0 0 0 16px; font-size: 14.5px; line-height: 1.5; color: var(--texte); }
.alt-rang__col li + li { margin-top: 4px; }
.alt-rang__lien { display: inline-block; margin-top: 14px; font-size: 14.5px; }
.alt-limova { max-width: 1128px; margin: 24px auto 0; padding: 26px 30px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line-2); }
.alt-limova h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; color: var(--ink); }
.alt-limova p, .alt-limova li { font-size: 16px; line-height: 1.55; color: var(--texte); }
.alt-limova ul { margin: 10px 0 0; padding-left: 18px; }

/* ---------- Quiz d'orientation (alternatives.js) ---------- */
.alt-quiz { max-width: 860px; margin: 0 auto; padding: 34px 36px; border-radius: 24px; background: var(--gris-carte); }
.alt-quiz__q { margin: 0; padding: 0; border: 0; }
.alt-quiz__q + .alt-quiz__q { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.alt-quiz__q legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font-size: 17px; font-weight: 500; color: var(--ink); }
.alt-quiz__q legend span { margin-right: 8px; color: var(--orange, #FB4D17); }
.alt-quiz__choix { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.alt-quiz__choix button { min-height: 42px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--paper); color: var(--texte); font: inherit; font-size: 15px; line-height: 1.3; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s ease, color .2s ease; }
.alt-quiz__choix button:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.alt-quiz__choix button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.alt-quiz__choix button:focus-visible { outline: 2px solid var(--orange, #FB4D17); outline-offset: 2px; }
.alt-quiz__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.alt-quiz__pied p { margin: 0; font-size: 14px; color: var(--muet); }
.alt-quiz__res { margin-top: 26px; padding: 24px 26px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.alt-quiz__res[hidden] { display: none; }
.alt-quiz__res .meta { margin: 0 0 8px; }
.alt-quiz__res h3 { margin: 0 0 8px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.alt-quiz__res p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--texte); }
.alt-quiz__res .actions { margin-top: 18px; }
.alt-quiz__aussi { margin-top: 10px !important; font-size: 14px !important; color: var(--muet) !important; }

/* ---------- Pourquoi Bobby, avis, méthode ---------- */
.alt-pourquoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1128px; margin: 0 auto; }
.alt-pourquoi article { padding: 26px 28px; border-radius: 20px; background: var(--gris-carte); }
.alt-pourquoi h3 { margin: 0 0 8px; font-size: 19px; font-weight: 500; color: var(--ink); }
.alt-pourquoi p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--texte); }
.alt-texte { max-width: 780px; margin: 0 auto; }
.alt-texte p, .alt-texte li { font-size: 17px; line-height: 1.6; color: var(--texte); }
.alt-texte p { margin: 0 0 16px; }
.alt-texte p:last-child { margin-bottom: 0; }
.alt-texte ul { padding-left: 20px; }
.alt-texte h3 { margin: 28px 0 8px; font-size: 20px; font-weight: 500; color: var(--ink); }
.alt-sources { max-width: 780px; margin: 0 auto; padding: 24px 28px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; line-height: 1.6; color: var(--muet); }
.alt-sources p { margin: 0; }
.alt-sources p + p { margin-top: 10px; }
.alt-sources ul { margin: 8px 0 0; padding-left: 18px; }
.alt-maj { font-size: 14px; color: var(--muet); }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 1080px) {
  .alt-rang__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .alt-duel { grid-template-columns: minmax(0, 1fr); }
  .alt-pourquoi { grid-template-columns: minmax(0, 1fr); }
  .alt-tab__glisser { display: block; }
}
@media (max-width: 720px) {
  .alt-scene { margin: 40px calc(var(--gutter) * -1 + 8px) 0; padding: 14px 10px; border-radius: 18px; }
  .alt-tab { margin: 0 calc(var(--gutter) * -1 + 8px); border-radius: 18px; }
  .alt-tab table { min-width: 760px; font-size: 13.5px; }
  .alt-tab tbody th { width: 112px; }
  .alt-tab th, .alt-tab td { padding: 12px 12px; }
  .alt-rang { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 22px 20px; }
  .alt-rang__n { width: 40px; height: 40px; font-size: 17px; border-radius: 12px; }
  .alt-quiz { padding: 24px 20px; margin: 0 calc(var(--gutter) * -1 + 8px); border-radius: 20px; }
  .alt-quiz__choix button { width: 100%; }
  .alt-limova, .alt-pourquoi article, .alt-sources { padding: 22px 20px; }
  .alt-texte p, .alt-texte li { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .alt-quiz__choix button { transition: none; }
}

/* ============================================================
   Page /demo (14/10/2026) : listes déroulantes du formulaire, au style des champs de /contact (da-contact.css),
   en jour et en nuit ; étapes du déroulé sans colonnes.
   ============================================================ */
.ct-fiche .field select { font: inherit; font-size: 15px; padding: 11px 38px 11px 13px; border: 1px solid transparent; border-radius: 10px; background: #f4f4f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23191919' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 13px center / 12px no-repeat; color: var(--ink); -webkit-appearance: none; appearance: none; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.ct-fiche .field select:hover { background-color: #efefeb; }
.ct-fiche .field select:focus { outline: none; border-color: #191919; background-color: #fff; }
.ct-fiche .field select:user-invalid { border-color: rgba(200,60,40,.55); background-color: #fdf5f3; }
.demo-facultatif { font-weight: 400; color: var(--muet); }
html[data-theme="nuit"] .ct-fiche .field select { background-color: #2a2a2a; border-color: transparent; color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 12px; }
html[data-theme="nuit"] .ct-fiche .field select:hover { background-color: #303030; }
html[data-theme="nuit"] .ct-fiche .field select:focus { border-color: rgba(255,255,255,.55); }
html[data-theme="nuit"] .ct-fiche .field select option { background: #1f1f1f; color: #fff; }
html[data-theme="nuit"] .demo-facultatif { color: rgba(255,255,255,.55); }
.page-demo .ct-hero__txt .actions { margin-top: 26px; }
.demo-etapes .alt-rang { align-items: start; }
.demo-etapes .alt-rang__accroche { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .ct-fiche .field select { transition: none; } }

/* ============================================================
   Pages alternatives NEUTRES (23/10/2026, décision d'Axel) : plus de classement numéroté.
   Fiches solution sans rang (étiquette de type à la place du numéro), section « Ce qui distingue OpterIA »,
   verdict par profil, grille de choix interactive (alternatives.js). Filets de 1 px, aucune ombre portée.
   ============================================================ */
.alt-solutions .alt-rang { grid-template-columns: minmax(0, 1fr); gap: 0; }
.alt-rang__type { display: inline-block; margin: 0 0 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; line-height: 1.3; color: var(--muet); box-shadow: inset 0 0 0 1px var(--line-2); }
.alt-rang--bobby .alt-rang__type { color: var(--orange, #FB4D17); box-shadow: inset 0 0 0 1px var(--orange, #FB4D17); }
.alt-atouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1128px; margin: 0 auto; padding: 0; list-style: none; }
.alt-atouts li { padding: 22px 22px 24px; border-radius: 20px; background: var(--gris-carte); }
.alt-atouts b { display: block; margin: 0 0 6px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.alt-atouts b::before { content: ""; display: block; width: 22px; height: 2px; margin-bottom: 14px; border-radius: 2px; background: var(--orange, #FB4D17); }
.alt-atouts span { display: block; font-size: 15px; line-height: 1.5; color: var(--texte); }
.alt-atouts a { color: inherit; }
.alt-atouts__note { max-width: 780px; margin: 18px auto 0; font-size: 14px; line-height: 1.55; color: var(--muet); text-align: center; }
.alt-verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1128px; margin: 0 auto; }
.alt-verdict article { padding: 26px 28px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line-2); }
.alt-verdict article.alt-verdict--bobby { box-shadow: inset 0 0 0 1px var(--orange, #FB4D17); }
.alt-verdict h3 { margin: 0 0 10px; font-size: 19px; font-weight: 500; color: var(--ink); }
.alt-verdict ul { margin: 0; padding-left: 18px; }
.alt-verdict li { font-size: 16px; line-height: 1.55; color: var(--texte); }
.alt-verdict li + li { margin-top: 6px; }
.alt-grille { max-width: 960px; margin: 0 auto; padding: 30px 32px; border-radius: 24px; background: var(--gris-carte); }
.alt-grille__choix { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.alt-grille__choix button { min-height: 42px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--paper); color: var(--texte); font: inherit; font-size: 15px; line-height: 1.3; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s ease, color .2s ease; }
.alt-grille__choix button:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.alt-grille__choix button[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.alt-grille__choix button:focus-visible { outline: 2px solid var(--orange, #FB4D17); outline-offset: 2px; }
.alt-grille__panneau { margin-top: 22px; padding: 22px 24px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.alt-grille__panneau[hidden] { display: none; }
.alt-grille__panneau .meta { margin: 0 0 6px; }
.alt-grille__panneau h3 { margin: 0 0 8px; font-size: 21px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.alt-grille__panneau p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--texte); }
.alt-grille__panneau p + p { margin-top: 10px; }
.alt-grille__panneau .alt-grille__poser { font-size: 14.5px; color: var(--muet); }
@media (max-width: 1080px) { .alt-atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .alt-verdict { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .alt-atouts { grid-template-columns: minmax(0, 1fr); }
  .alt-atouts li, .alt-verdict article { padding: 22px 20px; }
  .alt-grille { padding: 24px 20px; margin: 0 calc(var(--gutter) * -1 + 8px); border-radius: 20px; }
  .alt-grille__choix button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .alt-grille__choix button { transition: none; } }

/* ============================================================
   COMPARATIFS v2 (23/10/2026, demande Axel : « que ce design soit mieux fait ») : pages /alternatives/* au niveau des pages
   Bobby × Digiforma (da-integration-app.css) : bandeau peint, tuiles côte à côte, grand titre, chapitres numérotés,
   tableau comparatif en composant (en-têtes collants, colonne OpterIA crème ; cartes empilées sur téléphone),
   fiches homogènes à pastilles, scène peinte « Ce qui distingue OpterIA » avec Bobby en pâte à modeler, verdict en cartes,
   FAQ du site, fin de page façon Dia. Classes cp-… ; animations dans alternatives.js (transform / opacity seulement,
   rien ne bouge si les animations sont réduites). Aucune ombre portée : filets de 1 px. Mode nuit par les variables du site ;
   les fiches blanches posées sur les peintures restent blanches dans les deux modes (comme ailleurs sur le site).
   ============================================================ */
.page-cp { --cp-orange: #FB4D17; --cp-creme: #FFF5EC; --cp-creme-filet: rgba(251,77,23,.28); --cp-doux: cubic-bezier(.22,1,.36,1); --cp-blanc-encre: #1c1c1a; --cp-blanc-2: #6b6b66; --cp-blanc-ligne: rgba(0,0,0,.08); }
.page-cp main { display: block; }
.cp-wrap { position: relative; width: min(100% - 48px, 1128px); margin: 0 auto; }
.cp-wrap--etroit { width: min(100% - 48px, 780px); }

/* ---------- Héros ---------- */
.cp-hero { position: relative; margin-top: -64px; padding: 214px 0 0; text-align: center; overflow: hidden; isolation: isolate; }
.cp-hero__ciel { position: absolute; inset: 0 0 auto; height: 320px; z-index: -1; background: url("/assets/connexions/digiforma/peinture-bandeau-creme.webp") 50% 40% / cover no-repeat;
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0,0,0,.85) 40%, transparent 100%); mask-image: linear-gradient(#000 0%, rgba(0,0,0,.85) 40%, transparent 100%); opacity: .9; }
.cp-ariane { display: flex; width: fit-content; margin: 0 auto 30px; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.82); border: 1px solid rgba(0,0,0,.06); font-size: 13px; color: #6f6f6c; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cp-ariane a { color: #353535; text-decoration: none; }
.cp-ariane a:hover { color: #191919; text-decoration: underline; text-underline-offset: 3px; }
.cp-ariane [aria-current] { color: #191919; font-weight: 500; }
.cp-duo { display: inline-flex; align-items: center; gap: 16px; margin: 0 0 30px; }
.cp-tuile { display: grid; place-items: center; height: 64px; border-radius: 18px; }
.cp-tuile--bobby { width: 64px; overflow: hidden; background: #fdd2a6; }
.cp-tuile--bobby img { display: block; width: 64px; height: 64px; object-fit: cover; object-position: 50% 6%; transform: scale(1.35) translateY(9%); }
.cp-tuile--nom { padding: 0 20px; background: #fff; border: 1px solid rgba(0,0,0,.08); font-size: 19px; font-weight: 500; letter-spacing: -.02em; color: #1c1c1a; white-space: nowrap; }
.cp-duo__ou { font-size: 15px; color: var(--ink-3); }
.cp-titre { max-width: 980px; margin: 0 auto; font-size: clamp(46px, 7vw, 92px); font-weight: 500; letter-spacing: -.045em; line-height: .98; color: var(--ink); text-wrap: balance; }
.cp-titre .g { color: var(--ink-3); }
.cp-date { margin: 22px 0 0; font-size: 13.5px; color: var(--ink-3); }
.cp-date b { font-weight: 500; color: var(--cp-orange); }
.cp-chapeau { max-width: 660px; margin: 20px auto 0; font-size: 18.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.cp-preuves { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.cp-preuves li { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--ink-2); }
.cp-preuves li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cp-orange); }
.cp-hero .actions { justify-content: center; margin-top: 30px; }

/* la scène peinte sous le titre : deux fiches blanches côte à côte */
.cp-toile { position: relative; border-radius: 32px; overflow: hidden; isolation: isolate; background: var(--g-150, #dbdbd2); }
.cp-peinture { position: absolute; inset: -6%; z-index: -1; background: var(--peint) var(--pos, center) / cover no-repeat; will-change: transform; }
.cp-hero .cp-toile { margin: 64px 0 0; padding: 56px 56px 0; height: 430px; text-align: left; }
.cp-duel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.cp-fiche { border-radius: 16px 16px 0 0; background: #fff; color: var(--cp-blanc-encre); border: 1px solid rgba(0,0,0,.06); border-bottom: 0; padding-bottom: 40px; }
.cp-fiche__barre { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px; border-bottom: 1px solid var(--cp-blanc-ligne); }
.cp-fiche__barre b { font-size: 15.5px; font-weight: 500; }
.cp-fiche__barre small { margin-left: auto; font-size: 12px; color: var(--cp-blanc-2); }
.cp-fiche__mini { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: #f1f1ed; font-size: 13px; font-weight: 600; color: #3a3a37; }
.cp-fiche--bobby .cp-fiche__mini { overflow: hidden; background: #fdd2a6; }
.cp-fiche--bobby .cp-fiche__mini img { width: 28px; height: 28px; object-fit: cover; object-position: 50% 6%; transform: scale(1.35) translateY(9%); }
.cp-fiche--bobby .cp-fiche__barre b { color: var(--cp-orange); }
.cp-fiche ul { margin: 0; padding: 6px 20px 0; list-style: none; }
.cp-fiche li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid #f1f1ef; font-size: 14.5px; line-height: 1.4; color: #353535; }
.cp-fiche li:last-child { border-bottom: 0; }
.cp-fiche li i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #f1f0ec; font-style: normal; font-size: 11px; font-weight: 600; color: #6b6b70; }
.cp-fiche--bobby li i { background: #fff0e8; color: var(--cp-orange); }

/* ---------- Chapitres ---------- */
.cp-sec { padding: 120px 0 0; scroll-margin-top: 90px; }
.cp-tete { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.cp-pastille { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 6px 15px 6px 6px; border-radius: 999px; background: var(--paper-2); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cp-pastille__n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.cp-h2 { margin: 20px auto 0; font-size: clamp(32px, 4vw, 52px); font-weight: 500; letter-spacing: -.035em; line-height: 1.06; color: var(--ink); text-wrap: balance; }
.cp-h2 .g { color: var(--ink-3); }
.cp-intro { max-width: 640px; margin: 18px auto 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

/* En bref : la réponse directe, en grand */
.cp-bref { padding: 104px 0 0; }
.cp-bref__carte { position: relative; padding: 38px 44px 40px; border-radius: 28px; background: var(--paper-2); }
.cp-bref__lab { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 13px; font-weight: 500; color: var(--cp-orange); }
.cp-bref__lab::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--cp-orange); }
.cp-bref__carte p:last-child { margin: 0; font-size: 19px; line-height: 1.6; color: var(--texte); text-wrap: pretty; }
.cp-bref__carte strong { font-weight: 500; color: var(--ink); }

.cp-texte { font-size: 17.5px; line-height: 1.68; color: var(--texte); }
.cp-texte p { margin: 0 0 18px; text-wrap: pretty; }
.cp-texte p:last-child { margin-bottom: 0; }
.cp-texte a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tableau comparatif : un composant ---------- */
.cp-tab { border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.cp-tab table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 14.5px; line-height: 1.5; color: var(--texte); }
.cp-tab col.cp-col-crit { width: 15%; }
.cp-tab th, .cp-tab td { padding: 18px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cp-tab thead th { position: sticky; top: 84px; z-index: 2; padding: 20px 18px 16px; background: var(--paper); font-weight: 500; vertical-align: bottom; }
.cp-tab thead th:first-child { border-radius: 24px 0 0 0; }
.cp-tab thead th:last-child { border-radius: 0 24px 0 0; }
.cp-tab__sol { display: flex; flex-direction: column; gap: 3px; }
.cp-tab__sol b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.cp-tab__sol small { font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.cp-tab__crit { font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cp-tab tbody th { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.cp-tab tbody tr:last-child :is(th, td) { border-bottom: 0; }
.cp-tab .cp-bobby { background: var(--cp-creme); box-shadow: inset 1px 0 0 var(--cp-creme-filet), inset -1px 0 0 var(--cp-creme-filet); color: #3a3a37; }
.cp-tab thead .cp-bobby { box-shadow: inset 1px 0 0 var(--cp-creme-filet), inset -1px 0 0 var(--cp-creme-filet), inset 0 1px 0 var(--cp-creme-filet); }
.cp-tab thead .cp-bobby .cp-tab__sol b { display: inline-flex; align-items: center; gap: 8px; color: var(--cp-orange); }
.cp-tab thead .cp-bobby .cp-tab__sol small { color: #9a6a55; }
.cp-tab tbody tr:last-child .cp-bobby { box-shadow: inset 1px 0 0 var(--cp-creme-filet), inset -1px 0 0 var(--cp-creme-filet), inset 0 -1px 0 var(--cp-creme-filet); }
.cp-tab tbody tr:hover :is(th, td):not(.cp-bobby) { background: color-mix(in srgb, var(--paper-2) 55%, var(--paper)); }
.cp-tab__legende { margin: 16px 6px 0; font-size: 13px; line-height: 1.55; color: var(--ink-3); text-align: center; }

/* ---------- Fiches solution ---------- */
.cp-sols { display: grid; gap: 16px; }
.cp-sol { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 34px; padding: 30px 32px 32px; border-radius: 26px; background: var(--paper-2); }
.cp-sol--bobby { background: var(--cp-creme); box-shadow: inset 0 0 0 1px var(--cp-creme-filet); }
.cp-sol__id { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cp-sol__tuile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: #fff; border: 1px solid rgba(0,0,0,.07); font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: #1c1c1a; }
.cp-sol--bobby .cp-sol__tuile { overflow: hidden; background: #fdd2a6; border: 0; }
.cp-sol--bobby .cp-sol__tuile img { width: 52px; height: 52px; object-fit: cover; object-position: 50% 6%; transform: scale(1.35) translateY(9%); }
.cp-sol__type { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.cp-sol--bobby .cp-sol__type { color: #c2370c; box-shadow: inset 0 0 0 1px var(--cp-creme-filet); }
.cp-sol h3 { margin: 2px 0 0; font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.cp-sol--bobby h3 { color: #1c1c1a; }
.cp-sol__accroche { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.cp-sol--bobby .cp-sol__accroche { color: #5a524c; }
.cp-sol__lien { margin-top: 4px; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.cp-sol__lien:hover { text-decoration-color: currentColor; }
.cp-sol--bobby .cp-sol__lien { color: #c2370c; text-decoration-color: rgba(194,55,12,.35); }
.cp-sol__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cp-sol__col { padding: 18px 18px 20px; border-radius: 18px; background: var(--paper); }
.cp-sol--bobby .cp-sol__col { background: #fff; color: #353535; }
.cp-sol__col h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cp-sol--bobby .cp-sol__col h4 { color: #8b8b85; }
.cp-sol__col ul { margin: 0; padding: 0; list-style: none; }
.cp-sol__col li { position: relative; padding: 0 0 0 26px; font-size: 14.5px; line-height: 1.5; color: var(--texte); }
.cp-sol--bobby .cp-sol__col li { color: #353535; }
.cp-sol__col li + li { margin-top: 9px; }
.cp-sol__col li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--pastille) center / 10px no-repeat, var(--pastille-fond); }
.cp-col--forces { --pastille-fond: #e6f2e9; --pastille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%232f7d45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.3 2.3 2.2 4.7-5'/%3E%3C/svg%3E"); }
.cp-col--limites { --pastille-fond: #fdebe3; --pastille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23c2370c' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 6h6'/%3E%3C/svg%3E"); }
.cp-col--pour { --pastille-fond: #ecebf6; --pastille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%234b4790' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6h7M6.5 3l3 3-3 3'/%3E%3C/svg%3E"); }

/* « Quand X est le meilleur choix » : fiche blanche sur peinture douce */
.cp-meilleur { margin: 16px 0 0; padding: 44px 44px; }
.cp-meilleur__doc { max-width: 760px; margin: 0 auto; padding: 30px 34px 32px; border-radius: 18px; background: #fff; color: var(--cp-blanc-encre); border: 1px solid rgba(0,0,0,.06); }
.cp-meilleur__doc h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.cp-meilleur__doc p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #55554f; }
.cp-meilleur__doc ul { margin: 14px 0 0; padding: 0; list-style: none; }
.cp-meilleur__doc li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--cp-blanc-ligne); font-size: 15.5px; line-height: 1.5; color: #353535; }
.cp-meilleur__doc li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%232f7d45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.3 2.3 2.2 4.7-5'/%3E%3C/svg%3E") center / 10px no-repeat, #e6f2e9; }

/* ---------- Ce qui distingue OpterIA : le moment fort ---------- */
.cp-atouts { padding: 64px 56px 56px; }
.cp-atouts__tete { display: grid; grid-template-columns: minmax(0, 1fr) 170px; align-items: end; gap: 24px; max-width: 980px; margin: 0 auto 30px; }
.cp-atouts__tete p { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: #3a3a37; }
.cp-atouts__bobby { display: block; width: 170px; height: auto; margin-bottom: -6px; }
.cp-atouts__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 980px; margin: 0 auto; padding: 0; list-style: none; }
.cp-atouts__grille li { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; border-radius: 18px; background: #fff; color: #353535; border: 1px solid rgba(0,0,0,.05); }
.cp-atouts__ico { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 6px; border-radius: 11px; background: #fff0e8; color: var(--cp-orange); }
.cp-atouts__ico svg { width: 20px; height: 20px; }
.cp-atouts__grille b { font-size: 16.5px; font-weight: 500; letter-spacing: -.01em; color: #1c1c1a; }
.cp-atouts__grille span:last-child { font-size: 14.5px; line-height: 1.5; color: #55554f; }
.cp-atouts__grille a { color: #1c1c1a; text-decoration: underline; text-decoration-color: rgba(0,0,0,.25); text-underline-offset: 3px; }
.cp-atouts__note { max-width: 980px; margin: 18px auto 0; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.86); font-size: 14.5px; line-height: 1.5; color: #3a3a37; text-align: center; }
.cp-comment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0 0; }
.cp-comment article { padding: 26px 28px; border-radius: 22px; background: var(--paper-2); }
.cp-comment h3 { margin: 0 0 8px; font-size: 19px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.cp-comment p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--texte); }
.cp-comment a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Verdict par profil ---------- */
.cp-verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cp-verdict article { display: flex; flex-direction: column; padding: 32px 32px 34px; border-radius: 26px; background: var(--paper-2); }
.cp-verdict .cp-verdict--bobby { background: #1A1813; color: #fff; }
.cp-verdict__tete { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.cp-verdict h3 { margin: 0; font-size: 23px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.cp-verdict--bobby h3 { color: #fff; }
.cp-verdict ul { margin: 0; padding: 0; list-style: none; }
.cp-verdict li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--texte); }
.cp-verdict--bobby li { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.88); }
.cp-verdict li::before { content: ""; position: absolute; left: 0; top: 16px; width: 18px; height: 18px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23292929' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6h7M6.5 3l3 3-3 3'/%3E%3C/svg%3E") center / 10px no-repeat, var(--paper); }
.cp-verdict--bobby li::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6h7M6.5 3l3 3-3 3'/%3E%3C/svg%3E") center / 10px no-repeat, var(--cp-orange); }
.cp-verdict .btn { align-self: flex-start; margin-top: 22px; }
.cp-verdict--bobby .btn { background: #fff; color: #1A1813; }

/* ---------- Grille de choix / quiz : posés sur une peinture ---------- */
.cp-choix { padding: 52px 52px; }
.cp-choix .alt-grille, .cp-choix .alt-quiz { max-width: 880px; margin: 0 auto; background: #fff; color: #353535; border: 1px solid rgba(0,0,0,.06); }
.cp-choix .alt-grille__choix button, .cp-choix .alt-quiz__choix button { background: #fff; color: #353535; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.cp-choix .alt-grille__choix button:hover, .cp-choix .alt-quiz__choix button:hover { box-shadow: inset 0 0 0 1px #1c1c1a; }
.cp-choix .alt-grille__choix button[aria-selected="true"], .cp-choix .alt-quiz__choix button[aria-pressed="true"] { background: #1c1c1a; color: #fff; box-shadow: none; }
.cp-choix .alt-grille__panneau, .cp-choix .alt-quiz__res { background: var(--cp-creme); box-shadow: inset 0 0 0 1px var(--cp-creme-filet); }
.cp-choix :is(.alt-grille__panneau, .alt-quiz__res) h3, .cp-choix .alt-quiz__q legend { color: #1c1c1a; }
.cp-choix :is(.alt-grille__panneau, .alt-quiz__res) p, .cp-choix .alt-quiz__pied p { color: #3a3a37; }
.cp-choix .alt-grille__panneau .alt-grille__poser, .cp-choix .alt-quiz__aussi { color: #6b6b66 !important; }
.cp-choix .alt-quiz__q + .alt-quiz__q { border-top-color: rgba(0,0,0,.08); }
.cp-choix .meta { color: var(--cp-orange); }
.cp-choix .alt-quiz .btn:disabled { opacity: .45; }
.cp-choix__note { margin: 16px auto 0; max-width: 880px; font-size: 13.5px; color: #3a3a37; text-align: center; }

/* ---------- Avis, sources ---------- */
.cp-avis { position: relative; padding: 40px 44px 42px; border-radius: 28px; background: var(--paper-2); }
.cp-avis p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--texte); text-wrap: pretty; }
.cp-avis p:first-child { margin-bottom: 18px; font-size: 21px; line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.cp-sources { margin: 56px auto 0; padding: 24px 28px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.cp-sources p { margin: 0; }
.cp-sources p + p { margin-top: 10px; }
.cp-sources ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.cp-sources li a { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 13px; text-decoration: none; }
.cp-sources li a:hover { color: var(--ink); }
.cp-sources p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Questions (FAQ du site) ---------- */
.cp-faq { padding: 140px 0 0; }
.cp-faq__titre { margin: 0 0 22px; text-align: center; font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.035em; color: var(--ink); }
.cp-faq .faq__item:first-child { border-top: 1px solid var(--line); }
.cp-faq .faq__a a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Fin de page façon Dia ---------- */
.cp-fin { padding: 150px 0 130px; text-align: center; }
.cp-fin__tuiles { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 0 0 56px; }
.cp-fin__tuile { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 18px; overflow: hidden; transform: rotate(var(--r, 0deg)) translateY(var(--y, 0)); }
.cp-fin__tuile img { width: 40px; height: 40px; object-fit: contain; }
.cp-fin__tuile--encre { background: #1A1813; --r: -12deg; --y: 14px; }
.cp-fin__tuile--ciel { background: #8fdcfb; --r: 6deg; --y: -18px; }
.cp-fin__tuile--lilas { background: #ebc8fb; --r: -5deg; --y: -6px; }
.cp-fin__tuile--peche { background: #fdd2a6; --r: 9deg; --y: 10px; }
.cp-fin__tuile--peche img { width: 66px; height: 66px; object-fit: cover; object-position: 50% 6%; transform: scale(1.35) translateY(9%); }
.cp-fin__titre { max-width: 860px; margin: 0 auto; font-size: clamp(40px, 6.4vw, 84px); font-weight: 500; letter-spacing: -.045em; line-height: 1; color: var(--ink); text-wrap: balance; }
.cp-fin__txt { margin: 22px 0 0; font-size: 17px; color: var(--ink-2); }
.btn.cp-fin__cta { margin-top: 36px; height: 56px !important; padding: 0 44px !important; font-size: 17px !important; }
.cp-fin__liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin: 28px 0 0; font-size: 15px; color: var(--ink-3); }
.cp-fin__liens a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.cp-fin__mention { max-width: 560px; margin: 34px auto 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }

/* ---------- Mode nuit ---------- */
html[data-theme="nuit"] .page-cp { --cp-creme: #2b211b; --cp-creme-filet: rgba(251,120,70,.32); }
html[data-theme="nuit"] .cp-hero__ciel { opacity: .5; }
html[data-theme="nuit"] .cp-ariane { background: rgba(31,31,31,.82); border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
html[data-theme="nuit"] .cp-ariane a, html[data-theme="nuit"] .cp-ariane [aria-current] { color: #fff; }
html[data-theme="nuit"] .cp-toile { background: #2a2a2a; }
html[data-theme="nuit"] .cp-pastille__n { background: #fff; color: #141414; }
html[data-theme="nuit"] .cp-tab .cp-bobby { color: rgba(255,255,255,.9); }
html[data-theme="nuit"] .cp-tab thead .cp-bobby .cp-tab__sol small { color: rgba(255,190,160,.7); }
html[data-theme="nuit"] .cp-sol--bobby h3 { color: #fff; }
html[data-theme="nuit"] .cp-sol--bobby .cp-sol__accroche { color: rgba(255,255,255,.72); }
html[data-theme="nuit"] .cp-sol--bobby .cp-sol__type, html[data-theme="nuit"] .cp-sol--bobby .cp-sol__lien { color: #ff9a70; }
html[data-theme="nuit"] .cp-sol--bobby .cp-sol__col { background: #1f1a17; color: rgba(255,255,255,.88); }
html[data-theme="nuit"] .cp-sol--bobby .cp-sol__col li { color: rgba(255,255,255,.88); }
html[data-theme="nuit"] .cp-sol--bobby .cp-sol__col h4 { color: rgba(255,255,255,.55); }
html[data-theme="nuit"] .cp-sol__col { background: #171717; }
html[data-theme="nuit"] .cp-sol__tuile { background: #fff; }
html[data-theme="nuit"] .cp-col--forces { --pastille-fond: #23362a; --pastille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%238fd6a3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.3 2.3 2.2 4.7-5'/%3E%3C/svg%3E"); }
html[data-theme="nuit"] .cp-col--limites { --pastille-fond: #3d241a; --pastille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23ff9a70' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 6h6'/%3E%3C/svg%3E"); }
html[data-theme="nuit"] .cp-col--pour { --pastille-fond: #2b2a40; --pastille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23b9b5f2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6h7M6.5 3l3 3-3 3'/%3E%3C/svg%3E"); }
html[data-theme="nuit"] .cp-verdict li::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6h7M6.5 3l3 3-3 3'/%3E%3C/svg%3E") center / 10px no-repeat, #333; }
html[data-theme="nuit"] .cp-verdict .cp-verdict--bobby { background: #2b211b; box-shadow: inset 0 0 0 1px rgba(251,120,70,.32); }
html[data-theme="nuit"] .cp-verdict--bobby li::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6h7M6.5 3l3 3-3 3'/%3E%3C/svg%3E") center / 10px no-repeat, var(--cp-orange); }
html[data-theme="nuit"] .cp-fin__tuile--encre { background: #fff; }
html[data-theme="nuit"] .cp-fin__tuile--encre img { filter: invert(1); }
html[data-theme="nuit"] .cp-fin__liens a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }

/* ---------- Apparitions (alternatives.js ajoute .is-in) : seulement si le JS tourne et que les animations sont permises ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .cp-a { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--cp-doux), transform 1.1s var(--cp-doux); transition-delay: calc(var(--i, 0) * 90ms); }
  html.js .cp-a.is-in { opacity: 1; transform: none; }
  html.js .cp-toile.cp-a { opacity: 1; transform: none; clip-path: inset(5% 4% 0 4% round 32px); transition: clip-path 1.2s var(--cp-doux); }
  html.js .cp-toile.cp-a.is-in { clip-path: inset(0 0 0 0 round 32px); }
  html.js .cp-hero .cp-fiche { opacity: 0; transform: translateY(60px); transition: opacity .9s var(--cp-doux), transform 1.2s var(--cp-doux); }
  html.js .cp-hero .cp-fiche + .cp-fiche { transition-delay: .12s; }
  html.js .cp-hero .cp-toile.is-in .cp-fiche { opacity: 1; transform: none; transition-delay: .3s; }
  html.js .cp-hero .cp-toile.is-in .cp-fiche + .cp-fiche { transition-delay: .42s; }
  html.js .cp-atouts .cp-atouts__grille li { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--cp-doux), transform .9s var(--cp-doux); transition-delay: calc(var(--k, 0) * 70ms + .25s); }
  html.js .cp-atouts.is-in .cp-atouts__grille li { opacity: 1; transform: none; }
  html.js .cp-atouts .cp-atouts__bobby { transform: translateY(30px) rotate(-6deg); opacity: 0; transition: transform 1s cubic-bezier(.3,1.5,.5,1) .2s, opacity .6s ease .2s; }
  html.js .cp-atouts.is-in .cp-atouts__bobby { transform: none; opacity: 1; }
  html.js .cp-fin .cp-fin__tuile { opacity: 0; transform: rotate(0deg) translateY(30px) scale(.7); transition: opacity .6s var(--cp-doux), transform .9s cubic-bezier(.3,1.5,.5,1); }
  html.js .cp-fin .cp-fin__tuile:nth-child(2) { transition-delay: .08s; } html.js .cp-fin .cp-fin__tuile:nth-child(3) { transition-delay: .16s; } html.js .cp-fin .cp-fin__tuile:nth-child(4) { transition-delay: .24s; }
  html.js .cp-fin.is-in .cp-fin__tuile { opacity: 1; transform: rotate(var(--r)) translateY(var(--y)); }
  .cp-tab tbody tr :is(th, td) { transition: background .2s ease; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .cp-sol { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cp-atouts__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---------- Téléphone et tablette étroite : le tableau devient des cartes empilées, une par critère ---------- */
@media (max-width: 900px) {
  .cp-tab { background: none; box-shadow: none; }
  .cp-tab table, .cp-tab tbody, .cp-tab tr, .cp-tab th, .cp-tab td { display: block; width: auto; }
  .cp-tab colgroup, .cp-tab thead { display: none; }
  .cp-tab tbody tr { margin: 0 0 12px; padding: 6px 0 4px; border-radius: 22px; background: var(--paper-2); }
  .cp-tab tbody th { padding: 16px 20px 8px; border: 0; font-size: 18px; letter-spacing: -.01em; }
  .cp-tab td { margin: 0 10px 6px; padding: 12px 14px 13px; border: 0; border-radius: 14px; background: var(--paper); font-size: 14.5px; }
  .cp-tab td::before { content: attr(data-sol); display: block; margin: 0 0 3px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
  .cp-tab .cp-bobby, .cp-tab tbody tr:last-child .cp-bobby { box-shadow: inset 0 0 0 1px var(--cp-creme-filet); }
  .cp-tab td.cp-bobby::before { color: #c2370c; }
  html[data-theme="nuit"] .cp-tab td.cp-bobby::before { color: #ff9a70; }
  .cp-tab tbody tr:hover :is(th, td):not(.cp-bobby) { background: inherit; }
  .cp-tab tbody tr:hover td:not(.cp-bobby) { background: var(--paper); }
  .cp-verdict, .cp-comment { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .cp-wrap, .cp-wrap--etroit { width: calc(100% - 32px); }
  .cp-hero { padding: 160px 0 0; }
  .cp-hero__ciel { height: 230px; }
  .cp-ariane { margin-bottom: 24px; }
  .cp-duo { gap: 10px; margin-bottom: 24px; }
  .cp-tuile { height: 54px; border-radius: 15px; }
  .cp-tuile--bobby { width: 54px; }
  .cp-tuile--bobby img { width: 54px; height: 54px; }
  .cp-tuile--nom { padding: 0 15px; font-size: 16.5px; }
  .cp-titre { font-size: clamp(40px, 11.5vw, 56px); }
  .cp-chapeau { font-size: 16.5px; }
  .cp-preuves li { height: 30px; font-size: 12.5px; }
  .cp-hero .actions { flex-direction: column; align-items: stretch; }
  .cp-hero .cp-toile { margin: 44px -8px 0; padding: 22px 12px 0; height: auto; border-radius: 24px; }
  html.js .cp-toile.cp-a { clip-path: inset(3% 3% 0 3% round 24px); }
  html.js .cp-toile.cp-a.is-in { clip-path: inset(0 0 0 0 round 24px); }
  .cp-duel { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cp-fiche { border-radius: 14px; border-bottom: 1px solid rgba(0,0,0,.06); padding-bottom: 4px; }
  .cp-fiche + .cp-fiche { margin-bottom: 14px; }
  .cp-fiche li { font-size: 14px; padding: 10px 0; }
  .cp-sec { padding-top: 88px; }
  .cp-bref { padding-top: 72px; }
  .cp-bref__carte { padding: 26px 22px 28px; border-radius: 22px; }
  .cp-bref__carte p:last-child { font-size: 17px; }
  .cp-tete { margin-bottom: 30px; }
  .cp-pastille { font-size: 11px; letter-spacing: .1em; }
  .cp-h2 { font-size: 31px; margin-top: 16px; }
  .cp-intro { font-size: 16px; }
  .cp-texte { font-size: 16.5px; }
  .cp-sol { padding: 22px 16px 18px; border-radius: 22px; }
  .cp-sol__cols { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cp-meilleur { padding: 16px 10px; border-radius: 24px; }
  .cp-meilleur__doc { padding: 22px 20px 22px; }
  .cp-atouts { padding: 34px 12px 14px; border-radius: 24px; }
  .cp-atouts__tete { grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; padding: 0 8px; }
  .cp-atouts__tete p { font-size: 16px; }
  .cp-atouts__bobby { width: 96px; }
  .cp-atouts__grille { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cp-atouts__note { margin: 10px 0 0; }
  .cp-verdict article { padding: 24px 20px 26px; border-radius: 22px; }
  .cp-choix { padding: 14px 10px; border-radius: 24px; }
  .cp-choix .alt-grille, .cp-choix .alt-quiz { margin: 0; padding: 22px 16px; border-radius: 18px; }
  .cp-avis { padding: 26px 22px 28px; border-radius: 22px; }
  .cp-avis p:first-child { font-size: 18.5px; }
  .cp-sources { padding: 20px 18px; }
  .cp-faq { padding-top: 96px; }
  .cp-fin { padding: 110px 0 90px; }
  .cp-fin__tuiles { gap: 10px; margin-bottom: 40px; }
  .cp-fin__tuile { width: 54px; height: 54px; border-radius: 15px; }
  .cp-fin__tuile img { width: 32px; height: 32px; }
  .cp-fin__tuile--peche img { width: 54px; height: 54px; }
  .cp-fin__liens { flex-direction: column; align-items: center; }
  .cp-fin__liens > span { display: none; }
}
.cp-titre--long { max-width: 1040px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; }
@media (max-width: 720px) { .cp-titre--long { font-size: clamp(34px, 9.6vw, 46px); } }
.cp-fiche__point { flex: none; width: 10px; height: 10px; margin: 0 4px; border-radius: 50%; background: #c9c9c2; }
.cp-atouts__tete p { padding: 18px 22px; border-radius: 16px; background: rgba(255,255,255,.9); color: #3a3a37; }
/* fiches blanches sur peinture : mêmes couleurs en jour et en nuit (le mode nuit recolore les liens et les variables) */
.cp-choix .alt-grille__panneau, .cp-choix .alt-quiz__res { background: #FFF5EC; box-shadow: inset 0 0 0 1px rgba(251,77,23,.28); }
html[data-theme="nuit"] .cp-atouts__grille a, html[data-theme="nuit"] .cp-meilleur__doc a { color: #1c1c1a; text-decoration-color: rgba(0,0,0,.25); }
html[data-theme="nuit"] .cp-choix :is(.alt-grille__panneau, .alt-quiz__res, .alt-quiz__q) :is(h3, legend) { color: #1c1c1a; }
html[data-theme="nuit"] .cp-choix :is(.alt-grille__panneau, .alt-quiz__res) p { color: #3a3a37; }
html[data-theme="nuit"] .cp-choix .alt-quiz__pied p { color: #6b6b66; }
html[data-theme="nuit"] .cp-choix .alt-quiz__res .btn, html[data-theme="nuit"] .cp-choix .alt-quiz__pied .btn { background: #1c1c1a; color: #fff; }
/* en-tête du tableau collé sous le menu : un cache couvre l'espace au-dessus, seulement pendant qu'il est collé (alternatives.js pose .is-colle) */
@media (min-width: 901px) {
  .cp-tab thead th::before { content: ""; position: absolute; left: -1px; right: -1px; bottom: 100%; height: 0; background: var(--paper); pointer-events: none; }
  .cp-tab.is-colle thead th::before { height: 90px; }
  .cp-tab.is-colle thead th { box-shadow: inset 0 -1px 0 var(--line); }
  .cp-tab.is-colle thead .cp-bobby { box-shadow: inset 1px 0 0 var(--cp-creme-filet), inset -1px 0 0 var(--cp-creme-filet), inset 0 -1px 0 var(--line); }
}

/* ============================================================
   Logos officiels des solutions comparées (23/10/2026, demande Axel). Reproduits tels quels (ni recoloration, ni recadrage),
   posés sur une tuile neutre blanche à filet 1 px, à la même taille que la tuile de Bobby ; la tuile reste blanche en mode nuit
   pour qu'un logo sombre reste lisible. Sources : assets/alternatives/logos/SOURCES.txt.
   ============================================================ */
.cp-logo { display: inline-grid; place-items: center; flex: none; box-sizing: border-box; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,.08); vertical-align: middle; }
.cp-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cp-logo--xl { width: 64px; height: 64px; border-radius: 18px; }
.cp-logo--l { width: 52px; height: 52px; border-radius: 15px; }
.cp-logo--m { width: 36px; height: 36px; border-radius: 11px; }
.cp-logo--s { width: 28px; height: 28px; border-radius: 8px; }
.cp-logo--xs { width: 22px; height: 22px; border-radius: 6px; }
/* mot-symbole (Make) : la tuile s'allonge, le logo garde ses proportions */
.cp-logo--mot { width: auto; }
.cp-logo--mot img { width: auto; }
.cp-logo--mot.cp-logo--xl { padding: 0 15px; } .cp-logo--mot.cp-logo--xl img { height: 22px; }
.cp-logo--mot.cp-logo--l { padding: 0 12px; } .cp-logo--mot.cp-logo--l img { height: 18px; }
.cp-logo--mot.cp-logo--m { padding: 0 8px; } .cp-logo--mot.cp-logo--m img { height: 12px; }
.cp-logo--mot.cp-logo--s { padding: 0 6px; } .cp-logo--mot.cp-logo--s img { height: 10px; }
.cp-logo--mot.cp-logo--xs { padding: 0 5px; } .cp-logo--mot.cp-logo--xs img { height: 8px; }
/* Bobby : sa tuile pêche en pâte à modeler, inchangée */
.cp-logo--bobby { background: #fdd2a6; border: 0; }
.cp-logo--bobby img { object-fit: cover; object-position: 50% 6%; transform: scale(1.35) translateY(9%); }
.cp-logos { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.cp-logos:empty { display: none; }
.cp-tab__sol b { display: inline-flex; align-items: center; gap: 8px; }
.cp-duo { gap: 14px; }
.cp-fiche__barre .cp-logo { margin-right: 2px; }
.cp-sources__marques { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
html[data-theme="nuit"] .cp-logo:not(.cp-logo--bobby) { border-color: rgba(255,255,255,.14); }
@media (max-width: 720px) {
  .cp-logo--xl { width: 54px; height: 54px; border-radius: 15px; }
  .cp-logo--mot.cp-logo--xl { width: auto; padding: 0 12px; } .cp-logo--mot.cp-logo--xl img { height: 19px; }
}
