/* ==========================================================
   Jean-Baptiste Darantière — styles de l'accueil (modules Divi)
   Toutes les règles sont limitées aux sections .jbd-section.
   ========================================================== */

:root {
  --jbd-noir: #0B0A09;
  --jbd-ivoire: #F4EFE6;
  --jbd-blanc: #FBF8F3;
  --jbd-or: #C8A96E;
  --jbd-or-fonce: #6E5629;
  --jbd-gris: #A79F92;
  --jbd-gris-clair: #B9B0A2;
  --jbd-serif: 'Cormorant Garamond', Georgia, serif;
  --jbd-sans: 'Jost', system-ui, sans-serif;
  --jbd-max: 1360px;
  --jbd-gutter: 32px;
}

html { scroll-behavior: smooth; }
body.jbd-page, body.jbd-page #page-container, body.jbd-page #main-content, body.jbd-page .et-l--post { background: var(--jbd-noir); }
body.jbd-page #page-container { padding-top: 0 !important; }

/* ---------- Grille : neutralise les marges et largeurs par défaut de Divi ---------- */
.jbd-section, .jbd-section *, .jbd-section *::before, .jbd-section *::after { box-sizing: border-box; }
.jbd-section { position: relative; padding: 0 !important; font-family: var(--jbd-sans); font-weight: 300; font-size: 16px; line-height: 1.75; color: var(--jbd-ivoire); -webkit-font-smoothing: antialiased; }
.jbd-section .et_pb_row { width: 100% !important; max-width: var(--jbd-max) !important; margin: 0 auto !important; padding: 0 var(--jbd-gutter) !important; display: flex; flex-wrap: wrap; gap: 0 64px; }
.jbd-section .et_pb_row::after { display: none !important; }
.jbd-section .et_pb_column { margin: 0 !important; width: auto !important; min-width: 0; flex: 1 1 0; }
.jbd-section .et_pb_column_3_5, .jbd-section .et_pb_column_3_4 { flex: 3 1 0; }
.jbd-section .et_pb_column_2_5 { flex: 2 1 0; }
.jbd-section .et_pb_column_1_4, .jbd-section .et_pb_column_1_2 { flex: 1 1 0; }
.jbd-section .et_pb_module { margin: 0 !important; }
.jbd-section .et_pb_text, .jbd-section .et_pb_text_inner { color: inherit; }
.jbd-section p, .jbd-section h1, .jbd-section h2, .jbd-section h3, .jbd-section h4, .jbd-section h5, .jbd-section ul, .jbd-section li { margin: 0; padding: 0; }
.jbd-section h1, .jbd-section h2, .jbd-section h3, .jbd-section h4, .jbd-section h5 { color: inherit; font-family: var(--jbd-serif); font-weight: 300; line-height: 1.1; padding-bottom: 0; }
.jbd-section ul { list-style: none; }
.jbd-section a { color: var(--jbd-or); text-decoration: none; transition: color .3s ease, opacity .3s ease; }
.jbd-section a:hover { color: #E2C994; }
.jbd-section em { font-style: italic; }
.jbd-section img { display: block; }
.jbd-section .et_pb_image_wrap { display: block; }
.jbd-section .et-waypoint:not(.et_pb_counters) { opacity: 1 !important; }
.jbd-section .et_pb_bg_layout_light .et_pb_text_inner, .jbd-section .et_pb_bg_layout_dark .et_pb_text_inner { color: inherit; }

/* ---------- Typographie commune ---------- */
.jbd-label { font-family: var(--jbd-sans); font-size: 11px; font-weight: 400; letter-spacing: .34em; text-transform: uppercase; color: var(--jbd-or); }
.jbd-label-dark { color: var(--jbd-or-fonce) !important; }
.jbd-label-ink { color: #121110 !important; letter-spacing: .5em; font-size: 10px; }
.jbd-section .jbd-h2 { font-family: var(--jbd-serif); font-weight: 300; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.04; }
.jbd-section .jbd-h2-xl { font-size: clamp(44px, 5.4vw, 80px); line-height: 1.02; }
.jbd-muted { color: var(--jbd-gris-clair); }
.jbd-body-dark { color: #4E473E; }
.jbd-body-ink { color: #4F4942; font-size: 15px; line-height: 1.9; }
.jbd-head .et_pb_text_inner { display: flex; flex-direction: column; gap: 18px; }
.jbd-section .et_pb_row.jbd-head-row { align-items: flex-end; padding-bottom: 56px !important; }
.jbd-head-side { align-self: flex-end; }
.jbd-round { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(244,239,230,.5); background: rgba(0,0,0,.25); color: var(--jbd-ivoire); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .3s ease, border-color .3s ease; }
.jbd-round-dark { border-color: #B9A57E; background: transparent; color: #17140F; }
.jbd-round-dark:hover { background: rgba(110,86,41,.08); }
.jbd-arrows { display: flex; justify-content: flex-end; gap: 12px; }

/* ---------- Accueil ---------- */
.jbd-hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background-size: cover; background-position: center; }
.jbd-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(180deg, rgba(11,10,9,.75) 0, rgba(11,10,9,0) 180px),
  linear-gradient(0deg, var(--jbd-noir) 0, rgba(11,10,9,0) 260px),
  linear-gradient(90deg, rgba(11,10,9,.92) 0%, rgba(11,10,9,.7) 32%, rgba(11,10,9,.12) 64%, rgba(11,10,9,0) 100%); }
.jbd-hero-media { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.jbd-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.8s ease-in-out; }
.jbd-hero-media img.is-on { opacity: 1; }
.jbd-hero .et_pb_row { position: relative; z-index: 2; }
.jbd-section .et_pb_row.jbd-header-row { padding-top: 28px !important; align-items: center; }
.jbd-logo img { height: 84px; width: auto; }
.jbd-nav-module { align-self: center; }
.jbd-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 40px; font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; }
.jbd-nav a { color: var(--jbd-ivoire) !important; padding: 14px 0; }
.jbd-nav a.is-accent, .jbd-nav a:hover { color: var(--jbd-or) !important; }
.jbd-section .et_pb_row.jbd-hero-row { flex-grow: 1; align-items: flex-end; padding-top: 80px !important; padding-bottom: 96px !important; }
.jbd-hero-text .et_pb_text_inner { display: flex; flex-direction: column; gap: 32px; }
.jbd-section .jbd-hero-title { font-size: clamp(60px, 9vw, 132px); line-height: .92; letter-spacing: -.02em; }
.jbd-hero-tagline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.jbd-hero-tagline p { max-width: 460px; color: #D8D0C3; }
.jbd-rule { display: block; width: 72px; height: 1px; background: var(--jbd-or); }
.jbd-hero-slides { display: none !important; }
body.et-fb .jbd-hero-slides { display: block !important; max-width: 360px; margin-top: 24px !important; outline: 1px dashed var(--jbd-or); }

/* ---------- Manifeste ---------- */
.jbd-manifeste { overflow: hidden; }
.jbd-manifeste::before { content: ''; position: absolute; right: -10%; bottom: -30%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(200,169,110,.16), rgba(200,169,110,0)); pointer-events: none; }
.jbd-manifeste .et_pb_row { align-items: flex-end; }
.jbd-manifeste-text { padding: 120px 0; }
.jbd-manifeste-text .et_pb_text_inner { display: flex; flex-direction: column; gap: 36px; }
.jbd-quote { max-width: 720px; font-family: var(--jbd-serif); font-weight: 300; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.18; }
.jbd-manifeste-text .jbd-muted { max-width: 560px; }
.jbd-signature { font-family: var(--jbd-serif); font-style: italic; font-size: 24px; color: #E9E1D3; }
.jbd-portrait { padding-top: 48px; text-align: center; }
.jbd-portrait img { width: 100%; max-width: 480px; height: auto; margin: 0 auto; }

/* ---------- Chiffres ---------- */
.jbd-chiffres { border-top: 1px solid #2A2621; border-bottom: 1px solid #2A2621; }
.jbd-count-module { padding: 48px 24px 48px 0; }
.jbd-count { font-family: var(--jbd-serif); font-weight: 300; font-size: 64px; line-height: 1; color: var(--jbd-ivoire); }
.jbd-count-label { margin-top: 10px !important; font-size: 11px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--jbd-gris); }

/* ---------- Réalisations ---------- */
.jbd-realisations { color: #17140F; padding: 136px 0 96px !important; }
.jbd-section .et_pb_row.jbd-carousel-row { max-width: none !important; --pad: max(var(--jbd-gutter), calc((100vw - var(--jbd-max)) / 2 + var(--jbd-gutter))); padding: 0 !important; }
.jbd-carousel-row .et_pb_column { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); padding: 0 var(--pad) 40px; scrollbar-width: thin; scrollbar-color: #B9A57E transparent; scroll-behavior: smooth; counter-reset: jbdcard; }
.jbd-card { flex: 0 0 min(420px, 82vw); scroll-snap-align: start; counter-increment: jbdcard; }
.jbd-card .et_pb_blurb_content { position: relative; max-width: none; text-align: left; }
.jbd-card .et_pb_main_blurb_image { position: relative; height: 540px; margin: 0 0 22px !important; overflow: hidden; border-radius: 4px; background: var(--jbd-noir); }
.jbd-card .et_pb_main_blurb_image .et_pb_image_wrap, .jbd-card .et_pb_main_blurb_image img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.jbd-card .et_pb_main_blurb_image img { transition: transform 1.6s cubic-bezier(.22,.61,.36,1); }
.jbd-card:hover .et_pb_main_blurb_image img { transform: scale(1.04); }
.jbd-card .et_pb_main_blurb_image::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 55%; background: linear-gradient(0deg, rgba(11,10,9,.9), rgba(11,10,9,0)); pointer-events: none; }
.jbd-card .et_pb_module_header { position: absolute; z-index: 2; left: 28px; right: 28px; top: 540px; transform: translateY(calc(-100% - 26px)); font-family: var(--jbd-serif) !important; font-weight: 400; font-size: 34px !important; line-height: 1.05 !important; color: var(--jbd-ivoire) !important; padding: 0 !important; }
.jbd-card .et_pb_blurb_description { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: #4E473E; }
.jbd-card-meta { font-size: 11px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--jbd-or-fonce); }
/* Carte sans image : un fond sombre remplace la photo. Dès qu'une image est ajoutée, il disparaît. */
.jbd-card .et_pb_blurb_content:not(:has(.et_pb_main_blurb_image))::before { content: ''; display: block; height: 540px; margin-bottom: 22px; border-radius: 4px; background: #17140F; }
.jbd-card-cta .et_pb_text_inner { height: 540px; }
.jbd-cta-card { height: 100%; border: 1px solid #B9A57E; border-radius: 4px; color: #17140F !important; padding: 36px 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.jbd-cta-card:hover { background: rgba(110,86,41,.06); }
.jbd-cta-title { font-family: var(--jbd-serif); font-weight: 300; font-size: 44px; line-height: 1.02; }
.jbd-link-arrow { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; }

/* ---------- En images (galerie Divi en mode diaporama) ---------- */
.jbd-galerie { padding-top: 136px !important; padding-bottom: 136px !important; }
.jbd-section .et_pb_row.jbd-stage-row { max-width: none !important; padding: 0 !important; }
.jbd-stage { background: #000; }
.jbd-stage .et_pb_gallery_item { position: relative; }
.jbd-stage .et_pb_gallery_image, .jbd-stage .et_pb_gallery_image a { display: block; height: 780px; max-height: 88vh; background: #000; }
.jbd-stage .et_pb_gallery_image img { width: 100% !important; height: 100% !important; object-fit: contain; }
.jbd-stage .et_pb_gallery_image.landscape img { object-fit: cover; }
.jbd-stage .et_pb_gallery_item::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 48%; background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,0)); pointer-events: none; }
.jbd-stage .et_pb_gallery_title, .jbd-stage .et_pb_gallery_caption { position: absolute; z-index: 2; left: max(var(--jbd-gutter), calc((100% - var(--jbd-max)) / 2 + var(--jbd-gutter))); right: 160px; text-align: left; }
.jbd-stage .et_pb_gallery_title { bottom: 84px; font-family: var(--jbd-serif) !important; font-style: italic; font-weight: 300; font-size: clamp(38px, 4.4vw, 64px) !important; line-height: 1.02 !important; color: var(--jbd-ivoire) !important; padding: 0 !important; }
.jbd-stage .et_pb_gallery_caption { bottom: 48px; font-size: 11px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: #D8D0C3 !important; }
.jbd-stage .et-pb-slider-arrows a { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(244,239,230,.5); background: rgba(0,0,0,.25); color: var(--jbd-ivoire) !important; opacity: 1 !important; display: flex !important; align-items: center; justify-content: center; top: auto !important; bottom: 40px; margin: 0 !important; font-size: 28px; }
.jbd-stage .et-pb-arrow-prev { left: auto !important; right: calc(var(--jbd-gutter) + 68px) !important; }
.jbd-stage .et-pb-arrow-next { right: var(--jbd-gutter) !important; border-color: var(--jbd-or) !important; }
.jbd-stage .et-pb-controllers { display: none; }

/* ---------- Savoir-faire (images fixes qui changent au défilement) ---------- */
.jbd-savoir { color: #17140F; padding-top: 136px !important; padding-bottom: 120px !important; }
.jbd-section .et_pb_row.jbd-scrolly { align-items: flex-start; gap: 0 72px !important; }
.jbd-scrolly > .et_pb_column:first-child { position: sticky; top: 0; height: 100vh; padding: 48px 0 96px !important; }
.jbd-sf-img { position: absolute !important; left: 0; right: 0; top: 48px; bottom: 96px; overflow: hidden; background: var(--jbd-noir); opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 2.4s ease; }
.jbd-sf-img.is-on, .jbd-sf-img:first-child { opacity: 1; transform: none; }
.jbd-scrolly.jbd-js .jbd-sf-img:first-child:not(.is-on) { opacity: 0; }
.jbd-sf-img .et_pb_image_wrap, .jbd-sf-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.jbd-sf-big { position: absolute; z-index: 3; left: 24px; bottom: 110px; margin: 0; font-family: var(--jbd-serif); font-weight: 300; font-size: 96px; line-height: 1; color: rgba(244,239,230,.92); pointer-events: none; }
.jbd-sf-progress { position: absolute; left: 0; right: 0; bottom: 48px; display: flex; align-items: center; gap: 18px; }
.jbd-sf-track { position: relative; flex-grow: 1; height: 1px; background: #CFC4B1; }
.jbd-sf-fill { position: absolute; left: 0; top: -.5px; height: 2px; width: 20%; background: var(--jbd-or-fonce); transition: width .6s ease; }
.jbd-sf-count { font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--jbd-or-fonce); }
.jbd-step { min-height: 72vh; display: flex !important; flex-direction: column; justify-content: center; padding: 48px 0; }
.jbd-scrolly.jbd-js .jbd-step { opacity: .22; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.jbd-scrolly.jbd-js .jbd-step.is-on { opacity: 1; transform: none; }
.jbd-step .et_pb_text_inner { display: flex; flex-direction: column; gap: 18px; }
.jbd-step-num { font-family: var(--jbd-serif); font-size: 20px; color: var(--jbd-or-fonce); }
.jbd-section .jbd-step-title { font-style: italic; font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.jbd-step-rule { display: block; width: 56px; height: 1px; background: #B9A57E; }
.jbd-step-text { max-width: 420px; font-size: 17px; color: #4E473E; }
body.et-fb .jbd-scrolly > .et_pb_column:first-child { position: relative; height: auto; }
body.et-fb .jbd-sf-img { position: relative !important; top: auto; bottom: auto; height: 260px; margin-bottom: 12px !important; opacity: 1; transform: none; }

/* ---------- Parcours (accordéon Divi) ---------- */
.jbd-parcours { color: #121110; padding: 112px 0 !important; }
.jbd-section.jbd-parcours .et_pb_row { max-width: 1240px !important; gap: 48px 96px; align-items: flex-start; }
.jbd-parcours-intro .et_pb_text_inner { display: flex; flex-direction: column; gap: 28px; }
.jbd-parcours-intro .jbd-h2 { font-size: clamp(42px, 4.6vw, 66px); line-height: 1.02; }
.jbd-accordion { border-top: 1px solid #121110; }
.jbd-accordion .et_pb_toggle { margin: 0 !important; padding: 0 !important; border: 0 !important; border-bottom: 1px solid #DDD6CA !important; background: transparent !important; }
.jbd-accordion .et_pb_toggle_title { position: relative; padding: 22px 48px 22px 0 !important; cursor: pointer; font-family: var(--jbd-serif) !important; font-weight: 300 !important; font-style: italic; font-size: 26px !important; line-height: 1.2 !important; color: #121110 !important; }
.jbd-accordion .et_pb_toggle_title::before { content: '+' !important; font-family: var(--jbd-serif) !important; font-style: normal; font-weight: 300; font-size: 28px !important; color: #121110 !important; right: 0 !important; top: 50% !important; margin-top: -16px !important; }
.jbd-accordion .et_pb_toggle_open .et_pb_toggle_title::before { content: '−' !important; display: block !important; }
.jbd-accordion .et_pb_toggle_content { padding: 0 48px 24px 0 !important; font-size: 14px; line-height: 1.85; color: #4F4942; }

/* ---------- Presse ---------- */
.jbd-section.jbd-presse .et_pb_row { max-width: 1100px !important; }
.jbd-presse-module { padding: 120px 0; text-align: center; }
.jbd-presse-module .et_pb_text_inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.jbd-presse-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 48px; font-family: var(--jbd-serif); font-weight: 500; font-size: 28px; }
.jbd-presse-list a, .jbd-presse-list span { display: inline-block; padding: 8px 0; color: var(--jbd-ivoire) !important; opacity: .85; }
.jbd-presse-list a:hover { opacity: 1; color: var(--jbd-or) !important; }

/* ---------- Contact ---------- */
.jbd-section.jbd-contact { background-image: url("images/contact-fond.jpg"); }
.jbd-section.jbd-contact { position: relative; overflow: hidden; background-color: #000 !important; background-size: max(100%, 1800px) auto !important; background-position: center center !important; background-repeat: no-repeat !important; }
.jbd-section.jbd-contact .et_pb_row.jbd-contact-row, .jbd-section.jbd-contact .et_pb_row { min-height: 860px; align-items: center; padding-top: 160px !important; padding-bottom: 160px !important; }
.jbd-contact .et_pb_column { flex: 0 1 640px !important; max-width: 640px; }
.jbd-contact-text .et_pb_text_inner { display: flex; flex-direction: column; gap: 32px; }
.jbd-contact-text .jbd-muted { max-width: 480px; }
.jbd-contact-direct { margin-top: 56px !important; font-size: 13px; color: #8E867A; letter-spacing: .04em; }
.jbd-contact-direct p { margin: 0; padding: 0; }
.jbd-contact-direct .jbd-mail { font-size: 19px; margin-left: 6px; }
/* Formulaire */
.jbd-form { margin-top: 56px !important; }
.jbd-form .et_pb_contact_main_title { display: none; }
.jbd-form .et_pb_contact_form { display: flex; flex-wrap: wrap; gap: 0 32px; margin: 0 !important; }
.jbd-form .et_pb_contact_field { flex: 1 1 100%; float: none !important; width: auto !important; margin: 0 0 8px !important; padding: 0 !important; position: relative; }
.jbd-form .et_pb_contact_field_half { flex: 1 1 240px; }
.jbd-form .et_pb_contact_form_label { display: none !important; }
.jbd-form .et_pb_contact p input, .jbd-form .et_pb_contact p textarea, .jbd-form input.input, .jbd-form textarea.input {
  width: 100% !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(200,169,110,.38) !important; border-radius: 0 !important;
  padding: 18px 0 14px !important; color: var(--jbd-ivoire) !important; font-family: var(--jbd-sans) !important; font-size: 15px !important; font-weight: 300 !important; letter-spacing: .02em; box-shadow: none !important; transition: border-color .4s ease; }
.jbd-form textarea.input { min-height: 132px; resize: vertical; }
.jbd-form .input::placeholder { color: #8E867A !important; opacity: 1; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.jbd-form .input:focus { outline: none !important; border-bottom-color: var(--jbd-or) !important; }
.jbd-form .input.et_contact_error { border-bottom-color: #B4544A !important; }
.jbd-form .et_contact_bottom_container { float: none !important; width: 100%; display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin: 32px 0 0 !important; text-align: left !important; }
.jbd-form .et_pb_contact_right { float: none !important; margin: 0 !important; }
.jbd-form .et_pb_contact_right p { margin: 0 !important; padding: 0 !important; display: flex; align-items: center; gap: 12px; color: #8E867A; font-size: 13px; letter-spacing: .12em; }
.jbd-form .et_pb_contact_right p input.et_pb_contact_captcha { width: 64px !important; padding: 8px 0 !important; text-align: center; font-size: 15px !important; }
.jbd-form .et_pb_contact_submit.et_pb_button, .jbd-form button.et_pb_contact_submit {
  display: inline-flex; align-items: center; gap: 16px; min-height: 52px; margin: 0 !important; padding: 0 40px !important; border: 1px solid var(--jbd-or) !important; border-radius: 0 !important; background: transparent !important;
  color: var(--jbd-ivoire) !important; font-family: var(--jbd-sans) !important; font-size: 11px !important; font-weight: 400 !important; letter-spacing: .3em !important; text-transform: uppercase; line-height: 1 !important; cursor: pointer; transition: background .3s ease, color .3s ease; }
.jbd-form .et_pb_contact_submit.et_pb_button:hover, .jbd-form button.et_pb_contact_submit:hover { background: var(--jbd-or) !important; color: #0B0A09 !important; padding: 0 40px !important; }
.jbd-form .et_pb_contact_submit.et_pb_button::after, .jbd-form .et_pb_contact_submit.et_pb_button::before { display: none !important; }
.jbd-form .et-pb-contact-message { color: var(--jbd-ivoire); font-family: var(--jbd-serif); font-size: 26px; line-height: 1.3; }
.jbd-form .et-pb-contact-message p { margin: 0 0 8px; padding: 0; }
.jbd-form .et-pb-contact-message ul { margin: 8px 0 24px; padding: 0; list-style: none; font-family: var(--jbd-sans); font-size: 13px; color: #D9A79F; }
.jbd-btn { display: inline-flex; align-items: center; gap: 16px; min-height: 52px; padding: 0 32px; border: 1px solid var(--jbd-or); color: var(--jbd-ivoire) !important; font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; transition: background .3s ease; }
.jbd-btn:hover { background: rgba(200,169,110,.15); }
.jbd-mail { font-family: var(--jbd-serif); font-size: 22px; padding: 10px 0; }

/* ---------- Pied de page ---------- */
.jbd-footer { border-top: 1px solid #221F1B; }
.jbd-footer-logo { padding: 72px 0 40px; text-align: center; }
.jbd-footer-logo img { width: 100%; max-width: 300px; height: auto; margin: 0 auto; }
.jbd-footer-bar { padding: 32px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: #8E867A; border-top: 1px solid #221F1B; }
.jbd-footer-links { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.jbd-footer-links a, .jbd-footer-links span { color: #8E867A !important; padding: 10px 0; }
.jbd-footer-links a:hover { color: var(--jbd-or) !important; }

/* ---------- Mentions légales ---------- */
.jbd-legal-head { overflow: hidden; border-bottom: 1px solid #221F1B; }
.jbd-legal-head::before { content: ''; position: absolute; right: -12%; top: -40%; width: 70%; height: 150%; background: radial-gradient(closest-side, rgba(200,169,110,.14), rgba(200,169,110,0)); pointer-events: none; }
.jbd-legal-head::after { content: 'JBD'; position: absolute; right: 4%; bottom: -0.28em; font-family: var(--jbd-serif); font-style: italic; font-weight: 300; font-size: clamp(160px, 24vw, 380px); line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(200,169,110,.16); pointer-events: none; }
.jbd-section .et_pb_row.jbd-legal-hero-row { position: relative; z-index: 1; padding-top: 120px !important; padding-bottom: 112px !important; }
.jbd-legal-hero .et_pb_text_inner { display: flex; flex-direction: column; gap: 28px; }
.jbd-section .jbd-legal-h1 { font-size: clamp(56px, 8vw, 128px); line-height: .96; letter-spacing: -.01em; }
.jbd-legal-h1 em { color: var(--jbd-or); }
.jbd-legal-intro { display: flex; align-items: center; gap: 24px; margin-top: 12px; color: var(--jbd-gris-clair); max-width: 620px; }
.jbd-legal-intro .jbd-rule { flex: none; }

.jbd-section .et_pb_row.jbd-legal-row { padding-top: 112px !important; padding-bottom: 136px !important; align-items: flex-start; gap: 0 96px !important; }
.jbd-legal-row > .et_pb_column:first-child { position: sticky; top: 48px; flex: 0 0 240px !important; }
.jbd-legal-toc { list-style: none; margin: 24px 0 0 !important; padding: 0; border-top: 1px solid #221F1B; }
.jbd-legal-toc li { border-bottom: 1px solid #221F1B; }
.jbd-legal-toc a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; color: var(--jbd-gris-clair) !important; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.jbd-legal-toc a span { font-family: var(--jbd-serif); font-style: italic; font-size: 17px; letter-spacing: 0; color: var(--jbd-or); }
.jbd-legal-toc a:hover { color: var(--jbd-ivoire) !important; }
.jbd-legal-row > .et_pb_column:last-child { max-width: 860px; }
.jbd-legal-block + .jbd-legal-block { margin-top: 0 !important; }
.jbd-legal-article { position: relative; padding: 0 0 72px; margin-bottom: 88px; border-bottom: 1px solid #221F1B; scroll-margin-top: 48px; }
.jbd-legal-article:has(> .jbd-legal-dl:last-child) { padding-bottom: 0; border-bottom: 0; }
.jbd-legal-block:last-child .jbd-legal-article { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.jbd-legal-num { font-family: var(--jbd-serif); font-style: italic; font-size: 22px; color: var(--jbd-or); margin-bottom: 12px !important; }
.jbd-section .jbd-legal-title { font-size: clamp(34px, 3.4vw, 50px); line-height: 1.05; margin-bottom: 36px !important; }
.jbd-legal-article > p { color: var(--jbd-gris-clair); max-width: 720px; }
.jbd-legal-article > p + p { margin-top: 18px !important; }
.jbd-legal-lead { font-family: var(--jbd-serif); font-size: 24px !important; line-height: 1.4; color: var(--jbd-ivoire) !important; margin-bottom: 36px !important; }
.jbd-legal-lead em { color: var(--jbd-or); }
.jbd-legal-dl { margin: 0; border-top: 1px solid #2A2621; }
.jbd-legal-dl > div { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 8px 40px; padding: 20px 0; border-bottom: 1px solid #2A2621; }
.jbd-legal-dl dt { font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: #8E867A; padding-top: 6px; }
.jbd-legal-dl dd { margin: 0; font-family: var(--jbd-serif); font-size: 22px; line-height: 1.4; color: var(--jbd-ivoire); }
.jbd-legal-callout { margin-top: 40px; padding: 32px 36px; border: 1px solid rgba(200,169,110,.35); background: linear-gradient(135deg, rgba(200,169,110,.07), rgba(200,169,110,0) 60%); display: flex; flex-direction: column; gap: 12px; }
.jbd-legal-callout p:not(.jbd-label) { font-family: var(--jbd-serif); font-size: 21px; line-height: 1.45; }
.jbd-legal-callout .jbd-legal-small { font-family: var(--jbd-sans) !important; }
.jbd-section .jbd-legal-small { font-size: 13px !important; color: #8E867A !important; letter-spacing: .02em; }
@media (max-width: 980px) {
  .jbd-section .et_pb_row.jbd-legal-hero-row { padding-top: 72px !important; padding-bottom: 72px !important; }
  .jbd-section .et_pb_row.jbd-legal-row { padding-top: 64px !important; padding-bottom: 88px !important; }
  .jbd-legal-row > .et_pb_column:first-child { position: static; flex: 1 1 100% !important; margin-bottom: 64px !important; }
  .jbd-legal-dl > div { grid-template-columns: 1fr; gap: 4px; }
  .jbd-legal-callout { padding: 24px; }
  .jbd-legal-article { padding-bottom: 56px; margin-bottom: 56px; }
}

/* ---------- Apparitions au défilement ---------- */
html.jbd-anim .jbd-r { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1.1s cubic-bezier(.22,.61,.36,1), transform 1.3s cubic-bezier(.22,.61,.36,1); }
html.jbd-anim .jbd-r.jbd-rise { transform: translate3d(0, 80px, 0); transition-duration: 1.6s, 1.8s; }
html.jbd-anim .jbd-r.is-in { opacity: 1; transform: none; }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 980px) {
  :root { --jbd-gutter: 24px; }
  .jbd-section .et_pb_column { flex: 1 1 100% !important; }
  .jbd-section .et_pb_row { gap: 0 !important; }
  .jbd-chiffres .et_pb_column { flex: 1 1 50% !important; }
  .jbd-logo img { height: 64px; }
  .jbd-nav { justify-content: flex-start; gap: 4px 24px; }
  .jbd-manifeste-text { padding: 88px 0 24px; }
  .jbd-realisations, .jbd-galerie { padding-top: 96px !important; }
  .jbd-head-side { margin-top: 20px !important; }
  .jbd-arrows { justify-content: flex-start; margin-top: 24px; }
  .jbd-stage .et_pb_gallery_image, .jbd-stage .et_pb_gallery_image a { height: 64vh; }
  .jbd-scrolly > .et_pb_column:first-child { position: relative; height: 62vh; }
  .jbd-scrolly.jbd-js .jbd-step { min-height: 0; padding: 40px 0; opacity: 1; transform: none; }
  .jbd-parcours .et_pb_row { gap: 40px !important; }
  .jbd-section.jbd-contact { background-size: auto 600px !important; background-position: 64% 0 !important; }
  .jbd-section.jbd-contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.6) 30%, rgba(0,0,0,.88) 55%, #000 100%); pointer-events: none; }
  .jbd-section.jbd-contact .et_pb_row { position: relative; z-index: 1; min-height: 0; padding-top: 120px !important; padding-bottom: 96px !important; }
  .jbd-contact .et_pb_column { flex: 1 1 100% !important; max-width: none; }
}
@media (max-width: 600px) {
  .jbd-nav { display: none; }
  .jbd-chiffres .et_pb_column { flex: 1 1 100% !important; }
  .jbd-card .et_pb_main_blurb_image, .jbd-card .et_pb_blurb_content:not(:has(.et_pb_main_blurb_image))::before, .jbd-card-cta .et_pb_text_inner { height: 460px; }
  .jbd-card .et_pb_module_header { top: 460px; }
  .jbd-stage .et_pb_gallery_title, .jbd-stage .et_pb_gallery_caption { right: var(--jbd-gutter); }
  .jbd-stage .et_pb_gallery_title { bottom: 110px; }
  .jbd-stage .et_pb_gallery_caption { bottom: 84px; }
  .jbd-presse-list { font-size: 23px; gap: 4px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html.jbd-anim .jbd-r { opacity: 1 !important; transform: none !important; transition: none !important; }
  .jbd-hero-media img, .jbd-sf-img { transition: none; }
  html { scroll-behavior: auto; }
}
