/* Page Contacto B2B : reprend la charte du site (bleu nuit, vert anis, orange au survol). */
.cbdb2b {
  --b2b-navy: #0a1740;
  --b2b-lime: #ddf37c;
  --b2b-lime-soft: #f3f9d9;
  --b2b-orange: #ff5722;
  --b2b-soft: #f5f7fb;
  --b2b-line: rgba(10, 23, 64, .14);
  --b2b-muted: #4a5578;
  color: var(--b2b-navy);
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 8px 0 40px;
}
.cbdb2b p { line-height: 1.6; margin: 0 0 14px; }
.cbdb2b, .cbdb2b p, .cbdb2b h2, .cbdb2b h3, .cbdb2b h4, .cbdb2b li, .cbdb2b span, .cbdb2b label, .cbdb2b legend { text-align: left !important; hyphens: manual; }
.cbdb2b .b2b-success, .cbdb2b .b2b-success p { text-align: center !important; }
.cbdb2b label, .cbdb2b legend { float: none; width: auto; }
.cbdb2b fieldset legend { border: 0; font-size: 16px; margin-bottom: 7px; }
.cbdb2b h2, .cbdb2b h3, .cbdb2b h4 { color: var(--b2b-navy); letter-spacing: .3px; }

/* Introduction */
.cbdb2b-hero {
  background: var(--b2b-soft);
  border-radius: 30px;
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
}
.cbdb2b-hero::after {
  content: "";
  position: absolute;
  right: -90px; top: -90px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--b2b-lime);
  opacity: .55;
}
.cbdb2b-hero > * { position: relative; z-index: 1; max-width: 860px; }
body .cbdb2b-hero h2 { font-size: 40px; line-height: 1.1; font-weight: 900; margin: 0 0 22px; }
.cbdb2b-hero p:last-child { margin-bottom: 0; }
.cbdb2b-cta { margin-top: 26px !important; display: flex; flex-wrap: wrap; gap: 12px; }
.cbdb2b .cbdb2b-btn,
.cbdb2b .b2b-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--b2b-lime); color: var(--b2b-navy) !important;
  font-weight: 700; font-size: 19px; line-height: 1; letter-spacing: .3px;
  padding: 16px 30px; border: 0; border-radius: 9px; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.cbdb2b .cbdb2b-btn:hover, .cbdb2b .cbdb2b-btn:focus-visible,
.cbdb2b .b2b-submit:hover, .cbdb2b .b2b-submit:focus-visible {
  background: var(--b2b-orange); color: #fff !important; font-weight: 700;
}
.cbdb2b .cbdb2b-btn::after { content: "\2193"; font-size: 18px; }

