/* ==========================================================================
   Calaosoft — éléments communs aux deux univers (sur mesure / Calaotrade)
   Chargé après la feuille de style de l'univers.
   ========================================================================== */

:root {
  --g-ink: #1d272c;       /* encre Calaosoft, commune aux deux univers */
  --g-soft: #e4a300;      /* orange Calaosoft */
  --g-trade: #3565f2;     /* bleu Calaotrade */
  --g-text: #a9bac1;
}

/* ---------- Barre groupe : sélecteur d'univers ---------- */
.gbar { background: var(--g-ink); color: var(--g-text); font-size: .85rem; font-family: "Manrope", system-ui, sans-serif; }
.gbar__inner { display: flex; align-items: stretch; gap: 18px; min-height: 42px; }
.gbar__brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; letter-spacing: -.01em; }
.gbar__brand::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--g-soft); }
.gbar__switch { display: flex; align-items: stretch; gap: 2px; }
.gbar__tab {
  display: flex; align-items: center; gap: 8px; padding: 0 14px;
  color: var(--g-text); font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap;
}
.gbar__tab small { font-size: .78rem; font-weight: 500; opacity: .75; }
.gbar__tab:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.05); }
.gbar__tab[aria-current] { color: #fff; background: rgba(255,255,255,.07); }
.gbar__tab--soft[aria-current] { border-bottom-color: var(--g-soft); }
.gbar__tab--trade[aria-current] { border-bottom-color: var(--g-trade); }
.gbar__tab--soft::before, .gbar__tab--trade::before { content: ""; width: 6px; height: 6px; border-radius: 2px; }
.gbar__tab--soft::before { background: var(--g-soft); }
.gbar__tab--trade::before { background: var(--g-trade); }
.gbar__right { margin-left: auto; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.gbar__right a { color: #fff; font-weight: 700; }
.gbar__right strong { color: var(--g-soft); }

@media (max-width: 920px) {
  .gbar__brand, .gbar__right { display: none; }
  .gbar__inner { justify-content: center; }
  .gbar__switch { width: 100%; }
  .gbar__tab { flex: 1; justify-content: center; padding: 0 8px; }
}
@media (max-width: 520px) { .gbar__tab small { display: none; } }

/* ---------- Signature « par Calaosoft » sous le logo Calaotrade ---------- */
.logo--endorsed { display: inline-flex; align-items: center; gap: 12px; }
.logo__by {
  font-size: .72rem; font-weight: 600; color: #65767d; line-height: 1.2;
  padding-left: 12px; border-left: 1px solid #e3e8ea; white-space: nowrap;
}
.logo__by b { display: block; color: #1d272c; font-weight: 800; }
@media (max-width: 380px) { .logo__by { display: none; } }

/* ---------- Accueil : les deux portes ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.door {
  position: relative; display: flex; flex-direction: column; border-radius: 22px; padding: 36px;
  background: #fff; border: 1px solid #e3e8ea; box-shadow: 0 1px 2px rgba(29,39,44,.04), 0 10px 30px rgba(29,39,44,.07);
  overflow: hidden;
}
.door::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; }
.door--soft::before { background: var(--g-soft); }
.door--trade::before { background: var(--g-trade); }
.door__kicker { align-self: flex-start; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.door--soft .door__kicker { color: #875f00; }
.door--trade .door__kicker { color: var(--g-trade); }
.door__logo { height: 38px; width: auto; align-self: flex-start; margin-bottom: 18px; }
.door h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.15; margin-bottom: 12px; }
.door > p { color: #65767d; }
.door__for { margin: 4px 0 18px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.door--soft .door__for { background: #fdf5e1; }
.door--trade .door__for { background: #eef2ff; }
.door__for b { color: #1d272c; }
.door ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.door ul li { position: relative; padding-left: 26px; font-size: .97rem; }
.door ul li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 11px; height: 6px; border-left: 2px solid; border-bottom: 2px solid; transform: rotate(-45deg); }
.door--soft ul li::before { color: #a87700; }
.door--trade ul li::before { color: var(--g-trade); }
.door__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.door__facts span { font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid #e3e8ea; color: #3b4a51; }
.door__ctas { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.btn--trade { background: var(--g-trade); color: #fff; border-radius: 999px; box-shadow: 0 8px 22px -8px rgba(53,101,242,.7); }
.btn--trade:hover { background: #2a52cf; }
.btn--trade-ghost { background: #fff; color: var(--g-trade); border-color: #dde6ff; border-radius: 999px; }
.btn--trade-ghost:hover { border-color: var(--g-trade); }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } .door { padding: 28px 22px; } }

/* ---------- Accueil : tableau « quelle solution » ---------- */
.choose { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #e3e8ea; font-size: .97rem; }
.choose th, .choose td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #e3e8ea; }
.choose tr:last-child td { border-bottom: 0; }
.choose thead th { font-size: .95rem; color: #1d272c; background: #f5f7f8; }
.choose thead th:nth-child(2) { box-shadow: inset 0 4px 0 var(--g-soft); }
.choose thead th:nth-child(3) { box-shadow: inset 0 4px 0 var(--g-trade); }
.choose td:first-child { font-weight: 700; color: #1d272c; width: 22%; }
.choose td { width: 39%; }
.choose-wrap { overflow-x: auto; border-radius: 18px; }
.choose-note { text-align: center; margin-top: 22px; color: #65767d; }

/* ---------- Accueil : pont entre les univers ---------- */
.bridge { display: grid; grid-template-columns: 1fr minmax(190px, 240px) 1fr; gap: 20px; align-items: stretch; }
.bridge__side { border-radius: 18px; padding: 26px; background: #fff; border: 1px solid #e3e8ea; }
.bridge__side h3 { margin-bottom: 8px; }
.bridge__side p { margin: 0; color: #65767d; font-size: .97rem; }
.bridge__side--soft { border-top: 4px solid var(--g-soft); }
.bridge__side--trade { border-top: 4px solid var(--g-trade); }
.bridge__core {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 22px; border-radius: 18px; background: var(--g-ink); color: #fff; min-width: 200px;
}
.bridge__core b { font-size: 1.05rem; }
.bridge__core small { color: var(--g-text); margin-top: 6px; }
@media (max-width: 860px) { .bridge { grid-template-columns: 1fr; } }

.case__visual--trade { background: linear-gradient(135deg, #3565f2, #1e3fa8); color: #fff; }
.case a.case__link { font-weight: 700; display: inline-block; margin-top: 12px; }

/* ---------- Footer : mention groupe ---------- */
.gfoot { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding: 18px 0; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.gfoot b { color: #fff; }
.gfoot a { font-weight: 600; }

/* ---------- Contact : renvoi vers le parcours Calaotrade ---------- */
.contact-route { display: inline-block; margin: 6px 0 0; padding: 12px 16px; border-radius: 12px; background: #eef2ff; border-left: 4px solid var(--g-trade); font-size: .95rem; color: #3b4263; }
.contact-route a { color: var(--g-trade); font-weight: 700; }

/* Comparatif empilé sur mobile */
@media (max-width: 720px) {
  .choose, .choose tbody, .choose tr, .choose td { display: block; width: auto !important; }
  .choose thead { display: none; }
  .choose tr { padding: 16px 18px; border-bottom: 1px solid #e3e8ea; }
  .choose td { border: 0; padding: 4px 0 4px 12px; }
  .choose td:first-child { padding-left: 0; margin-bottom: 4px; }
  .choose td:nth-child(2) { border-left: 3px solid var(--g-soft); margin-bottom: 8px; }
  .choose td:nth-child(3) { border-left: 3px solid var(--g-trade); }
  .choose td:nth-child(2)::before, .choose td:nth-child(3)::before { display: block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
  .choose td:nth-child(2)::before { content: "Sur mesure"; color: #875f00; }
  .choose td:nth-child(3)::before { content: "Calaotrade"; color: var(--g-trade); }
}

/* Barre groupe : sous-titres masqués sur les largeurs intermédiaires */
@media (max-width: 1100px) { .gbar__tab small { display: none; } }

/* ---------- Bandeau de consentement aux cookies ---------- */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: none; justify-content: center; font-family: "Manrope", system-ui, sans-serif; }
.cookies.is-open { display: flex; }
.cookies__box { width: min(760px, 100%); background: #fff; color: #3b4a51; border: 1px solid #e3e8ea; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(29,39,44,.35); padding: 22px 24px; font-size: .93rem; line-height: 1.55; max-height: calc(100vh - 32px); overflow-y: auto; }
.cookies__titre { margin: 0 0 6px; font-weight: 800; color: #1d272c; font-size: 1.05rem; }
.cookies__texte { margin: 0 0 14px; }
.cookies__texte a { color: #1d272c; text-decoration: underline; }
.cookies__details { display: grid; gap: 10px; margin: 0 0 16px; }
.cookies [hidden] { display: none !important; }
.cookies__cat { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid #e3e8ea; border-radius: 12px; cursor: pointer; }
.cookies__cat input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: #1d272c; }
.cookies__cat b { display: block; color: #1d272c; }
.cookies__btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
/* Refuser et accepter ont le même poids visuel (exigence CNIL) */
.cookies__btn { font: inherit; font-weight: 700; font-size: .92rem; padding: 11px 18px; border-radius: 10px; border: 2px solid #1d272c; background: #1d272c; color: #fff; cursor: pointer; }
.cookies__btn[data-action="personnaliser"] { background: #fff; color: #1d272c; }
.cookies__btn:focus-visible { outline: 3px solid #e4a300; outline-offset: 2px; }
@media (max-width: 560px) { .cookies__btns .cookies__btn { flex: 1 1 auto; } }

.link-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

.cookies__id { margin: 2px 0 0; font-size: .8rem; color: #65767d; }
.cookies__id code { font-size: .78rem; word-break: break-all; }

/* Pot de miel anti-robots des formulaires : hors écran, ignoré par les lecteurs d'écran */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Landing pages de campagne (lp-*.html) ---------- */
.lp-header .header__inner { justify-content: space-between; }
.lp-header__actions { display: flex; align-items: center; gap: 16px; }
.lp-header__tel { font-weight: 700; color: inherit; white-space: nowrap; }
.lp-hero__grid { align-items: start; }
.lp-form { background: #fff; border: 1px solid #e3e8ea; border-radius: 22px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 60px -20px rgba(29,39,44,.25); scroll-margin-top: 100px; }
.lp-form h2 { font-size: 1.5rem; margin-bottom: 4px; }
[data-form]#formulaire { scroll-margin-top: 100px; }
.lp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.lp-secteurs { margin-top: 32px; }
.lp-footer { background: #1d272c; color: #a9bac1; font-size: .85rem; padding: 22px 0; }
.lp-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.lp-footer a, .lp-footer .link-btn { color: #dce3e5; }
@media (max-width: 760px) {
  .lp-header__tel { display: none; }
  .lp-header .btn { padding: 10px 14px; font-size: .85rem; }
  .lp-compare { grid-template-columns: 1fr; }
}
/* Sur les landing pages, le burger n'existe pas : l'en-tête garde ses actions sur mobile */
.lp .lp-header .header__cta, .lp .lp-header__actions { display: flex !important; }

/* ---------- Bandeau newsletter (toutes les pages sauf landing pages) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.newsletter-band { padding: 56px 0; border-top: 1px solid #e3e8ea; }
.newsletter-band--soft { background: #fdf5e1; }
.newsletter-band--trade { background: #eef2ff; }
.newsletter-band__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.newsletter-band h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 8px; }
.newsletter-band__texte p { margin: 0; color: #3b4a51; }
.newsletter__ligne { display: flex; gap: 10px; }
.newsletter__ligne input { flex: 1; min-width: 0; font: inherit; padding: 13px 16px; border: 1px solid #cfd8dc; border-radius: 12px; background: #fff; }
.newsletter__ligne input:focus { outline: 3px solid rgba(29,39,44,.25); outline-offset: 1px; }
.newsletter__ligne .btn { flex: none; }
.newsletter__themes { border: 0; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; }
.newsletter__themes legend { float: left; margin-right: 6px; font-weight: 700; color: #1d272c; }
.newsletter__themes label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.newsletter__themes input { width: 16px; height: 16px; accent-color: #1d272c; }
.newsletter__erreur { margin: 8px 0 0; color: #b42318; font-weight: 600; font-size: .9rem; }
.newsletter__legal { margin: 10px 0 0; font-size: .8rem; color: #65767d; }
.newsletter__legal a { color: inherit; text-decoration: underline; }
.newsletter__merci { display: none; margin: 0; padding: 14px 16px; border-radius: 12px; background: #fff; font-weight: 700; color: #1d272c; }
.newsletter.is-sent > :not(.newsletter__merci) { display: none !important; }
.newsletter.is-sent .newsletter__merci { display: block; }
@media (max-width: 860px) { .newsletter-band__inner { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 480px) { .newsletter__ligne { flex-direction: column; } }

/* Newsletter : consentement facultatif à la mesure des e-mails (recommandation CNIL pixels) */
.newsletter__suivi { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: .85rem; color: #3b4a51; cursor: pointer; }
.newsletter__suivi input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: #1d272c; }
.newsletter__suivi b { color: #1d272c; }
.newsletter__suivi em { font-style: normal; color: #65767d; }

/* ==========================================================================
   VERSION 2 — Calaosoft en marque principale, Calaotrade en produit
   ========================================================================== */

/* ---------- En-tête unique du site (.sh) ---------- */
.sh { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid #e3e8ea; font-family: "Manrope", system-ui, sans-serif; }
.sh__inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.sh__logo { flex: none; display: inline-flex; }
.sh__logo img { height: 40px; width: auto; display: block; }
.sh__nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.sh__nav > a, .sh__parent { color: #3b4a51; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; white-space: nowrap; text-decoration: none !important; }
.sh__nav > a:hover, .sh__parent:hover, .sh__nav > a[aria-current], .sh__group.is-current > .sh__parent { color: #1d272c; background: #fdf5e1; }
.sh__group { position: relative; }
.sh__parent::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.sh__menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 310px; display: grid; gap: 2px; padding: 10px; background: #fff; border: 1px solid #e3e8ea; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(29,39,44,.3); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; }
.sh__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sh__group:hover .sh__menu, .sh__group:focus-within .sh__menu { opacity: 1; visibility: visible; transform: none; }
.sh__menu a { display: block; padding: 10px 12px; border-radius: 10px; color: #1d272c; font-weight: 700; font-size: .95rem; text-decoration: none !important; }
.sh__menu a:hover, .sh__menu a[aria-current] { background: #fdf5e1; }
.sh__menu a small { display: block; font-weight: 500; font-size: .8rem; color: #65767d; margin-top: 2px; }
.sh__menu a.sh__produit { border-left: 3px solid #3565f2; }
.sh__menu a.sh__produit:hover, .sh__menu a.sh__produit[aria-current] { background: #eef2ff; }
.sh__badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #1d272c; color: #fff; font-size: .68rem; font-weight: 700; vertical-align: 2px; }
.sh__cta, .sh__cta-mobile { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 12px; background: #e4a300; color: #1d272c !important; font-weight: 800; font-size: .92rem; white-space: nowrap; text-decoration: none !important; box-shadow: 0 10px 24px -12px rgba(228,163,0,.9); }
.sh__cta:hover, .sh__cta-mobile:hover { background: #cc9200; }
.sh__cta-mobile { display: none; }
.sh__burger { display: none; margin-left: auto; }
@media (max-width: 1100px) {
  .sh__nav, .sh__cta { display: none; }
  .sh__burger { display: inline-flex; }
  .nav-open .sh__nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 74px; left: 0; right: 0; background: #fff; padding: 12px 16px 18px; border-bottom: 1px solid #e3e8ea; box-shadow: 0 20px 40px -20px rgba(29,39,44,.3); max-height: calc(100vh - 74px); overflow-y: auto; }
  .nav-open .sh__nav > a, .nav-open .sh__parent { display: block; padding: 13px 12px; font-size: 1.02rem; }
  .nav-open .sh__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
  .nav-open .sh__menu a small { display: none; }
  .nav-open .sh__cta-mobile { display: flex; margin-top: 10px; }
}

/* ---------- Barre produit Calaotrade (.pbar) ---------- */
.pbar { background: #121833; color: #c7cbe0; font-family: "Manrope", system-ui, sans-serif; }
.pbar__inner { display: flex; align-items: center; gap: 22px; min-height: 58px; }
.pbar__logo { display: inline-flex; align-items: center; gap: 10px; color: #c7cbe0; font-size: .78rem; text-decoration: none !important; flex: none; }
.pbar__logo img { height: 30px; width: auto; background: #fff; border-radius: 8px; padding: 3px 6px; }
.pbar__nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.pbar__nav::-webkit-scrollbar { display: none; }
.pbar__nav a { color: #dfe3f5; font-weight: 600; font-size: .9rem; padding: 7px 11px; border-radius: 8px; white-space: nowrap; text-decoration: none !important; }
.pbar__nav a:hover, .pbar__nav a[aria-current] { background: rgba(255,255,255,.1); color: #fff; }
.pbar__cta { margin-left: auto; flex: none; padding: 9px 16px; border-radius: 999px; background: #3565f2; color: #fff !important; font-weight: 700; font-size: .88rem; white-space: nowrap; text-decoration: none !important; }
.pbar__cta:hover { background: #2a52cf; }
@media (max-width: 760px) {
  .pbar__inner { flex-wrap: wrap; gap: 8px 14px; padding: 10px 0; }
  .pbar__logo span { display: none; }
  .pbar__nav { order: 3; width: 100%; }
}

/* ---------- Pied de page unique (.sf) ---------- */
.sf { background: #1d272c; color: #93a3a9; padding: 64px 0 26px; font-size: .93rem; font-family: "Manrope", system-ui, sans-serif; }
.sf__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.sf h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.sf ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.sf a { color: #c8d2d5; }
.sf__logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; }
.sf__logo img { height: 36px; width: auto; display: block; }
.sf__produit { color: #8fa9ff !important; font-weight: 700; }
.sf__stores { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.sf__stores img { height: 36px; width: auto; }
.sf__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; font-size: .84rem; }
.sf .link-btn { color: #c8d2d5; }
@media (max-width: 900px) { .sf__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sf__grid { grid-template-columns: 1fr; } }

/* ---------- Accueil v2 : expertises, produit, références ---------- */
.xp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.xp { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e8ea; border-radius: 20px; padding: 30px; transition: transform .15s, box-shadow .15s; }
.xp:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(29,39,44,.08); }
.xp h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.xp h3 a { color: #1d272c; text-decoration: none; }
.xp h3 a::after { content: ""; position: absolute; inset: 0; }
.xp p { color: #65767d; margin: 0 0 14px; }
.xp ul { margin: 0 0 18px; padding-left: 1.1em; color: #3b4a51; font-size: .95rem; }
.xp__lien { margin-top: auto; font-weight: 700; color: #875f00; }
.xp__new { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; background: #1d272c; color: #fff; font-size: .72rem; font-weight: 700; }
.xp--ia { border-color: #1d272c; box-shadow: inset 0 4px 0 #e4a300; }
@media (max-width: 860px) { .xp-grid { grid-template-columns: 1fr; } }

.produit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; border-radius: 28px; padding: clamp(28px, 5vw, 56px); background: linear-gradient(135deg, #121833, #1e3fa8); color: #c7cbe0; }
.produit h2, .produit h3 { color: #fff; }
.produit__logo { height: 42px; width: auto; background: #fff; border-radius: 10px; padding: 5px 10px; margin-bottom: 18px; }
.produit__kicker { display: block; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: #8fa9ff; margin-bottom: 10px; }
.produit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.produit ul li { position: relative; padding-left: 26px; color: #e3e9ff; }
.produit ul li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 11px; height: 6px; border-left: 2px solid #8fa9ff; border-bottom: 2px solid #8fa9ff; transform: rotate(-45deg); }
.produit__prix { display: flex; align-items: baseline; gap: 8px; margin: 22px 0; color: #fff; }
.produit__prix b { font-size: 2.4rem; font-weight: 800; }
.produit__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.produit__ctas .btn--blanc { background: #fff; color: #1e3fa8; border-radius: 999px; }
.produit__ctas .btn--contour { color: #fff; border: 2px solid rgba(255,255,255,.4); border-radius: 999px; background: transparent; }
@media (max-width: 860px) { .produit { grid-template-columns: 1fr; } }

.refs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.refs__bloc { background: #fff; border: 1px solid #e3e8ea; border-radius: 20px; padding: 26px; }
.refs__bloc h3 { font-size: 1.1rem; margin: 0 0 16px; }
.refs__liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ref { display: flex; flex-direction: column; justify-content: center; min-height: 92px; padding: 14px 16px; border-radius: 14px; background: #f5f7f8; border: 1px dashed #cfd8dc; }
.ref b { color: #1d272c; font-size: 1.05rem; }
.ref small { color: #65767d; margin-top: 2px; }
@media (max-width: 860px) { .refs { grid-template-columns: 1fr; } }

/* Étapes à 4 colonnes (page Mise en production IA) */
.steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .steps--4 { grid-template-columns: 1fr; } }

/* Références : bloc unique clients + partenaires */
.refs--un { grid-template-columns: 1fr; }
.refs__liste--large { grid-template-columns: repeat(3, 1fr); }
.ref__type { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 999px; background: #fdf5e1; color: #875f00; font-size: .72rem; font-weight: 700; }
.ref__type--partenaire { background: #eef2f3; color: #51666e; }
@media (max-width: 760px) { .refs__liste--large { grid-template-columns: repeat(2, 1fr); } }

/* Références : type de relation client (Calaotrade / sur mesure / partenaire) */
.ref__type--trade { background: #eef2ff; color: #2a52cf; }
.refs__legende { margin: -6px 0 16px; font-size: .82rem; color: #65767d; }
.refs__legende .ref__type { margin-right: 2px; }

/* Bandeau « Ils utilisent Calaotrade » (pages Calaotrade) */
.clients-produit { background: #f6f8fd; border-bottom: 1px solid #e4e7f2; }
.clients-produit__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; padding: 22px 0; }
.clients-produit__titre { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b7190; }
.clients-produit__nom { font-size: 1.15rem; font-weight: 800; color: #121833; letter-spacing: -.01em; }

/* Prix d'entrée du sur mesure */
.prix-depart { display: inline-flex; flex-direction: column; gap: 2px; margin: 4px 0 18px; padding: 14px 20px; border-radius: 14px; background: #fff; border: 2px solid #e4a300; }
.prix-depart span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #875f00; }
.prix-depart b { font-size: 1.6rem; font-weight: 800; color: #1d272c; }
.xp__prix { margin: 0 0 12px !important; color: #3b4a51 !important; font-size: .95rem; }
.xp__prix b { color: #1d272c; }

/* ==========================================================================
   Impression / export PDF : mise en page « ordinateur », sans éléments interactifs
   ========================================================================== */
@media print {
  @page { size: 1280px 1810px; margin: 0; }
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cookies, .sticky-cta, .haut, .burger, .sh__menu, .sh__cta-mobile, .newsletter-band { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sh, .header { position: static !important; backdrop-filter: none !important; }
  .card, .xp, .case, .door, .ref, .step, .plan, .faq details, .produit, .cta-band, .panel, .post-card { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .faq details { display: block; }
  .faq details > *:not(summary) { display: block !important; }
  .faq details::details-content { content-visibility: visible; display: block; }
}

/* Calaocopilot : liseré dans le violet du logo (#8C36ED) */
.sh__menu a.sh__produit--copilot { border-left-color: #8C36ED; }
