/* =====================================================================
   Thème Gustave – « salon vintage »
   Couleurs : papier #F5EFE6 · papier-2 #EDE3D6 · encre #221C17
   texte-2 #4A4037 · bois #7A3F22 · sauge #5E7560 · beige #C9B79C
   ===================================================================== */

:root {
	--lbag-papier: #F5EFE6;
	--lbag-papier-2: #EDE3D6;
	--lbag-encre: #221C17;
	--lbag-texte-2: #4A4037;
	--lbag-bois: #7A3F22;
	--lbag-bois-fonce: #5A2C16;
	--lbag-sauge: #5E7560;
	--lbag-beige: #C9B79C;
	--lbag-bordure: #E2D6C6;
	--lbag-bordure-2: #CFC2B0;
	--lbag-titre: 'DM Serif Display', Georgia, serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}

/* Remise à zéro des marges automatiques de WordPress dans nos sections */
.lbag-main .wp-block-post-content > * { margin-block: 0; }
.lbag-main :where(figure) { margin: 0; }
.lbag-main h1, .lbag-main h2, .lbag-main h3 { margin: 0 0 .6em; }
.lbag-main p { margin: 0 0 1em; }

.lbag-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; box-sizing: border-box; }
.lbag-band { padding-block: 88px; }
.lbag-section { padding-block: 88px; }
.lbag-bg-2 { background: var(--lbag-papier-2); }
.lbag-dark { background: var(--lbag-encre); color: var(--lbag-papier); }

.lbag-kicker {
	font-size: .875rem; letter-spacing: .12em; text-transform: uppercase;
	color: var(--lbag-sauge); font-weight: 700; margin-bottom: .7em !important;
}
.lbag-dark .lbag-kicker { color: var(--lbag-beige); }
.lbag-lead { font-size: 1.1875rem; line-height: 1.6; color: var(--lbag-texte-2); }
.lbag-dark .lbag-lead { color: #D9CCB9; }
.lbag-section-title { max-width: 760px; margin-bottom: 40px !important; }
.lbag-small { font-size: .9375rem; color: var(--lbag-beige); margin-top: 20px !important; }
.lbag-dark a { color: var(--lbag-papier); }

/* ---------- Boutons ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid var(--lbag-encre); color: var(--lbag-encre); background: transparent;
	padding: 13px 24px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--lbag-encre); color: var(--lbag-papier); }
.lbag-btn-clair > .wp-block-button__link { background: var(--lbag-papier) !important; color: var(--lbag-encre) !important; }
.lbag-btn-clair > .wp-block-button__link:hover { background: #fff !important; }
.lbag-btn {
	display: inline-block; background: var(--lbag-bois); color: #FFF8EE !important; text-decoration: none;
	padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .9375rem; line-height: 1.2;
	border: 0; cursor: pointer; font-family: inherit;
}
.lbag-btn:hover { background: var(--lbag-bois-fonce); }

/* ---------- En-tête ---------- */
.lbag-header { background: var(--lbag-papier); border-bottom: 1px solid var(--lbag-bordure); position: sticky; top: 0; z-index: 50; }
.admin-bar .lbag-header { top: 32px; }
.lbag-header__in {
	max-width: 1200px; margin: 0 auto; padding: 10px 24px; box-sizing: border-box;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lbag-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--lbag-encre) !important; }
.lbag-brand img { width: 56px; height: 56px; object-fit: contain; }
.lbag-brand span { font-family: var(--lbag-titre); font-size: 1.375rem; line-height: 1.1; }
.lbag-nav { display: flex; gap: 20px; font-weight: 500; white-space: nowrap; }
.lbag-nav a, .lbag-burger nav a:not(.lbag-btn) { color: var(--lbag-encre); text-decoration: none; }
.lbag-nav a:hover { color: var(--lbag-bois); }
.lbag-burger { display: none; position: relative; }
.lbag-burger summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: center; border-radius: 12px; }
.lbag-burger summary::-webkit-details-marker { display: none; }
.lbag-burger summary span { display: block; width: 24px; height: 2px; background: var(--lbag-encre); border-radius: 2px; }
.lbag-burger nav {
	position: absolute; right: 0; top: 54px; background: #fff; border-radius: 18px; padding: 18px;
	box-shadow: 0 14px 40px rgba(34, 28, 23, .18); display: flex; flex-direction: column; gap: 14px; min-width: 240px;
	font-weight: 500;
}
@media (max-width: 1180px) {
	.lbag-nav { display: none; }
	.lbag-burger { display: block; }
}
@media (max-width: 560px) {
	.lbag-header__cta { display: none; }
	.lbag-brand img { width: 44px; height: 44px; }
	.lbag-brand span { font-size: 1.15rem; }
}

