:root {
    --bc-ink: #17172b;
    --bc-muted: #626783;
    --bc-primary: #2924d8;
    --bc-primary-dark: #17137f;
    --bc-orange: #ff681d;
    --bc-surface: #f5f6ff;
    --bc-line: #dfe1ef;
    --bc-radius: 24px;
    --bc-shadow: 0 18px 50px rgba(24,24,70,.07);
    --bc-content: 1180px;
}

/* Shared visual system for Elementor pages and bespoke page sections. */
html { scroll-behavior: smooth; }
body { color: var(--bc-ink); font-family: "Poppins", sans-serif; }
:where(.bycarl-page,.bh,.bc,.bx) :where(h1,h2,h3,p) { text-wrap: pretty; }
:where(.bycarl-page,.bh,.bc,.bx) :where(a,button,input,textarea,select):focus-visible {
    outline: 3px solid rgba(255,104,29,.45);
    outline-offset: 3px;
}
:where(.bycarl-page,.bh,.bc,.bx) img { height: auto; }
.elementor-location-header,
.elementor-location-footer { font-family: "Poppins", sans-serif; }
.elementor-location-header { position: relative; z-index: 100; }
.elementor-location-header a,
.elementor-location-footer a { transition: color .2s ease, opacity .2s ease, transform .2s ease; }

/* Normalize the bespoke landing-page families created during the redesign. */
:where(.bh,.bc,.bx) { color: var(--bc-ink); font-family: "Poppins", sans-serif; overflow: clip; }
:where(.bh,.bc,.bx) :where(.bh-wrap,.bc-wrap,.bx-wrap) {
    width: min(var(--bc-content), calc(100% - 48px));
    margin-inline: auto;
}
:where(.bh,.bc,.bx) :where(.bh-btn,.bc-btn,.bx-btn) {
    min-height: 54px;
    border-radius: 999px;
}
:where(.bh,.bc,.bx) :where(.bh-card,.bc-card,.bx-card) {
    border-radius: var(--bc-radius);
    box-shadow: var(--bc-shadow);
}

/* Shared promise strip: one component on Home, About and Contact. */
.bc-home .bh-proof,
.bc-about .bc-proof,
.bcx .bcx-badges {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    margin-top: 42px;
}
.bc-home .bh-proof > span,
.bc-about .bc-proof > span,
.bcx .bcx-badge {
    min-width: 0;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    white-space: normal;
    backdrop-filter: blur(6px);
}
.bc-home .bh-proof > span > i,
.bc-about .bc-proof > span > i {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
}

/* The homepage has two partners: size the grid for two, not five. */
.bc-home .bh-logos {
    grid-template-columns: repeat(2, minmax(170px, 230px));
    justify-content: center;
    justify-items: center;
    gap: 36px 56px;
    margin-inline: auto;
}
.bc-home .bh-logos img {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 72px;
    margin-inline: auto;
}

/* Reference cards: make the client identity visible, not only the mockup. */
.bx .bx-cases { align-items: stretch; }
.bx .bx-cases > .bx-card { display: flex; flex-direction: column; }
.bx .bx-case-copy { display: flex; flex: 1; flex-direction: column; }
.bx .bx-brand {
    display: flex;
    min-height: 72px;
    align-items: center;
    margin: -4px 0 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--bc-line);
}
.bx .bx-brand img {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}
.bx .bx-brand--medef img { max-width: 150px; }
.bx .bx-case-copy .bx-detail { margin-top: auto; padding-top: 18px; }

