/* =========================================================================
   La Bulle de Chapaize — thème enfant Divi
   Préfixe de toutes les classes : bdc-
   ========================================================================= */

/* ---------- Polices hébergées dans le thème ---------- */
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("../fonts/instrument-sans-variable.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Charte ---------- */
:root {
	--bdc-magenta: #C8187E;
	--bdc-magenta-d: color-mix(in srgb, var(--bdc-magenta) 80%, #000);
	--bdc-orange: #E9782B;
	--bdc-vert: #3E5F42;
	--bdc-vert-d: #24382A;
	--bdc-violet: #8A6BB0;
	--bdc-prune: #4A2A2E;

	--bdc-creme: #FCF7F3;
	--bdc-pierre: #F7EDE6;
	--bdc-rose: #F9ECE8;
	--bdc-sauge: #F5EEDC;
	--bdc-peche: #FCE9DA;

	--bdc-encre: #2B2420;
	--bdc-encre-2: #5E4F4A;
	--bdc-trait: #EADBD2;

	--bdc-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--bdc-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bdc-ease: cubic-bezier(.22, .61, .36, 1);
	--bdc-rebond: cubic-bezier(.34, 1.56, .64, 1);

	--bdc-page: var(--bdc-creme);

	/* Valeurs par défaut, remplacées par les réglages Divi (inc/divi-reglages.php) */
	--bdc-largeur: 1280px;
	--bdc-section: 4%;
	--bdc-texte-taille: 18px;
	--bdc-titres: inherit;
	--bdc-lien: var(--bdc-magenta);
}

/* ---------- Fond de page qui change de couleur au défilement ---------- */
body.bdc {
	background-color: var(--bdc-page);
	transition: background-color 1.2s var(--bdc-ease);
}
body.bdc[data-ton="rose"] { --bdc-page: var(--bdc-rose); }
body.bdc[data-ton="sauge"] { --bdc-page: var(--bdc-sauge); }
body.bdc[data-ton="peche"] { --bdc-page: var(--bdc-peche); }
body.bdc[data-ton="pierre"] { --bdc-page: var(--bdc-pierre); }

body.bdc #page-container,
body.bdc #et-main-area,
body.bdc #main-content,
body.bdc .et-l--body,
body.bdc .et-l--footer { background-color: transparent; }
body.bdc #page-container { overflow-x: clip; }

/* Les sections marquées d'un ton laissent voir le fond de page. */
body.bdc .et_pb_section[class*="bdc-ton-"] { background-color: transparent !important; }

/* ---------- Typographie ----------
   Limitée au contenu du site (#page-container, pied de page, visionneuse), jamais appliquée
   à l'interface du Visual Builder de Divi. Les :where() gardent une priorité faible :
   un réglage de police fait dans un module Divi reste prioritaire. */
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) {
	color: var(--bdc-encre);
	font-family: var(--bdc-sans);
	font-size: var(--bdc-texte-taille);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) p:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)),
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) li:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)),
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) .et_pb_text:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)),
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) input:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)),
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) textarea:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)),
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) select:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)) { font-family: var(--bdc-sans); }

body.bdc :where(#page-container, .bdc-pied, .bdc-lb) p:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)) { padding-bottom: 0; margin-bottom: 1em; }
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) p:last-child:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)) { margin-bottom: 0; }

body.bdc :where(#page-container, .bdc-pied, .bdc-lb) h1:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)),
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) h2:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)),
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) h3:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)),
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) h4:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)) {
	font-family: var(--bdc-serif);
	font-weight: 500;
	letter-spacing: -.01em;
	line-height: 1.1;
	color: var(--bdc-titres);
	padding-bottom: 0;
	text-wrap: balance;
}
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) h1:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)) { font-size: clamp(40px, 6vw, 84px); }
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) h2:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)) { font-size: clamp(34px, 4.6vw, 60px); margin-bottom: .35em; }
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) h3:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)) { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: .3em; }
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) h1 em:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)),
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) h2 em:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)),
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) h3 em:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)) { font-style: italic; color: var(--bdc-vert); }
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) blockquote:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)),
body.bdc :where(#page-container, .bdc-pied, .bdc-lb) summary:not(:where([class*="et-fb"] *, [class*="et-vb"] *, [class*="et_fb"] *, [id^="et-fb"] *, [id^="et-vb"] *)) { text-wrap: balance; }

/* Petit titre au-dessus d'un titre : classe « bdc-surtitre » sur un module Texte. */
.bdc-surtitre,
.bdc-surtitre p {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 600 13px/1.4 var(--bdc-sans) !important;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--bdc-magenta) !important;
	margin-bottom: 14px;
}
.bdc-surtitre::before,
.bdc-surtitre p::before { content: ""; width: 28px; height: 2px; background: var(--bdc-orange); border-radius: 2px; }
.et_pb_text.bdc-surtitre::before { display: none; }

/* Chapô : classe « bdc-chapo » sur un module Texte. */
.bdc-chapo, .bdc-chapo p { font-size: 20px; color: var(--bdc-encre-2); }
.bdc-texte-doux, .bdc-texte-doux p { color: var(--bdc-encre-2); }

/* ---------- Boutons (module Bouton Divi : classe bdc-btn, bdc-btn-contour ou bdc-btn-blanc) ---------- */
body.bdc .bdc-btn,
body.bdc .bdc-btn.et_pb_button,
body.bdc .bdc-btn .et_pb_button,
body.bdc .bdc-btn-contour.et_pb_button,
body.bdc .bdc-btn-contour .et_pb_button,
body.bdc .bdc-btn-blanc.et_pb_button,
body.bdc .bdc-btn-blanc .et_pb_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 26px !important;
	border-radius: 999px !important;
	border: 1.5px solid transparent !important;
	font: 600 16px/1 var(--bdc-sans) !important;
	letter-spacing: 0 !important;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .5s var(--bdc-ease), color .5s var(--bdc-ease), border-color .5s var(--bdc-ease);
}
body.bdc .et_pb_button.bdc-btn::after,
body.bdc .bdc-btn .et_pb_button::after,
body.bdc .bdc-btn-contour .et_pb_button::after,
body.bdc .bdc-btn-contour.et_pb_button::after,
body.bdc .bdc-btn-blanc .et_pb_button::after,
body.bdc .bdc-btn-blanc.et_pb_button::after { display: none !important; }

