/* ==========================================================================
   Béton Prestige : page d'accueil (maquette v0.2, 2026-10-08)
   Styles propres à la page, sur le DS v0.2. Jetons --bp-* du DS seulement.
   Les composants ajoutés en v0.1 (menu mobile, skip link, étapes du formulaire,
   champ photos, confirmation, barre collante masquée…) sont maintenant dans
   css/components.css (DS v0.2). Reste ici : ajustements propres à la page et .bp-flag.
   ========================================================================== */

/* Textes : Inter auto-hébergée. Titres : Proxima Nova Bold (Typekit, index.html). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Inter-normal-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Inter-italic-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bp-font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bp-font-display: 'proxima-nova', sans-serif;
  --bp-lh-body: 1.2;
  --bp-container: 1360px;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
main:focus { outline: none; }
.bp-page p { margin: 0 0 var(--bp-space-4); }
.bp-page p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }

/* ---------- Ajustements propres à la page ---------- */

/* H1 : 40 px en mobile, comme demandé (le clamp du DS donne 41 px à 390). */
@media (max-width: 767px) { .bp-h1 { font-size: 2.5rem; } }
.bp-h1, .bp-h2, .bp-h3 { font-weight: 700; }
#titre-heros { font-weight: 400; }
#titre-heros span { font-weight: 700; }

/* En-tête : lien du logo à 48 px de haut (cible tactile) */
.bp-header__logo { display: inline-flex; align-items: center; min-height: var(--bp-tap); flex: none; }
.bp-nav a,
.bp-btn { font-family: 'proxima-nova', sans-serif; }
.bp-btn { font-weight: 600; text-transform: uppercase; }
.bp-nav a { font-weight: 700; font-size: 18px; text-transform: uppercase; }
.bp-header .bp-btn { font-size: 18px; }
@media (min-width: 1025px) {
  .bp-header__inner { justify-content: flex-start; }
  .bp-header__actions { margin-left: auto; }
}
/* Entre 1025 et 1199 px, le menu + le téléphone + le bouton ne tiennent pas : le téléphone reste dans le héros. */
@media (min-width: 1025px) and (max-width: 1199px) { .bp-header__tel { display: none; } .bp-nav { gap: var(--bp-space-4); } }
@media (max-width: 1024px) {
  .bp-header__actions { gap: var(--bp-space-2); }
  .bp-nav.is-open a { font-size: 18px; }
}

/* Héros : 100vh moins le menu (72px) et son filet (1px), pour que le bas du visuel arrive au bas de l'écran. */
.bp-hero { min-height: calc(100vh - 4.5rem - 1px); }
.bp-hero .bp-lead { opacity: 1; color: var(--bp-blanc); }
.bp-hero__media img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.bp-hero__media img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bp-hero__media img { transition: none; } }
@media (max-width: 767px) {
  .bp-hero__content { padding-block: var(--bp-space-8) var(--bp-space-6); }
  .bp-hero .bp-lead { margin-bottom: var(--bp-space-5); }
  .bp-hero .bp-ph { padding-top: var(--bp-space-4); }
}
.bp-hero__actions .bp-btn { flex: 1 1 auto; }
@media (min-width: 560px) { .bp-hero__actions .bp-btn { flex: 0 0 auto; } }

.bp-section--compact { padding-block: var(--bp-space-8); }
.bp-logos-wrap .bp-logos { margin-top: 0; padding-top: 0; border-top: 0; gap: var(--bp-space-5) var(--bp-space-7); }
.bp-logos-wrap .bp-logos img { width: 132px; height: 64px; object-fit: contain; }

