/* Bzaf Booking — version Vagues · inner pages (blog, article, à propos, contact, legal)
   Same tokens as vagues.css. Every class starts with pg- so nothing leaks into the home page. */

.pg-wave-fill { --wf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath d='M0 13C50 0 100 0 150 11S250 26 300 13 380 2 400 8V24H0Z' fill='%23fff'/%3E%3C/svg%3E"); }

/* ---------- page hero ---------- */
.pg-hero { position: relative; overflow: hidden; overflow: clip; padding: clamp(132px, 14vw, 190px) 0 clamp(64px, 8vw, 110px); }
.pg-hero--center { text-align: center; }
.pg-hero--center .pg-lead { margin-left: auto; margin-right: auto; }
.pg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font: 700 13px/1 var(--display); color: var(--muted); }
.pg-hero--center .pg-crumbs { justify-content: center; }
.pg-crumbs a { padding: 8px 12px; border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: var(--drop); transition: background-color .2s; }
.pg-crumbs a:hover { background: var(--tint); }
.pg-crumbs .i { width: 13px; height: 13px; opacity: .5; rotate: -90deg; }
.pg-title { margin-top: 18px; font: 700 clamp(42px, 6.4vw, 96px)/.98 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.pg-title--md { font-size: clamp(36px, 4.8vw, 70px); line-height: 1.02; }
.pg-lead { max-width: 640px; margin-top: 22px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.pg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; font: 600 14px/1 var(--display); color: var(--muted); }
.pg-hero--center .pg-meta { justify-content: center; }
.pg-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.pg-meta .i { width: 16px; height: 16px; color: var(--deep); }

/* ---------- shared bits ---------- */
.pg-sec { position: relative; padding: clamp(80px, 9vw, 130px) 0; }
.pg-sec--panel { margin: 0 clamp(8px, 1.1vw, 16px); border-radius: var(--r-panel); background: var(--white); }
.pg-sec--ink { margin: 0 clamp(8px, 1.1vw, 16px); border-radius: var(--r-panel); background: var(--ink); color: var(--white); overflow: hidden; overflow: clip; isolation: isolate; }
.pg-h2 { margin-top: 16px; font: 700 clamp(32px, 4.2vw, 60px)/1.02 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.pg-sub { max-width: 600px; margin-top: 16px; font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.55; color: var(--muted); }
.pg-sec--ink .pg-sub { color: rgba(255, 255, 255, .72); }
.pg-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 10px; border-radius: 999px; background: var(--brand); color: var(--ink); font: 700 12.5px/1 var(--display); }
.pg-chip .i { width: 14px; height: 14px; }
.pg-fill { padding: 1px 6px; border-radius: 6px; background: var(--tint); border: 1px dashed rgba(11, 107, 255, .45); color: var(--deep); font-weight: 600; white-space: nowrap; }
.pg-reveal { opacity: 0; translate: 0 34px; transition: opacity .9s var(--out), translate .9s var(--out); transition-delay: var(--rd, 0s); }
.pg-reveal.is-in { opacity: 1; translate: 0 0; }

/* CTA band (ink panel; the B's ribbons behind, drawn by vagues.js from the svg.vg-rb inside) */
.pg-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 48px; padding: clamp(36px, 5vw, 64px); border-radius: var(--r-panel); background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.pg-band h2 { font: 700 clamp(30px, 3.6vw, 52px)/1.02 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.pg-band p { margin-top: 14px; max-width: 560px; color: rgba(255, 255, 255, .72); font-size: 17px; line-height: 1.5; }
.pg-band__go { display: flex; flex-wrap: wrap; gap: 10px; }
/* Two drawings of the ribbons: a long wave on wide bands, a gentler one when the band is narrow and tall */
.pg-band__rb--sm { display: none; }
@media (max-width: 760px) {
  .pg-band { grid-template-columns: 1fr; }
  .pg-band__rb { display: none; }
  .pg-band__rb--sm { display: block; }
}

/* ---------- blog ---------- */
.pg-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(34px, 4vw, 52px); }
.pg-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
.pg-filters::-webkit-scrollbar { display: none; }
.pg-filter { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); font: 700 14.5px/1 var(--display); box-shadow: var(--drop); cursor: pointer; transition: background-color .25s, color .25s, transform .35s var(--pop); }
.pg-filter em { font-style: normal; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--clair); font-size: 11.5px; }
.pg-filter[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.pg-filter[aria-pressed="true"] em { background: var(--brand); color: var(--ink); }
.pg-search { position: relative; flex: 0 1 320px; }
.pg-search .i { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); pointer-events: none; }
.pg-search input { width: 100%; height: 48px; padding: 0 18px 0 44px; border: 1px solid var(--edge); border-radius: 999px; background: var(--white); color: var(--ink); font: 500 16px/1 var(--body); outline: none; transition: border-color .2s, box-shadow .2s; }
.pg-search input:focus { border-color: var(--deep); box-shadow: 0 0 0 4px rgba(11, 107, 255, .14); }

.pg-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 3.4vw, 54px); align-items: center; margin-top: clamp(28px, 3.4vw, 44px); padding: 14px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--drop-lg); color: inherit; transition: transform .5s var(--out), box-shadow .5s var(--out); }
.pg-feature__img { position: relative; overflow: hidden; aspect-ratio: 16 / 11; border-radius: 22px; }
.pg-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--out); }
.pg-feature__img .pg-chip { position: absolute; top: 16px; left: 16px; }
.pg-feature__txt { padding: 10px clamp(8px, 2vw, 28px) 10px 0; }
.pg-feature__txt h2 { margin-top: 16px; font: 700 clamp(28px, 3vw, 44px)/1.05 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.pg-feature__txt p { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.pg-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--deep); }
.pg-kicker::before { content: ""; width: 22px; height: 14px; background: currentColor; -webkit-mask: url(logo/bzaf-mark.svg) center / contain no-repeat; mask: url(logo/bzaf-mark.svg) center / contain no-repeat; }
.pg-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font: 700 15px/1 var(--display); }
.pg-more .i { width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: var(--ink); color: var(--white); transition: transform .5s var(--out), background-color .25s; }