/* Solutions */
.cbdb2b-soluciones { padding: 8px 4px 0; }
body .cbdb2b-soluciones h3, body .cbdb2b-contacto h3, body .cbdb2b-particular h3 {
  font-size: 30px; line-height: 1.15; font-weight: 900; margin: 0 0 14px;
}
.cbdb2b-soluciones > p { max-width: 900px; }
.cbdb2b .cbdb2b-cards {
  list-style: none; margin: 22px 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px;
}
.cbdb2b .cbdb2b-cards li {
  background: #fff; border: 1px solid var(--b2b-line); border-radius: 20px;
  padding: 24px 22px 22px; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cbdb2b .cbdb2b-cards li:hover { border-color: var(--b2b-navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 23, 64, .08); }
.cbdb2b .cbdb2b-cards li::before {
  content: ""; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 6px;
  background: var(--b2b-lime) center / 24px no-repeat;
}
.cbdb2b .cbdb2b-cards li:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1740' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='M12 12C12 7 9 4 5 3c0 5 3 8 7 9z'/%3E%3Cpath d='M12 12c0-5 3-8 7-9 0 5-3 8-7 9z'/%3E%3Cpath d='M12 16c-2-3-5-4-8-4 1 3 4 5 8 4z'/%3E%3Cpath d='M12 16c2-3 5-4 8-4-1 3-4 5-8 4z'/%3E%3C/svg%3E"); }
.cbdb2b .cbdb2b-cards li:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1740' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='12' rx='3'/%3E%3Cpath d='M7 11h.01M11 14h.01M15 11h.01M17 15h.01'/%3E%3C/svg%3E"); }
.cbdb2b .cbdb2b-cards li:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1740' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z'/%3E%3C/svg%3E"); }
.cbdb2b .cbdb2b-cards li:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1740' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l9-5 9 5-9 5-9-5z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E"); }
.cbdb2b .cbdb2b-cards li:nth-child(5)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1740' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4 2.5-2.5z'/%3E%3C/svg%3E"); }
.cbdb2b .cbdb2b-cards strong { font-size: 20px; font-weight: 800; line-height: 1.2; }
.cbdb2b .cbdb2b-cards span { color: var(--b2b-muted); line-height: 1.5; }
.cbdb2b-objetivo { font-weight: 600; }

/* Bloc formulaire */
.cbdb2b-contacto {
  background: var(--b2b-navy); color: #fff; border-radius: 30px;
  padding: 48px 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 40px; align-items: start;
  scroll-margin-top: 140px;
}
body .cbdb2b-contacto h3 { color: #fff; }
.cbdb2b-contacto-intro p { color: rgba(255, 255, 255, .86); }
.cbdb2b-contacto-intro .cbdb2b-mini { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.cbdb2b-contacto-intro .cbdb2b-mini li { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 600; margin: 0; }
.cbdb2b-contacto-intro .cbdb2b-mini li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%;
  background: var(--b2b-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1740' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.b2b-form-card {
  background: #fff; color: var(--b2b-navy); border-radius: 22px;
  padding: 34px 34px 30px; box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}
body .b2b-form-card .b2b-form-title { font-size: 24px; font-weight: 900; margin: 0 0 4px; color: var(--b2b-navy); }
.b2b-form-card .b2b-form-note { font-size: 15px; color: var(--b2b-muted); margin-bottom: 22px; }
.b2b-req { color: var(--b2b-orange); font-weight: 700; }
.b2b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.b2b-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; border: 0; padding: 0; }
.b2b-field--full { grid-column: 1 / -1; }
.b2b-field > label, .b2b-field > legend { font-weight: 700; font-size: 16px; letter-spacing: .3px; margin: 0; padding: 0; }
.b2b-form input[type=text], .b2b-form input[type=email], .b2b-form input[type=tel], .b2b-form select, .b2b-form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 17px; letter-spacing: .3px; color: var(--b2b-navy);
  background: var(--b2b-soft); border: 1.5px solid transparent; border-radius: 9px;
  box-shadow: none; outline: none; transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.b2b-form textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.b2b-form select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1740' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.b2b-form input:hover, .b2b-form select:hover, .b2b-form textarea:hover { border-color: var(--b2b-line); }
.b2b-form input:focus, .b2b-form select:focus, .b2b-form textarea:focus { background-color: #fff; border-color: var(--b2b-navy); }
.b2b-form ::placeholder { color: #8a92ad; opacity: 1; }
.b2b-field.is-invalid input, .b2b-field.is-invalid select, .b2b-field.is-invalid textarea { border-color: var(--b2b-orange); background-color: #fff6f2; }
.b2b-tel { display: flex; gap: 8px; }
.b2b-form .b2b-tel-prefix { flex: 0 0 112px; width: 112px; }
.b2b-tel input { flex: 1; min-width: 0; }

.b2b-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.b2b-chip { position: relative; margin: 0; cursor: pointer; }
.b2b-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.b2b-chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 59px; font-size: 16px; font-weight: 600; letter-spacing: .3px;
  border: 1.5px solid var(--b2b-line); background: #fff; transition: all .15s;
}
.b2b-chip span::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--b2b-line); background: #fff center / 11px no-repeat;
}
.b2b-chip:hover span { border-color: var(--b2b-navy); }
.b2b-chip input:checked + span { background: var(--b2b-lime); border-color: var(--b2b-lime); }
.b2b-chip input:checked + span::before {
  border-color: var(--b2b-navy); background-color: var(--b2b-navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ddf37c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}
.b2b-chip input:focus-visible + span { outline: 2px solid var(--b2b-orange); outline-offset: 2px; }

.b2b-consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; line-height: 1.5; cursor: pointer; }
.b2b-consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--b2b-navy); cursor: pointer; }
.b2b-consent a { color: var(--b2b-navy); text-decoration: underline; font-size: inherit; }