/* Aiguillage : titre à gauche, texte à droite. Deux cartes, donc deux colonnes. */
#projets .bp-section-head { max-width: none; }
#projets .bp-section-head .bp-h2,
#projets .bp-section-head p { margin: 0; }
@media (max-width: 899px) {
  #projets .bp-section-head .bp-h2 { margin-bottom: var(--bp-space-4); }
}
@media (min-width: 900px) {
  #projets .bp-section-head { display: grid; grid-template-columns: minmax(28rem, 1.45fr) minmax(0, 1fr); align-items: center; column-gap: var(--bp-space-8); }
}
.bp-path .bp-h4 { margin: 0; text-transform: uppercase; font-family: var(--bp-font-display); font-weight: 700; }
#projets .bp-path__media { position: relative; }
#projets .bp-path__media > * { position: absolute; inset: 0; }
#projets .bp-path__media > img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Différence */
.bp-quote { margin-block: var(--bp-space-6); }
.bp-quote p { margin: 0; }
.bp-quote cite { color: var(--bp-accent-on-dark); }
.bp-difference__cta { margin-top: var(--bp-space-6); }
#difference .bp-split__media { position: relative; }
#titre-difference span { color: var(--bp-accent-on-dark); }
@media (min-width: 1025px) {
  #difference .bp-split__media { aspect-ratio: 10 / 11; }
}
#difference .bp-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp-section--profond .bp-lead { opacity: 1; color: var(--bp-text-inverse); }
@media (max-width: 1024px) { .bp-split__media { aspect-ratio: 16 / 10; } .bp-split__media .bp-ph { --bp-ratio: 16 / 10 !important; } }

/* Réalisations */
#realisations .bp-section-head { max-width: 58rem; }
#titre-realisations span { font-weight: 400; }
.bp-realisations__filtre { display: none; }
@media (max-width: 639px) {
  #realisations .bp-filters { display: none; }
  .bp-realisations__filtre { display: block; margin-bottom: var(--bp-space-6); }
  .bp-realisations__filtre .bp-select {
    appearance: none;
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23141414' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
  }
}
.bp-project > img { transition: transform .55s ease; }
.bp-project:hover > img,
.bp-project:focus-within > img { transform: scale(1.08); }
.bp-project__titre { font: 600 20px/1.2 var(--bp-font-sans); }
.bp-project__details { display: grid; gap: 2px; max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .4s ease, margin-top .4s ease; }
.bp-project__details span { font-size: var(--bp-fs-xs); text-transform: uppercase; letter-spacing: var(--bp-tracking-label); color: var(--bp-bronze-300); }
.bp-project:hover .bp-project__details,
.bp-project:focus-within .bp-project__details { max-height: 12rem; margin-top: .35rem; opacity: 1; }
@media (hover: none) {
  .bp-project__details { max-height: none; margin-top: .35rem; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-project > img,
  .bp-project__details { transition: none; }
}
.bp-project .bp-ph { place-items: start center; padding-top: var(--bp-space-6); }
.bp-page .bp-realisations__more { margin-top: var(--bp-space-8); text-align: center; }
.bp-project__open { position: absolute; inset: 0; z-index: 1; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.bp-project__open:focus-visible { outline: 3px solid var(--bp-focus-on-dark); outline-offset: -6px; }
.bp-zoom { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #141414; color: var(--bp-blanc); }
.bp-zoom::backdrop { background: rgb(20 20 20 / .55); }
.bp-zoom__stage { height: 100%; overflow: auto; display: grid; place-items: center; padding-bottom: 9rem; box-sizing: border-box; }
.bp-zoom__img { width: auto; height: auto; max-width: min(92vw, 1400px); max-height: calc(100vh - 11rem); object-fit: contain; }
.bp-zoom__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: var(--bp-space-4); padding: 2.75rem 1.5rem 1.25rem; background: linear-gradient(transparent, rgb(20 20 20 / .88)); pointer-events: none; }
.bp-zoom__caption { margin: 0; text-align: center; pointer-events: none; }
.bp-zoom__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--bp-space-3); pointer-events: auto; }
.bp-zoom__tools { position: absolute; top: 1rem; right: 1rem; display: flex; gap: .5rem; }
.bp-zoom__tools button, .bp-zoom__nav { min-width: 48px; min-height: 48px; border: 1px solid var(--bp-blanc); background: rgb(20 20 20 / .45); color: var(--bp-blanc); font: 600 1.35rem/1 var(--bp-font-sans); cursor: pointer; }
.bp-zoom__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.bp-zoom__nav--prev { left: 1rem; }
.bp-zoom__nav--next { right: 1rem; }
@media (max-width: 639px) {
  #realisations .bp-gallery--scroll {
    display: flex;
    gap: 0;
    margin-inline: 0;
    padding: 0;
    overflow-x: auto;
    overflow-anchor: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  #realisations .bp-gallery--scroll::-webkit-scrollbar { display: none; }
  #realisations .bp-gallery--scroll > .bp-project {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .bp-realisations__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--bp-space-4);
  }
  .bp-realisations__dots { display: flex; align-items: center; justify-content: center; gap: .7rem; }
  .bp-realisations__dot {
    width: .45rem;
    height: .45rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(20 20 20 / .28);
    cursor: pointer;
  }
  .bp-realisations__dot[aria-current="true"] { background: var(--bp-noir); transform: scale(1.4); }
  .bp-realisations__dot:focus-visible { outline: 3px solid var(--bp-focus); outline-offset: 4px; }
  .bp-realisations__arrow {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid var(--bp-border);
    border-radius: 999px;
    background: var(--bp-blanc);
    color: var(--bp-noir);
    cursor: pointer;
  }
  .bp-realisations__arrow svg { width: 1.25rem; height: 1.25rem; }
  .bp-realisations__arrow:disabled { opacity: .35; cursor: default; }
  .bp-realisations__arrow:focus-visible { outline: 3px solid var(--bp-focus); outline-offset: 3px; }
}
@media (max-width: 639px) and (prefers-reduced-motion: reduce) {
  #realisations .bp-gallery--scroll { scroll-behavior: auto; }
}
.bp-realisations__nav[hidden] { display: none; }