.pg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(28px, 3vw, 40px); }
.pg-card { position: relative; display: flex; flex-direction: column; padding: 10px 10px 22px; border-radius: 28px; background: var(--white); box-shadow: var(--drop); color: inherit; transition: transform .5s var(--out), box-shadow .5s var(--out), opacity .4s; }
.pg-card[hidden], .pg-feature[hidden] { display: none; }
.pg-card__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 20px 20px 4px 4px; }
.pg-card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--out); }
.pg-card__img::after, .pg-feature__img::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath d='M0 13C50 0 100 0 150 11S250 26 300 13 380 2 400 8V24H0Z' fill='%23fff'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; transition: translate .8s var(--out); }
.pg-feature__img::after { display: none; }
.pg-card .pg-chip { position: absolute; top: 14px; right: 14px; }
.pg-card h3 { margin: 16px 10px 0; font: 700 clamp(19px, 1.5vw, 22px)/1.2 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.pg-card p { margin: 10px 10px 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.pg-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: auto 10px 0; padding-top: 18px; font: 600 13.5px/1 var(--display); color: var(--muted); }
.pg-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.pg-card__meta .i { width: 15px; height: 15px; }
.pg-card__go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--clair); color: var(--ink); transition: background-color .3s, color .3s, rotate .5s var(--out); }
.pg-card__go .i { width: 15px; height: 15px; }
/* « À lire ensuite » (article): the photo ends on the B's wave, which flows on hover.
   Same code as the home page articles (src/parts/14-articles.html, .vg-art__img). */
.pg-grid--wave .pg-card__img { border-radius: 20px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 260' preserveAspectRatio='none'%3E%3Cpath d='M0 0H800V236C740 214 660 248 600 224C540 200 460 260 400 236C340 214 260 248 200 224C140 200 60 260 0 236Z'/%3E%3C/svg%3E") 0 0 / 200% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 260' preserveAspectRatio='none'%3E%3Cpath d='M0 0H800V236C740 214 660 248 600 224C540 200 460 260 400 236C340 214 260 248 200 224C140 200 60 260 0 236Z'/%3E%3C/svg%3E") 0 0 / 200% 100% no-repeat; transition: -webkit-mask-position 1.4s var(--out), mask-position 1.4s var(--out); }
.pg-grid--wave .pg-card__img::after { display: none; }
.pg-empty { display: none; margin-top: 30px; padding: 40px 20px; border-radius: 28px; background: var(--white); text-align: center; color: var(--muted); }
.pg-empty.is-on { display: block; }
.pg-empty b { display: block; margin-bottom: 6px; font: 700 20px/1.2 var(--display); color: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .pg-feature:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(8, 19, 31, .14); }
  .pg-feature:hover .pg-feature__img img, .pg-card:hover .pg-card__img img { scale: 1.06; }
  .pg-feature:hover .pg-more .i { transform: translateX(6px); background: var(--deep); }
  .pg-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(8, 19, 31, .12); }
  .pg-card:hover .pg-card__img::after { translate: -6% 0; }
  .pg-grid--wave .pg-card:hover .pg-card__img { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  .pg-card:hover .pg-card__go { background: var(--ink); color: var(--white); rotate: -45deg; }
}
@media (max-width: 960px) {
  .pg-feature { grid-template-columns: 1fr; }
  .pg-feature__txt { padding: 4px 12px 14px; }
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .pg-grid { grid-template-columns: 1fr; }
  .pg-search { flex: 1 1 100%; }
}

/* ---------- article ---------- */
.pg-cover { position: relative; margin-top: clamp(36px, 4vw, 56px); overflow: hidden; aspect-ratio: 21 / 9; border-radius: var(--r-lg); box-shadow: var(--drop-lg); }
.pg-cover img { width: 100%; height: 100%; object-fit: cover; }
.pg-cover figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(8, 19, 31, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--white); font: 600 12px/1 var(--display); }
.pg-art { display: grid; grid-template-columns: 250px minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 80px); align-items: start; }
.pg-art__side { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 16px; }