.b2b-error { color: #d83a0a; font-size: 14.5px; font-weight: 600; margin: 0 !important; min-height: 0; line-height: 1.35; }
.b2b-error:empty { display: none; }
.b2b-error--global { margin-top: 16px !important; }
.b2b-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cbdb2b .b2b-submit { width: 100%; margin-top: 22px; padding: 18px 30px; font-size: 20px; }
.b2b-submit:disabled { opacity: .7; cursor: wait; }
.b2b-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: b2b-spin .7s linear infinite; }
.b2b-form.is-sending .b2b-spinner { display: inline-block; }
@keyframes b2b-spin { to { transform: rotate(360deg); } }

.b2b-alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-weight: 600; }
.b2b-alert--ok { background: var(--b2b-lime-soft); }
.b2b-alert--error { background: #fff1ec; color: #b2330b; }

.b2b-success { text-align: center; padding: 30px 10px 14px; outline: none; }
.b2b-success[hidden] { display: none; }
.b2b-success-icon {
  display: inline-block; width: 74px; height: 74px; border-radius: 50%; margin-bottom: 16px;
  background: var(--b2b-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1740' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 36px no-repeat;
}
.b2b-success-title { font-size: 26px; font-weight: 900; margin-bottom: 10px !important; }
.b2b-success p { max-width: 460px; margin-left: auto; margin-right: auto; color: var(--b2b-muted); }

/* Particuliers */
.cbdb2b-particular {
  background: var(--b2b-lime-soft); border-radius: 24px; padding: 30px 36px;
  display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; align-items: start;
}
.cbdb2b-particular::before {
  content: ""; grid-row: 1 / span 3; width: 56px; height: 56px; border-radius: 50%;
  background: var(--b2b-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ddf37c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-7 8-7s8 3 8 7'/%3E%3C/svg%3E") center / 26px no-repeat;
}
body .cbdb2b-particular h3 { font-size: 24px; margin-bottom: 8px; }
.cbdb2b-particular p:last-child { margin-bottom: 0; }
.cbdb2b-particular a { color: var(--b2b-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.cbdb2b-particular a:hover { color: var(--b2b-orange); }

@media (max-width: 991px) {
  .cbdb2b-contacto { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 767px) {
  .cbdb2b { gap: 20px; margin-top: 0; }
  .cbdb2b-hero, .cbdb2b-contacto { padding: 30px 20px; border-radius: 22px; }
  .cbdb2b-hero::after { width: 160px; height: 160px; right: -70px; top: -70px; }
  body .cbdb2b-hero h2 { font-size: 28px; }
  body .cbdb2b-soluciones h3, body .cbdb2b-contacto h3 { font-size: 25px; }
  .cbdb2b .cbdb2b-btn { width: 100%; }
  .b2b-form-card { padding: 24px 18px 20px; border-radius: 18px; }
  .b2b-grid { grid-template-columns: 1fr; gap: 16px; }
  .b2b-form .b2b-tel-prefix { flex-basis: 106px; width: 106px; }
  .cbdb2b-particular { grid-template-columns: 1fr; padding: 24px 20px; }
  .cbdb2b-particular::before { grid-row: auto; margin-bottom: 12px; width: 48px; height: 48px; }
}