/* Étapes : grands numéros bronze sur fond noir, sans filet ni cartes blanches. */
#etapes .bp-section-head { max-width: 46rem; margin-inline: auto; margin-bottom: var(--bp-space-8); text-align: center; }
#etapes .bp-steps {
  grid-template-columns: 1fr;
  gap: var(--bp-space-8) var(--bp-space-6);
}
#etapes .bp-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--bp-space-3);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
#etapes .bp-step::before {
  content: counter(bp-step, decimal-leading-zero);
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
  color: var(--bp-accent);
  font: 700 clamp(4.25rem, 3rem + 4vw, 6.5rem)/0.8 var(--bp-font-display);
  letter-spacing: -0.04em;
}
#etapes .bp-step::after { content: none; }
#etapes .bp-step .bp-h4 {
  margin: 0;
  color: var(--bp-blanc);
  font-family: var(--bp-font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.75rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
}
#etapes .bp-step p {
  margin: 0;
  max-width: 28rem;
  color: var(--bp-blanc);
}
@media (min-width: 700px) {
  #etapes .bp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1025px) {
  #etapes .bp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Témoignages : les guillemets font partie de la citation (texte mot pour mot), on retire le « décoratif du DS pour éviter le doublon */
#temoignages .bp-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--bp-space-5); max-width: none; }
#temoignages .bp-h2 { margin: 0; max-width: none; flex: 1 1 100%; width: 100%; }
#titre-temoignages span { font-weight: 400; }
#temoignages .bp-google-link { flex: none; }
@media (min-width: 768px) {
  #temoignages .bp-h2 { flex: 1 1 0; width: auto; min-width: 0; }
}
.bp-google-link { display: inline-flex; align-items: center; gap: var(--bp-space-3); min-height: var(--bp-tap); padding: .45rem 1.1rem .45rem .55rem; background: var(--bp-blanc); border: 1px solid var(--bp-border); color: var(--bp-text); text-decoration: none; font-weight: 700; line-height: 1.15; }
.bp-google-link small { display: block; margin-top: 2px; font-weight: 500; font-size: var(--bp-fs-xs); color: var(--bp-text-muted); }
.bp-google-link svg, .bp-google svg { width: 28px; height: 28px; flex: none; }
.bp-google-link:hover { border-color: var(--bp-accent); }
.bp-testimonial blockquote::before { content: none; }
#temoignages .bp-testimonial { border-top: 0; gap: var(--bp-space-5); padding: var(--bp-space-6); }
.bp-google { display: flex; align-items: center; gap: .6rem; width: 100%; margin: 0; font: 600 var(--bp-fs-xs)/1 var(--bp-font-sans); letter-spacing: var(--bp-tracking-label); text-transform: uppercase; color: var(--bp-text-muted); }
.bp-google svg { width: 22px; height: 22px; }
.bp-stars { margin-left: auto; color: #fbbc04; letter-spacing: 0.08em; font-size: 1rem; line-height: 1; text-transform: none; }
#temoignages .bp-testimonial blockquote p { margin: 0; font-size: var(--bp-fs-lg); }
#temoignages .bp-testimonial figcaption { margin-top: auto; padding-top: var(--bp-space-4); border-top: 1px solid var(--bp-border); }
#temoignages .bp-testimonial figcaption strong { font-family: var(--bp-font-display); font-weight: 700; letter-spacing: 0.01em; }

/* Ressources : article vedette */
#regions .bp-section-head { max-width: 52rem; }
#titre-regions { font-weight: 400; }
#titre-regions span { font-weight: 700; }
#regions .bp-articles { display: grid; gap: var(--bp-space-5); }
#regions .bp-article { color: var(--bp-blanc); text-decoration: none; }
#regions .bp-article time {
  font: 600 var(--bp-fs-xs)/1 var(--bp-font-sans); letter-spacing: var(--bp-tracking-label);
  text-transform: uppercase; color: var(--bp-accent-on-dark);
}
#regions .bp-article__cta { font-weight: 600; color: var(--bp-blanc); }
#regions .bp-article__cta::after { content: " →"; }
#regions .bp-article__media { position: relative; overflow: hidden; }
#regions .bp-article__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
  transition: transform .6s var(--bp-ease);
}
#regions .bp-article:hover .bp-article__media img { transform: scale(1.06); }

