.elementor-kit-19{--e-global-color-primary:#1E4A5F;--e-global-color-secondary:#102530;--e-global-color-text:#4B5D69;--e-global-color-accent:#7F9DBD;--e-global-color-ink:#102530;--e-global-color-primarydark:#163847;--e-global-color-surface:#EEF3F7;--e-global-color-surfacealt:#E4ECF3;--e-global-color-border:#E3E9EE;--e-global-color-ondark:#D6E1EA;--e-global-color-muted:#5C6D78;--e-global-typography-primary-font-family:"Plus Jakarta Sans";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Plus Jakarta Sans";--e-global-typography-secondary-font-weight:600;--e-global-typography-text-font-family:"Plus Jakarta Sans";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Plus Jakarta Sans";--e-global-typography-accent-font-weight:600;color:#102530;font-family:"Plus Jakarta Sans", Sans-serif;font-weight:400;}.elementor-kit-19 button,.elementor-kit-19 input[type="button"],.elementor-kit-19 input[type="submit"],.elementor-kit-19 .elementor-button{background-color:#1E4A5F;font-family:"Plus Jakarta Sans", Sans-serif;font-weight:600;color:#FFFFFF;}.elementor-kit-19 button:hover,.elementor-kit-19 button:focus,.elementor-kit-19 input[type="button"]:hover,.elementor-kit-19 input[type="button"]:focus,.elementor-kit-19 input[type="submit"]:hover,.elementor-kit-19 input[type="submit"]:focus,.elementor-kit-19 .elementor-button:hover,.elementor-kit-19 .elementor-button:focus{background-color:#163847;color:#FFFFFF;}.elementor-kit-19 e-page-transition{background-color:#FFBC7D;}.elementor-kit-19 a{color:#1E4A5F;font-family:"Plus Jakarta Sans", Sans-serif;font-weight:600;text-decoration:none;}.elementor-kit-19 a:hover{color:#163847;}.elementor-kit-19 h1{color:#102530;font-family:"Plus Jakarta Sans", Sans-serif;font-weight:600;}.elementor-kit-19 h2{color:#102530;font-family:"Plus Jakarta Sans", Sans-serif;font-weight:600;}.elementor-kit-19 h3{color:#102530;font-family:"Plus Jakarta Sans", Sans-serif;font-weight:600;}.elementor-kit-19 h4{color:#102530;font-family:"Plus Jakarta Sans", Sans-serif;font-weight:600;}.elementor-kit-19 h5{color:#102530;font-family:"Plus Jakarta Sans", Sans-serif;font-weight:600;}.elementor-kit-19 h6{color:#102530;font-family:"Plus Jakarta Sans", Sans-serif;font-weight:600;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}:root { --color-primary:#1E4A5F; --color-primary-dark:#163847; --color-primary-mid:#2B5A70; --color-ink:#102530; --color-white:#FFFFFF; --color-text:#4B5D69; --color-text-muted:#5C6D78; --color-surface:#EEF3F7; --color-surface-alt:#E4ECF3; --color-surface-soft:#F7F9FB; --color-surface-tint:#EEF2F6; --color-mist:#E6ECF1; --color-border:#E3E9EE; --color-border-soft:#DCE4EB; --color-border-strong:#C9D5E2; --color-steel:#7F9DBD; --color-steel-light:#B5C6D3; --color-pale:#BFD0DF; --color-on-dark:#D6E1EA; --color-on-dark-soft:#C9D7E2; --color-slate:#2F424D; --color-deep:#24495C; --color-accent-blue:#4D7193; --color-outline:#5E8098; --font-sans:Plus Jakarta Sans; --font-icon:Material Symbols Rounded; --size-12:12px; --size-13:13px; --size-14:14px; --size-15:15px; --size-16:16px; --size-17:17px; --size-18:18px; --size-19:19px; --size-20:20px; --size-21:21px; --size-22:22px; --size-24:24px; --size-26:26px; --size-28:28px; --size-30:30px; --size-44:44px; --size-52:52px; --size-60:60px; --space-2:2px; --space-4:4px; --space-5:5px; --space-6:6px; --space-7:7px; --space-8:8px; --space-10:10px; --space-12:12px; --space-14:14px; --space-16:16px; --space-18:18px; --space-20:20px; --space-22:22px; --space-24:24px; --space-26:26px; --space-28:28px; --space-32:32px; --space-36:36px; --space-40:40px; --space-48:48px; --space-56:56px; --space-64:64px; --space-72:72px; --space-80:80px; --space-96:96px; --space-104:104px; --space-120:120px; --space-126:126px; --space-128:128px; --radius-4:4px; --radius-12:12px; --radius-14:14px; --radius-16:16px; --radius-18:18px; --radius-20:20px; --radius-24:24px; --radius-26:26px; --radius-28:28px; --radius-32:32px; --radius-pill:999px; --radius-round:50%; --color-icon-steel:#9FB8D0; --color-divider-dark:#33566A; --color-border-dark:#24404E; --color-muted-on-dark:#9FB3C2; --color-online:#5BC08A; --size-40:40px; --radius-22:22px; --color-eyebrow-dot:#A9C1D7; --color-indicator-dim:#4D7489; --space-88:88px; --radius-8:8px; --space-30:30px; --space-44:44px; --color-border-mist:#D6E0E8; --size-36:36px; --size-42:42px; --e-gv-bd9195b:96px; --size-56:56px; --size-34:34px; --space-112:112px; --space-54:54px; --space-50:50px; --size-32:32px; --size-38:38px; --space-480:480px; --space-180:180px; --space-190:190px; --space-220:220px; }
/* Start custom CSS *//* bp-mega — Traitements dropdown: open on hover and on keyboard focus, pointer devices only.
   V4 interactions only animate the element they sit on, and the V4 style engine does not parse
   descendant .elementor-kit-19s, so a parent-hover-reveals-child rule cannot be expressed as element or
   global-class styles. The panel stays a native <details>, so click still opens it — that is touch. */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .bp-has-mega details:not([open]) > :not(summary) {
    display: block; visibility: hidden; opacity: 0;
    transition: opacity .18s ease, visibility .18s ease;
  }
  .bp-has-mega:hover details:not([open]) > :not(summary),
  .bp-has-mega:focus-within details:not([open]) > :not(summary) { visibility: visible; opacity: 1; }
}

