/* Cycles Blain — page « Essayer un vélo électrique » (cbvitrine 1.7.9, maquette validée le 5 nov. 2026).
   S'appuie sur magasin-1.7.1.css (.cbm) et location-1.7.3.css (.cbl). */

/* Haut de page clair : texte à gauche, photo à droite */
.cbe-hero{background:var(--cbm-creme);padding:48px 0 56px}
.cbe .cbe-hero-in{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px;align-items:center}
.cbe-hero-txt{display:flex;flex-direction:column;gap:16px;min-width:0}
.cbm .cbe-ariane,.cbm .cbe-ariane a{color:var(--cbm-gris)}
.cbm .cbe-ariane a:hover{color:var(--cbm-encre)}
.cbe-sur{align-self:flex-start;padding:7px 14px;border-radius:999px;background:var(--cbm-sable);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6f5320}
.cbm h1.cbe-h1{margin:0!important;font-size:clamp(34px,4.6vw,56px)!important;line-height:1.1!important;font-weight:800!important;letter-spacing:-.02em!important;color:var(--cbm-encre)!important}
.cbe-accroche{max-width:500px;font-size:18px;line-height:1.5;color:var(--cbm-texte)}
.cbe-hero-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.cbm .cbe-reserver-haut{align-self:auto;margin-top:0;height:80px;padding:0 32px;font-size:21px;white-space:nowrap;box-shadow:0 14px 36px rgba(11,92,173,.3)}
.cbe-reserver-haut svg{width:28px;height:28px}
.cbm .cbe-lien-modele{display:inline-flex;align-items:center;height:80px;padding:0 22px;border-radius:24px;background:#fff;border:1.5px solid #d9cfbd;color:var(--cbm-encre);font-size:15px;font-weight:800;text-decoration:none;white-space:nowrap}
.cbm .cbe-lien-modele:hover{border-color:var(--cbm-encre);color:var(--cbm-encre)}
.cbe-photo{position:relative;min-width:0}
.cbe-photo img{display:block;width:100%;height:440px;object-fit:cover;border-radius:32px}
.cbe-rembourse{position:absolute;left:-18px;bottom:28px;display:flex;align-items:center;gap:12px;padding:14px 20px;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(60,45,20,.16)}
.cbe-rembourse > span:last-child{display:flex;flex-direction:column}
.cbe-rembourse strong{font-size:16px;font-weight:800}
.cbe-rembourse > span:last-child > span{font-size:13px;color:var(--cbm-gris)}
.cbe-coche{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#e8f0f9;color:var(--cbm-bleu)}

/* Les chiffres, sur fond blanc (le haut de page est déjà crème) */
.cbe-faits-bloc{margin-top:40px;display:flex;flex-direction:column;align-items:center;gap:10px}
.cbe .cbe-faits{width:100%;margin-top:0;background:#fff;border:1px solid #ece4d6}
.cbe-etoile{font-size:13px;text-align:center;color:var(--cbm-gris)}
.cbe-note{font-size:14px;color:var(--cbm-gris)}

/* « Un modèle précis en tête ? » : texte et Jean-Baptiste à gauche, formulaire à droite */
.cbe-modele{margin-top:88px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center;padding:44px;border-radius:32px;background:var(--cbm-creme);scroll-margin-top:90px}
.cbe-modele-txt{display:flex;flex-direction:column;gap:14px;min-width:0}
.cbe-modele-txt p{max-width:440px;font-size:16px;line-height:1.55;color:var(--cbm-texte)}
.cbe-jb{display:flex;align-items:center;gap:14px;margin-top:6px}
.cbe-jb img{flex:none;width:56px;height:56px;border-radius:50%;object-fit:cover;border:3px solid #fff}
.cbe-jb > span{display:flex;flex-direction:column;gap:2px}
.cbe-jb strong{font-size:16px;font-weight:800}
.cbe-jb > span > span{font-size:14px;color:var(--cbm-gris)}
.cbe-ouvrir{display:none}
.cbe-form-boite{min-width:0;padding:28px;border-radius:24px;background:#fff;box-shadow:0 10px 30px rgba(60,45,20,.08)}
.cbe-form{display:flex;flex-direction:column;gap:14px}
.cbe-form[hidden]{display:none}
.cbe-champ{display:flex;flex-direction:column;gap:6px;min-width:0}
.cbe-champ label{margin:0;font-size:13px;font-weight:700;color:var(--cbm-texte)}
.cbe-champ input,.cbe-champ select{width:100%;height:48px;margin:0;padding:0 14px;border:1px solid #d9d2c5;border-radius:14px;background:#fff;font-family:inherit;font-size:16px;color:var(--cbm-encre);box-shadow:none}
.cbe-champ select{padding:0 10px}
.cbe-champ input:focus,.cbe-champ select:focus{outline:2px solid var(--cbm-bleu);outline-offset:1px;border-color:var(--cbm-bleu)}
.cbe-champ input[aria-invalid="true"]{border-color:#b3261e}
.cbe-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cbe-piege{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.cbe-erreur{padding:10px 14px;border-radius:12px;background:#fdecea;color:#8c1d18;font-size:14px;font-weight:600}
.cbe-erreur[hidden]{display:none}
.cbe-envoyer{margin-top:4px;height:60px;border:0;border-radius:18px;background:var(--cbm-bleu);color:#fff;font-family:inherit;font-size:18px;font-weight:800;cursor:pointer}
.cbe-envoyer:hover{background:#08427c}
.cbe-envoyer[disabled]{opacity:.6;cursor:wait}
.cbe-sans{font-size:12px;text-align:center;color:var(--cbm-gris)}
.cbe-merci{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 8px;text-align:center;outline:none}
.cbe-merci[hidden]{display:none}
.cbe-merci strong{font-size:22px;font-weight:800}
.cbe-merci > span:last-child{max-width:340px;font-size:15px;line-height:1.5;color:var(--cbm-texte)}
.cbe-coche-grande{width:56px;height:56px}
.cbe-secours{display:flex;flex-direction:column;align-items:center;gap:12px}

/* Bien choisir : 3 cartes avec petits pictos */
.cbe-criteres{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cbe-critere{display:flex;flex-direction:column;gap:12px;padding:28px;border-radius:24px;background:#fff;border:1px solid var(--cbm-trait)}
.cbe-picto{flex:none;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--cbm-creme);color:var(--cbm-cuivre)}
.cbe-critere-txt{display:flex;flex-direction:column;gap:10px}
.cbe-critere-txt strong{font-size:19px;font-weight:800}
.cbe-critere-txt > span{font-size:15px;line-height:1.55;color:var(--cbm-texte)}
.cbe-critere-txt .cbe-critere-liens{display:flex;flex-wrap:wrap;gap:14px;font-size:14px;font-weight:700}
.cbe-guides{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.cbe-guides > span{margin-right:4px;font-size:14px;font-weight:700;color:var(--cbm-gris)}
.cbm .cbe-guides a{padding:10px 16px;border-radius:999px;background:var(--cbm-fond);font-size:14px;font-weight:700;color:var(--cbm-encre);text-decoration:none}
.cbm .cbe-guides a:hover{background:var(--cbm-sable);color:var(--cbm-encre)}

/* Les avantages : 5 tuiles */
.cbe-avantages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.cbe-avantages li{display:flex;flex-direction:column;align-items:center;gap:12px;padding:26px 16px;border-radius:24px;background:var(--cbm-creme);text-align:center;color:var(--cbm-cuivre)}
.cbe-avantages strong{font-size:15px;line-height:1.3;font-weight:800;color:var(--cbm-encre)}

/* Journées d'essai */
.cbm .cbe-journees{margin-top:56px;display:flex;flex-wrap:wrap;align-items:center;gap:16px 20px;padding:26px 30px;border-radius:24px;border:1px solid #ece4d6;color:var(--cbm-encre);text-decoration:none}
.cbm .cbe-journees:hover{border-color:#c9b99f;color:var(--cbm-encre)}
.cbe-journees .cbe-picto{width:52px;height:52px}
.cbe-journees-txt{flex:1 1 300px;display:flex;flex-direction:column;gap:2px}
.cbe-journees-txt strong{font-size:18px;font-weight:800}
.cbe-journees-txt span{font-size:14px;color:var(--cbm-gris)}
.cbe-journees-btn{padding:14px 22px;border-radius:999px;background:var(--cbm-fond);font-size:15px;font-weight:700}

/* « Prêt à essayer ? » */
.cbe-fin{margin-top:72px;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.cbe-fin-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.cbm .cbe-fin .cbl-reserver{align-self:auto;margin-top:0;height:76px;padding:0 44px;font-size:22px;box-shadow:none}
.cbm .cbe-contour{display:inline-flex;align-items:center;height:76px;padding:0 32px;border-radius:24px;background:#fff;border:1.5px solid #d9cfbd;color:var(--cbm-encre);font-size:17px;font-weight:800;text-decoration:none}
.cbm .cbe-contour:hover{border-color:var(--cbm-encre);color:var(--cbm-encre)}
.cbl .cbe-liens{justify-content:center}

@media (max-width:1100px){
  .cbe-avantages{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cbe .cbe-hero-in{gap:32px}
  .cbe-modele{gap:28px;padding:32px}
}

/* Téléphone (maquette validée) : photo en haut, peu de texte, formulaire qui s'ouvre */
@media (max-width:767px){
  .cbe-hero{padding:0 0 22px}
  .cbe .cbe-hero-in{display:flex;flex-direction:column-reverse;gap:0;padding:0}
  .cbe-hero-txt{gap:12px;padding:30px 16px 0}
  .cbe-sur{padding:6px 12px;font-size:11px}
  .cbm h1.cbe-h1{font-size:32px!important;line-height:1.14!important}
  .cbe-accroche{font-size:15px}
  .cbe-hero-btns{flex-direction:column;gap:2px;margin-top:4px}
  .cbm .cbe-reserver-haut,.cbm .cbe-fin .cbl-reserver{align-self:stretch;justify-content:center;height:64px;padding:0 16px;border-radius:18px;font-size:20px}
  .cbe-reserver-haut svg,.cbe-fin .cbl-reserver svg{width:24px;height:24px}
  .cbm .cbe-lien-modele{align-self:center;height:auto;padding:10px;border:0;background:transparent;font-size:14px;white-space:normal}
  .cbe-photo img{height:250px;border-radius:0}
  .cbe-rembourse{left:auto;right:14px;bottom:-18px;gap:8px;padding:9px 14px;border-radius:16px}
  .cbe-rembourse .cbe-coche{width:24px;height:24px;background:transparent}
  .cbe-rembourse .cbe-coche svg{width:16px;height:16px}
  .cbe-rembourse > span:last-child{flex-direction:row;gap:4px}
  .cbe-rembourse strong,.cbe-rembourse > span:last-child > span{font-size:13px;font-weight:800;color:var(--cbm-encre)}
  .cbe-faits-bloc{margin-top:24px;align-items:stretch;gap:8px}
  .cbe .cbe-faits strong{font-size:24px}
  .cbe-etoile{font-size:11px;line-height:1.4;text-align:left}
  .cbe-note{font-size:13px}
  .cbe-modele{margin-top:40px;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:22px 18px;border-radius:22px}
  .cbe-modele-txt{gap:10px}
  .cbm .cbe-modele .cbm-h2{font-size:21px!important}
  .cbe-modele-txt p{font-size:14px}
  .cbe-jb{margin-top:2px;gap:12px}
  .cbe-jb img{width:48px;height:48px}
  .cbe-jb strong{font-size:14px}
  .cbe-jb > span > span{font-size:13px}
  .cbe-ouvrir{display:block;width:100%;height:56px;margin-top:4px;border:0;border-radius:16px;background:var(--cbm-bleu);color:#fff;font-family:inherit;font-size:17px;font-weight:800;cursor:pointer}
  .cbe-ouvrir[aria-expanded="true"]{display:none}
  .cbe-form-boite{display:none;padding:18px 16px;border-radius:18px;box-shadow:none}
  .cbe-form-boite.cbe-ouvert,.cbe-form-boite.cbe-secours{display:flex;flex-direction:column}
  .cbe-form{gap:12px}
  .cbe-duo{gap:10px}
  .cbe-duo-contact{grid-template-columns:1fr}
  .cbe-champ input,.cbe-champ select{height:48px;border-radius:12px}
  .cbe-envoyer{height:56px;border-radius:16px;font-size:17px}
  .cbe-criteres{display:flex;flex-direction:column;gap:14px}
  .cbe-critere{flex-direction:row;align-items:flex-start;gap:12px;padding:0;border:0;border-radius:0}
  .cbe-picto{width:44px;height:44px}
  .cbe-picto svg{width:22px;height:22px}
  .cbe-critere-txt{gap:3px}
  .cbe-critere-txt strong{font-size:15px}
  .cbe-critere-txt > span{font-size:13px;line-height:1.45;color:var(--cbm-gris)}
  .cbe-critere-txt .cbe-critere-liens{gap:10px;font-size:13px}
  .cbe-guides > span{display:none}
  .cbm .cbe-guides a{padding:8px 12px;font-size:13px}
  .cbe-avantages{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cbe-avantages li{flex-direction:row;gap:10px;padding:14px 12px;border-radius:16px;text-align:left}
  .cbe-avantages li svg{flex:none;width:22px;height:22px}
  .cbe-avantages li:last-child{grid-column:1 / -1}
  .cbe-avantages strong{font-size:13px}
  .cbm .cbe-journees{margin-top:36px;gap:6px 12px;padding:16px;border-radius:18px}
  .cbe-journees .cbe-picto{width:44px;height:44px}
  .cbe-journees-txt{flex:1 1 0;min-width:0}
  .cbe-journees-txt strong{font-size:15px}
  .cbe-journees-txt span{display:none}
  .cbe-journees-btn{flex-basis:100%;padding:0 0 0 56px;background:none;font-size:13px;color:var(--cbm-bleu)}
  .cbe-fin{margin-top:36px;gap:12px}
  .cbe-fin-btns{flex-direction:column;align-self:stretch;gap:10px}
  .cbm .cbe-contour{justify-content:center;height:56px;border-radius:16px;font-size:16px}
  .cbl .cbe-liens{margin-top:28px;justify-content:flex-start}
  .cbm.cbl .cbe-liens a{padding:10px 14px;font-size:13px}
}
@media (prefers-reduced-motion:reduce){
  .cbe-envoyer{transition:none}
}