#regions .bp-article--vedette { display: grid; background: var(--bp-graphite); overflow: hidden; }
#regions .bp-article--vedette .bp-article__media { min-height: 22rem; }
#regions .bp-article--vedette .bp-article__body {
  display: flex; flex-direction: column; justify-content: center; gap: var(--bp-space-4);
  padding: var(--bp-space-5) var(--bp-space-4);
}
#regions .bp-article--vedette .bp-h3 {
  margin: 0; color: var(--bp-blanc); font-weight: 700; text-transform: none; letter-spacing: 0;
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.1;
}
#regions .bp-article--vedette p { margin: 0; max-width: 36rem; color: var(--bp-text-inverse-muted); }
@media (min-width: 900px) {
  #regions .bp-article--vedette { grid-template-columns: 1.45fr .9fr; min-height: 30rem; }
  #regions .bp-article--vedette .bp-article__media { min-height: 100%; }
}

#regions .bp-carousel__viewport .bp-article { display: none; }
#regions .bp-carousel:has(.bp-carousel__dots label:nth-child(1) input:checked) .bp-article:nth-child(1),
#regions .bp-carousel:has(.bp-carousel__dots label:nth-child(2) input:checked) .bp-article:nth-child(2),
#regions .bp-carousel:has(.bp-carousel__dots label:nth-child(3) input:checked) .bp-article:nth-child(3),
#regions .bp-carousel:has(.bp-carousel__dots label:nth-child(4) input:checked) .bp-article:nth-child(4),
#regions .bp-carousel:has(.bp-carousel__dots label:nth-child(5) input:checked) .bp-article:nth-child(5) { display: grid; }