/* Baseline line-height. The design declares none on <body>, so anything that sets none inherits
   `normal`. Elementor's frontend sets 1.5, which made every such line ~3.5px taller and pushed whole
   sections down — the infos cards measured 357.8px against the design's 340px from this alone. */
body { line-height: normal; }

/* Avis carousel arrows, and the client-approved vertical centring of the review cards.
   WHAT THE MOCKUP DRAWS (measured at 1440 and 1280; identical, the container is a fixed 1220):
     box 52x52 · top 47.3px from the section container · next right 40px · prev right 108px
     h2 spans 50 -> 99.3, mid 74.6; arrow mid 73.3, i.e. centred on the h2 line, not below it
     header bottom 99.3 -> cards top 155.3, a 56px gap
   ANCHORING. The arrows cannot be positioned against the section container: every Elementor
   container is `.e-con { position: relative }` and Swiper needs `position: relative` on `.swiper`,
   so the nearest positioned ancestor is always inside the carousel, and making those static breaks
   the carousel. The arrows' containing block is therefore `.swiper`, and anything that moves
   `.swiper` moves them — which happened twice: first the body grid's `align-items: center`, then
   centring the swiper inside the slot. So `.swiper` is pinned to the top of a slot stretched to the
   full grid row (`align-items: stretch` on the body grid), and the arrows sit at a fixed 108px
   above it (155.3 - 47.3). The centring the client asked for is done on `.swiper-wrapper`, inside
   the containing block, where it cannot move the arrows.
   The height chain has to be complete for that to work: slot (348, stretched by the grid) ->
   Elementor's widget div -> .swiper -> .swiper-wrapper. The widget div sizes to its content, so
   without `height: 100%` on it the chain broke there and the wrapper stayed 282 tall, leaving the
   cards top-aligned even with `align-items: center` set.
   COLOUR. Style > Navigation > Arrows > Color paints both arrows the same, so it cannot express
   prev = primary on white and next = white on primary. It emits
     .elementor-118 .elementor-element-<id> .elementor-swiper-button      { color }
     .elementor-118 .elementor-element-<id> .elementor-swiper-button svg  { fill  }
   at 0,4,0 in post-118.css. An earlier rule here tied that and lost on source order, and never set
   `fill` — which is why the next arrow rendered primary-on-primary with no visible icon. These are
   0,5,0 (0,5,1 for the svg) and set both.
   Desktop only: below 1025px the cards stack and the widget's own centred arrows are correct there,
   sized to 40px at Mobile for the tap-target minimum. No card styles are touched. */