body.bdc .bdc-btn, body.bdc .bdc-btn.et_pb_button, body.bdc .bdc-btn .et_pb_button { background: var(--bdc-magenta) !important; color: #fff !important; }
body.bdc .bdc-btn:hover, body.bdc .bdc-btn.et_pb_button:hover, body.bdc .bdc-btn .et_pb_button:hover { background: var(--bdc-magenta-d) !important; }

body.bdc .bdc-btn-contour.et_pb_button, body.bdc .bdc-btn-contour .et_pb_button { background: transparent !important; color: var(--bdc-encre) !important; border-color: currentColor !important; }
body.bdc .bdc-btn-contour.et_pb_button:hover, body.bdc .bdc-btn-contour .et_pb_button:hover { background: var(--bdc-encre) !important; color: var(--bdc-creme) !important; border-color: var(--bdc-encre) !important; }

body.bdc .bdc-btn-blanc.et_pb_button, body.bdc .bdc-btn-blanc .et_pb_button { background: #fff !important; color: var(--bdc-vert-d) !important; }
body.bdc .bdc-btn-blanc.et_pb_button:hover, body.bdc .bdc-btn-blanc .et_pb_button:hover { background: var(--bdc-creme) !important; color: var(--bdc-encre) !important; }

/* ---------- Apparition au défilement : classe « bdc-apparition » sur une rangée ou un module ---------- */
.bdc-js .bdc-apparition { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--bdc-ease), transform 1.1s var(--bdc-ease); }
.bdc-js .bdc-apparition.in { opacity: 1; transform: none; }
.bdc-d1 { transition-delay: .12s !important; }
.bdc-d2 { transition-delay: .24s !important; }
.bdc-d3 { transition-delay: .36s !important; }

/* ---------- Pastilles d'icônes ---------- */
.bdc-ico { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-style: normal; background: var(--bdc-magenta); }
.bdc-ico svg { width: 58%; height: 58%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bdc-ico--magenta { background: var(--bdc-magenta); }
.bdc-ico--orange { background: var(--bdc-orange); }
.bdc-ico--vert { background: var(--bdc-vert); }
.bdc-ico--violet { background: var(--bdc-violet); }
.bdc-ico--prune { background: var(--bdc-magenta-d); }

/* ---------- Bandeau du haut : section « bdc-topbar » + [bdc_barre] ---------- */
body.bdc .bdc-topbar { background-color: var(--bdc-rose) !important; border-bottom: 1px solid var(--bdc-trait); padding: 0 !important; }
.bdc-barre { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 24px; font-size: 14px; font-weight: 500; }
.bdc-barre-coord { display: flex; gap: 26px; }
.bdc-ti { display: inline-flex; align-items: center; gap: 9px; color: var(--bdc-encre) !important; text-decoration: none; }.bdc-langues { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 !important; }
.bdc-langues li { padding: 0 !important; }
.bdc-langues a { padding: 2px 8px; border-radius: 6px; color: var(--bdc-encre) !important; text-transform: uppercase; font-weight: 600; }
.bdc-langues .current-lang a { background: var(--bdc-orange); color: #fff !important; }

/* ---------- Header : section « bdc-header » (réglée en « collante » dans Divi) + [bdc_entete] ---------- */
body.bdc .bdc-header {
	--bdc-nav-bg: rgba(252, 247, 243, .95);
	--bdc-nav-fg: var(--bdc-encre);
	--bdc-nav-fg2: var(--bdc-encre-2);
	--bdc-nav-trait: var(--bdc-trait);
	background-color: var(--bdc-nav-bg) !important;
	color: var(--bdc-nav-fg);
	backdrop-filter: blur(12px);
	padding: 0 !important;
	z-index: 99;
	transition: background-color .9s var(--bdc-ease), color .9s var(--bdc-ease), box-shadow .6s var(--bdc-ease);
}
body.bdc .bdc-header.bdc-scrolle { box-shadow: 0 10px 30px -18px rgba(74, 42, 46, .45); }
body.bdc .bdc-header[data-ton="rose"] { --bdc-nav-bg: rgba(249, 236, 232, .96); }
body.bdc .bdc-header[data-ton="sauge"] { --bdc-nav-bg: rgba(245, 238, 220, .96); }
body.bdc .bdc-header[data-ton="peche"] { --bdc-nav-bg: rgba(252, 233, 218, .96); }
body.bdc .bdc-header[data-ton="pierre"] { --bdc-nav-bg: rgba(247, 237, 230, .96); }
body.bdc .bdc-header[data-ton="sombre"] { --bdc-nav-bg: rgba(74, 42, 46, .95); --bdc-nav-fg: #F4EEE4; --bdc-nav-fg2: #E3D5CF; --bdc-nav-trait: rgba(255, 255, 255, .3); }
body.bdc .bdc-header .et_pb_row { padding: 0 !important; }

.bdc-entete { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .6s var(--bdc-ease); }
.bdc-scrolle .bdc-entete { height: 68px; }
.bdc-entete .bdc-nav-wrap { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.bdc-logo-lien { display: block; line-height: 0; }
.bdc-logo { display: grid; align-items: center; justify-items: start; }
.bdc-logo > img { grid-area: 1 / 1; height: 64px; width: auto; object-fit: contain; transition: opacity .9s var(--bdc-ease), height .6s var(--bdc-ease); }
.bdc-scrolle .bdc-logo > img { height: 50px; }
.bdc-logo-w { opacity: 0; }
.bdc-header[data-ton="sombre"] .bdc-logo-c { opacity: 0; }
.bdc-header[data-ton="sombre"] .bdc-logo-w { opacity: 1; }

.bdc-nav { margin: 0 auto; }
.bdc-menu { position: relative; display: flex; gap: 4px; list-style: none; margin: 0; padding: 5px !important; border-radius: 999px; background: rgba(255, 255, 255, .45); border: 1px solid var(--bdc-nav-trait); transition: background-color .9s var(--bdc-ease), border-color .9s var(--bdc-ease); }
.bdc-header[data-ton="sombre"] .bdc-menu { background: rgba(255, 255, 255, .08); }
.bdc-menu > li { position: relative; z-index: 1; padding: 0 !important; list-style: none; }
.bdc-menu > li > a { display: flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px; font: 500 16px/1.2 var(--bdc-sans); color: var(--bdc-nav-fg) !important; text-decoration: none; transition: color .5s var(--bdc-ease); }
.bdc-menu > li > a:focus-visible { outline: 2px solid var(--bdc-magenta); outline-offset: 2px; }
.bdc-menu i, .bdc-panneau i { width: 9px; height: 9px; border-radius: 50%; background: var(--bdc-c); transition: transform .6s var(--bdc-rebond); }
.bdc-menu > li:hover i, .bdc-menu > li.on i { transform: scale(1.45); }
.bdc-menu .bdc-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--bdc-pc, transparent); opacity: 0; pointer-events: none; transition: transform .55s var(--bdc-ease), width .55s var(--bdc-ease), background-color .55s var(--bdc-ease), opacity .45s var(--bdc-ease); }
.bdc-menu .bdc-pill.show { opacity: 1; }

.bdc-c-magenta { --bdc-c: var(--bdc-magenta); }
.bdc-c-orange { --bdc-c: var(--bdc-orange); }
.bdc-c-vert { --bdc-c: var(--bdc-vert); }
.bdc-c-violet { --bdc-c: var(--bdc-violet); }
.bdc-c-prune { --bdc-c: var(--bdc-magenta-d); }
.bdc-header[data-ton="sombre"] .bdc-menu .bdc-c-vert { --bdc-c: #9CC59A; }

.bdc-nav-actions { display: flex; align-items: center; gap: 12px; }
.bdc-burger { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--bdc-nav-trait); background: transparent; color: var(--bdc-nav-fg); font: 600 15px var(--bdc-sans); cursor: pointer; }
.bdc-burger s { display: grid; gap: 4px; width: 16px; }
.bdc-burger s::before, .bdc-burger s::after { content: ""; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--bdc-ease); }
.bdc-burger.open s::before { transform: translateY(3px) rotate(45deg); }
.bdc-burger.open s::after { transform: translateY(-3px) rotate(-45deg); }

.bdc-btn--plein { background: var(--bdc-magenta) !important; color: #fff !important; }
.bdc-btn--plein:hover { background: var(--bdc-magenta-d) !important; }

.bdc-panneau { position: absolute; left: -20px; right: -20px; top: 100%; background: var(--bdc-creme); border-bottom: 1px solid var(--bdc-trait); box-shadow: 0 24px 40px -24px rgba(74, 42, 46, .4); padding: 10px 20px 18px; opacity: 0; transform: translateY(-8px); transition: opacity .45s var(--bdc-ease), transform .45s var(--bdc-ease); }
.bdc-panneau.on { opacity: 1; transform: none; }
.bdc-panneau ul { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0 !important; }
.bdc-panneau li { padding: 0 !important; }
.bdc-panneau a { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 18px; border-radius: 16px; font: 600 18px var(--bdc-sans); color: var(--bdc-encre) !important; background: color-mix(in srgb, var(--bdc-c) 9%, #fff); text-decoration: none; }
.bdc-panneau i { width: 12px; height: 12px; }
.bdc-panneau b { margin-left: auto; color: var(--bdc-c); }

/* ---------- Accueil plein écran : [bdc_hero] dans une section « bdc-section-hero » ---------- */
body.bdc .bdc-section-hero, body.bdc .bdc-section-hero .et_pb_row, body.bdc .bdc-section-hero .et_pb_column { padding: 0 !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
.bdc-hero { position: relative; height: calc(100vh - 124px); min-height: 620px; max-height: 900px; overflow: hidden; background: var(--bdc-prune); color: #fff; }
.bdc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--bdc-ease); }
.bdc-slide.on { opacity: 1; }
.bdc-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 9s linear; }
.bdc-slide.on img { transform: scale(1); }
.bdc-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(60, 32, 30, .12) 0%, rgba(60, 32, 30, 0) 30%, rgba(60, 32, 30, .32) 60%, rgba(60, 32, 30, .78) 100%); }
.bdc-hero-txt { position: absolute; left: 0; right: 0; bottom: 150px; z-index: 2; }
.bdc-hero-in { width: 80%; max-width: var(--bdc-largeur); margin: 0 auto; }
.bdc-hero .bdc-surtitre { color: #fff !important; }
body.bdc .bdc-hero h1 { color: #fff; max-width: 900px; margin: 4px 0 20px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
body.bdc .bdc-hero h1 em { color: #F7C29E !important; }
.bdc-hero-lead { font-size: 21px; max-width: 600px; color: rgba(255, 255, 255, .9); }
.bdc-badge { position: absolute; top: 36px; right: 40px; z-index: 3; width: 140px; height: 140px; border-radius: 50%; background: var(--bdc-orange); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 0 9px rgba(233, 120, 43, .28); animation: bdc-flotte 7s ease-in-out infinite; }
.bdc-badge b { font-family: var(--bdc-serif); font-size: 38px; font-weight: 600; line-height: 1; }
.bdc-badge span { font-size: 12px; line-height: 1.3; margin-top: 6px; padding: 0 18px; }
@keyframes bdc-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.bdc-dots { position: absolute; right: 32px; bottom: 160px; z-index: 3; display: flex; flex-direction: column; gap: 12px; }
.bdc-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background-color .6s var(--bdc-ease), transform .6s var(--bdc-ease); }
.bdc-dots i.on { background: #fff; transform: scale(1.35); }
.bdc-defiler { position: absolute; left: 50%; bottom: 118px; transform: translateX(-50%); z-index: 3; color: rgba(255, 255, 255, .8); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bdc-defiler i { width: 1.5px; height: 34px; background: rgba(255, 255, 255, .9); animation: bdc-indice 2.4s ease-in-out infinite; }
@keyframes bdc-indice { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Barre de réservation qui chevauche le bas de l'accueil : [bdc_reservation]…[/bdc_reservation] */
.bdc-reservation { position: relative; z-index: 5; margin-top: -82px; background: #fff; border-radius: 24px; padding: 16px; box-shadow: 0 30px 60px -30px rgba(74, 42, 46, .55); }

/* ---------- Section Bienvenue : [bdc_fondu] ---------- */
.bdc-fondu-wrap { position: relative; }
.bdc-fondu { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; margin: 0; }
.bdc-fondu img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.8s var(--bdc-ease), transform 7s linear; }
.bdc-fondu img.on { opacity: 1; transform: scale(1); }
.bdc-dots-fondu { position: absolute; left: 18px; bottom: 18px; display: flex; gap: 8px; z-index: 2; }
.bdc-dots-fondu i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background-color .6s var(--bdc-ease), transform .6s var(--bdc-ease); }
.bdc-dots-fondu i.on { background: #fff; transform: scale(1.3); }
.bdc-medaillon { position: absolute; right: -22px; bottom: -34px; width: 150px; height: 150px; border-radius: 50%; background: var(--bdc-creme); display: grid; place-items: center; box-shadow: 0 18px 40px -22px rgba(74, 42, 46, .45); animation: bdc-flotte 7s ease-in-out infinite; }
.bdc-medaillon img { width: 74%; height: auto; }

/* Compteurs : [bdc_compteurs] */
.bdc-compteurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--bdc-trait); padding-top: 28px; margin-top: 30px; }
.bdc-compteurs b { display: block; font-family: var(--bdc-serif); font-size: 52px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.bdc-compteurs span { font-size: 15px; color: var(--bdc-encre-2); }

/* ---------- Galeries des gîtes : [bdc_galerie] ---------- */
.bdc-galerie { position: relative; }
.bdc-galerie-ctrl { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 24px; }
.bdc-count { font-variant-numeric: tabular-nums; font-size: 15px; color: var(--bdc-encre-2); margin-right: 6px; min-width: 56px; text-align: right; }
.bdc-btn-mini { min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--bdc-encre); background: transparent; color: var(--bdc-encre); font: 600 15px var(--bdc-sans); cursor: pointer; transition: background-color .5s var(--bdc-ease), color .5s var(--bdc-ease); }
.bdc-btn-mini:hover { background: var(--bdc-encre); color: var(--bdc-creme); }
.bdc-fleche { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--bdc-trait); background: transparent; color: var(--bdc-encre); font-size: 20px; cursor: pointer; transition: background-color .5s var(--bdc-ease), border-color .5s var(--bdc-ease), color .5s var(--bdc-ease); }
.bdc-fleche:hover { background: var(--bdc-encre); border-color: var(--bdc-encre); color: #fff; }
.bdc-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin-right: calc(50% - 50vw); padding-right: 32px; }
.bdc-track::-webkit-scrollbar { display: none; }
.bdc-shot { flex: 0 0 auto; width: min(62vw, 820px); aspect-ratio: 3 / 2; margin: 0; border-radius: 22px; overflow: hidden; scroll-snap-align: start; background: var(--bdc-pierre); cursor: zoom-in; }
.bdc-shot.bdc-haut { width: min(32vw, 420px); aspect-ratio: 3 / 4.5; }
.bdc-shot img, .bdc-mosaique img, .bdc-photos img, .bdc-article img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--bdc-ease); }
.bdc-shot:hover img, .bdc-mosaique figure:hover img, .bdc-photos figure:hover img { transform: scale(1.05); }
.bdc-progress { height: 2px; background: var(--bdc-trait); border-radius: 2px; margin-top: 28px; overflow: hidden; }
.bdc-progress i { display: block; height: 100%; width: 20%; background: var(--bdc-magenta); transition: width .5s var(--bdc-ease); }

/* Numéro du gîte : classe « bdc-numero » sur un module Texte (01, 02, 03). */
.bdc-numero, .bdc-numero p { font: 500 72px/.9 var(--bdc-serif) !important; color: var(--bdc-orange) !important; }
.bdc-ambiance, .bdc-ambiance p { font: italic 22px/1.3 var(--bdc-serif) !important; color: var(--bdc-vert) !important; }

/* Étiquettes : <span class="bdc-chip">53 m²</span> dans un module Texte. */
.bdc-chip { display: inline-block; font-size: 14px; font-weight: 600; padding: 6px 14px; margin: 0 6px 8px 0; border-radius: 999px; background: rgba(255, 255, 255, .72); color: var(--bdc-encre); }

/* ---------- Mosaïque : [bdc_mosaique] ---------- */
.bdc-mosaique { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.bdc-mosaique figure, .bdc-photos figure { margin: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--bdc-pierre); }
.bdc-m0 { grid-column: span 2; grid-row: span 2; }
.bdc-m3, .bdc-m7 { grid-row: span 2; }
.bdc-m5, .bdc-m9 { grid-column: span 2; }
.bdc-photos { display: grid; grid-template-columns: repeat(var(--col, 2), 1fr); gap: 14px; }
.bdc-photos figure { aspect-ratio: 1; }

/* ---------- Bandeaux photo en parallaxe : [bdc_bandeau] dans une section « bdc-section-pleine » ---------- */
body.bdc .bdc-section-pleine, body.bdc .bdc-section-pleine .et_pb_row, body.bdc .bdc-section-pleine .et_pb_column { padding: 0 !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
.bdc-bandeau { position: relative; min-height: 88vh; overflow: hidden; color: #fff; display: flex; align-items: center; }
.bdc-bandeau-bg { position: absolute; inset: -12% 0; will-change: transform; }
.bdc-bandeau-bg img { width: 100%; height: 100%; object-fit: cover; }
.bdc-bandeau::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(74, 42, 46, .85) 0%, rgba(74, 42, 46, .45) 50%, rgba(74, 42, 46, .08) 100%); }
.bdc-bandeau--bas { align-items: flex-end; min-height: 80vh; }
.bdc-bandeau--bas::after { background: linear-gradient(0deg, rgba(74, 42, 46, .88) 0%, rgba(74, 42, 46, .3) 60%, rgba(74, 42, 46, .05) 100%); }
.bdc-bandeau-in { position: relative; z-index: 2; width: 80%; max-width: var(--bdc-largeur); margin: 0 auto; padding: 90px 0; }
body.bdc .bdc-bandeau h2, body.bdc .bdc-bandeau p, body.bdc .bdc-bandeau blockquote { color: #fff; max-width: 640px; }
body.bdc .bdc-bandeau--bas h2, body.bdc .bdc-bandeau--bas blockquote { max-width: 980px; }
.bdc-bandeau .bdc-surtitre, .bdc-bandeau .bdc-surtitre p { color: #F7C29E !important; }
.bdc-annee { font: 600 clamp(120px, 17vw, 250px)/.8 var(--bdc-serif); color: transparent; -webkit-text-stroke: 1.5px var(--bdc-orange); margin-bottom: 22px; }
.bdc-bandeau blockquote { font: 400 clamp(30px, 3.6vw, 50px)/1.25 var(--bdc-serif); margin: 22px 0 28px; padding: 0; border: 0; }
.bdc-bandeau blockquote::before { content: "«\00a0"; color: var(--bdc-orange); }
.bdc-bandeau blockquote::after { content: "\00a0»"; color: var(--bdc-orange); }
.bdc-signature, .bdc-signature p { font: italic 24px var(--bdc-serif) !important; color: #F7C29E !important; }

/* ---------- Atouts « Tout est prêt à votre arrivée » : [bdc_atouts] ---------- */
.bdc-atouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bdc-atout { background: rgba(255, 255, 255, .6); border-radius: 22px; padding: 26px 24px; transition: transform .6s var(--bdc-ease), box-shadow .6s var(--bdc-ease); }
.bdc-atout:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -30px rgba(74, 42, 46, .5); }
.bdc-atout .bdc-ico { width: 44px; height: 44px; margin-bottom: 16px; }
.bdc-atout h3 { font-size: 21px !important; }
.bdc-atout p { font-size: 16px; color: var(--bdc-encre-2); line-height: 1.55; }

/* ---------- Carte des paniers : [bdc_carte] ---------- */
.bdc-carte { background: #fff; border-radius: 28px; padding: 44px; }
.bdc-ligne { padding: 24px 0; border-bottom: 1px dashed var(--bdc-trait); }
.bdc-ligne:first-child { padding-top: 0; }
.bdc-ligne:last-of-type { border-bottom: 0; }
.bdc-ligne-haut { display: flex; align-items: baseline; gap: 12px; }
.bdc-ligne-haut h3 { font-size: 26px !important; margin: 0 !important; }
.bdc-pointilles { flex: 1; border-bottom: 2px dotted #C9BBA6; transform: translateY(-6px); }
.bdc-prix { font: 600 26px var(--bdc-serif); color: var(--bdc-magenta); white-space: nowrap; }
.bdc-prix small { font: 500 14px var(--bdc-sans); color: var(--bdc-encre-2); }
.bdc-ligne p { color: var(--bdc-encre-2); margin-top: 6px; font-size: 17px; }
.bdc-note { margin-top: 24px !important; font-size: 15px; color: var(--bdc-encre-2); background: var(--bdc-pierre); border-radius: 12px; padding: 14px 18px !important; }
.bdc-note b { color: var(--bdc-encre); white-space: nowrap; }

/* Encart orange : classe « bdc-encart-orange » sur un module Texte. */
body.bdc .bdc-encart-orange { background: var(--bdc-orange); color: #FFF4EC; border-radius: 28px; padding: 34px !important; }
body.bdc .bdc-encart-orange h3 { color: #fff; }
body.bdc .bdc-encart-orange .bdc-surtitre, body.bdc .bdc-encart-orange .bdc-surtitre p { color: #fff !important; }

/* ---------- Distances : [bdc_distances] ---------- */
.bdc-distances { list-style: none; margin: 28px 0 0; padding: 0 !important; border-top: 1px solid var(--bdc-trait); }
.bdc-distances li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 !important; border-bottom: 1px solid var(--bdc-trait); font-size: 17px; }
.bdc-distances b { font-weight: 600; }
.bdc-distances span { font-variant-numeric: tabular-nums; color: var(--bdc-orange); font-weight: 600; white-space: nowrap; }

/* Carte touristique : classe « bdc-carte-image » sur un module Image. */
body.bdc .bdc-carte-image img { border-radius: 28px; box-shadow: 0 30px 60px -36px rgba(74, 42, 46, .5); background: #fff; }

/* ---------- Carnet (blog) : [bdc_articles] ---------- */
.bdc-articles { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; }
.bdc-article { --bdc-c: var(--bdc-vert); background: rgba(255, 255, 255, .7); border-radius: 26px; overflow: hidden; transition: transform .7s var(--bdc-ease), box-shadow .7s var(--bdc-ease); }
.bdc-article.bdc-c-magenta { --bdc-c: var(--bdc-magenta); }
.bdc-article.bdc-c-orange { --bdc-c: var(--bdc-orange); }
.bdc-article.bdc-c-violet { --bdc-c: var(--bdc-violet); }
.bdc-article a { display: flex; flex-direction: column; height: 100%; color: inherit !important; text-decoration: none; }
.bdc-article:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -30px rgba(74, 42, 46, .5); }
.bdc-article figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.bdc-article:first-child figure { aspect-ratio: 16 / 11; }
.bdc-article:hover img { transform: scale(1.05); }
.bdc-article-corps { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bdc-cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bdc-c); background: color-mix(in srgb, var(--bdc-c) 12%, #fff); padding: 5px 12px; border-radius: 999px; }
.bdc-article h3 { font-size: 24px !important; line-height: 1.2; }
.bdc-article:first-child h3 { font-size: 30px !important; }
.bdc-article p { font-size: 16px; color: var(--bdc-encre-2); }
.bdc-lire { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--bdc-c); }
.bdc-lire svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--bdc-ease); }
.bdc-article:hover .bdc-lire svg { transform: translateX(4px); }

/* ---------- FAQ : [bdc_faq] ---------- */
.bdc-faq details { border-bottom: 1px solid rgba(160, 16, 95, .15); }
.bdc-faq details:first-child { border-top: 1px solid rgba(160, 16, 95, .15); }
.bdc-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 500 22px/1.3 var(--bdc-serif); }
.bdc-faq summary::-webkit-details-marker { display: none; }
.bdc-faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 400 20px var(--bdc-sans); font-style: normal; color: var(--bdc-magenta); transition: transform .6s var(--bdc-ease), background-color .6s var(--bdc-ease); }
.bdc-faq details[open] summary i { transform: rotate(45deg); background: var(--bdc-magenta); color: #fff; }
.bdc-faq summary:focus-visible { outline: 2px solid var(--bdc-magenta); outline-offset: 4px; border-radius: 6px; }
.bdc-rep { padding: 0 50px 24px 0; color: var(--bdc-encre-2); font-size: 17px; }
.bdc-faq details[open] .bdc-rep { animation: bdc-deplie .7s var(--bdc-ease); }
@keyframes bdc-deplie { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Coordonnées : [bdc_coordonnees style="cartes|liste"] ---------- */
.bdc-coord-cartes, .bdc-coord-liste { list-style: none; margin: 0; padding: 0 !important; }
.bdc-coord-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bdc-coord-cartes li { padding: 0 !important; }
.bdc-coord-cartes .bdc-large { grid-column: span 2; }
.bdc-coord-cartes a { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--bdc-trait); color: var(--bdc-encre) !important; text-decoration: none; transition: border-color .5s var(--bdc-ease), transform .6s var(--bdc-ease); }
.bdc-coord-cartes a:hover { border-color: var(--bdc-vert); transform: translateY(-3px); }
.bdc-coord-cartes .bdc-ico { width: 46px; height: 46px; }
.bdc-coord-cartes span, .bdc-coord-liste span { font-weight: 600; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.bdc-coord-cartes small, .bdc-coord-liste small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bdc-encre-2); font-weight: 600; }.bdc-coord-liste { display: grid; gap: 4px; }
.bdc-coord-liste li { padding: 0 !important; }
.bdc-coord-liste a { display: flex; align-items: center; gap: 14px; padding: 6px 0; color: var(--bdc-encre) !important; text-decoration: none; }
.bdc-coord-liste .bdc-ico { width: 36px; height: 36px; }
.bdc-coord-liste span { font-weight: 500; font-size: 15px; }

/* ---------- Bandeau d'appel du pied de page : section « bdc-cta » + [bdc_bulles] ---------- */
body.bdc .bdc-cta.bdc-cta, body.bdc .et_pb_section.bdc-cta[class*="bdc-ton-"] { position: relative; overflow: hidden; border-radius: 32px; background-color: var(--bdc-vert) !important; color: #fff; }
body.bdc .bdc-cta h2, body.bdc .bdc-cta p { color: #fff; }
body.bdc .bdc-cta p { color: rgba(255, 255, 255, .9); }
body.bdc .bdc-cta .bdc-surtitre, body.bdc .bdc-cta .bdc-surtitre p { color: #F7C29E !important; }
body.bdc .bdc-cta .et_pb_row, body.bdc .bdc-cta .et_pb_column, body.bdc .bdc-cta .et_pb_module { position: relative; z-index: 1; }
.bdc-bulle { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; animation: bdc-bulle 9s ease-in-out infinite; }
.bdc-b1 { width: 220px; height: 220px; right: -60px; top: -80px; background: rgba(255, 255, 255, .12); }
.bdc-b2 { width: 90px; height: 90px; right: 230px; bottom: -30px; background: rgba(255, 255, 255, .14); animation-delay: -3s; }
.bdc-b3 { width: 26px; height: 26px; right: 180px; top: 40px; background: var(--bdc-orange); animation-delay: -5s; }
.bdc-b4 { width: 14px; height: 14px; right: 150px; top: 84px; background: var(--bdc-magenta); animation-delay: -1.5s; }
.bdc-b5 { width: 140px; height: 140px; left: 38%; top: -70px; border: 2px solid rgba(255, 255, 255, .25); animation-delay: -6s; }
@keyframes bdc-bulle { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, -14px); } }

/* ---------- Pied de page ---------- */
.bdc-titre-col, .bdc-titre-col p, .bdc-titre-col h4 { display: flex; align-items: center; gap: 10px; font: 600 13px var(--bdc-sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--bdc-magenta) !important; margin-bottom: 20px; }
.bdc-titre-col::after { content: ""; flex: 1; height: 1px; background: var(--bdc-trait); }
.bdc-liens ul { list-style: none; display: grid; gap: 4px; margin: 0; padding: 0 !important; }
.bdc-liens li { padding: 0 !important; }
.bdc-liens a { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: var(--bdc-encre-2) !important; text-decoration: none; transition: color .5s var(--bdc-ease), transform .6s var(--bdc-ease); }
.bdc-liens a::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--bdc-orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bdc-orange) 15%, transparent); transition: transform .6s var(--bdc-rebond); }
.bdc-liens li:nth-child(5n+1) a::before { background: var(--bdc-magenta); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bdc-magenta) 15%, transparent); }
.bdc-liens li:nth-child(5n+3) a::before { background: var(--bdc-vert); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bdc-vert) 15%, transparent); }
.bdc-liens li:nth-child(5n+4) a::before { background: var(--bdc-violet); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bdc-violet) 15%, transparent); }
.bdc-liens a:hover { color: var(--bdc-encre) !important; transform: translateX(4px); }
.bdc-liens a:hover::before { transform: scale(1.3); }
.bdc-liens--fleches a::before { display: none; }
.bdc-liens--fleches a::after { content: "→"; order: -1; color: var(--bdc-orange); transition: transform .6s var(--bdc-ease); }
.bdc-liens--fleches a:hover::after { transform: translateX(3px); }