/* ---------- Accueil : héros ---------- */
.lbag-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.lbag-hero__text { flex: 1 1 440px; min-width: 0; }
.lbag-hero__text h1 { line-height: 1.05; margin-bottom: 20px; }
.lbag-hero__text .lbag-lead { max-width: 520px; margin-bottom: 32px; }
.lbag-hero__media { flex: 1 1 480px; min-width: 0; position: relative; }
.lbag-hero__img img { width: 100%; height: 440px; object-fit: cover; border-radius: 24px; display: block; }
.lbag-hero__badge {
	position: absolute; left: -20px; bottom: -24px; background: #fff; border-radius: 16px; padding: 12px 18px;
	box-shadow: 0 10px 30px rgba(34, 28, 23, .15); display: flex; gap: 12px; align-items: center;
}
.lbag-hero__badge img { width: 56px; height: 70px; object-fit: contain; display: block; }
.lbag-hero__badge p { margin: 0 !important; font-size: .875rem; color: #5C5249; line-height: 1.4; }
.lbag-hero__badge strong { font-size: .9375rem; color: var(--lbag-encre); }
@media (max-width: 700px) {
	.lbag-hero { padding-top: 36px; }
	.lbag-hero__img img { height: 300px; }
	.lbag-hero__badge { left: 12px; bottom: -20px; }
}

/* ---------- Grilles et cartes ---------- */
.lbag-grid { display: grid; gap: 20px; }
.lbag-grid > * { margin: 0 !important; }
.lbag-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.lbag-grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.lbag-grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.lbag-grid--5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
@media (max-width: 560px) { .lbag-grid--2 { grid-template-columns: 1fr; } }

.lbag-card { background: #fff; border-radius: 20px; padding: 26px; }
.lbag-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.lbag-card p { margin: 0 !important; font-size: 1rem; line-height: 1.55; color: var(--lbag-texte-2); }
.lbag-atouts { padding-top: 40px; padding-bottom: 72px; }

/* Icônes des atouts (dessinées en CSS, couleur bois) */
.lbag-icon::before {
	content: ""; display: block; width: 32px; height: 32px; margin-bottom: 12px;
	background: var(--lbag-bois);
	-webkit-mask: var(--lbag-icon) center / contain no-repeat; mask: var(--lbag-icon) center / contain no-repeat;
}
.lbag-icon--etoile { --lbag-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3l2.6 5.6 6 .7-4.5 4.1 1.2 6L12 16.5 6.7 19.4l1.2-6L3.4 9.3l6-.7z'/%3E%3C/svg%3E"); }
.lbag-icon--appareil { --lbag-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Ccircle cx='12' cy='13.5' r='3.5'/%3E%3Cpath d='M8 7l1.5-3h5L16 7'/%3E%3C/svg%3E"); }
.lbag-icon--crayon { --lbag-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 20l4-1 11-11-3-3L5 16z'/%3E%3Cpath d='M14 6l3 3'/%3E%3C/svg%3E"); }
.lbag-icon--fleche { --lbag-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M20 12a8 8 0 1 1-8-8'/%3E%3Cpath d='M20 4v6h-6'/%3E%3C/svg%3E"); }
.lbag-icon--lieu { --lbag-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }

/* ---------- Image + texte ---------- */
.lbag-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 40px; padding-bottom: 88px; }
.lbag-split--inverse { padding-top: 88px; }
.lbag-split__img { flex: 1 1 340px; min-width: 0; }
.lbag-split__img img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 24px; display: block; }
.lbag-split__img--haute img { height: 520px; max-height: none; }
.lbag-split__text { flex: 1 1 480px; min-width: 0; }
.lbag-split__text > p:not(.lbag-kicker) { font-size: 1.0625rem; line-height: 1.7; color: var(--lbag-texte-2); }
.lbag-split__text h2 { margin-bottom: 20px; }
.lbag-quote { margin: 12px 0 0 !important; padding: 20px 24px; background: #fff; border-radius: 16px; border: 0 !important; }
.lbag-quote p { font-family: var(--lbag-titre); font-size: 1.375rem; line-height: 1.4; color: var(--lbag-encre) !important; margin: 0 !important; }
.lbag-options p { margin: 0 !important; font-size: 1rem; line-height: 1.55; color: var(--lbag-texte-2); }
.lbag-options strong { color: var(--lbag-encre); }
@media (max-width: 700px) { .lbag-split__img--haute img { height: 360px; } }

/* ---------- Nos boîtes ---------- */
.lbag-boite { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.lbag-boite figure img { width: 100%; height: 320px; object-fit: contain; padding-top: 16px; box-sizing: border-box; display: block; }
.lbag-boite > :not(figure) { padding-inline: 26px; }
.lbag-boite > figure + * { padding-top: 24px; }
.lbag-boite > :last-child { padding-bottom: 30px; margin-bottom: 0 !important; color: var(--lbag-texte-2); }
.lbag-boite h3 { font-size: 2rem; margin-bottom: 10px !important; }
.lbag-tag { margin: 0 0 6px !important; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lbag-bois); }

/* ---------- Mosaïque ---------- */
.lbag-mosaic { padding-block: 80px; }
.lbag-mosaic .lbag-grid { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lbag-mosaic img { width: 100%; height: 240px; object-fit: cover; border-radius: 18px; display: block; }

/* ---------- Formules ---------- */
.lbag-head-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 44px !important; }
.lbag-head-row__text { flex: 1 1 520px; min-width: 0; }
.lbag-head-row__text .lbag-lead { margin: 0 !important; font-size: 1.125rem; }
.lbag-formules { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); align-items: stretch; }
.lbag-formule { border: 1px solid var(--lbag-texte-2); border-radius: 22px; padding: 28px; position: relative; }
.lbag-formule h3 { font-size: 1.875rem; margin-bottom: 4px !important; }
.lbag-formule__sub { color: var(--lbag-beige); font-size: .9375rem; font-weight: 500; margin-bottom: 18px !important; }
.lbag-formule__label { margin: 0 0 6px !important; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lbag-beige); font-weight: 700; }
.lbag-formule ul { margin: 0 0 18px; padding-left: 18px; font-size: .9375rem; line-height: 1.7; color: #E8DDCC; }
.lbag-formule ul:last-child { margin-bottom: 0; }
.lbag-formule--vedette { background: var(--lbag-papier); color: var(--lbag-encre); border-color: var(--lbag-papier); }
.lbag-formule--vedette .lbag-formule__sub, .lbag-formule--vedette .lbag-formule__label { color: var(--lbag-bois); }
.lbag-formule--vedette ul { color: #3A322B; }
.lbag-formule__badge {
	position: absolute; top: -13px; right: 22px; margin: 0 !important; background: var(--lbag-bois); color: #FFF8EE;
	font-size: .75rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.lbag-note {
	margin-top: 22px !important; background: #2E2620; border-radius: 16px; padding: 18px 22px 18px 62px; position: relative;
	font-size: 1rem; line-height: 1.6; color: #E8DDCC;
}
.lbag-note strong { color: var(--lbag-papier); }
.lbag-note.lbag-icon::before { position: absolute; left: 22px; top: 18px; width: 26px; height: 26px; background: var(--lbag-beige); }
.lbag-compare-title { margin-top: 64px !important; margin-bottom: 18px !important; font-size: 1.875rem; }
.lbag-compare { overflow-x: auto; border: 1px solid var(--lbag-texte-2); border-radius: 18px; margin: 0 !important; }
.lbag-compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .9375rem; }
.lbag-compare th, .lbag-compare td { border: 0; border-top: 1px solid #3A322B; padding: 14px; text-align: left; vertical-align: top; }
.lbag-compare thead { border: 0; }
.lbag-compare thead th { background: #2E2620; border-top: 0; color: var(--lbag-papier); padding-block: 16px; }
.lbag-compare thead th:first-child { color: var(--lbag-beige); }
.lbag-compare tbody td { color: #E8DDCC; }
.lbag-compare tbody td:first-child { padding-left: 20px; font-weight: 500; color: var(--lbag-papier); }

/* ---------- Étapes ---------- */
.lbag-etapes { counter-reset: etape; }
.lbag-etapes > .lbag-card { counter-increment: etape; padding: 24px; }
.lbag-etapes > .lbag-card::before { content: counter(etape); display: block; font-family: var(--lbag-titre); font-size: 2.5rem; color: var(--lbag-bois); line-height: 1; margin-bottom: 10px; }
.lbag-etapes h3 { font-size: 1.3125rem; margin-bottom: 6px !important; }
.lbag-etapes p { font-size: .9375rem !important; line-height: 1.6 !important; }
.lbag-prevoir { margin-top: 28px !important; border: 1px solid #D8C9B5; border-radius: 20px; padding: 24px 28px; }
.lbag-prevoir p { margin: 0 0 12px !important; }
.lbag-prevoir ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; color: var(--lbag-texte-2); font-size: .9375rem; }
.lbag-prevoir li { flex: 1 1 220px; }

/* ---------- FAQ ---------- */
.lbag-faq .wp-block-details { background: #fff; border-radius: 16px; padding: 18px 22px; margin: 0 0 12px !important; max-width: 900px; }
.lbag-faq summary { cursor: pointer; font-weight: 700; font-size: 1.0625rem; }
.lbag-faq .wp-block-details p { margin: 12px 0 0 !important; color: var(--lbag-texte-2); line-height: 1.65; }

/* ---------- Plaquette + formulaire ---------- */
.lbag-plaquette { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 88px; }
.lbag-plaquette__text { flex: 1 1 400px; min-width: 0; }
.lbag-plaquette__img img { width: 100%; max-width: 420px; height: 300px; object-fit: cover; border-radius: 24px; display: block; }
.lbag-plaquette > .lbag-form { flex: 1 1 420px; min-width: 0; }

.lbag-form { background: #fff; border-radius: 24px; padding: 34px; display: flex; flex-direction: column; gap: 18px; box-sizing: border-box; }
.lbag-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .lbag-form__row { grid-template-columns: 1fr; } .lbag-form { padding: 24px; } }
.lbag-form label, .lbag-form legend { display: flex; flex-direction: column; gap: 6px; font-size: .875rem; font-weight: 700; }
.lbag-form input[type=text], .lbag-form input[type=email], .lbag-form input[type=tel], .lbag-form input[type=date], .lbag-form textarea {
	font: inherit; font-weight: 400; font-size: 1rem; padding: 13px 14px; border: 1px solid var(--lbag-bordure-2); border-radius: 10px;
	background: #fff; color: var(--lbag-encre); width: 100%; box-sizing: border-box;
}
.lbag-form input:focus, .lbag-form textarea:focus { outline: 2px solid var(--lbag-bois); outline-offset: 1px; border-color: transparent; }
.lbag-form textarea { resize: vertical; }
.lbag-form fieldset { border: 0; margin: 0; padding: 0; }
.lbag-form legend { margin-bottom: 8px; }
.lbag-form__choix { display: flex; flex-wrap: wrap; gap: 10px; }
.lbag-form__choix label { flex-direction: row; align-items: center; gap: 8px; border: 1px solid var(--lbag-bordure-2); border-radius: 999px; padding: 10px 16px; font-size: .9375rem; font-weight: 500; cursor: pointer; }
.lbag-form__choix label:has(input:checked) { border-color: var(--lbag-bois); background: #FBF4EC; }
.lbag-form .lbag-form__rgpd { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.5; color: var(--lbag-texte-2); }
.lbag-form .lbag-form__rgpd input { margin-top: 4px; }
.lbag-form .lbag-btn { font-size: 1.0625rem; padding: 16px 24px; }
.lbag-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lbag-form__msg { border-radius: 14px; padding: 16px 18px; font-size: 1rem; line-height: 1.5; margin: 0 !important; }
.lbag-form__msg--ok { background: #E7EEE6; color: #2F4431; }
.lbag-form__msg--erreur { background: #F7E2DA; color: #6B2A12; }

/* ---------- Pages simples (mentions, confidentialité…) ---------- */
.lbag-page { padding-top: 56px; padding-bottom: 88px; }
.lbag-page .wp-block-post-title { margin-bottom: 32px; }
.lbag-page h2 { font-size: 1.75rem; margin-top: 2em; }
.lbag-page .wp-block-post-content > h2 { margin-top: 2.2em !important; margin-bottom: .5em !important; }
.lbag-page .wp-block-post-content > p + p { margin-top: 1em; }
.lbag-page p, .lbag-page li { color: var(--lbag-texte-2); line-height: 1.7; }

/* ---------- Pied de page ---------- */
.lbag-footer { background: var(--lbag-encre); color: #D9CCB9; padding: 56px 24px 32px; }
.lbag-footer__in { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.lbag-footer__col { flex: 1 1 220px; font-size: .9375rem; line-height: 1.8; }
.lbag-footer__brand { flex-basis: 300px; }
.lbag-footer p { margin: 0 0 8px; }
.lbag-footer a { color: var(--lbag-papier); }
.lbag-footer__name { font-family: var(--lbag-titre); font-size: 1.75rem; color: var(--lbag-papier); margin-bottom: 10px !important; line-height: 1.2; }
.lbag-footer__title { font-weight: 700; color: var(--lbag-papier); }
.lbag-footer__copy { max-width: 1200px; margin: 40px auto 0 !important; font-size: .8125rem; color: #9C8F7E; }

/* =====================================================================
   v1.1 – Deux formulaires au choix, pages des boîtes
   ===================================================================== */

/* ---------- Choix plaquette / demande (onglets sans JavaScript) ---------- */
.lbag-plaquette > .lbag-choix { flex: 1 1 520px; min-width: 0; }
.lbag-choix__radio { position: absolute; opacity: 0; pointer-events: none; }
.lbag-choix__onglets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.lbag-choix__onglet {
	display: flex; flex-direction: column; gap: 4px; cursor: pointer; padding: 16px 18px; border-radius: 18px;
	background: #fff; border: 2px solid transparent; transition: border-color .15s, background .15s;
}
.lbag-choix__onglet:hover { border-color: var(--lbag-bordure-2); }
.lbag-choix__titre { font-family: var(--lbag-titre); font-size: 1.3rem; line-height: 1.15; color: var(--lbag-encre); }
.lbag-choix__texte { font-size: .875rem; line-height: 1.4; color: var(--lbag-texte-2); }
.lbag-choix__radio--p:checked ~ .lbag-choix__onglets .lbag-choix__onglet--p,
.lbag-choix__radio--d:checked ~ .lbag-choix__onglets .lbag-choix__onglet--d { border-color: var(--lbag-bois); background: #FBF4EC; }
.lbag-choix__radio--p:focus-visible ~ .lbag-choix__onglets .lbag-choix__onglet--p,
.lbag-choix__radio--d:focus-visible ~ .lbag-choix__onglets .lbag-choix__onglet--d { outline: 2px solid var(--lbag-bois); outline-offset: 2px; }
.lbag-choix__panneau { display: none; scroll-margin-top: 100px; }
.lbag-choix__radio--p:checked ~ .lbag-choix__panneau--p,
.lbag-choix__radio--d:checked ~ .lbag-choix__panneau--d { display: block; }
@media (max-width: 480px) { .lbag-choix__onglet { padding: 12px 14px; } .lbag-choix__titre { font-size: 1.1rem; } }

/* ---------- Champs supplémentaires des formulaires ---------- */
.lbag-form select {
	font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--lbag-bordure-2); border-radius: 10px;
	background: #fff; color: var(--lbag-encre); width: 100%; box-sizing: border-box;
}
.lbag-form input[type=number] { font: inherit; font-weight: 400; font-size: 1rem; padding: 13px 14px; border: 1px solid var(--lbag-bordure-2); border-radius: 10px; width: 100%; box-sizing: border-box; }
.lbag-form input[type=file] { font: inherit; font-weight: 400; font-size: .9375rem; padding: 10px; border: 1px dashed var(--lbag-bordure-2); border-radius: 10px; background: #FDFAF6; }
.lbag-form__aide { font-weight: 400; font-size: .8125rem; color: #6B5F54; line-height: 1.4; }
.lbag-form__bloc { display: flex; flex-direction: column; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--lbag-bordure) !important; }
.lbag-form .lbag-form__titre { font-family: var(--lbag-titre); font-weight: 400; font-size: 1.35rem; margin-bottom: 4px; color: var(--lbag-encre); }
.lbag-form__legende { margin: 0 !important; font-size: .875rem; font-weight: 700; }
.lbag-form__cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.lbag-form__cases label { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; font-size: .9375rem; line-height: 1.4; }
.lbag-form__cases input { margin-top: 3px; }
@media (max-width: 560px) { .lbag-form__cases { grid-template-columns: 1fr; } }

/* ---------- Lien « Découvrir… » sur les cartes de l'accueil (toute la carte est cliquable) ---------- */
.lbag-boite { position: relative; transition: transform .2s, box-shadow .2s; }
.lbag-boite:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(34, 28, 23, .12); }
.lbag-boite > .lbag-lien { padding-bottom: 28px; margin: 4px 0 0 !important; }
.lbag-boite > p:nth-last-child(2) { padding-bottom: 0 !important; margin-bottom: 8px !important; color: var(--lbag-texte-2); }
.lbag-lien a { font-weight: 700; color: var(--lbag-bois); text-decoration: none; }
.lbag-lien a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.lbag-lien a:hover { text-decoration: underline; }

/* ---------- Pages des boîtes ---------- */
.lbag-hero__img--boite img { height: 500px; }
@media (max-width: 700px) { .lbag-hero__img--boite img { height: 340px; } }

.lbag-fabrication { gap: 20px; }
.lbag-etape-photo { background: #fff; border-radius: 20px; overflow: hidden; counter-increment: fab; }
.lbag-fabrication { counter-reset: fab; }
.lbag-etape-photo figure img { width: 100%; height: 260px; object-fit: cover; display: block; }
.lbag-etape-photo h3 { font-size: 1.3rem; margin: 18px 20px 6px !important; }
.lbag-etape-photo h3::before { content: counter(fab) ". "; color: var(--lbag-bois); }
.lbag-etape-photo p { margin: 0 20px 22px !important; font-size: .9375rem; line-height: 1.55; color: var(--lbag-texte-2); }

.lbag-galerie { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.lbag-galerie > * { margin: 0 !important; }
.lbag-galerie figure { position: relative; border-radius: 18px; overflow: hidden; }
.lbag-galerie img { width: 100%; height: 340px; object-fit: cover; display: block; }
.lbag-galerie figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0 !important; padding: 28px 16px 14px; text-align: left;
	font-size: .875rem; font-weight: 500; color: #fff; background: linear-gradient(transparent, rgba(20, 16, 12, .75));
}
.lbag-galerie--3, .lbag-galerie--6 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.lbag-galerie--3 img { height: 380px; }

.lbag-dark .lbag-formules .lbag-formule ul { margin-bottom: 0; }
.lbag-autres-boites { padding-block: 8px 72px; }
.lbag-autres { text-align: center; font-size: 1.125rem; color: var(--lbag-texte-2); margin: 0 !important; }
.lbag-autres a { font-family: var(--lbag-titre); font-size: 1.4rem; }

/* v1.2 : formulaire « Écrire à Gustave », cases qui ouvrent les blocs devis et thème */
.lbag-form__bloc[hidden] { display: none !important; }
.lbag-form__bascules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lbag-bascule { flex-direction: row !important; align-items: flex-start; gap: 12px !important; padding: 14px 16px; border: 1.5px solid var(--lbag-bordure); border-radius: 14px; background: var(--lbag-papier, #F5EFE6); cursor: pointer; font-weight: 400 !important; transition: border-color .2s, background .2s; }
.lbag-bascule:hover { border-color: #CFC2B0; }
.lbag-bascule:has(input:checked) { border-color: var(--lbag-bois); background: #fff; }
.lbag-bascule input { margin-top: 4px; accent-color: var(--lbag-bois); width: 18px; height: 18px; flex: none; }
.lbag-bascule span { display: flex; flex-direction: column; gap: 3px; }
.lbag-bascule strong { font-size: 1rem; color: var(--lbag-encre, #221C17); }
.lbag-bascule small { font-size: .875rem; line-height: 1.45; color: var(--lbag-texte-2); }
@media (max-width: 560px) { .lbag-form__bascules { grid-template-columns: 1fr; } }

/* v1.3 : photos de Julien */
.lbag-galerie--7 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.lbag-galerie--souvenirs { margin-top: 40px; }
.lbag-collage { display: grid !important; grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; }
.lbag-collage > * { margin: 0 !important; }
.lbag-collage > :first-child { grid-row: span 2; }
.lbag-collage img { width: 100%; height: 100% !important; max-height: none !important; object-fit: cover; border-radius: 18px !important; display: block; }
.lbag-collage figure { height: 100%; }
@media (max-width: 700px) { .lbag-collage { grid-template-rows: 180px 180px; } }
.lbag-hero__img img[src*="eg-trio"] { object-position: center 28%; height: 500px; }
@media (max-width: 700px) { .lbag-hero__img img[src*="eg-trio"] { height: 380px; } }
.lbag-boite figure { overflow: hidden; border-radius: 20px 20px 0 0; }
.lbag-boite figure img:is([src*="-fab-"], [src*="-evt-"]) { object-fit: cover; object-position: center 10%; padding-top: 0; height: 340px; }

/* v1.4 : aides en direct du formulaire (disponibilité de la date, estimation) */
.lbag-dispo { margin: -4px 0 14px; padding: 10px 14px; border-radius: 12px; font-size: .95rem; }
.lbag-dispo--ok { background: #EEF3EE; color: #2f4a33; }
.lbag-dispo--info { background: #FBF3EC; color: #6b3a1f; }
.lbag-dispo--ko { background: #FDF2F2; color: #8f1f1f; }
.lbag-estim { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: #FBF8F3; border: 1px dashed #CFC2B0; }
.lbag-estim strong { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 1.3rem; color: #7A3F22; }
.lbag-estim ul { margin: 8px 0; padding-left: 18px; }
.lbag-estim p { margin: 6px 0 0; font-size: .92rem; color: #4A4037; }
.lbag-estim__note { font-style: italic; }

/* v1.5.1 : quantité des options à l'unité (heures d'animation, pancartes) */
.lbag-opt { flex-wrap: wrap; }
.lbag-opt__nom { flex: 1; min-width: 0; }
.lbag-opt__qte { display: flex; flex-basis: 100%; align-items: center; gap: 8px; margin: 6px 0 2px 28px; font-size: .92rem; color: #4A4037; }
.lbag-opt__qte[hidden] { display: none; }
.lbag-opt__qte input[type=number] { width: 64px; padding: 4px 8px; min-height: 0; height: 32px; border-radius: 10px; }

/* Demande pour un tiers / par un professionnel */
.lbag-form [data-qui][hidden], .lbag-form [data-qui-label][hidden] { display: none !important; }
.lbag-form [data-qui] { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; padding: 16px; border-radius: 16px; background: #FBF4EC; }
.lbag-form .lbag-check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.lbag-form__qui { margin-bottom: 6px; }