/* Table of contents (article and legal pages) */
.pg-toc { padding: 20px 18px 18px; border-radius: 24px; background: var(--white); box-shadow: var(--drop); }
.pg-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; cursor: pointer; font: 700 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pg-toc summary::-webkit-details-marker { display: none; }
.pg-toc summary .i { width: 16px; height: 16px; transition: rotate .3s var(--out); }
.pg-toc[open] summary .i { rotate: 180deg; }
.pg-toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.pg-toc a { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 9px 10px 9px 8px; border-radius: 12px; font: 600 14px/1.3 var(--display); color: var(--muted); transition: background-color .25s, color .25s; }
.pg-toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(86, 103, 124, .6); padding-top: 1px; }
.pg-toc a:hover { background: var(--clair); color: var(--ink); }
.pg-toc a.is-on { background: var(--tint); color: var(--ink); }
.pg-toc a.is-on::before { color: var(--deep); }
.pg-toc a.is-on::after { content: ""; position: absolute; left: 34px; right: 12px; bottom: 4px; height: 5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6' preserveAspectRatio='none'%3E%3Cpath d='M1 4C10 0 18 6 30 3S50 0 59 3' fill='none' stroke='%230b6bff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") left center / 100% 100% no-repeat; opacity: .55; }
.pg-toc__bar { position: relative; height: 5px; margin-top: 14px; border-radius: 99px; background: var(--clair); overflow: hidden; }
.pg-toc__bar i { position: absolute; inset: 0; border-radius: inherit; background: var(--deep); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Article body */
.pg-prose { font-size: 18.5px; line-height: 1.75; color: #1b2a3b; }
.pg-prose > * + * { margin-top: 1.1em; }
.pg-prose h2 { margin-top: 2.2em; scroll-margin-top: 100px; font: 700 clamp(28px, 2.6vw, 38px)/1.1 var(--display); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.pg-prose h3 { margin-top: 1.8em; font: 700 22px/1.25 var(--display); letter-spacing: -.015em; color: var(--ink); }
.pg-prose a { color: var(--deep); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.pg-prose a.bz-btn { color: var(--ink); text-decoration: none; }
.pg-prose strong { color: var(--ink); }
.pg-prose ul:not([class]), .pg-prose ol:not([class]) { display: flex; flex-direction: column; gap: .5em; padding-left: 0; }
.pg-prose ul:not([class]) li { position: relative; padding-left: 30px; }
.pg-prose ul:not([class]) li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 14px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M1 5C4 1 7 1 8 4S12 7 15 3' fill='none' stroke='%230b6bff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.pg-prose ol:not([class]) { counter-reset: li; }
.pg-prose ol:not([class]) li { position: relative; padding-left: 40px; counter-increment: li; }
.pg-prose ol:not([class]) li::before { content: counter(li); position: absolute; left: 0; top: .15em; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--ink); font: 700 14px/1 var(--display); }
.pg-dropcap::first-letter { float: left; margin: .1em .12em 0 0; font: 700 4.1em/.8 var(--display); color: var(--deep); }
.pg-keys { padding: 26px 28px; border-radius: 26px; background: var(--brand); color: var(--ink); }
.pg-keys b { display: flex; align-items: center; gap: 10px; font: 700 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.pg-keys b .i { width: 18px; height: 18px; }
.pg-keys ul { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pg-keys li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.5; }
.pg-keys li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%238fcdff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pg-note { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 24px; border-radius: 22px; background: var(--white); box-shadow: var(--drop); font-size: 16.5px; line-height: 1.6; }
.pg-note .vg-ico, .pg-note__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--deep); --i2: var(--brand); --i2o: .8; }
.pg-note__ic .i { width: 22px; height: 22px; }
.pg-note b { display: block; margin-bottom: 4px; font: 700 16px/1.3 var(--display); color: var(--ink); }
.pg-note--warn .pg-note__ic { background: #ffe9e9; color: var(--coral); --i2: #ffb3b5; }
.pg-quote { position: relative; margin: 1.8em 0 !important; padding: 8px 0 8px 34px; font: 700 clamp(24px, 2.2vw, 30px)/1.3 var(--display); letter-spacing: -.02em; color: var(--ink); }
.pg-quote::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 40' preserveAspectRatio='none'%3E%3Cpath d='M4 0C1 5 7 10 4 15S1 25 4 30 7 35 4 40' fill='none' stroke='%230b6bff' stroke-width='3'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pg-quote cite { display: block; margin-top: 12px; font: 600 14px/1.3 var(--display); font-style: normal; color: var(--muted); letter-spacing: 0; }
.pg-table { overflow: hidden; border-radius: 22px; background: var(--white); box-shadow: var(--drop); }
.pg-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.pg-table th, .pg-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--edge); }
.pg-table thead th { background: var(--ink); color: var(--white); font: 700 14px/1.2 var(--display); }
.pg-table thead th:first-child { color: rgba(255, 255, 255, .6); }
.pg-table tbody th { font: 700 14.5px/1.3 var(--display); color: var(--ink); background: var(--clair); width: 30%; }
.pg-table tr:last-child > * { border-bottom: 0; }
.pg-mid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 28px 30px; border-radius: 26px; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.pg-mid::before { content: ""; position: absolute; z-index: -1; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%; border: 44px solid rgba(143, 205, 255, .14); }
.pg-mid b { display: block; font: 700 22px/1.2 var(--display); letter-spacing: -.02em; }
.pg-mid span { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.pg-mid .bz-btn { white-space: nowrap; }
@media (max-width: 620px) { .pg-mid { grid-template-columns: 1fr; } }
.pg-check { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 26px; background: var(--white); box-shadow: var(--drop); }
.pg-check__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 700 16px/1.2 var(--display); color: var(--ink); }
.pg-check__head output { padding: 6px 10px; border-radius: 999px; background: var(--clair); font: 700 13px/1 var(--display); font-variant-numeric: tabular-nums; }
.pg-check__bar { height: 6px; border-radius: 99px; background: var(--clair); overflow: hidden; }
.pg-check__bar i { display: block; height: 100%; border-radius: inherit; background: var(--mint); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .5s var(--out); }
.pg-check label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--clair); font-size: 16px; line-height: 1.45; cursor: pointer; transition: background-color .25s; }
.pg-check input { flex: none; appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 8px; border: 2px solid var(--edge-strong); background: var(--white); cursor: pointer; transition: background-color .25s, border-color .25s; }
.pg-check input:checked { border-color: var(--mint); background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7.5' fill='none' stroke='%2308131f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pg-check input:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; }
.pg-check label:has(input:checked) { background: #e3fbf3; }
.pg-check label:has(input:checked) span { text-decoration: line-through; text-decoration-color: rgba(8, 19, 31, .35); }
.pg-faq { display: flex; flex-direction: column; gap: 10px; }
.pg-faq details { border-radius: 20px; background: var(--white); box-shadow: var(--drop); }
.pg-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; list-style: none; cursor: pointer; font: 700 17px/1.3 var(--display); color: var(--ink); }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--clair) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%2308131f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: rotate .35s var(--out), background-color .25s; }
.pg-faq details[open] summary::after { rotate: 45deg; background-color: var(--brand); }
.pg-faq details > div { padding: 0 20px 18px; font-size: 16px; line-height: 1.6; color: #2a3a4c; }
.pg-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pg-share > b { margin-right: 6px; font: 700 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pg-share a, .pg-share button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: var(--drop); cursor: pointer; transition: background-color .25s, color .25s, transform .35s var(--pop); }
.pg-share .i { width: 18px; height: 18px; }
.pg-share a:hover, .pg-share button:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.pg-share button.is-done { background: var(--mint); color: var(--ink); }
.pg-side-card { padding: 20px; border-radius: 24px; background: var(--ink); color: var(--white); }
.pg-side-card b { display: block; font: 700 18px/1.2 var(--display); }
.pg-side-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.pg-side-card .bz-btn { margin-top: 16px; width: 100%; }
.pg-author { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 18px; padding: 22px; border-radius: 26px; background: var(--white); box-shadow: var(--drop); }
.pg-author__av { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--brand); }
.pg-author__av svg { width: 36px; height: 23px; fill: var(--ink); }
.pg-author b { font: 700 17px/1.2 var(--display); }
.pg-author p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.pg-art__end { display: flex; flex-direction: column; gap: 22px; margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--edge); }
@media (max-width: 1023px) {
  .pg-art { grid-template-columns: minmax(0, 720px); }
  .pg-art__side { position: static; }
  .pg-art__side .pg-side-card { display: none; }
  .pg-cover { aspect-ratio: 16 / 10; }
}
@media (max-width: 620px) {
  .pg-prose { font-size: 17px; }
  .pg-table th, .pg-table td { padding: 12px; font-size: 14px; }
  .pg-note { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
}

/* ---------- about ---------- */
.pg-bflip { position: relative; display: inline-block; width: 1.12em; height: .72em; margin-right: .02em; vertical-align: -.02em; perspective: 500px; }
.pg-bflip__l, .pg-bflip__logo { position: absolute; inset: 0; backface-visibility: hidden; transform-origin: 50% 60%; transition: transform .9s var(--pop), opacity .35s; }
.pg-bflip__l { display: grid; place-items: center end; line-height: 1; padding-right: .06em; }
.pg-bflip__logo { width: 100%; height: 100%; fill: var(--deep); opacity: 0; transform: rotateX(-90deg); }
.pg-bflip.is-on .pg-bflip__l { opacity: 0; transform: rotateX(90deg); transition-duration: .35s; }
.pg-bflip.is-on .pg-bflip__logo { opacity: 1; transform: none; transition-delay: .25s; }
.pg-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(32px, 4vw, 52px); }
.pg-value { position: relative; padding: 30px 28px 32px; border-radius: 28px; background: var(--clair); overflow: hidden; }
.pg-value__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--white); color: var(--deep); box-shadow: var(--drop); --i2: var(--brand); --i2o: .8; }
.pg-value__ic .i { width: 26px; height: 26px; }
.pg-value h3 { margin-top: 22px; font: 700 26px/1.1 var(--display); letter-spacing: -.025em; }
.pg-value p { margin-top: 10px; font-size: 16.5px; line-height: 1.55; color: var(--muted); }
.pg-value__n { position: absolute; top: 20px; right: 24px; font: 700 15px/1 var(--display); color: rgba(8, 19, 31, .25); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .pg-values { grid-template-columns: 1fr; } }
.pg-for { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.pg-for a { position: relative; display: flex; align-items: flex-end; min-height: 380px; padding: 22px; border-radius: 30px; overflow: hidden; color: var(--white); isolation: isolate; }
.pg-for img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--out); }
.pg-for a::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(8, 19, 31, 0) 40%, rgba(8, 19, 31, .78)); }
.pg-for b { display: block; font: 700 28px/1.05 var(--display); letter-spacing: -.03em; }
.pg-for span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
@media (hover: hover) and (pointer: fine) { .pg-for a:hover img { scale: 1.06; } }
@media (max-width: 900px) { .pg-for { grid-template-columns: 1fr; } .pg-for a { min-height: 280px; } }

