/* Cycles Blain — cbvitrine 1.3.1 et 1.3.2 : retouches validées sur maquettes le 29 oct. 2026.
   Chargé après vitrine-1.2.15.css. Fond blanc bien détouré, plus de grands aplats noirs. */

/* ---------- 1. Les 4 boutons du haut : même famille, « Acheter » en gras, « RDV atelier » en bleu ---------- */
.cbv .cbv-rangee .cbv-bouton, .cbv .cbv-rangee .cbv-bouton:hover,
.cbv .cbv-rangee .cbv-bouton-acheter, .cbv .cbv-rangee .cbv-bouton-acheter:hover, .cbv .cbv-rangee .cbv-bouton-louer {
  background: #ffffff; border: 1px solid #e3dace; color: #1d1d1f; font-weight: 500; box-shadow: none; transform: none; }
.cbv .cbv-rangee .cbv-bouton:hover { border-color: #cbbfae; box-shadow: 0 4px 14px rgba(80, 60, 30, .08); }
.cbv .cbv-rangee .cbv-bouton .cbv-pastille, .cbv .cbv-rangee .cbv-bouton:hover .cbv-pastille { background: transparent; color: #0b5cad; }
.cbv .cbv-rangee .cbv-bouton-louer .cbv-pastille, .cbv .cbv-rangee .cbv-bouton-louer:hover .cbv-pastille { color: #6e6e73; }
/* Acheter : juste en gras, contour foncé (plus de bouton noir) */
.cbv .cbv-rangee .cbv-bouton-acheter, .cbv .cbv-rangee .cbv-bouton-acheter:hover { border: 1.5px solid #1d1d1f; font-weight: 800; }
.cbv .cbv-rangee .cbv-bouton-acheter .cbv-pastille, .cbv .cbv-rangee .cbv-bouton-acheter:hover .cbv-pastille { color: #1d1d1f; }
/* Bouton ouvert : beige doux, contour foncé (plus de noir) */
.cbv .cbv-rangee .cbv-bouton[aria-expanded="true"] { background: #f4efe8; border: 1.5px solid #1d1d1f; color: #1d1d1f; box-shadow: none; }
.cbv .cbv-rangee .cbv-bouton[aria-expanded="true"] .cbv-pastille { background: transparent; color: #1d1d1f; }
/* RDV atelier : bleu, ombre plus douce */
.cbv .cbv-rangee .cbv-bouton-bleu, .cbv .cbv-rangee .cbv-bouton-bleu:hover, .cbv .cbv-rangee .cbv-bouton-bleu[aria-expanded="true"] {
  border: 1px solid transparent; background: linear-gradient(135deg, #1a78dc, #0b5cad); color: #ffffff; font-weight: 600; box-shadow: 0 4px 14px rgba(11, 92, 173, .25); }
.cbv .cbv-rangee .cbv-bouton-bleu .cbv-pastille, .cbv .cbv-rangee .cbv-bouton-bleu:hover .cbv-pastille,
.cbv .cbv-rangee .cbv-bouton-bleu[aria-expanded="true"] .cbv-pastille { background: transparent; color: #ffffff; }
/* Menu tiroir (petits écrans d'ordinateur) : Acheter en gras, pas en noir */
.cbv .cbv-pilule-acheter { background: #ffffff !important; color: #1d1d1f !important; border: 1.5px solid #1d1d1f !important; font-weight: 800; }
@media (min-width: 992px) {
  .cbv .cbv-rangee .cbv-bouton { border-radius: 14px; }
}

/* ---------- 2. Panneau RDV : deux boutons simples ---------- */
.cbv .cbv-p-atelier.cbv-rdv { display: grid; grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "titre liens" "tuiles liens"; gap: 14px 32px; max-width: 1100px; align-items: start; }
.cbv-rdv-titre { grid-area: titre; font-size: 20px; font-weight: 800; color: #1d1d1f; }
.cbv-rdv-tuiles { grid-area: tuiles; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cbv-rdv .cbv-liens-simples { grid-area: liens; }
.cbv-rdv-tuile, .cbv-rdv-tuile:visited { display: flex; align-items: center; gap: 14px; min-height: 96px; padding: 16px 20px; border: 1.5px solid #d6cbbb; border-radius: 20px;
  background: #ffffff; color: #1d1d1f !important; text-decoration: none !important; box-shadow: 0 4px 14px rgba(80, 60, 30, .06); transition: box-shadow .15s, border-color .15s; }
.cbv-rdv-tuile:hover { border-color: #b9ab96; box-shadow: 0 8px 22px rgba(80, 60, 30, .12); color: #1d1d1f; }
.cbv-rdv-tuile:focus-visible { outline: 3px solid rgba(11, 92, 173, .35); outline-offset: 2px; }
.cbv-rdv-ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: #e8f0fa; color: #0b5cad; display: inline-flex; align-items: center; justify-content: center; }
.cbv-rdv-nom { flex: 1 1 auto; font-size: 18px; font-weight: 700; line-height: 1.2; }
.cbv-rdv-fleche { font-size: 24px; line-height: 1; color: #6e6e73; }
.cbv-rdv-beige, .cbv-rdv-beige:visited { background: #f4efe8; }
.cbv-rdv-beige .cbv-rdv-ico { background: #ffffff; color: #8a5a1c; }
@media (max-width: 991px) {
  .cbv .cbv-p-atelier.cbv-rdv { grid-template-columns: 1fr; grid-template-areas: "titre" "tuiles" "liens"; gap: 14px; }
  .cbv-rdv-titre { font-size: 22px; }
  .cbv-rdv-tuiles { grid-template-columns: 1fr; gap: 12px; }
  .cbv-rdv-tuile { min-height: 76px; padding: 0 16px; }
  .cbv-rdv-nom { font-size: 17px; }
}

/* ---------- 3. Accueil : « Votre assistant vélo » sur fond blanc bien détouré ---------- */
.cbv-accueil .cba-assistant { margin: 28px clamp(16px, 4vw, 56px) 0; }
.cba-as-carte { max-width: 820px; margin: 0 auto; padding: 26px 30px; border: 1.5px solid #e3dace; border-radius: 24px; background: #ffffff;
  box-shadow: 0 10px 30px rgba(80, 60, 30, .07); display: flex; flex-direction: column; gap: 18px; }
.cba-as-tete { display: flex; align-items: center; gap: 14px; }
.cba-as-av { position: relative; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #8a5a1c; color: #ffffff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.cba-as-av::after { content: ""; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #2f9e57; border: 2px solid #ffffff; }
.cba-as-txt { display: flex; flex-direction: column; line-height: 1.25; }
.cba-as-txt strong { font-size: 22px; font-weight: 800; color: #1d1d1f; }
.cba-as-txt > span { font-size: 14px; font-weight: 500; color: #6e6e73; }
.cba-assistant .cba-cherche { height: 62px; padding: 0 6px 0 24px; border: 1.5px solid #d6cbbb; border-radius: 999px; background: #ffffff; box-shadow: none; }
.cba-assistant .cba-cherche:focus-within { border-color: #0b5cad; }
.cba-assistant .cba-cherche input { font-size: 17px; font-weight: 500; color: #1d1d1f; }
.cba-assistant .cba-cherche input::placeholder { color: #a69c90; font-weight: 400; opacity: 1; }
.cba-assistant .cba-cherche button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: 999px;
  background: linear-gradient(135deg, #1a78dc, #0b5cad); color: #ffffff; font-size: 15px; font-weight: 700; }
.cba-assistant .cba-cherche button svg { display: none; }
/* La réponse de l'assistant (module cbpierrelouis) s'affiche dans la carte, sous la barre */
.cba-as-carte .cbpl.cbpl-accueil { margin: 0; }

/* H1 : plus bas, au-dessus de la famille Blain */
.cba-h1-zone { margin: 56px clamp(16px, 4vw, 56px) 0; padding-top: 32px; border-top: 1px solid #efe9e1; }
.cba-h1-bas { max-width: 760px; margin: 0; font-size: 26px; font-weight: 800; line-height: 1.2; color: #1d1d1f; }

/* Bons plans : cartes blanches, la photo garde sa bulle studio, la remise à côté du prix */
.cba-bp-carte { background: #ffffff; border: 1px solid #e3dace; }
.cba-bp-carte:hover { box-shadow: 0 10px 26px rgba(80, 60, 30, .09); }
.cba-bp-img { background: #ece8e1; }
.cba-bp-recond { border: 3px solid #f2c94c; }
.cba-bp-prix { flex-wrap: wrap; row-gap: 2px; }
.cba-bp-promo .cba-bp-prix strong { color: #c2361f; }
.cba-bp-remise { padding: 2px 7px; border-radius: 8px; background: #c2361f; color: #ffffff; font-size: 12px; font-weight: 800; }

@media (max-width: 767px) {
  .cbv-accueil .cba-assistant { margin: 16px 16px 0; }
  .cba-as-carte { padding: 16px; gap: 12px; border-radius: 20px; box-shadow: 0 6px 18px rgba(80, 60, 30, .07); }
  .cba-as-tete { gap: 10px; }
  .cba-as-av { width: 34px; height: 34px; font-size: 12px; }
  .cba-as-av::after { width: 10px; height: 10px; }
  .cba-as-txt strong { font-size: 17px; }
  .cba-as-txt > span { font-size: 12px; }
  .cba-assistant .cba-cherche { height: 54px; padding: 0 5px 0 18px; }
  .cba-assistant .cba-cherche input { font-size: 16px; }
  .cba-assistant .cba-cherche button { width: 44px; height: 44px; padding: 0; }
  .cba-assistant .cba-cherche button .cba-as-lib { display: none; }
  .cba-assistant .cba-cherche button svg { display: block; }
  .cba-h1-zone { margin: 36px 16px 0; padding-top: 22px; }
  .cba-h1-bas { font-size: 20px; }
  .cba-bp-remise { font-size: 11px; padding: 2px 6px; }
}

/* ---------- 4. Comparateur « Ma sélection » sur téléphone : nom de la caractéristique centré entre les vélos ---------- */
@media (max-width: 767px) {
  .cbs .cbs-ligne { padding: 12px 0 6px; border-bottom: 0; }
  .cbs .cbs-lib { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #6b645c; text-align: center; }
  .cbs .cbs-lib::before, .cbs .cbs-lib::after { content: ""; flex: 1 1 auto; height: 1px; background: #e3dace; }
  .cbs .cbs-ligne-velos .cbs-lib { display: none; }
  .cbs .cbs-val { text-align: center; }
  .cbs .cbs-section { text-align: left; }
}

/* ===================== 1.3.2 — retouches du 29 oct. (maquettes 9 et 11) ===================== */

/* ---------- 5. Accueil : H1 discret, chiffres de la famille Blain lisibles ---------- */
.cbv-accueil .cba-h1-zone .cba-h1-bas, .cbv-accueil h1.cba-h1-bas { max-width: 820px; margin: 0 !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.5 !important;
  letter-spacing: 0 !important; text-transform: none !important; color: #6b645c !important; }
.cbv-accueil .cba-chiffres > span { border-radius: 16px; background: #f4efe8; padding: 14px 8px; }
.cbv-accueil .cba-chiffres strong { color: #1d1d1f !important; }
.cbv-accueil .cba-chiffres span span { color: #5c554d !important; }
.cbv-accueil .cba-chiffres { gap: 10px; }
@media (max-width: 767px) {
  .cbv-accueil .cba-h1-zone .cba-h1-bas, .cbv-accueil h1.cba-h1-bas { font-size: 14px !important; }
  .cbv-accueil .cba-chiffres > span { background: #f4efe8 !important; padding: 12px 4px; }
  .cbv-accueil .cba-chiffres strong { font-size: 22px; }
  .cbv-accueil .cba-chiffres span span { font-size: 11px; line-height: 1.3; }
}

/* ---------- 6. Menu « Acheter » sur téléphone : onglets en tuiles, catégories 2 par ligne ---------- */
.cbv-onglet-ico { display: none; }
@media (max-width: 991px) {
  .cbv .cbv-p-acheter { gap: 14px; padding: 8px 16px 28px; }
  /* Vélos neufs / Occasions / Accessoires : 3 tuiles bien visibles, l'onglet ouvert en beige (plus de noir) */
  .cbv .cbv-onglets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cbv .cbv-onglet { flex-direction: column; justify-content: center; gap: 6px; height: 72px; padding: 0 4px; border: 1px solid #e3dace; border-radius: 16px;
    background: #ffffff; color: #1d1d1f; font-size: 13px; font-weight: 600; }
  .cbv .cbv-onglet:hover { background: #ffffff; }
  .cbv .cbv-onglet.actif { border: 1.5px solid #1d1d1f; background: #f4efe8; color: #1d1d1f; font-weight: 800; }
  .cbv .cbv-onglet .cbv-onglet-ico { display: block; }
  .cbv .cbv-onglet > span[aria-hidden="true"] { display: none; }
  /* Tous / Électriques / Musculaires : petit sélecteur beige */
  .cbv .cbv-moteurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: stretch; padding: 4px; background: #f4efe8; }
  .cbv .cbv-moteurs button { padding: 0; height: 38px; font-size: 13px; color: #4a443d; }
  .cbv .cbv-moteurs button.actif { color: #1d1d1f; box-shadow: 0 1px 4px rgba(80, 60, 30, .15); }
  /* Catégories : tuiles 2 par ligne, picto + nom ; les sous-catégories restent dans la page pour Google */
  .cbv .cbv-types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cbv .cbv-type { flex-direction: row; align-items: center; gap: 10px; min-height: 72px; padding: 0 12px; border: 1px solid #e3dace; border-radius: 18px;
    background: #ffffff; box-shadow: 0 3px 10px rgba(80, 60, 30, .05); }
  .cbv .cbv-type::before { content: ""; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
    background: #f4efe8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='22' viewBox='0 0 26 24' fill='none' stroke='%238a5a1c' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='6' cy='16' r='4'/%3E%3Ccircle cx='20' cy='16' r='4'/%3E%3Cpath d='M6 16l4-7h7l3 7M10 9l3 7h-7M15 6h3'/%3E%3C/svg%3E") center / 24px 22px no-repeat; }
  .cbv .cbv-type-nom { font-size: 15px; line-height: 1.2; }
  .cbv .cbv-contenu[data-moteur] .cbv-type-liens { display: none !important; }
  .cbv .cbv-type.cbv-bloc-cliquable:hover { background: #ffffff; border-color: #cbbfae; }
  .cbv .cbv-occ .cbv-type { background: #ffffff; border-color: #f2d58a; }
  .cbv .cbv-occ .cbv-type::before { background-color: #fff8e1; }
  /* Accessoires : familles 2 par ligne, plus compactes */
  .cbv .cbv-famille { min-height: 0; padding: 14px; gap: 8px; border: 1px solid #e3dace; background: #ffffff; }
  .cbv .cbv-famille-texte span { display: none; }
  .cbv .cbv-famille-texte { max-width: none; }
  .cbv .cbv-famille-dessin { width: 52px; height: 52px; right: -6px; bottom: -8px; opacity: .3; }
  .cbv .cbv-famille-fleche { display: none; }
  /* Colonne de droite : « Trouver mon vélo » est remplacé par l'assistant ; reste « Bons plans » en une ligne jaune */
  .cbv .cbv-cote .cbv-trouver { display: none !important; }
  .cbv .cbv-bons-plans { flex-direction: row; align-items: center; justify-content: space-between; padding: 0 16px; min-height: 56px; border: 1.5px solid #f2c94c; border-radius: 18px; background: #fff8dc; }
  .cbv .cbv-bons-plans strong { font-size: 15px; }
  .cbv .cbv-bons-plans strong svg { display: none; }
  .cbv .cbv-bons-plans span { display: none; }
  .cbv .cbv-bons-plans::after { content: "›"; font-size: 22px; font-weight: 700; color: #3a2a00; }
}
.cbv .cbv-onglet .cbv-onglet-lib { display: inline; }
/* Ordinateur aussi : onglet ouvert en beige avec contour foncé, plus de noir */
.cbv .cbv-onglet.actif { background: #f4efe8; color: #1d1d1f; box-shadow: inset 0 0 0 1.5px #1d1d1f; }