.bdc-reseaux { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.bdc-soc { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; transition: transform .6s var(--bdc-rebond), box-shadow .6s var(--bdc-ease); }
.bdc-soc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bdc-soc--fb { background: var(--bdc-orange); }
.bdc-soc--ig { background: var(--bdc-magenta); }
.bdc-soc:hover { transform: translateY(-4px) rotate(-6deg); box-shadow: 0 12px 20px -10px rgba(200, 24, 126, .6); }
.bdc-soc-txt { font-size: 13px; line-height: 1.3; color: var(--bdc-encre-2); margin-left: 6px; }

body.bdc .bdc-legal { background-color: var(--bdc-rose) !important; font-size: 14px; color: var(--bdc-encre-2); }

/* ---------- Visionneuse plein écran ---------- */
.bdc-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(40, 22, 24, .95); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .5s var(--bdc-ease); }
.bdc-lb[hidden] { display: none !important; }
.bdc-lb.on { opacity: 1; }
.bdc-lb img { max-width: min(92vw, 1500px); max-height: 84vh; border-radius: 14px; object-fit: contain; transition: opacity .45s var(--bdc-ease); }
.bdc-lb button { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; cursor: pointer; transition: background-color .5s var(--bdc-ease); }
.bdc-lb button:hover, .bdc-lb button:focus-visible { background: rgba(255, 255, 255, .26); outline: none; }
.bdc-lb-fermer { top: 20px; right: 20px; }
.bdc-lb-prec { left: 20px; top: 50%; transform: translateY(-50%); }
.bdc-lb-suiv { right: 20px; top: 50%; transform: translateY(-50%); }
.bdc-lb-leg { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .85); font-size: 15px; font-variant-numeric: tabular-nums; pointer-events: none; }

