/* URPRESSO : mises en page génériques (blocs « URPRESSO · Mises en page »). */
.b-sec { padding-block: clamp(72px, 9vw, 136px); }
.urp-block + .urp-block .b-sec:not(.is-dark):not(.b-appel):not(.b-chiffres) { padding-top: clamp(48px, 6vw, 88px); }
.b-sec.is-dark { background: var(--ink); color: var(--creme); }
.b-sec.is-dark .eyebrow, .b-sec.is-dark .h2 em { color: var(--gold); }
.b-sec.is-dark .lead { color: rgba(245, 239, 231, .72); }
.b-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.b-head-center { display: grid; gap: 16px; justify-items: center; text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.b-center { text-align: center; margin: clamp(32px, 4vw, 48px) 0 0; }
.b-sec .btn { text-decoration: none; }

/* Texte + image */
.b-ti-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.b-ti.is-left .b-ti-img { order: -1; }
.b-ti-img { margin: 0; aspect-ratio: 4 / 4.4; border-radius: 56px 56px 14px 14px; overflow: hidden; background: var(--creme-2); }
.b-ti-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Bandeau d'appel */
.b-appel { padding-block: clamp(40px, 5vw, 72px); }
.b-appel-in { --a1: #8c1e16; --a2: #360907; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 72px); border-radius: 56px 56px 14px 14px; background: radial-gradient(70% 100% at 50% 40%, var(--a1), var(--a2) 82%); color: var(--creme); }
.b-appel.is-origin .b-appel-in { --a1: #2b2521; --a2: #0B0B0B; }
.b-appel.is-pure .b-appel-in { --a1: #3a6b55; --a2: #16301f; }
.b-appel.is-beige .b-appel-in { --a1: #d9bf93; --a2: #b99558; color: var(--ink); }
.b-appel .eyebrow, .b-appel .h2 em { color: var(--gold); }
.b-appel.is-beige .eyebrow, .b-appel.is-beige .h2 em { color: var(--brown); }
.b-appel .b-copy p:not(.eyebrow) { margin: 0; max-width: 50ch; opacity: .78; }
.b-script { position: absolute; right: 4%; top: -.1em; font: 400 clamp(5rem, 13vw, 11rem)/1 var(--f-script); opacity: .09; pointer-events: none; white-space: nowrap; }
.b-appel-buy { position: relative; display: grid; justify-items: end; gap: 12px; }
.b-appel-buy b { font: 600 clamp(2rem, 3.4vw, 2.8rem)/1 var(--f-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.b-appel.is-beige .b-appel-buy b { color: var(--ink); }
.b-appel-buy del { font: 500 1rem/1 var(--f-body); opacity: .55; }

/* Galerie */
.b-gal { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: minmax(180px, 22vw); gap: 14px; }
.b-gal figure { margin: 0; position: relative; overflow: hidden; border-radius: 40px 40px 12px 12px; background: var(--creme-2); }
.b-gal figure:first-child { grid-row: span 2; }
.b-gal.n3 { grid-template-columns: 1.4fr 1fr; }
.b-gal.n4 figure:first-child { grid-row: span 3; }
.b-gal.n4 { grid-template-columns: 1.4fr 1fr; grid-auto-rows: minmax(150px, 15vw); }
.b-gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.b-gal figure:hover img { transform: scale(1.04); }
.b-gal figcaption { position: absolute; inset: auto 0 0; padding: 40px 20px 16px; color: var(--creme); font: italic 500 1.1rem/1.3 var(--f-display); background: linear-gradient(180deg, transparent, rgba(11, 11, 11, .7)); }

/* Vidéo */
.b-screen { position: relative; aspect-ratio: 16 / 7.5; border-radius: 48px 48px 14px 14px; overflow: hidden; background: #1a1613; }
.b-screen > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.68); display: block; }
.b-screen iframe, .b-screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.b-play { position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(245, 239, 231, .6); background: rgba(11, 11, 11, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; color: var(--creme); }
.b-play:hover, .b-play:focus-visible { transform: scale(1.08); background: var(--gold); }
.b-play svg { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.b-screen small { position: absolute; left: 24px; bottom: 18px; font: 600 .6875rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 239, 231, .85); }

/* FAQ */
.b-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.b-acc { border-top: 1px solid var(--line); }
.b-acc details { border-bottom: 1px solid var(--line); }
.b-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 2px; font: 600 .78rem/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.b-acc summary::-webkit-details-marker { display: none; }
.b-acc summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform .35s var(--ease); }
.b-acc details[open] summary::after { transform: rotate(45deg); }
.b-acc details > div { padding: 0 2px 22px; color: var(--ink-soft); }
.b-acc details > div p { margin: 0 0 10px; }

/* Produits */
.b-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b-cards.n1 { grid-template-columns: minmax(0, 420px); }
.b-cards.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b-cards.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b-card { --rc: #0B0B0B; position: relative; overflow: hidden; border-radius: 40px 40px 12px 12px; padding: 28px 24px 24px; background: var(--rc); color: var(--creme); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: end; min-height: 250px; transition: transform .5s var(--ease); }
.b-card:hover { transform: translateY(-5px); }
.b-card .n { position: absolute; right: 14px; top: -12px; font: 300 7rem/1 var(--f-num); opacity: .1; }
.b-card img { grid-row: 1 / span 5; grid-column: 2; width: 86px; height: auto; align-self: center; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .4)); }
.b-card.is-photo img { width: 110px; aspect-ratio: 1; object-fit: cover; border-radius: 22px 22px 8px 8px; filter: none; }
.b-card small { font: 700 .5625rem/1.3 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.b-card h3 { margin: 0; font: 600 2rem/1 var(--f-display); letter-spacing: .06em; }
.b-card h3 a { color: inherit; text-decoration: none; }
.b-card h3 a::after { content: ""; position: absolute; inset: 0; }
.b-card .p { font: 600 .9375rem/1 var(--f-body); opacity: .85; }
.b-add { position: relative; z-index: 1; grid-column: 1; justify-self: start; margin-top: 14px; min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; font: 600 .625rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; background: var(--creme); color: var(--ink); text-decoration: none; border-radius: 2px; transition: background .3s; }
.b-add:hover { background: var(--gold); }

/* Bloc libre */
.b-libre.is-creme { background: var(--creme-2); }
.b-libre.is-blanc { background: #fff; }
.b-libre.is-noir { background: var(--ink); color: var(--creme); }
.b-prose { margin-inline: auto; padding-bottom: 0; }
.b-libre.is-noir .b-prose, .b-libre.is-noir .b-prose h2, .b-libre.is-noir .b-prose h3 { color: var(--creme); }
.b-libre.is-noir .b-prose a { color: var(--gold); }
.b-prose blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); font: italic 500 1.4rem/1.4 var(--f-display); color: inherit; }
.b-embed { border-radius: 28px 28px 8px 8px; overflow: hidden; }
.b-embed iframe { display: block; width: 100%; min-height: 360px; border: 0; }

/* Chiffres clés */
.b-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border-radius: 40px 40px 12px 12px; overflow: hidden; }
.b-stats.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b-stats.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b-stats > div { background: var(--creme); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column-reverse; gap: 10px; }
.b-stats dd { margin: 0; font: 500 clamp(3rem, 6vw, 5rem)/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.b-stats dd small { font-size: .45em; margin-left: 4px; color: var(--gold-deep); }
.b-stats dt { font: 600 .6875rem/1.5 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.b-chiffres.is-dark .b-stats { background: rgba(245, 239, 231, .14); }
.b-chiffres.is-dark .b-stats > div { background: #141210; }
.b-chiffres.is-dark .b-stats dd { color: var(--creme); }
.b-chiffres.is-dark .b-stats dd small { color: var(--gold); }
.b-chiffres.is-dark .b-stats dt { color: rgba(245, 239, 231, .6); }

/* Étapes */
.b-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.b-steps.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b-steps.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b-steps.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.b-steps li { position: relative; display: grid; gap: 12px; align-content: start; padding-top: 28px; border-top: 1px solid var(--ink); }
.b-step-n { font: 500 3.2rem/1 var(--f-display); color: var(--gold-deep); }
.b-steps h3 { margin: 0; font: 600 1.6rem/1.1 var(--f-display); }
.b-steps p { margin: 0; color: var(--ink-soft); }

/* Contact */
.b-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.b-wa svg { width: 20px; height: 20px; }
.b-coords { margin: 8px 0 0; display: grid; gap: 0; width: 100%; border-top: 1px solid var(--line); }
.b-coords > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.b-coords dt { font: 600 .6875rem/1.8 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.b-coords dd { margin: 0; }
.b-coords a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.b-contact-img { margin: 0; aspect-ratio: 4 / 4.6; border-radius: 56px 56px 14px 14px; overflow: hidden; }
.b-contact-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Logos */
.b-logos { padding-block: clamp(56px, 7vw, 96px); }
.b-logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.b-logo-row li { flex: 1 1 200px; max-width: 260px; }
.b-logo-row a, .b-logo-row li > span, .b-logo-row li > img { height: 110px; display: grid; place-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 30px 30px 10px 10px; background: #fff; text-decoration: none; color: var(--ink); transition: border-color .3s; }
.b-logo-row a:hover { border-color: var(--ink); }
.b-logo-row img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); transition: filter .3s; }
.b-logo-row a:hover img { filter: none; }
.b-logo-row span { font: 600 1.25rem/1.2 var(--f-display); text-align: center; }

/* Comparatif */
.b-table-wrap { overflow-x: auto; border-radius: 40px 40px 12px 12px; border: 1px solid var(--line); background: #fff; }
.b-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.b-table thead th { --rc: #0B0B0B; background: var(--rc); color: var(--creme); padding: 24px 18px 20px; text-align: left; vertical-align: bottom; position: relative; }
.b-table thead th img { width: 48px; height: auto; margin-bottom: 10px; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .35)); }
.b-table thead th b { display: block; font: 600 1.7rem/1 var(--f-display); letter-spacing: .06em; }
.b-table thead th small { font: italic 500 1rem/1.3 var(--f-display); opacity: .75; }
.b-table tbody th { width: 170px; text-align: left; font: 600 .6875rem/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 16px 18px; }
.b-table td { padding: 16px 18px; border-left: 1px solid var(--line); font-size: .9375rem; }
.b-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.b-table .b-table-buy td { padding-block: 20px; }

/* Pages construites avec des blocs + texte libre */
.page-content { padding-bottom: clamp(64px, 8vw, 120px); }
.page-content > :not(.urp-block) { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); box-sizing: content-box; }
.page-content > p, .page-content > ul, .page-content > ol { color: var(--ink-soft); font-size: 1.0625rem; }
.page-content > h2 { font: 500 clamp(1.9rem, 3vw, 2.6rem)/1.1 var(--f-display); margin-block: 1.6em .6em; }
.page-content > h3 { font: 600 1.5rem/1.2 var(--f-display); margin-block: 1.4em .5em; }
.page-content.has-urp { padding-bottom: 0; }

@media (max-width: 900px) {
  .b-ti-grid, .b-faq-grid, .b-contact-grid, .b-appel-in { grid-template-columns: minmax(0, 1fr); }
  .b-ti.is-left .b-ti-img { order: 0; }
  .b-appel-buy { justify-items: start; }
  .b-cards, .b-cards.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-steps, .b-steps.n4, .b-steps.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-stats, .b-stats.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-gal, .b-gal.n3, .b-gal.n4 { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .b-gal figure:first-child, .b-gal.n4 figure:first-child { grid-column: span 2; grid-row: auto; }
  .b-screen { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .b-cards, .b-cards.n2, .b-cards.n4, .b-steps, .b-steps.n2, .b-steps.n4, .b-steps.n5 { grid-template-columns: minmax(0, 1fr); }
  .b-coords > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Bannière de page (H1) */
.page-content.has-banner { padding-top: 8px; }
.b-banner { padding-block: 8px clamp(24px, 3vw, 40px); }
.b-banner-in { position: relative; overflow: hidden; display: grid; align-items: end; min-height: clamp(380px, 52vh, 520px); padding: clamp(28px, 5vw, 64px); border-radius: 56px 56px 14px 14px; background: var(--ink); color: var(--creme); isolation: isolate; }
.b-banner.is-tall .b-banner-in { min-height: clamp(460px, 72vh, 720px); }
.b-banner-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.b-banner-in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 11, .82) 0%, rgba(11, 11, 11, .55) 45%, rgba(11, 11, 11, .1) 100%), linear-gradient(0deg, rgba(11, 11, 11, .45), transparent 55%); }
.b-banner-copy { display: grid; gap: 18px; justify-items: start; max-width: 640px; }
.b-banner .eyebrow { color: var(--gold); }
.b-banner h1 { margin: 0; font: 500 clamp(2.6rem, 5.6vw, 4.8rem)/1 var(--f-display); letter-spacing: -.01em; }
.b-banner h1 em { font-style: italic; color: var(--gold); }
.b-banner .lead { color: rgba(245, 239, 231, .82); }
.b-banner-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn-ghost-light { border: 1px solid rgba(245, 239, 231, .6); color: var(--creme); }
.btn-ghost-light:hover { background: var(--creme); color: var(--ink); border-color: var(--creme); }
@media (max-width: 640px) {
  .b-banner-in { border-radius: 36px 36px 10px 10px; min-height: 420px; }
  .b-banner-in::before { background: linear-gradient(0deg, rgba(11, 11, 11, .88) 10%, rgba(11, 11, 11, .35) 70%, rgba(11, 11, 11, .15)); }
  .b-banner-cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* Liens utiles (maillage interne) */
.b-links-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.b-links-grid a { position: relative; display: grid; gap: 6px; height: 100%; padding: 22px 54px 22px 22px; border: 1px solid var(--line); border-radius: 26px 26px 8px 8px; background: #fff; text-decoration: none; color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.b-links-grid a:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 22px 34px -24px rgba(40, 26, 16, .4); }
.b-links-grid b { font: 600 1.35rem/1.1 var(--f-display); }
.b-links-grid span { font-size: .875rem; color: var(--ink-soft); }
.b-links-grid i { position: absolute; right: 20px; top: 22px; font-style: normal; font-size: 1.1rem; transition: transform .35s var(--ease); }
.b-links-grid a:hover i { transform: translateX(4px); }
@media (max-width: 900px) { .b-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .b-links-grid { grid-template-columns: minmax(0, 1fr); } }

/* Formulaire de contact */
.b-form-card { background: #fff; border: 1px solid var(--line); border-radius: 40px 40px 12px 12px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 50px -40px rgba(40, 26, 16, .45); }
.b-form { display: grid; gap: 16px; }
.b-form-row { display: grid; gap: 16px; }
.b-form-row.two { grid-template-columns: 1fr 1fr; }
.b-form label { display: grid; gap: 8px; min-width: 0; }
.b-form label > span { font: 600 .6875rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.b-form label em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; }
.b-form input, .b-form select, .b-form textarea { box-sizing: border-box; width: 100%; min-height: 52px; margin: 0; padding: 12px 16px; font: 500 1rem/1.3 var(--f-body); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 4px 4px; transition: border-color .3s, box-shadow .3s; }
.b-form select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230B0B0B' stroke-width='1.6'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") right 16px center / 12px no-repeat; }
.b-form textarea { min-height: 140px; resize: vertical; }
.b-form input:focus, .b-form select:focus, .b-form textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(199, 164, 107, .3); }
.b-form .btn { justify-self: start; min-height: 52px; }
.b-form-legal { margin: 0; font-size: .8125rem; color: var(--muted); }
.b-form-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.b-form-msg { margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; font-size: .9375rem; }
.b-form-msg.is-ok { background: color-mix(in srgb, var(--green) 10%, #fff); border: 1px solid color-mix(in srgb, var(--green) 35%, #fff); }
.b-form-msg.is-err { background: color-mix(in srgb, var(--red) 8%, #fff); border: 1px solid color-mix(in srgb, var(--red) 30%, #fff); }
@media (max-width: 560px) { .b-form-row.two { grid-template-columns: minmax(0, 1fr); } .b-form .btn { width: 100%; justify-content: center; } }