@media (min-width: 1025px) {
  .e-con.elementor-element.bp-avis-carousel { position: relative; }

  /* Full height chain, so the wrapper can centre the slides against the taller award card. */
  .e-con.elementor-element.bp-avis-carousel > .elementor-widget { height: 100%; }
  .e-con.elementor-element.bp-avis-carousel .swiper { height: 100%; }
  .e-con.elementor-element.bp-avis-carousel .swiper .swiper-wrapper {
    height: 100%;
    align-items: center;
  }

  .e-con.elementor-element.bp-avis-carousel .swiper .elementor-swiper-button {
    top: -108px; bottom: auto; transform: none;
    width: 52px; height: 52px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin: 0;
    transition: background-color .18s ease, color .18s ease;
  }

  /* prev — outlined: primary icon on white */
  .e-con.elementor-element.bp-avis-carousel .swiper .elementor-swiper-button-prev {
    left: auto; right: 68px;
    border: 1.5px solid var(--color-border-strong);
    background: var(--color-white); color: var(--color-primary);
  }
  .e-con.elementor-element.bp-avis-carousel .swiper .elementor-swiper-button-prev svg { fill: var(--color-primary); }
  .e-con.elementor-element.bp-avis-carousel .swiper .elementor-swiper-button-prev:hover {
    background: var(--color-surface); color: var(--color-primary);
  }
  .e-con.elementor-element.bp-avis-carousel .swiper .elementor-swiper-button-prev:hover svg { fill: var(--color-primary); }

  /* next — filled: white icon on primary */
  .e-con.elementor-element.bp-avis-carousel .swiper .elementor-swiper-button-next {
    left: auto; right: 0;
    border: none;
    background: var(--color-primary); color: var(--color-white);
  }
  .e-con.elementor-element.bp-avis-carousel .swiper .elementor-swiper-button-next svg { fill: var(--color-white); }
  .e-con.elementor-element.bp-avis-carousel .swiper .elementor-swiper-button-next:hover {
    background: var(--color-primary-dark); color: var(--color-white);
  }
  .e-con.elementor-element.bp-avis-carousel .swiper .elementor-swiper-button-next:hover svg { fill: var(--color-white); }

  /* Keyboard focus. The arrows are role="button" tabindex="0" and the mockup draws no focus state,
     so this is an addition rather than a match — logged in docs/open-questions.md. */
  .e-con.elementor-element.bp-avis-carousel .swiper .elementor-swiper-button:focus-visible {
    outline: 2px solid var(--color-primary); outline-offset: 2px;
  }

  /* Disabled. The carousel loops, so swiper should never set this; defined so the state is not
     invisible if looping is ever turned off. */
  .e-con.elementor-element.bp-avis-carousel .swiper .elementor-swiper-button.swiper-button-disabled {
    opacity: .4; cursor: default;
  }
}

/* Video popup (853) — the dialog chrome. Elementor Pro renders .dialog-widget-content itself,
   outside the V4 element tree, so neither an element style nor a global class can reach it, and the
   popup document's own settings cannot be written over the MCP without risking the triggers that
   were set by hand in the editor. Hence CSS. Logged in docs/custom-css-log.md.
   THE RAIL. The dialog is 920 wide while the video is capped at 880, so there is a 20px rail of
   dialog down each side — white at first, and then, once the background was cleared, an invisible
   rail that the close button was still anchored to, which is why its disc hung off the video's
   top-right corner. Two attempts to remove the rail failed and were reverted: `width: fit-content`
   on the dialog (the 920 comes from neither the dialog nor the flexbox — no rule and no inline
   style sets it) and `width: fit-content` on the bp-pop-in flexbox (it shrank the mobile video from
   343 to 300). So the rail stays and the button is positioned against the video's real edge
   instead: half the rail, plus a 12px inset. `min(100%, …)` makes it self-clamping — if the dialog
   is ever narrower than the cap, the rail is 0 and the inset stays 12px. The three widths mirror
   bp-pop-video exactly (880 / 78vw / 88vw) and must be changed together with it.
   SPECIFICITY. These carry a leading `body` (1,1,1). Elementor emits the same .elementor-kit-19s at (1,1,0)
   in post-853.css, which loads after post-19.css, so an equal-specificity rule here loses on source
   order — that is why the first attempt's `box-shadow: none` was served but never applied.
   CLOSE BUTTON. Elementor draws an eicon-close SVG filled #1f2124 at 15px: invisible on a dark
   video. White on a dark disc, 40px for the tap-target minimum in docs/03-qa-checklist.md. */
