/* Shared CaleoSol header, sample dialog and footer. Loaded after legacy styles. */
:root { --cs-header-height: 129px; }
body.cs-site-layout { height: auto !important; margin: 0; padding-top: var(--cs-header-height) !important; }
.cs-site-layout [id] { scroll-margin-top: calc(var(--cs-header-height) + 16px); }
#barre-menu.cs-header, #barre-menu.cs-header *, .cs-site-footer, .cs-site-footer *,
.cs-sample-overlay, .cs-sample-overlay * { box-sizing: border-box; }
#barre-menu.cs-header, .cs-site-footer, .cs-sample-overlay {
  font-family: "Varela Round", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #000 !important;
  text-align: left;
}
#barre-menu.cs-header *, .cs-site-footer * { color: #000 !important; }
#barre-menu.cs-header a, .cs-site-footer a { text-decoration: none; }
#barre-menu.cs-header a:focus-visible, #barre-menu.cs-header button:focus-visible,
#barre-menu.cs-header summary:focus-visible, .cs-site-footer a:focus-visible {
  outline: 2px solid #a16e0a; outline-offset: 4px;
}
#barre-menu.cs-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  width: 100%; height: auto; margin: 0; padding: 0;
  background: #fff; border: 0; box-shadow: 0 4px 22px rgb(0 0 0 / 10%);
}
#barre-menu .cs-header-top {
  display: grid; grid-template-columns: 190px minmax(180px, 1fr) auto minmax(180px, 260px);
  align-items: center; gap: 20px; max-width: 1180px;
  min-height: 82px; margin: 0 auto; padding: 6px 20px;
}
#barre-menu .cs-logo { display: block; width: 190px; line-height: 0; }
#barre-menu .cs-logo img { display: block; width: 190px; max-width: 100%; height: auto; object-fit: contain; }
#barre-menu .cs-sample-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 48px; margin: 0; padding: 9px 12px;
  background: #f6be46; border-radius: 9px; text-align: center; line-height: 1.3;
}
#barre-menu .cs-sample-cta:hover { background: #f2b42f; }
#barre-menu .cs-sample-cta strong { font-size: 14px; font-weight: 700; }
#barre-menu .cs-sample-cta span { font-size: 12px; }
#barre-menu .cs-phones { display: grid; gap: 2px; margin: 0; font-size: 12px; white-space: nowrap; }
#barre-menu .cs-phones span { display: grid; grid-template-columns: 58px auto; gap: 5px; }
#barre-menu .cs-phones b { font-weight: 600; }
#barre-menu .cs-phones a:hover { text-decoration: underline; }
#barre-menu .cs-search { display: flex; width: 100%; margin: 0; padding: 0; }
#barre-menu .cs-search input { min-width: 0; height: 38px; margin: 0; font: inherit; font-size: 13px; line-height: normal; box-shadow: none; }
#barre-menu .cs-search input[type="search"] {
  flex: 1; width: 100%; padding: 0 10px; color: #000;
  background: #fff; border: 1px solid #c7c9c5; border-radius: 7px 0 0 7px;
}
#barre-menu .cs-search input[type="submit"] {
  width: auto; padding: 0 12px; cursor: pointer; appearance: none;
  background: #f6be46; border: 1px solid #f6be46; border-radius: 0 7px 7px 0;
}
#barre-menu .cs-menu-toggle { display: none; }
#barre-menu .cs-primary-nav {
  display: flex; position: static; align-items: stretch; justify-content: center;
  width: 100%; min-height: 47px; margin: 0; padding: 0;
  background: #fff; border-top: 1px solid #ecece8;
}
#barre-menu .cs-primary-nav > a, #barre-menu .cs-contact-menu > summary {
  display: flex; align-items: center; min-height: 46px; margin: 0; padding: 10px 18px;
  border: 0; border-radius: 0; background: transparent;
  font-size: 14px; font-weight: 400; line-height: 1.4; cursor: pointer; list-style: none;
}
#barre-menu .cs-contact-menu > summary::-webkit-details-marker { display: none; }
#barre-menu .cs-contact-menu > summary::after { content: "⌄"; margin-left: 8px; }
#barre-menu .cs-primary-nav > a:hover, #barre-menu .cs-primary-nav > a[aria-current="page"],
#barre-menu .cs-contact-menu > summary:hover, #barre-menu .cs-contact-menu[open] > summary { background: #fff5dd; }
#barre-menu .cs-contact-menu { position: relative; display: block; margin: 0; padding: 0; }
#barre-menu .cs-contact-links {
  position: absolute; top: 100%; right: 0; z-index: 2; min-width: 270px;
  padding: 8px; background: #fff; border: 1px solid #ecece8;
  border-radius: 0 0 9px 9px; box-shadow: 0 12px 30px rgb(0 0 0 / 13%);
}
#barre-menu .cs-contact-links a { display: block; padding: 10px 12px; font-size: 13px; line-height: 1.4; border-radius: 5px; }
#barre-menu .cs-contact-links a:hover { background: #fff5dd; }
#barre-menu .cs-mobile-tools { display: none; }