/* ---------- contact ---------- */
.pg-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pg-ways { display: grid; gap: 12px; margin-top: 34px; }
.pg-way { display: grid; grid-template-columns: 52px 1fr 36px; align-items: center; gap: 14px; width: 100%; padding: 14px 14px 14px 14px; border: 0; border-radius: 22px; background: var(--white); color: var(--ink); text-align: left; box-shadow: var(--drop); cursor: pointer; transition: transform .4s var(--out), box-shadow .4s var(--out); }
.pg-way__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--tint); color: var(--deep); --i2: var(--brand); --i2o: .8; }
.pg-way__ic .i { width: 24px; height: 24px; }
.pg-way b { display: block; font: 700 17px/1.2 var(--display); }
.pg-way small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.pg-way > .i { width: 18px; height: 18px; justify-self: end; transition: translate .4s var(--out); }
.pg-way:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .pg-way:hover { transform: translateX(6px); box-shadow: 0 16px 36px rgba(8, 19, 31, .12); } .pg-way:hover > .i { translate: 4px 0; } }
.pg-form { position: relative; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--drop-lg); scroll-margin-top: 90px; }
.pg-form h2 { font: 700 clamp(26px, 2.4vw, 34px)/1.1 var(--display); letter-spacing: -.03em; }
.pg-form > p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.pg-fs { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.pg-fs legend, .pg-lab { display: block; margin-bottom: 10px; padding: 0; font: 700 14px/1.2 var(--display); color: var(--ink); }
.pg-lab small, .pg-fs legend small { font-weight: 500; color: var(--muted); }
.pg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.pg-field { display: flex; flex-direction: column; }
.pg-field input, .pg-field textarea, .pg-field select { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--edge); border-radius: 16px; background: var(--clair); color: var(--ink); font: 500 16px/1.4 var(--body); outline: none; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.pg-field textarea { min-height: 130px; resize: vertical; }
.pg-field input:focus, .pg-field textarea:focus { border-color: var(--deep); background: var(--white); box-shadow: 0 0 0 4px rgba(11, 107, 255, .14); }
.pg-field.is-bad input, .pg-field.is-bad textarea { border-color: var(--coral); background: #fff5f5; }
.pg-err { display: none; margin-top: 7px; font: 600 13px/1.3 var(--display); color: #d93a3f; }
.pg-field.is-bad .pg-err, .pg-consent.is-bad .pg-err { display: block; }
.pg-count { align-self: flex-end; margin-top: 6px; font: 600 12.5px/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.pg-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-pill { position: relative; }
.pg-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pg-pill span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--edge); background: var(--white); font: 700 14.5px/1 var(--display); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--pop); }
.pg-pill span .i { width: 17px; height: 17px; }
.pg-pill span .bz-mk { width: 24px; height: 24px; font-size: 10.5px; }
.pg-pill span .bz-mk .b { width: 13px; height: 13px; }
.pg-pill span .bz-mk--expedia .b { width: 100%; height: 100%; }
.pg-pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pg-pill input:focus-visible + span { outline: 3px solid var(--deep); outline-offset: 2px; }
.pg-pill input:active + span { transform: scale(.96); }
.pg-step { display: inline-flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px; background: var(--clair); border: 1px solid var(--edge); }
.pg-step button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: var(--drop); cursor: pointer; transition: transform .3s var(--pop); }
.pg-step button:active { transform: scale(.9); }
.pg-step button:disabled { opacity: .4; cursor: default; }
.pg-step .i { width: 16px; height: 16px; }
.pg-step output { min-width: 54px; text-align: center; font: 700 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.pg-consent { margin-top: 22px; }
.pg-consent label { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.pg-consent input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 2px solid var(--edge-strong); background: var(--white); cursor: pointer; }
.pg-consent input:checked { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7.5' fill='none' stroke='%238fcdff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pg-consent input:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; }
.pg-consent a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.pg-send { margin-top: 24px; width: 100%; }
.pg-done:focus { outline: none; }
.pg-done { display: none; padding: clamp(10px, 3vw, 30px) 0; text-align: center; }
.pg-form.is-done > *:not(.pg-done) { display: none; }
.pg-form.is-done .pg-done { display: block; }
.pg-done__ic { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; background: var(--brand); }
.pg-done__ic svg { width: 54px; height: 54px; fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.pg-form.is-done .pg-done__ic svg { animation: pg-tick .6s .2s var(--out) forwards; }
@keyframes pg-tick { to { stroke-dashoffset: 0; } }
.pg-done h2 { margin-top: 22px; }
.pg-done p { margin: 10px auto 0; max-width: 420px; color: var(--muted); font-size: 16.5px; line-height: 1.55; }
.pg-done .bz-btn { margin-top: 26px; }
@media (max-width: 960px) { .pg-contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pg-row { grid-template-columns: 1fr; } .pg-pills { gap: 6px; } .pg-pill span { min-height: 42px; padding: 9px 12px; gap: 7px; font-size: 14px; } }

/* ---------- legal pages ---------- */
.pg-brief { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(34px, 4vw, 52px); }
.pg-brief div { padding: 22px; border-radius: 24px; background: var(--white); box-shadow: var(--drop); }
.pg-brief .pg-way__ic { width: 46px; height: 46px; border-radius: 14px; }
.pg-brief b { display: block; margin-top: 16px; font: 700 17px/1.2 var(--display); }
.pg-brief p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 960px) { .pg-brief { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pg-brief { grid-template-columns: 1fr; } }
.pg-legal .pg-prose { font-size: 17px; line-height: 1.7; }
.pg-legal .pg-prose h2 { font-size: clamp(24px, 2.2vw, 30px); }
.pg-card-legal { padding: 20px 22px; border-radius: 20px; background: var(--white); box-shadow: var(--drop); font-size: 16px; line-height: 1.7; }
.pg-card-legal dt { font: 700 13px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pg-card-legal dd { margin: 2px 0 12px; color: var(--ink); }
.pg-card-legal dd:last-child { margin-bottom: 0; }

/* =========================================================
   Product pages (tarifs, fonctionnalités, pour qui, FAQ, sécurité, 404): shared pieces,
   all taken from the home page language (B waves, wave tiles, pills, soft cards)
   ========================================================= */
.pg-head { max-width: 780px; }
.pg-head--c { margin-left: auto; margin-right: auto; text-align: center; }
.pg-head--c .pg-sub { margin-left: auto; margin-right: auto; }
.pg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.pg-hero--center .pg-actions { justify-content: center; }

/* Tiles: soft card + the wave tile icon of the dock (.vg-th) */
.pg-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.pg-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; border-radius: 26px; background: var(--white); color: var(--ink); box-shadow: var(--drop); transition: translate .5s var(--out), box-shadow .5s var(--out), background-color .3s; }
.pg-sec--panel .pg-tile { background: var(--clair); box-shadow: none; }
.pg-tile .vg-th { margin-bottom: 8px; }
.pg-tile h3 { font: 700 20px/1.18 var(--display); letter-spacing: -.02em; }
.pg-tile p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.pg-tile__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font: 700 14px/1 var(--display); color: var(--deep); }
.pg-tile__go .i { width: 16px; height: 16px; transition: translate .4s var(--out); }
@media (hover: hover) and (pointer: fine) {
  .pg-tile:hover { translate: 0 -6px; box-shadow: 0 22px 48px rgba(8, 19, 31, .1); }
  .pg-sec--panel .pg-tile:hover { background: var(--white); box-shadow: 0 22px 48px rgba(8, 19, 31, .08); }
  .pg-tile:hover .vg-th::before { translate: 8% -10%; }
  .pg-tile:hover .pg-tile__go .i { translate: 4px 0; }
}
@media (max-width: 1060px) { .pg-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pg-tiles, .pg-tiles--4 { grid-template-columns: minmax(0, 1fr); } }

/* Photo ending on the B's wave; the wave flows when its link is hovered (same mask as
   the home page articles). --tall: a lower wave for tall photos. */
.pg-wimg { position: relative; display: block; overflow: hidden; background: var(--tint); border-radius: 22px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 260' preserveAspectRatio='none'%3E%3Cpath d='M0 0H800V236C740 214 660 248 600 224C540 200 460 260 400 236C340 214 260 248 200 224C140 200 60 260 0 236Z'/%3E%3C/svg%3E") 0 0 / 200% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 260' preserveAspectRatio='none'%3E%3Cpath d='M0 0H800V236C740 214 660 248 600 224C540 200 460 260 400 236C340 214 260 248 200 224C140 200 60 260 0 236Z'/%3E%3C/svg%3E") 0 0 / 200% 100% no-repeat; transition: -webkit-mask-position 1.4s var(--out), mask-position 1.4s var(--out); }
.pg-wimg--tall { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 1000' preserveAspectRatio='none'%3E%3Cpath d='M0 0H800V958C740 936 660 970 600 946C540 922 460 982 400 958C340 936 260 970 200 946C140 922 60 982 0 958Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 1000' preserveAspectRatio='none'%3E%3Cpath d='M0 0H800V958C740 936 660 970 600 946C540 922 460 982 400 958C340 936 260 970 200 946C140 922 60 982 0 958Z'/%3E%3C/svg%3E"); }
.pg-wimg img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--out); }
@media (hover: hover) and (pointer: fine) {
  .pg-wlink:hover .pg-wimg { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  .pg-wlink:hover .pg-wimg img { scale: 1.06; }
}

/* Rolling digits (like « En chiffres » on the home page): see PG.roll in pages.js */
.pg-dg { position: relative; display: inline-flex; overflow: hidden; overflow: clip; }
.pg-dg > b { font: inherit; visibility: hidden; }
.pg-dg__col { position: absolute; inset: 0; display: flex; flex-direction: column; will-change: transform; }
.pg-dg__col > span { flex: none; height: 100%; }

/* A flat wave instead of a dash (« not included ») */
.pg-nope { display: inline-block; width: 22px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8'%3E%3Cpath d='M1 4.5C4 1.5 7 1.5 11 4S18 6.5 21 3.5' fill='none' stroke='%2356677c' stroke-opacity='.45' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; vertical-align: middle; }
/* Small round check with the B's wave inside (.vg-ico, smaller) */
.pg-yes { width: 24px !important; height: 24px !important; }
.pg-yes .i { width: 13px !important; height: 13px !important; stroke-width: 2.6; }
.pg-yes--ink { background: var(--ink); color: var(--brand); }
.pg-yes--ink::before { background: rgba(143, 205, 255, .22); }

/* ---------- « Pour qui » pages (riads, villas, appartements, conciergeries) ---------- */
.sg-hero { position: relative; overflow: hidden; overflow: clip; padding: clamp(124px, 13vw, 176px) 0 clamp(64px, 8vw, 110px); }
.sg-hero__grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.sg-hero .pg-title { font-size: clamp(42px, 5.6vw, 88px); }
.sg-hero .pg-lead { max-width: 560px; }
.sg-hero__media { position: relative; justify-self: end; width: min(100%, 500px); margin: 0; }
.sg-hero__photo { border-radius: 30px; filter: drop-shadow(0 22px 40px rgba(8, 19, 31, .14)); }
.sg-hero__photo .pg-wimg { aspect-ratio: 4 / 4.7; border-radius: 30px; }
.sg-hero__media .vg-chip--stat { left: -44px; top: 40px; }
.sg-hero__media .vg-chip--sync { right: -26px; left: auto; bottom: 64px; }
@media (max-width: 960px) {
  .sg-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .sg-hero__media { justify-self: center; width: min(100%, 460px); margin-top: 8px; }
  .sg-hero__media .vg-chip--stat { left: -10px; }
  .sg-hero__media .vg-chip--sync { right: -8px; }
}
@media (max-width: 520px) {
  .sg-hero__media .vg-chip--stat { left: 10px; top: 14px; min-width: 0; padding: 12px 14px; }
  .sg-hero__media .vg-chip--sync { left: 10px; right: 10px; bottom: 44px; max-width: none; }
}

/* Avant / Avec: the « Avec » side rises like the B's wave over the « Avant » side */
.sg-vs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.sg-vs__card { position: relative; display: grid; min-height: 268px; border-radius: 26px; overflow: hidden; isolation: isolate; background: var(--white); box-shadow: var(--drop); }
.pg-sec--panel .sg-vs__card { background: var(--clair); box-shadow: none; }
.sg-vs__side { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 74px; }
.sg-vs__tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 7px 11px 7px 8px; border-radius: 999px; font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.sg-vs__tag .i { width: 14px; height: 14px; stroke-width: 2.6; }
.sg-vs__before .sg-vs__tag { background: #ffe9e9; color: #c9302c; }
.sg-vs__after .sg-vs__tag { background: var(--ink); color: var(--white); }
.sg-vs__side h3 { font: 700 21px/1.2 var(--display); letter-spacing: -.02em; }
.sg-vs__side p { font-size: 15.5px; line-height: 1.55; }
.sg-vs__before h3, .sg-vs__before p { color: var(--muted); }
.sg-vs__after { z-index: 1; background: var(--brand); color: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 1600' preserveAspectRatio='none'%3E%3Cpath d='M0 800C66 770 133 830 200 800S333 770 400 800S533 830 600 800S733 770 800 800V1600H0Z'/%3E%3C/svg%3E") 0 0 / 200% 200% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 1600' preserveAspectRatio='none'%3E%3Cpath d='M0 800C66 770 133 830 200 800S333 770 400 800S533 830 600 800S733 770 800 800V1600H0Z'/%3E%3C/svg%3E") 0 0 / 200% 200% no-repeat; transition: -webkit-mask-position 1.3s var(--out), mask-position 1.3s var(--out); }
.sg-vs__after p { color: #12304d; }
.sg-vs__card.is-avec .sg-vs__after { -webkit-mask-position: 100% 100%; mask-position: 100% 100%; }
.sg-vs__after::after { content: ""; position: absolute; z-index: -1; right: -16%; bottom: -30%; width: 66%; aspect-ratio: 398 / 255; background: var(--brand-l); rotate: -12deg; -webkit-mask: url(logo/bzaf-mark.svg) center / contain no-repeat; mask: url(logo/bzaf-mark.svg) center / contain no-repeat; }
.sg-vs__tog { position: absolute; z-index: 2; left: 18px; bottom: 18px; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 2px rgba(8, 19, 31, .06), 0 0 0 1px rgba(8, 19, 31, .06); }
.sg-vs__tog button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 13px/1 var(--display); cursor: pointer; transition: background-color .3s, color .3s; }
.sg-vs__tog button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.sg-vs__tog button:focus-visible { outline: 3px solid var(--deep); outline-offset: 1px; }
@media (max-width: 960px) { .sg-vs { grid-template-columns: minmax(0, 1fr); } .sg-vs__card { min-height: 0; } }

/* The planning board (riads, appartements): units × days, bookings slide in, a new one arrives */
.sg-board { position: relative; overflow: hidden; border-radius: 26px; background: var(--white); box-shadow: var(--drop-lg); color: var(--ink); }
.sg-board__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; border-bottom: 1px solid var(--edge); }
.sg-board__dots { display: inline-flex; gap: 6px; }
.sg-board__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e9f2; }
.sg-board__bar b { font: 700 15px/1 var(--display); }
.sg-board__legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-left: auto; font: 600 12.5px/1 var(--display); color: var(--muted); }
.sg-board__legend span { display: inline-flex; align-items: center; gap: 6px; }
.sg-board__legend span::before { content: ""; width: 10px; height: 10px; border-radius: 4px; background: var(--c); }
/* room at the bottom for the toast, so it never covers a booking */
.sg-board__body { --days: 10; --unit: 128px; padding: 6px 12px 76px; }
.sg-board__row { display: grid; grid-template-columns: var(--unit) minmax(0, 1fr); align-items: center; min-height: 52px; border-bottom: 1px dashed rgba(8, 19, 31, .08); }
.sg-board__row:last-child { border-bottom: 0; }
.sg-board__head { min-height: 38px; }
.sg-board__unit { display: flex; align-items: center; gap: 9px; padding-right: 10px; font: 700 14px/1.15 var(--display); min-width: 0; }
.sg-board__unit small { display: block; font: 500 11.5px/1.2 var(--display); color: var(--muted); }
.sg-board__unit .vg-th { width: 32px; height: 32px; border-radius: 10px; }
.sg-board__unit .vg-th .i { width: 16px; height: 16px; }
/* days past --days (6 on phones) fall into zero-width columns: their bookings are simply cut */
.sg-board__track { position: relative; display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); grid-auto-columns: 0; align-items: center; height: 100%; overflow: hidden; }
.sg-board__days { font: 700 11.5px/1.1 var(--display); color: var(--muted); text-align: center; }
.sg-board__days span { display: block; padding: 6px 0; }
.sg-board__days span em { display: block; font-style: normal; font-size: 15px; color: var(--ink); }
.sg-board__days span.is-today em { color: var(--deep); }
.sg-board__today { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--deep); opacity: .35; pointer-events: none; }
.sg-bk { position: relative; grid-column: var(--s) / span var(--n); grid-row: 1; display: flex; align-items: center; gap: 7px; min-width: 0; height: 34px; margin: 0 2px; padding: 0 10px 0 6px; border-radius: 11px; background: var(--c); color: var(--t, var(--white)); font: 700 12.5px/1 var(--display); font-style: normal; white-space: nowrap; overflow: hidden; transform-origin: left center; }
.sg-bk .bz-mk { width: 22px; height: 22px; font-size: 9.5px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7); }
.sg-bk .bz-mk .b { width: 12px; height: 12px; }
.sg-bk .bz-mk--expedia .b { width: 100%; height: 100%; }
.sg-bk span { overflow: hidden; text-overflow: ellipsis; }
.sg-bk--booking { --c: #1e4d9b; }
.sg-bk--airbnb { --c: #ff5a5f; }
.sg-bk--expedia { --c: #ffd84d; --t: var(--ink); }
.sg-bk--site { --c: var(--brand); --t: var(--ink); }
.sg-bk--closed { --c: repeating-linear-gradient(-45deg, #eef3f9 0 6px, #e2eaf3 6px 12px); --t: var(--muted); font-weight: 600; }
.sg-board.is-pre .sg-bk { scale: 0 1; opacity: 0; }
.sg-board .sg-bk { transition: scale .7s var(--out) var(--d, 0s), opacity .3s var(--d, 0s), box-shadow .4s; }
.sg-bk.is-new { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--c); }
.sg-board__toast { position: absolute; z-index: 3; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--ink); color: var(--white); box-shadow: var(--drop-lg); opacity: 0; translate: 0 14px; transition: opacity .35s, translate .6s var(--out); pointer-events: none; }
.sg-board__toast.is-on { opacity: 1; translate: 0 0; }
.sg-board__toast .bz-mk { width: 30px; height: 30px; flex: none; }
.sg-board__toast b { display: block; font: 700 13.5px/1.15 var(--display); }
.sg-board__toast small { display: block; font: 500 12px/1.25 var(--display); opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-board__toast > span:last-child { min-width: 0; }
@media (max-width: 700px) {
  .sg-board__body { --days: 6; --unit: 92px; padding: 4px 8px 84px; }
  .sg-board__unit { font-size: 12.5px; gap: 7px; }
  .sg-board__unit .vg-th { display: none; }
  .sg-bk { height: 30px; font-size: 11.5px; padding: 0 8px 0 5px; }
  .sg-board__legend { margin-left: 0; width: 100%; }
  .sg-board__days span:nth-child(n+7) { display: none; }
  .sg-board__toast { left: 12px; right: 12px; bottom: 12px; border-radius: 18px; }
}

/* The formula that fits (link to /tarifs/) */
.sg-plan { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px 56px; align-items: center; padding: clamp(28px, 4.4vw, 56px); border-radius: var(--r-panel); background: var(--brand); color: var(--ink); overflow: hidden; isolation: isolate; }
.sg-plan__name { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .55); font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.sg-plan__name::before { content: ""; width: 24px; height: 15px; background: var(--ink); -webkit-mask: url(logo/bzaf-mark.svg) center / contain no-repeat; mask: url(logo/bzaf-mark.svg) center / contain no-repeat; }
.sg-plan h2 { margin-top: 18px; font: 700 clamp(30px, 3.6vw, 52px)/1.02 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.sg-plan__price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; font: 700 clamp(46px, 5vw, 72px)/1 var(--display); letter-spacing: -.04em; }
.sg-plan__price small { font: 700 16px/1.2 var(--display); letter-spacing: 0; color: #1d3550; }
.sg-plan > div > p:not(.sg-plan__price) { margin-top: 10px; max-width: 460px; font-size: 16px; line-height: 1.55; color: #1d3550; }
.sg-plan ul { display: grid; gap: 10px; }
.sg-plan li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .62); font: 700 15.5px/1.3 var(--display); }
.sg-plan .pg-actions { margin-top: 24px; }
@media (max-width: 860px) { .sg-plan { grid-template-columns: minmax(0, 1fr); } }

/* Other audiences (photo cards whose wave flows on hover) */
.sg-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 3.4vw, 44px); }
.sg-more a { display: flex; flex-direction: column; padding: 10px 10px 20px; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(8, 19, 31, .04), 0 0 0 1px rgba(8, 19, 31, .05); transition: translate .5s var(--out), box-shadow .4s var(--out); }
.sg-more .pg-wimg { aspect-ratio: 16 / 10; border-radius: 20px; }
.sg-more b { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 10px 0; font: 700 21px/1.2 var(--display); letter-spacing: -.02em; }
.sg-more b i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); transition: background-color .3s; }
.sg-more b .i { width: 16px; height: 16px; stroke-width: 2.4; transition: rotate .5s var(--out); }
.sg-more span { margin: 6px 10px 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.sg-more a:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .sg-more a:hover { translate: 0 -6px; box-shadow: 0 24px 50px rgba(8, 19, 31, .1), 0 0 0 1px rgba(8, 19, 31, .04); }
  .sg-more a:hover b i { background: var(--deep); }
  .sg-more a:hover b .i { rotate: -45deg; }
}
@media (max-width: 860px) { .sg-more { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .pg-reveal { opacity: 1; translate: none; transition: none; }
  .pg-bflip__l, .pg-bflip__logo { transition: none; }
  .pg-wimg, .pg-wimg img, .sg-vs__after, .sg-board .sg-bk, .pg-tile { transition: none; }
}

/* 11/11/2026 : envoi des formulaires, page de demande d'accès */
.pg-send-err { margin: 18px 0 0; padding: 12px 16px; border-radius: 16px; background: #fdecec; color: #a02327; font: 600 15px/1.45 var(--display); }
.da-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: da; }
.da-steps li { position: relative; padding-left: 52px; counter-increment: da; }
.da-steps li::before { content: counter(da); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--ink); font: 700 15px/1 var(--display); box-shadow: var(--drop); }
.da-steps b { display: block; font: 700 17px/1.3 var(--display); }
.da-steps span { display: block; margin-top: 3px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.da-note { margin-top: 26px; padding: 16px 18px; border-radius: 18px; background: var(--white); box-shadow: var(--drop); font-size: 15px; line-height: 1.5; color: var(--muted); }
.da-note b { color: var(--ink); }
/* blog : carte typographique (article sans visuel honnête) — catégorie et titre sur le fond de la catégorie, pas de zone d'image vide */
.pg-card__typo { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; aspect-ratio: 4 / 3; padding: clamp(18px, 2vw, 26px); border-radius: 20px; background: var(--fond, var(--sky)); }
.pg-card__cat { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .72); font: 700 13px/1 var(--display); color: var(--ink); }
.pg-card__cat .i { width: 15px; height: 15px; }
.pg-card--typo .pg-card__typo h3 { margin: 0; font: 700 clamp(24px, 2.2vw, 32px)/1.08 var(--display); letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.pg-card--typo > p { margin-top: 16px; }
.pg-cover--app { background: var(--sky); }

/* bz-cta 2026-11-13 */
.pg-cta { position: relative; overflow: hidden; margin-top: 48px; padding: clamp(24px, 4vw, 36px); border-radius: 28px; background: var(--ink); color: var(--white); box-shadow: 0 6px 0 var(--sun); }
.pg-cta::after { content: ""; position: absolute; inset-inline-end: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sun) 30%, transparent), transparent 70%); pointer-events: none; }
.pg-cta > * { position: relative; z-index: 1; }
.pg-cta__k { display: inline-block; padding: 7px 12px; border-radius: 99px; background: color-mix(in srgb, var(--sun) 16%, transparent); color: var(--sun); font: 700 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.pg-cta__t { display: block; margin-top: 14px; font: 700 clamp(26px, 3vw, 34px)/1.08 var(--display); letter-spacing: -.03em; color: var(--white); }
.pg-prose .pg-cta__p { margin-top: 10px; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.pg-prose .pg-cta__p b { color: var(--white); }
.pg-cta__l { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 15.5px; line-height: 1.4; }
.pg-cta__l li { position: relative; padding-inline-start: 30px; }
.pg-cta__l li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230b3558' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pg-cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
.pg-cta__n { font-size: 14px; color: rgba(255, 255, 255, .65); }
.pg-cta--top { display: none; }
@media (max-width: 1023px) {
  .pg-cta--top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; padding: 20px 22px; border-radius: 22px; }
  .pg-cta--top::after { width: 160px; height: 160px; }
  .pg-prose .pg-cta--top .pg-cta__p { flex: 1 1 240px; margin: 0; font-size: 16px; }
}
@media (max-width: 620px) {
  .pg-cta__l { grid-template-columns: 1fr; }
  .pg-cta__row .bz-btn, .pg-cta--top .bz-btn { width: 100%; justify-content: center; }
}