body #elementor-popup-modal-853 .dialog-widget-content {
  background-color: transparent;
  box-shadow: none;
}
body #elementor-popup-modal-853 .dialog-close-button {
  top: 12px;
  right: calc((100% - min(100%, 880px)) / 2 + 12px);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background-color: rgba(16, 37, 48, .72);
  opacity: 1;
  transition: background-color .18s ease;
}
@media (max-width: 1024px) {
  body #elementor-popup-modal-853 .dialog-close-button {
    right: calc((100% - min(100%, 78vw)) / 2 + 12px);
  }
}
@media (max-width: 767px) {
  body #elementor-popup-modal-853 .dialog-close-button {
    right: calc((100% - min(100%, 88vw)) / 2 + 12px);
  }
}
body #elementor-popup-modal-853 .dialog-close-button:hover { background-color: var(--color-primary); }
body #elementor-popup-modal-853 .dialog-close-button svg { width: 16px; height: 16px; fill: #FFFFFF; }
body #elementor-popup-modal-853 .dialog-close-button:focus-visible {
  outline: 2px solid #FFFFFF; outline-offset: 2px;
}

/* =====================================================================
   ACCUEIL HERO SLIDER — design-2, option 1c "Carte vitrée" (2026-11-19)
   =====================================================================
   The designer specified "Nested Carousel (Pro)". That widget is not among the 66 creatable types
   the MCP exposes (neither is `slides`), so the slide engine is `e-tabs` — V4 atomic, writable, and
   keyboard accessible. The three numbered pager buttons ARE the tab triggers, so switching slides
   needs no JavaScript at all.
   THE HOOK is `.bp-hero`, the global class the section already carried from the first design; it is
   used on the home page and nowhere else (checked across all 9 published pages). Attaching a new
   class through manage-elements `classes` did not take, so the existing one is reused rather than
   fought with.
   WHY THIS LIVES IN CSS, NOT IN ELEMENT STYLES:
     1. The style converter DROPS `animation` and `animation-*` outright, and this design is built
        from four of them (panel slide-in, content cascade, photo cross-fade, Ken Burns).
     2. The photo layers are siblings of the tabs widget, so nothing inside a pane can reach them.
        `:has()` on the selected tab is what ties the two together — a parent/sibling relationship
        that no element style or global class can express.
   IMAGE COST: only slide 1's photo is referenced unconditionally. Slides 2 and 3 get their
   `background-image` INSIDE the `:has()` rule, so those two files are not fetched until their slide
   is first shown — the home page still loads exactly one hero photo, as it did before. */