/* Keep the original fixed-width WebPlus articles scrollable inside their own area. */
.cs-legacy-content { display: block; width: 100%; margin: 0; padding: 20px 0 32px; }
.cs-legacy-scroll { width: 100%; overflow-x: auto; }
.cs-legacy-scroll > #divMain { flex: none; }

.cs-site-footer {
  display: block; position: relative; clear: both; width: 100%; margin: 32px 0 0;
  padding: 36px 24px 30px; background: #f2f3ef; border-top: 3px solid #e5b34b;
}
.cs-footer-inner { width: 100%; max-width: 1140px; margin: 0 auto; }
.cs-site-footer h2 { margin: 0 0 24px; padding: 0; font-size: 22px; font-weight: 700; line-height: 1.3; text-transform: none; }
.cs-footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 48px; }
.cs-site-footer h3 { margin: 0 0 10px; padding: 0 0 10px; font-size: 14px; font-weight: 700; line-height: 1.4; text-transform: none; border-bottom: 1px solid #c9cbbf; }
.cs-footer-links ul { margin: 0; padding: 0; list-style: none; }
.cs-footer-links li { margin: 0; padding: 0; }
.cs-footer-links a { display: inline-block; padding: 6px 0; font-size: 13px; line-height: 1.45; }
.cs-footer-links a:hover, .cs-footer-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: #ad7616; text-underline-offset: 4px; }
.cs-footer-company { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px 48px; margin-top: 28px; padding-top: 26px; border-top: 1px solid #d0d3c8; }
.cs-footer-company p, .cs-footer-company address { margin: 0; padding: 0; font-size: 13px; font-style: normal; line-height: 1.8; }
.cs-footer-company strong { display: block; margin-bottom: 3px; font-weight: 700; }
.cs-footer-company .cs-footer-phone { display: inline-block; padding: 2px 0; font-weight: 700; text-decoration: underline; text-decoration-color: #b28225; text-underline-offset: 4px; }

/* These rules also support the original forms on the older Webflow pages. */
.cs-sample-overlay {
  display: none !important; position: fixed !important; inset: 0 !important; z-index: 10000 !important;
  width: 100% !important; height: 100% !important; margin: 0 !important; padding: 24px !important;
  overflow-y: auto !important; background: rgb(13 31 35 / 72%) !important; backdrop-filter: blur(5px);
}
.cs-sample-overlay[data-cs-open] { display: block !important; visibility: visible !important; opacity: 1 !important; }
.cs-sample-overlay #ECHANTILLON.echantillon {
  display: block !important; position: relative !important; inset: auto !important;
  width: min(720px, 100%) !important; max-width: 720px !important; height: auto !important;
  max-height: none !important; margin: 12px auto !important; padding: 0 !important;
  overflow: visible !important; color: #000 !important; background: #fff !important;
  border: 0; border-radius: 18px; box-shadow: 0 24px 70px rgb(7 24 28 / 35%);
  opacity: 1 !important; transform: none !important;
}
.cs-sample-overlay #ECHANTILLON .echantillon-pop-up {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  position: static; width: 100%; height: auto; margin: 0; padding: 32px;
  font: inherit; color: #000; text-align: left;
  background: #fff; border: 0; border-top: 5px solid #f6a515; border-radius: 18px;
}
.cs-sample-overlay #ECHANTILLON .sample-close {
  display: grid; place-items: center; position: absolute; top: 14px; right: 16px;
  z-index: 2; width: 34px; height: 34px; margin: 0; padding: 0;
  font: 26px/1 Arial, sans-serif; color: #000; cursor: pointer;
  background: #f0f2ee; border: 0; border-radius: 50%;
}
.cs-sample-overlay #ECHANTILLON .sample-close:hover { background: #ffe3aa; }
.cs-sample-overlay #ECHANTILLON .sample-form-heading,
.cs-sample-overlay #ECHANTILLON .echantillon-pop-up > .echantillon {
  grid-column: 1 / -1; display: block; position: static; width: auto; height: auto;
  margin: 0; padding: 0 35px 6px 0; color: #000; background: none; border: 0;
  font-size: 21px; font-weight: 700; line-height: 1.25; text-align: left;
}
.cs-sample-overlay #ECHANTILLON .sample-form-eyebrow { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cs-sample-overlay #ECHANTILLON .sample-form-heading h2 { margin: 0 0 7px; font-size: clamp(21px, 3vw, 27px); font-weight: 700; line-height: 1.2; }
.cs-sample-overlay #ECHANTILLON .sample-form-heading p { margin: 0; font-size: 14px; font-weight: 400; }
.cs-sample-overlay #ECHANTILLON .sample-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; color: #000; font-size: 13px; font-weight: 600; }
.cs-sample-overlay #ECHANTILLON .sample-field small { font-size: 12px; font-weight: 400; }
.cs-sample-overlay #ECHANTILLON .w-input {
  display: block; width: 100%; min-height: 44px; height: auto; margin: 0; padding: 10px 12px;
  font: 14px/1.5 "Varela Round", Arial, sans-serif; color: #000; background: #fafbf9;
  border: 1px solid #cdd3c8; border-radius: 8px; box-shadow: none;
}
.cs-sample-overlay #ECHANTILLON .w-input::placeholder { color: #484d46; opacity: 1; }
.cs-sample-overlay #ECHANTILLON .w-input:focus { background: #fff; outline: 2px solid rgb(246 165 21 / 35%); outline-offset: 1px; border-color: #d69d2c; }
.cs-sample-overlay #ECHANTILLON textarea.w-input { min-height: 80px; resize: vertical; }
.cs-sample-overlay #ECHANTILLON .sample-field-wide,
.cs-sample-overlay #ECHANTILLON .sample-products,
.cs-sample-overlay #ECHANTILLON .echantillon-pop-up > textarea,
.cs-sample-overlay #ECHANTILLON .echantillon-pop-up > input[name="TELEPHONE"],
.cs-sample-overlay #ECHANTILLON .echantillon-pop-up > .w-row { grid-column: 1 / -1; }
.cs-sample-overlay #ECHANTILLON .sample-product-title { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.cs-sample-overlay #ECHANTILLON .sample-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cs-sample-overlay #ECHANTILLON .w-radio { display: flex; align-items: center; min-height: 44px; margin: 0; padding: 9px 11px; cursor: pointer; color: #000; background: #f6f8f3; border: 1px solid #e1e5dc; border-radius: 8px; }
.cs-sample-overlay #ECHANTILLON .w-radio::before, .cs-sample-overlay #ECHANTILLON .w-radio::after { display: none; }
.cs-sample-overlay #ECHANTILLON .w-radio:has(input:checked) { background: #fff8e8; border-color: #eeb64b; }
.cs-sample-overlay #ECHANTILLON .w-radio-input { flex: 0 0 auto; width: 14px; height: 14px; margin: 0 8px 0 0; accent-color: #bb8111; }
.cs-sample-overlay #ECHANTILLON .w-form-label { margin: 0; font-size: 12px; font-weight: 400; line-height: 1.4; }
.cs-sample-overlay #ECHANTILLON .echantillon-pop-up > .w-row { display: flex; gap: 10px; margin: 4px 0 0; }
.cs-sample-overlay #ECHANTILLON .echantillon-pop-up > .w-row::before,
.cs-sample-overlay #ECHANTILLON .echantillon-pop-up > .w-row::after { display: none; }
.cs-sample-overlay #ECHANTILLON .echantillon-pop-up > .w-row > .w-col { width: 50%; float: none; margin: 0; padding: 0; }
.cs-sample-overlay #ECHANTILLON .w-button { display: block; width: 100%; min-height: 44px; padding: 11px 16px; border: 0; border-radius: 8px; font: 14px/1.5 "Varela Round", Arial, sans-serif; color: #000; text-align: center; text-decoration: none; cursor: pointer; }
.cs-sample-overlay #ECHANTILLON .envoyer { background: #f6a515; font-weight: 700; appearance: none; }
.cs-sample-overlay #ECHANTILLON .annuler, .cs-sample-overlay #ECHANTILLON .fermer { background: #eaf0e5; }
.cs-sample-overlay #ECHANTILLON .w-form-done, .cs-sample-overlay #ECHANTILLON .w-form-fail { display: none; padding: 24px; border-radius: 0 0 18px 18px; }