.bdc-alerte { padding: 12px 16px; border-radius: 10px; background: #FBEBEB; color: #8A1C1C; font-size: 14px; }

/* ---------- Mobile et tablette ---------- */
@media (max-width: 980px) {
	.bdc-nav, .bdc-barre-coord .bdc-ti--1, .bdc-barre-coord .bdc-ti--2 { display: none; }
	.bdc-burger { display: inline-flex; }
	.bdc-entete { height: 68px; }
	.bdc-logo > img { height: 50px; }
	.bdc-scrolle .bdc-logo > img { height: 44px; }
	.bdc-nav-actions .bdc-btn { min-height: 44px; padding: 0 18px !important; font-size: 15px !important; }

	.bdc-hero { height: 78vh; min-height: 560px; }
	.bdc-hero-txt { bottom: 120px; }
	body.bdc .bdc-hero h1 { font-size: 40px; }
	.bdc-hero-lead { font-size: 17px; }
	.bdc-badge { width: 96px; height: 96px; top: 18px; right: 18px; }
	.bdc-badge b { font-size: 26px; }
	.bdc-badge span { font-size: 10px; padding: 0 10px; }
	.bdc-dots { right: 20px; bottom: auto; top: 140px; }
	.bdc-defiler { display: none; }
	.bdc-reservation { margin-top: -64px; padding: 12px; border-radius: 20px; }

	.bdc-medaillon { width: 110px; height: 110px; right: 12px; bottom: -30px; }
	.bdc-compteurs b { font-size: 38px; }

	.bdc-galerie-ctrl { justify-content: flex-start; }
	.bdc-galerie-ctrl .bdc-fleche, .bdc-galerie-ctrl .bdc-count { display: none; }
	.bdc-track { gap: 12px; padding-right: 20px; }
	.bdc-shot { width: 84vw; }
	.bdc-shot.bdc-haut { width: 56vw; }
	.bdc-numero, .bdc-numero p { font-size: 44px !important; }

	.bdc-mosaique { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
	.bdc-m0, .bdc-m5, .bdc-m9 { grid-column: span 2; }
	.bdc-photos { grid-template-columns: 1fr 1fr; gap: 10px; }

	.bdc-bandeau { min-height: 0; }
	.bdc-bandeau-in { padding: 110px 0; }
	.bdc-bandeau::after { background: rgba(74, 42, 46, .62); }
	.bdc-bandeau--bas .bdc-bandeau-in { padding: 260px 0 64px; }

	.bdc-atouts { grid-template-columns: 1fr 1fr; gap: 12px; }
	.bdc-atout { padding: 20px 18px; }
	.bdc-atout h3 { font-size: 18px !important; }
	.bdc-atout p { font-size: 14px; }

	.bdc-carte { padding: 26px 22px; }
	.bdc-ligne-haut { flex-wrap: wrap; }
	.bdc-pointilles { display: none; }
	.bdc-ligne-haut h3 { flex: 1; font-size: 22px !important; }

	.bdc-articles { grid-template-columns: 1fr; gap: 16px; }
	.bdc-article:first-child h3 { font-size: 24px !important; }

	.bdc-faq summary { font-size: 19px; }
	.bdc-rep { padding-right: 0; }

	.bdc-coord-cartes { grid-template-columns: 1fr; }
	.bdc-coord-cartes .bdc-large { grid-column: auto; }

	body.bdc .bdc-cta { border-radius: 24px; }
	.bdc-b3, .bdc-b4, .bdc-b5 { display: none; }

	.bdc-lb-prec, .bdc-lb-suiv { top: auto; bottom: 14px; transform: none; }
	.bdc-lb-leg { bottom: 32px; }
}

/* ---------- Réduire les animations ---------- */
@media (prefers-reduced-motion: reduce) {
	.bdc *, .bdc *::before, .bdc *::after { animation: none !important; transition: none !important; }
	.bdc-js .bdc-apparition { opacity: 1; transform: none; }
}

/* Dans le Visual Builder de Divi, tout reste visible pour pouvoir éditer. */
.et-fb .bdc-apparition, .et-fb-root-ancestor .bdc-apparition, body.et_pb_pagebuilder_layout.et-fb .bdc-apparition { opacity: 1 !important; transform: none !important; }

/* =========================================================================
   Header et pied de page automatiques (inc/gabarit.php)
   ========================================================================= */
/* Même largeur que les rangées Divi : 80 % de l'écran, plafonnée à la « Largeur du contenu du site ». */
.bdc-wrap { width: 80%; max-width: var(--bdc-largeur); margin: 0 auto; }

/* On masque le header et le pied de page d'origine de Divi. */
/* Seulement l'ancien header et l'ancien pied de page de Divi : jamais un modèle du Theme Builder
   (sous Divi 5, celui-ci peut porter les mêmes identifiants), ni un bloc qui contient nos shortcodes. */
body.bdc-header-auto #main-header:not(.et-l):not(:has(.bdc-hd)),
body.bdc-header-auto #top-header:not(.et-l):not(:has(.bdc-hd)),
body.bdc-header-auto #main-header:not(.et-l):not(:has(.bdc-hd)) #et-top-navigation,
body.bdc-header-auto .et_search_outer { display: none !important; }
body.bdc-header-auto #page-container { padding-top: 0 !important; margin-top: 0 !important; }
body.bdc-pied-auto #main-footer:not(.et-l):not(:has(.bdc-pied)) { display: none !important; }
/* Un modèle du Theme Builder qui contient nos shortcodes reste toujours visible. */
body.bdc .et-l--header:has(.bdc-hd), body.bdc #main-header:has(.bdc-hd),
body.bdc .et-l--footer:has(.bdc-pied), body.bdc #main-footer:has(.bdc-pied) { display: block !important; visibility: visible !important; opacity: 1 !important; }

.bdc-topbar-auto { background: var(--bdc-rose); border-bottom: 1px solid var(--bdc-trait); }
/* Header collant : tout le bloc colle, décalé de la hauteur du bandeau du haut,
   qui disparaît donc au défilement (valeur calculée par js/bdc.js). */
.bdc-hd:has(.bdc-header-auto-el),
.et-l--header:has(.bdc-hd) { position: sticky; top: var(--bdc-hd-top, 0px); z-index: 99; }

/* Modèles du Theme Builder : les sections, rangées et modules Divi qui contiennent
   [bdc_header] ou [bdc_footer] s'effacent (pleine largeur, sans marge ni fond). */
.et-l--header:has(.bdc-hd) .et_pb_section,
.et-l--header:has(.bdc-hd) .et_pb_row,
.et-l--header:has(.bdc-hd) .et_pb_column,
.et-l--header:has(.bdc-hd) .et_pb_module,
.et-l--header:has(.bdc-hd) .et_pb_code_inner,
.et-l--footer:has(.bdc-pied) .et_pb_section,
.et-l--footer:has(.bdc-pied) .et_pb_row,
.et-l--footer:has(.bdc-pied) .et_pb_column,
.et-l--footer:has(.bdc-pied) .et_pb_module,
.et-l--footer:has(.bdc-pied) .et_pb_code_inner { padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: none !important; background: transparent !important; box-shadow: none !important; }

/* Pied de page */
.bdc-pied { padding-top: 40px; font-size: 16px; }
.bdc-pied-cta { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; padding: 60px 64px; }
.bdc-cta-txt, .bdc-cta-actions { position: relative; z-index: 1; }
body.bdc .bdc-pied-cta h2 { color: #fff; margin: 0 0 12px; font-size: clamp(32px, 3.6vw, 48px); }
body.bdc .bdc-pied-cta p { color: rgba(255, 255, 255, .9); max-width: 520px; }
.bdc-pied-cta .bdc-surtitre { color: #F7C29E !important; }
.bdc-cta-actions { display: flex; flex-direction: column; gap: 12px; }
.bdc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--bdc-sans); text-decoration: none; transition: background-color .5s var(--bdc-ease), color .5s var(--bdc-ease), border-color .5s var(--bdc-ease); }
.bdc-btn--blanc { background: #fff; color: var(--bdc-vert-d) !important; }
.bdc-btn--blanc:hover { background: var(--bdc-creme); color: var(--bdc-encre) !important; }
.bdc-btn--clair { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff !important; }
.bdc-btn--clair:hover { background: #fff; color: var(--bdc-vert-d) !important; }
.bdc-btn--clair .bdc-ico { width: 24px; height: 24px; background: rgba(255, 255, 255, .22); }

.bdc-pied-cols { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 48px; margin-top: 80px; }
.bdc-pied-cols > div { min-width: 0; }
.bdc-pied-marque .bdc-logo > img { height: 140px; }
.bdc-pied-marque .bdc-logo-w { display: none; }
.bdc-pied-marque p { margin-top: 18px; max-width: 320px; font-size: 15px; color: var(--bdc-encre-2); line-height: 1.6; }
.bdc-pied-marque p b { color: var(--bdc-encre); font-weight: 600; }
.bdc-pied .bdc-liens ul { list-style: none; }
/* Bande du bas : fond sur toute la largeur, contenu aligné sur la largeur du site (comme le reste). */
.bdc-pied .bdc-legal { margin-top: 72px; padding: 20px 0; }
.bdc-legal-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.bdc-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages d'archives, blog, 404 : titres de barre latérale à taille normale ---------- */
body.bdc #sidebar h2, body.bdc #sidebar h3, body.bdc #sidebar h4,
body.bdc .et_pb_widget h2, body.bdc .et_pb_widget h4,
body.bdc .widgettitle, body.bdc .wp-block-heading.widget-title,
body.bdc #sidebar .wp-block-heading { font-size: 20px !important; line-height: 1.3 !important; margin-bottom: 12px; word-break: normal; }
body.bdc #sidebar { border-left-color: var(--bdc-trait); }
body.bdc .not-found-title, body.bdc #left-area .entry-title { font-size: clamp(32px, 4vw, 52px); }
body.bdc #sidebar a, body.bdc #left-area a { color: var(--bdc-magenta); }

@media (max-width: 980px) {
	.bdc-pied-cta { grid-template-columns: 1fr; padding: 40px 26px; gap: 26px; }
	.bdc-cta-actions .bdc-btn { width: 100%; }
	.bdc-pied-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-top: 48px; }
	.bdc-pied-cols > div:first-child, .bdc-pied-cols > div:last-child { grid-column: span 2; }
	.bdc-pied-marque .bdc-logo > img { height: 110px; }
	.bdc-legal-in { flex-direction: column; text-align: center; gap: 6px; }
}
body.bdc .bdc-wrap, body.bdc .bdc-wrap *, body.bdc .bdc-wrap *::before, body.bdc .bdc-wrap *::after { box-sizing: border-box; }
body.bdc .bdc-btn.bdc-btn--blanc { background: #fff !important; color: var(--bdc-vert-d) !important; border-color: #fff !important; }
body.bdc .bdc-btn.bdc-btn--blanc:hover { background: var(--bdc-creme) !important; color: var(--bdc-encre) !important; }
body.bdc .bdc-btn.bdc-btn--clair { background: transparent !important; border: 1.5px solid rgba(255, 255, 255, .7) !important; color: #fff !important; }
body.bdc .bdc-btn.bdc-btn--clair:hover { background: #fff !important; color: var(--bdc-vert-d) !important; }

/* Sélecteur de langues (Polylang) : sans puces ni soulignement (Divi en ajoute aux listes). */
body.bdc .bdc-langues,
body.bdc .bdc-langues li { list-style: none !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; }
body.bdc .bdc-langues li::marker { content: none; }
body.bdc .bdc-langues li::before { display: none !important; }
body.bdc .bdc-langues { display: flex; align-items: center; gap: 4px; }
body.bdc .bdc-langues a { display: inline-block; padding: 5px 9px; border-radius: 6px; font: 600 13px/1 var(--bdc-sans); letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; color: var(--bdc-encre) !important; transition: background-color .5s var(--bdc-ease), color .5s var(--bdc-ease); }
body.bdc .bdc-langues a:hover { background: rgba(233, 120, 43, .14); }
body.bdc .bdc-langues .current-lang a { background: var(--bdc-orange); color: #fff !important; }
body.bdc .bdc-langues img { display: none; }

/* Survols : l'icône garde toujours un contraste suffisant avec le fond du bouton. */
.bdc-btn .bdc-ico { transition: background-color .5s var(--bdc-ease), color .5s var(--bdc-ease); }
body.bdc .bdc-btn.bdc-btn--clair:hover .bdc-ico { background: var(--bdc-vert); color: #fff; }
body.bdc .bdc-btn.bdc-btn--blanc:hover .bdc-ico { background: var(--bdc-vert); color: #fff; }
/* Liens de Divi : pas de couleur bleue ni de soulignement imposés dans nos blocs. */
body.bdc .bdc-hd a:hover, body.bdc .bdc-pied a:hover { opacity: 1; }
body.bdc .bdc-ti:hover span { color: var(--bdc-magenta); }
body.bdc .bdc-ti span { transition: color .5s var(--bdc-ease); }
body.bdc .bdc-coord-liste a span { transition: color .5s var(--bdc-ease); }
body.bdc .bdc-coord-liste a:hover span { color: var(--bdc-magenta); }
body.bdc .bdc-legal a:hover { color: var(--bdc-magenta); }

/* Toutes les listes du thème : sans puces ni retrait (Divi en ajoute dans les modules Code et Texte). */
body.bdc :is(.bdc-coord-liste, .bdc-coord-cartes, .bdc-liens ul, .bdc-menu, .bdc-panneau ul, .bdc-distances, .bdc-langues, .bdc-barre-coord) {
	list-style: none !important;
	padding-left: 0 !important;
	padding-bottom: 0 !important;
	margin-left: 0 !important;
}
body.bdc :is(.bdc-coord-liste, .bdc-coord-cartes, .bdc-liens ul, .bdc-menu, .bdc-panneau ul, .bdc-distances, .bdc-langues) > li {
	list-style: none !important;
	margin-left: 0 !important;
}
body.bdc :is(.bdc-coord-liste, .bdc-coord-cartes, .bdc-liens ul, .bdc-menu, .bdc-panneau ul, .bdc-distances, .bdc-langues) > li::marker { content: none; }

/* Survol des icônes de contact : léger grossissement lent (plus de vibration). */
.bdc-ico { transition: transform .7s var(--bdc-ease), background-color .5s var(--bdc-ease), color .5s var(--bdc-ease); }
.bdc-ti:hover .bdc-ico,
.bdc-coord-liste a:hover .bdc-ico,
.bdc-coord-cartes a:hover .bdc-ico { transform: scale(1.08); }

/* Liens dans les textes : couleur des liens réglée dans Divi. */
body.bdc .et_pb_text a:not(.et_pb_button):not(.bdc-btn), body.bdc .entry-content a:not(.et_pb_button):not(.bdc-btn) { color: var(--bdc-lien); }
/* Marges verticales du pied de page : « Hauteur de la section » de Divi. */
.bdc-pied { padding-top: var(--bdc-section); }

/* Fond du site : Divi peint toutes les sections en blanc (.et_pb_section { background-color: #fff }).
   Cette règle (un cran plus forte) les rend transparentes pour laisser voir le fond crème du thème,
   mais reste plus faible qu'une couleur choisie dans les réglages d'une section, qui garde la main. */
html .et_pb_section,
html .et_pb_fullwidth_section,
html .et-l--body,
html .et-l--post,
html #et-boc,
html .et_pb_post_content { background-color: transparent; }