@keyframes bpHsUp   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes bpHsLeft { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes bpHsKen  { from { transform: scale(1.08); } to { transform: scale(1); } }

.bp-hero > .bp-hs-bg { transition: opacity .9s ease; }
.bp-hero > .bp-hs-bg:nth-child(1) {
  background-image: url(https://bonpied.xyz/wp-content/uploads/2026/11/hero.jpg);
}
.bp-hero:has(.bp-hs-tab:nth-child(2)[aria-selected="true"]) > .bp-hs-bg:nth-child(2) {
  background-image: url(https://bonpied.xyz/wp-content/uploads/2026/11/orth_1.jpg);
}
.bp-hero:has(.bp-hs-tab:nth-child(3)[aria-selected="true"]) > .bp-hs-bg:nth-child(3) {
  background-image: url(https://bonpied.xyz/wp-content/uploads/2026/11/laser_1.jpg);
}
.bp-hero:has(.bp-hs-tab:nth-child(1)[aria-selected="true"]) > .bp-hs-bg:nth-child(1),
.bp-hero:has(.bp-hs-tab:nth-child(2)[aria-selected="true"]) > .bp-hs-bg:nth-child(2),
.bp-hero:has(.bp-hs-tab:nth-child(3)[aria-selected="true"]) > .bp-hs-bg:nth-child(3) {
  opacity: 1;
  animation: bpHsKen 9s ease-out both;
}

/* The frosted panel. backdrop-filter and the shadow are literal here rather than element styles so
   the whole glass treatment reads in one place. */
.bp-hs-panel {
  background-color: rgba(16,37,48,.62);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(16,37,48,.35);
  animation: bpHsLeft .8s ease both;
}

/* Content cascade. Elementor puts `.e--selected` on the active pane, so these re-run on every slide
   change, which is what the design's alternating A/B keyframes were simulating. */
.bp-hs-pane.e--selected > .bp-hs-eyebrow { animation: bpHsUp .6s ease .3s both; }
.bp-hs-pane.e--selected > .bp-hs-h       { animation: bpHsUp .7s ease .4s both; }
.bp-hs-pane.e--selected > .bp-hs-p       { animation: bpHsUp .7s ease .5s both; }
.bp-hs-pane.e--selected > .bp-hs-ctas    { animation: bpHsUp .7s ease .6s both; }

.bp-hs-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #A9C1D7; flex: 0 0 auto;
}

/* CTA icons. The design draws Material Symbols glyphs inside the buttons; e-button has no icon
   slot, so they are pseudo-elements rather than extra elements in the tree. */
.bp-hs-cta-a { transition: transform .2s ease; }
.bp-hs-cta-a::after {
  content: "arrow_outward"; font-family: 'Material Symbols Rounded';
  font-weight: 400; font-size: 20px; line-height: 1;
}
.bp-hs-cta-a:hover { transform: translateY(-2px); color: #1E4A5F; }
.bp-hs-cta-b { transition: background-color .2s ease; }
.bp-hs-cta-b::after {
  content: "arrow_forward"; font-family: 'Material Symbols Rounded';
  font-weight: 400; font-size: 20px; line-height: 1;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.14);
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.bp-hs-cta-b:hover { background-color: rgba(255,255,255,.12); color: #FFFFFF; }

/* The pager. The doubled class is deliberate: e-tab ships default styles (160px wide, #E0E0E0
   background, #0C0D0E border) at the same specificity as a global class and later in source order,
   so a single `.bp-hs-tab` here is served but loses — the border rendered #0C0D0E and the selected
   tab never turned white. `.bp-hs-tab.bp-hs-tab` is (0,3,0) and settles it. */
.bp-hs-menu { border-top: 1px solid rgba(255,255,255,.16); }
.elementor .bp-hs-tab.bp-hs-tab {
  border-color: rgba(255,255,255,.3);
  background-color: transparent;
  color: #FFFFFF;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.elementor .bp-hs-tab.bp-hs-tab:hover { background-color: rgba(255,255,255,.14); }
.elementor .bp-hs-tab.bp-hs-tab[aria-selected="true"],
.elementor .bp-hs-tab.bp-hs-tab[aria-selected="true"]:hover {
  background-color: #FFFFFF; border-color: #FFFFFF; color: #1E4A5F;
}
.elementor .bp-hs-tab.bp-hs-tab:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }

/* `left: auto` matters: something upstream sets a left on this absolutely positioned badge, and
   with both left and right resolved the box stretched to the full 1440 instead of hugging its
   content. */
.bp-hs-badge {
  left: auto;
  right: max(40px, calc((100% - 1140px) / 2));
  background-color: rgba(16,37,48,.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

@media (max-width: 1024px) {
  .bp-hs-eyebrow::before { width: 6px; height: 6px; }
  .bp-hs-cta-b::after { width: 36px; height: 36px; font-size: 18px; }
}
@media (max-width: 767px) {
  .bp-hs-panel {
    background-color: rgba(16,37,48,.66);
    box-shadow: 0 24px 60px rgba(16,37,48,.35);
    animation: bpHsUp .8s ease both;
  }
  /* the mobile mockup drops the arrow pill and centres a plain glyph */
  .bp-hs-cta-b::after { width: auto; height: auto; background: transparent; font-size: 18px; }
  .bp-hs-badge { left: 20px; right: auto; }
}

/* The whole hero is decoration over static content, so honour the OS setting. */
@media (prefers-reduced-motion: reduce) {
  .bp-hs-panel,
  .bp-hs-pane.e--selected > *,
  .bp-hero > .bp-hs-bg { animation: none; transition: none; }
}/* End custom CSS */