/* Make all public calls to action use the same spacing and hierarchy. */
:where(.bycarl-btn,.bh-btn,.bc-btn,.bx-btn,.elementor-button) {
    letter-spacing: -.01em;
}
.bycarl-card { border-radius: var(--bc-radius); box-shadow: var(--bc-shadow); }
.bycarl-hero { min-height: 610px; display: flex; align-items: center; }
.bycarl-product-hero { min-height: 640px; }
.bycarl-section + .bycarl-section { border-top: 1px solid rgba(223,225,239,.65); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Shared CTA guard: keep the arrow attached to its label on every redesigned page. */
.bx-btn,
.bh-btn,
.bc-btn,
.bycarl-btn,
.elementor-location-header .elementor-button,
.elementor-location-footer .elementor-button {
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
}

.bx-cta .bx-btn,
.bh-cta .bh-btn,
.bc-cta .bc-btn,
.bycarl-band .bycarl-btn {
    flex: 0 0 auto;
}

/* Global footer: give the legal navigation enough room and keep every link aligned. */
@media (min-width: 1025px) {
    .elementor-location-footer .elementor-element-fbca914 .elementor-element-e3de2f3 {
        width: 32%;
    }

    .elementor-location-footer .elementor-element-fbca914 .elementor-element-f70b195 {
        width: 68%;
    }

    .elementor-location-footer .elementor-element-f70b195 > .elementor-widget-wrap {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .elementor-location-footer .elementor-element-f70b195 .elementor-widget-the7_button_widget {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
}

.bycarl-page,
.bycarl-page * { box-sizing: border-box; }
.bycarl-page { color: var(--bc-ink); font-family: "Poppins", sans-serif; overflow: hidden; }
.bycarl-page h1,.bycarl-page h2,.bycarl-page h3,.bycarl-page p { margin-top: 0; }
.bycarl-page a { color: inherit; }
.bycarl-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.bycarl-kicker { margin-bottom: 18px; color: var(--bc-primary); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.bycarl-hero { position: relative; padding: 92px 0 88px; background: linear-gradient(125deg,#17139b 0%,#3128e4 58%,#17137f 100%); color: #fff; }
.bycarl-hero:after { position: absolute; right: -7%; bottom: -50%; width: 56%; height: 105%; border-radius: 50%; background: rgba(108,113,255,.23); content: ""; transform: rotate(-10deg); }
.bycarl-hero .bycarl-wrap { position: relative; z-index: 1; }
.bycarl-hero .bycarl-kicker { color: #fff; opacity: .8; }
.bycarl-hero h1 { max-width: 900px; margin-bottom: 24px; color: #fff; font-size: clamp(42px,6vw,78px); font-weight: 700; letter-spacing: -.055em; line-height: .98; }
.bycarl-hero h1 span { color: var(--bc-orange); }
.bycarl-hero p { max-width: 760px; margin-bottom: 32px; color: rgba(255,255,255,.84); font-size: 20px; line-height: 1.65; }
.bycarl-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.bycarl-btn { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 27px; border: 1px solid transparent; border-radius: 999px; background: var(--bc-orange); color: #fff!important; font-weight: 700; text-decoration: none!important; transition: transform .2s,box-shadow .2s; }
.bycarl-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,104,29,.28); }
.bycarl-btn--ghost { border-color: rgba(255,255,255,.55); background: transparent; }
.bycarl-section { padding: 86px 0; background: #fff; }
.bycarl-section--soft { background: var(--bc-surface); }
.bycarl-section h2 { margin-bottom: 20px; font-size: clamp(34px,4vw,54px); font-weight: 700; letter-spacing: -.045em; line-height: 1.08; }
.bycarl-section h2 span { color: var(--bc-orange); }
.bycarl-lead { max-width: 760px; color: var(--bc-muted); font-size: 18px; line-height: 1.7; }
.bycarl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 42px; }
.bycarl-grid--two { grid-template-columns: repeat(2,1fr); }
.bycarl-card { padding: 30px; border: 1px solid var(--bc-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(24,24,70,.06); }
.bycarl-card__icon { display: grid; width: 50px; height: 50px; margin-bottom: 24px; place-items: center; border-radius: 15px; background: #eeefff; color: var(--bc-primary); font-size: 23px; font-weight: 800; }
.bycarl-card h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.25; }
.bycarl-card p { margin-bottom: 0; color: var(--bc-muted); line-height: 1.65; }
.bycarl-band { padding: 54px 0; background: var(--bc-primary); color: #fff; }
.bycarl-band .bycarl-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.bycarl-band h2 { margin: 0; color: #fff; font-size: clamp(28px,4vw,44px); letter-spacing: -.04em; }
.bycarl-tool-shell {
    padding: 94px 0 90px;
    background: linear-gradient(180deg,#17139b 0,#3028dc 410px,var(--bc-surface) 410px);
}
.bycarl-tool-intro { max-width: 790px; margin: 0 auto 35px; text-align: center; }
.bycarl-tool-intro h1 { margin-bottom: 16px; color: #fff; font-size: clamp(38px,5vw,64px); letter-spacing: -.05em; }
.bycarl-tool-intro h1 span { color: var(--bc-orange); }
.bycarl-tool-intro .bycarl-kicker { color: rgba(255,255,255,.78); }
.bycarl-tool-intro p { color: rgba(255,255,255,.82); font-size: 18px; }
.bycarl-tool-card { width: min(1100px,calc(100% - 48px)); margin: 0 auto; padding: 28px; border: 1px solid var(--bc-line); border-radius: 28px; background: #fff; box-shadow: 0 24px 70px rgba(24,24,70,.09); }
.page-id-7823 .bycarl-tool-intro { max-width: 980px; }
.page-id-7823 .bycarl-tool-card { width: min(1500px,calc(100% - 64px)); }
/* Espace client (page Elementor n°7823) : le gabarit ouvre .bycarl-tool-card dans un widget HTML,
   mais le shortcode du tableau de bord vit dans un autre widget : la carte reste donc vide
   (la « barre blanche »). On la masque, et on rend .bc-dash transparent pour que la carte
   .bc-dash-frame remonte à sa place et chevauche le bleu et le fond clair. */
.page-id-7823 .bycarl-tool-card { display: none; }
.page-id-7823 .bycarl-tool-shell .bc-dash { padding: 0 32px; background: transparent; min-height: 0; }
@media (max-width: 768px) {
    .page-id-7823 .bycarl-tool-shell .bc-dash { padding: 0 10px; }
}

/* Dedicated system 404. */
.bycarl-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 78%,rgba(96,105,255,.24),transparent 32%),
        linear-gradient(135deg,#11117e 0%,#2722cb 55%,#17137f 100%);
    color: #fff;
    font-family: "Poppins",sans-serif;
}
.bycarl-404__nav,.bycarl-404__content,.bycarl-404__foot { width: min(1180px,calc(100% - 48px)); margin-inline: auto; }
.bycarl-404__nav { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bycarl-404__logo img { display: block; width: 132px; height: auto; }
.bycarl-404__links { display: flex; align-items: center; gap: 26px; }
.bycarl-404__links a { color: #fff!important; font-weight: 700; text-decoration: none!important; }
.bycarl-404__content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 70px 0 110px; }
.bycarl-404__code { margin: 0 0 12px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.bycarl-404 h1 { max-width: 820px; margin: 0 0 22px; color: #fff; font-size: clamp(52px,7vw,96px); line-height: .98; letter-spacing: -.055em; }
.bycarl-404 h1 span { color: var(--bc-orange); }
.bycarl-404__lead { max-width: 660px; margin: 0; color: rgba(255,255,255,.82); font-size: 19px; line-height: 1.7; }
.bycarl-404__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.bycarl-404__button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid rgba(255,255,255,.52); border-radius: 999px; color: #fff!important; font-weight: 800; text-decoration: none!important; }
.bycarl-404__button--primary { border-color: var(--bc-orange); background: var(--bc-orange); }
.bycarl-404__foot { padding: 24px 0 34px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.62); font-size: 13px; }

/* Preserve dynamic Theme Builder widgets while aligning their hero sections. */
body.search .elementor-element-17bf7bf,
body.archive .elementor-element-b3ea318,
body.archive .elementor-element-bf7a5a4,
body.single-post .elementor-element-9f6f7df,
body.single-dt_portfolio .elementor-element-fa71479 {
    padding-top: 150px!important;
    padding-bottom: 76px!important;
    background: linear-gradient(125deg,#17139b,#3028dc)!important;
}
body.search .elementor-element-17bf7bf :where(h1,h2,h3),
body.archive :where(.elementor-element-b3ea318,.elementor-element-bf7a5a4) :where(h1,h2,h3),
body.single-post .elementor-element-9f6f7df :where(h1,h2,h3),
body.single-dt_portfolio .elementor-element-fa71479 :where(h1,h2,h3) { color: #fff!important; }
body.search .elementor-location-archive,
body.archive .elementor-location-archive,
body.single-post .elementor-location-single,
body.single-dt_portfolio .elementor-location-single { background: var(--bc-surface); font-family: "Poppins",sans-serif; }
.bycarl-legal {
    padding: 94px 0 100px;
    background: linear-gradient(180deg,#17139b 0,#3028dc 390px,var(--bc-surface) 390px);
}
.bycarl-legal__head {
    margin-bottom: 42px;
    padding: 42px 54px 50px;
    border-radius: 0;
    background: transparent;
    color: #fff;
}
.bycarl-legal__head h1 { margin: 0; color: #fff; font-size: clamp(38px,5vw,62px); letter-spacing: -.05em; }
.bycarl-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}
.bycarl-legal-nav a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff!important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none!important;
    transition: background .2s ease,border-color .2s ease,transform .2s ease;
}
.bycarl-legal-nav a:hover { border-color: #fff; background: rgba(255,255,255,.16); transform: translateY(-1px); }
.bycarl-legal-nav a.is-active { border-color: var(--bc-orange); background: var(--bc-orange); }
.bycarl-legal__body { padding: 48px 54px; border: 1px solid var(--bc-line); border-radius: 30px; background: #fff; box-shadow: 0 18px 55px rgba(24,24,70,.06); }
.bycarl-legal__body h2,.bycarl-legal__body h3 { margin: 32px 0 12px; color: var(--bc-ink); }
.bycarl-legal__body h2:first-child,.bycarl-legal__body h3:first-child { margin-top: 0; }
.bycarl-legal__body p,.bycarl-legal__body li,.bycarl-legal__body td,.bycarl-legal__body th { color: var(--bc-muted); line-height: 1.75; }
.bycarl-legal__body table { width: 100%; border-collapse: collapse; }
.bycarl-legal__body td,.bycarl-legal__body th { padding: 12px; border: 1px solid var(--bc-line); text-align: left; }
.bycarl-legal__body a { color: var(--bc-primary); }
.bycarl-download-host .bycarl-downloads { margin: 0; }
.bycarl-product-hero { padding-bottom: 72px; }
.bycarl-product-hero .bycarl-wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 58px; }
.bycarl-product-hero h1 { font-size: clamp(44px,5.6vw,74px); }
.bycarl-product-visual { position: relative; z-index: 2; }
.bycarl-product-visual img { display: block; width: 100%; border-radius: 28px; box-shadow: 0 30px 80px rgba(7,5,67,.38); }
.bycarl-store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bycarl-store { display: inline-flex; min-height: 58px; align-items: center; gap: 12px; padding: 10px 19px; border: 1px solid rgba(255,255,255,.45); border-radius: 15px; background: #101018; color: #fff!important; text-decoration: none!important; }
.bycarl-store:hover { border-color: #fff; transform: translateY(-2px); }
.bycarl-store strong { display: block; font-size: 16px; line-height: 1.1; }
.bycarl-store small { display: block; opacity: .72; font-size: 10px; text-transform: uppercase; }
.bycarl-store__icon { font-size: 26px; line-height: 1; }
.bycarl-store--soon { cursor: default; opacity: .65; }
.bycarl-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.bycarl-gallery--wide { grid-template-columns: repeat(2,1fr); }
.bycarl-gallery img { display: block; width: 100%; height: auto; border: 1px solid var(--bc-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 55px rgba(24,24,70,.09); }
.bycarl-note { margin-top: 28px; padding: 20px 24px; border-left: 4px solid var(--bc-orange); border-radius: 0 16px 16px 0; background: #fff4ed; color: #5f3a28; line-height: 1.65; }
.bycarl-legal__meta { margin-top: 18px; color: rgba(255,255,255,.75); font-size: 14px; }
.bycarl-legal__body .bycarl-summary { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-bottom: 34px; padding: 0; list-style: none; }
.bycarl-legal__body .bycarl-summary li { padding: 17px 19px; border-radius: 14px; background: var(--bc-surface); color: var(--bc-ink); font-weight: 600; }

@media (max-width: 800px) {
    :where(.bh,.bc,.bx) :where(.bh-wrap,.bc-wrap,.bx-wrap) { width: min(100% - 30px,var(--bc-content)); }
    .bycarl-wrap { width: min(100% - 30px,1180px); }
    .bycarl-hero { min-height: 0; padding: 66px 0; }
    .bycarl-product-hero { min-height: 0; }
    .bycarl-hero h1 { font-size: clamp(38px,12vw,56px); line-height: 1.02; }
    .bycarl-hero p { font-size: 17px; }
    .bycarl-section { padding: 62px 0; }
    .bycarl-grid,.bycarl-grid--two { grid-template-columns: 1fr; }
    .bycarl-band .bycarl-wrap { align-items: flex-start; flex-direction: column; }
    .bycarl-tool-card { width: calc(100% - 30px); padding: 16px; border-radius: 20px; }
    .page-id-7823 .bycarl-tool-card { width: calc(100% - 20px); }
    .bycarl-tool-shell { padding-top: 74px; background: linear-gradient(180deg,#17139b 0,#3028dc 430px,var(--bc-surface) 430px); }
    .bycarl-legal { padding: 74px 0 70px; background: linear-gradient(180deg,#17139b 0,#3028dc 410px,var(--bc-surface) 410px); }
    .bycarl-legal__head { padding: 36px 22px 42px; border-radius: 0; }
    .bycarl-legal__body { padding: 28px 22px; border-radius: 22px; }
    .bycarl-legal-nav { gap: 8px; margin-top: 24px; }
    .bycarl-legal-nav a { min-height: 38px; padding: 7px 12px; font-size: 12px; }
    .bycarl-legal__body { overflow-x: auto; }
    .bycarl-product-hero .bycarl-wrap { grid-template-columns: 1fr; }
    .bycarl-product-visual { order: -1; }
    .bycarl-gallery,.bycarl-gallery--wide { grid-template-columns: 1fr; }
    .bycarl-legal__body .bycarl-summary { grid-template-columns: 1fr; }
    .bycarl-actions { align-items: stretch; flex-direction: column; }
    .bycarl-actions .bycarl-btn { width: 100%; white-space: normal; text-align: center; }
    .bycarl-404__nav,.bycarl-404__content,.bycarl-404__foot { width: min(100% - 30px,1180px); }
    .bycarl-404__nav { min-height: 84px; }
    .bycarl-404__links a:not(:last-child) { display: none; }
    .bycarl-404__content { padding: 54px 0 80px; }
    .bycarl-404 h1 { font-size: clamp(46px,14vw,70px); }
    .bycarl-404__lead { font-size: 17px; }
}

@media (max-width: 700px) {
    .bc-home .bh-proof,
    .bc-about .bc-proof,
    .bcx .bcx-badges { grid-template-columns: 1fr; gap: 12px; }
    .bc-home .bh-proof > span,
    .bc-about .bc-proof > span,
    .bcx .bcx-badge { min-height: 52px; }
}

@media (max-width: 480px) {
    .bc-home .bh-logos { grid-template-columns: 1fr; }
}