#regions .bp-carousel__dots { display: flex; justify-content: center; gap: var(--bp-space-2); margin-top: var(--bp-space-5); }
#regions .bp-carousel__dots label { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: 0; cursor: pointer; }
#regions .bp-carousel__dots input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
#regions .bp-carousel__dots label::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: rgb(255 255 255 / .35);
}
#regions .bp-carousel:has(.bp-carousel__dots label:nth-child(1) input:checked) .bp-carousel__dots label:nth-child(1)::before,
#regions .bp-carousel:has(.bp-carousel__dots label:nth-child(2) input:checked) .bp-carousel__dots label:nth-child(2)::before,
#regions .bp-carousel:has(.bp-carousel__dots label:nth-child(3) input:checked) .bp-carousel__dots label:nth-child(3)::before,
#regions .bp-carousel:has(.bp-carousel__dots label:nth-child(4) input:checked) .bp-carousel__dots label:nth-child(4)::before,
#regions .bp-carousel:has(.bp-carousel__dots label:nth-child(5) input:checked) .bp-carousel__dots label:nth-child(5)::before {
  background: var(--bp-blanc); transform: scale(1.35);
}
#regions .bp-carousel__dots label:has(input:focus-visible)::before { outline: 3px solid var(--bp-focus-on-dark); outline-offset: 6px; }

@media (prefers-reduced-motion: reduce) {
  #regions .bp-article__media img { transition: none; }
}

/* FAQ */
.bp-faq summary:focus-visible { outline-offset: 2px; }
.bp-faq__answer a { font-weight: 600; }