@media (max-width: 1050px) {
  :root { --cs-header-height: 68px; }
  #barre-menu .cs-header-top { grid-template-columns: 1fr auto; gap: 12px; min-height: 68px; padding: 6px 18px; }
  #barre-menu .cs-logo, #barre-menu .cs-logo img { width: 148px; }
  #barre-menu .cs-header-top > .cs-sample-cta, #barre-menu .cs-header-top > .cs-phones,
  #barre-menu .cs-header-top > .cs-search { display: none; }
  #barre-menu .cs-menu-toggle { display: block; width: 42px; height: 42px; padding: 0; margin: 0; font: 24px/1 Arial, sans-serif; background: #f6be46; border: 0; border-radius: 7px; cursor: pointer; }
  #barre-menu .cs-primary-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; max-height: calc(100dvh - var(--cs-header-height)); min-height: 0; overflow-y: auto; margin: 0; padding: 10px 18px 16px; box-shadow: 0 12px 22px rgb(0 0 0 / 12%); }
  #barre-menu .cs-primary-nav.is-open { display: block; }
  #barre-menu .cs-primary-nav > a, #barre-menu .cs-contact-menu > summary { padding: 12px 10px; }
  #barre-menu .cs-contact-links { position: static; min-width: 0; border-radius: 8px; box-shadow: none; }
  #barre-menu .cs-mobile-tools { display: grid; gap: 16px; padding: 14px 10px 0; }
}
@media (max-width: 760px) {
  .cs-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .cs-footer-company { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  .cs-site-footer { padding: 28px 20px; }
  .cs-footer-links { grid-template-columns: 1fr; gap: 20px; }
  .cs-sample-overlay { padding: 12px !important; }
  .cs-sample-overlay #ECHANTILLON.echantillon { margin: 0 auto !important; }
  .cs-sample-overlay #ECHANTILLON .echantillon-pop-up { grid-template-columns: 1fr; gap: 12px; padding: 24px 18px; }
  .cs-sample-overlay #ECHANTILLON .sample-product-grid { grid-template-columns: 1fr; }
}