/* Formulaire : photo de plancher poli en fond, voile sombre pour garder le texte lisible. */
#soumission {
  background-color: var(--bp-noir);
  background-image: linear-gradient(rgb(20 20 20 / .62), rgb(20 20 20 / .78)), url("../img/hero/b3.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#soumission .bp-lead { opacity: 1; color: var(--bp-blanc); }
#soumission address { font-style: normal; margin: var(--bp-space-2) 0 0; color: var(--bp-text-inverse); }
#soumission a[href^="mailto:"] { color: var(--bp-blanc); font-weight: 600; }
.bp-section--inverse .bp-lead { opacity: 1; color: var(--bp-text-inverse-muted); }
.bp-form a { color: var(--bp-accent-text); }
.bp-choice .bp-error { grid-column: 1 / -1; margin: 0; }
.bp-choice.is-invalid .bp-tile span { border-color: var(--bp-erreur); }
.bp-tile span { line-height: 1.3; }
.bp-form .bp-field .bp-error, .bp-form .bp-field .bp-hint { margin: 0; }
.bp-field-row { display: grid; gap: var(--bp-space-4); margin-bottom: var(--bp-space-5); }
.bp-field-row .bp-field { margin-bottom: 0; }
.bp-field-row .bp-label { min-height: 2.4em; }
@media (min-width: 560px) {
  .bp-field-row { grid-template-columns: 1fr 1fr; align-items: start; }
  .bp-field-row--ville { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }
}
.bp-input-unit { display: flex; align-items: stretch; }
.bp-input-unit .bp-input { flex: 1 1 auto; min-width: 0; border-start-end-radius: 0; border-end-end-radius: 0; }
.bp-input-unit .bp-input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.bp-input-unit .bp-input::-webkit-outer-spin-button,
.bp-input-unit .bp-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bp-input-unit .bp-select {
  width: auto; flex: 0 0 auto; margin-inline-start: -1px;
  border-start-start-radius: 0; border-end-start-radius: 0;
  padding-inline: .85rem 1.85rem; font-weight: 600; cursor: pointer;
  background-color: var(--bp-gris-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23141414' d='M1 1.2 6 6.2 11 1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .55rem center; appearance: none;
}
.bp-form-steps { counter-reset: none; }

/* FAQ */
#faq .bp-eyebrow {
  font-family: var(--bp-font-display);
  font-weight: 700;
  font-size: var(--bp-fs-h4);
  letter-spacing: var(--bp-tracking-display);
  color: var(--bp-accent-text);
}
#faq .bp-eyebrow::before { content: none; }

/* Pied de page */
@media (min-width: 768px) { .bp-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.bp-footer p { margin: 0 0 var(--bp-space-3); }
.bp-footer__tel { display: inline-flex; align-items: center; min-height: var(--bp-tap) !important; }
.bp-footer__address { font-style: normal; margin: var(--bp-space-3) 0; }
.bp-footer__social { display: flex; gap: var(--bp-space-3); margin-top: var(--bp-space-4); }
.bp-footer__social a {
  width: 2.75rem; height: 2.75rem; min-height: 2.75rem; justify-content: center;
  color: var(--bp-blanc); border: 1px solid rgb(255 255 255 / .28);
}
.bp-footer__social a:hover { background: rgb(255 255 255 / .1); }
.bp-footer__social svg { width: 1.35rem; height: 1.35rem; display: block; flex: none; }
.bp-footer__assocs,
.bp-footer__certs { display: flex; flex-direction: column; align-items: flex-start; gap: var(--bp-space-4); }
.bp-footer__assoc,
.bp-footer__cert { display: block; width: auto; max-width: 100%; height: auto; }
.bp-footer__assoc { width: 8rem; filter: brightness(0) invert(1); }
.bp-footer__assoc--apchq { width: 11rem; filter: none; }
.bp-footer__assoc--jcd { width: 14rem; filter: none; }
.bp-footer__assoc--ccid { width: 11rem; filter: none; }
.bp-footer__cert--htc { width: 13rem; }
.bp-footer__cert--acq { width: 9rem; }
#g-type .bp-error { grid-column: 1 / -1; }
.bp-footer__legal { display: inline-flex; flex-wrap: wrap; gap: 0 var(--bp-space-5); }
@media (max-width: 1024px) {
  /* La barre collante couvre le bas : on réserve sa hauteur dans le pied de page plutôt que sur body (évite une bande blanche). */
  .bp-page--has-sticky { padding-bottom: 0; }
  .bp-footer { padding-bottom: calc(var(--bp-space-6) + 72px); }
  /* Liens dans une phrase : zone tactile agrandie sans changer l'interligne (le padding d'un élément inline ne pousse pas les lignes). */
  .bp-faq__answer a, .bp-form__legal a, .bp-form-status a { padding-block: 1rem; }
}

/* ---------- Page d'avis (avis.html) ---------- */
.bp-avis__col { max-width: 40rem; }
.bp-avis .bp-h2 { margin-bottom: var(--bp-space-3); }
.bp-avis__intro { margin: 0 0 var(--bp-space-6); max-width: 36rem; }
.bp-avis__note { border: 0; margin: 0 0 var(--bp-space-6); padding: 0; }
.bp-avis__note legend { font-weight: 600; font-size: var(--bp-fs-sm); margin-bottom: var(--bp-space-3); padding: 0; }
.bp-etoiles { display: flex; flex-wrap: wrap; gap: var(--bp-space-2); }
.bp-etoile { position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin: 0; cursor: pointer; }
.bp-etoile input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.bp-etoile__glyph { color: var(--bp-border); font-size: 2.5rem; line-height: 1; }
.bp-etoile.is-on .bp-etoile__glyph { color: #fbbc04; }
.bp-etoile input:focus-visible + .bp-etoile__glyph { outline: 3px solid var(--bp-focus); outline-offset: 4px; }
.bp-avis__suite .bp-textarea { min-height: 8rem; resize: vertical; }
.bp-avis__statut { margin-top: 0; }

/* ---------- Notes de validation (maquette seulement, à retirer avant mise en ligne) ---------- */
/* Note de validation visible (« seulement si… ») */
.bp-flag { display: inline-block; margin: 0; padding: 2px 6px; border: 1px dashed var(--bp-border-strong); border-radius: var(--bp-radius-sm);
  font: 600 var(--bp-fs-xs)/1.4 var(--bp-font-sans); color: var(--bp-text-muted) !important; text-transform: uppercase; letter-spacing: .04em; }
.bp-flag--dark { margin-top: var(--bp-space-3); border-color: var(--bp-gris-300); color: var(--bp-gris-300) !important; }
.bp-hint--tile { margin: calc(-1 * var(--bp-space-3)) 0 var(--bp-space-5) !important; display: block; }
