/* Accueil Maison Bringel : déclinaison NOIR / ROUGE.
   S'applique uniquement aux descendants de .bb-home, à l'intérieur du
   conteneur ouvert par header.php / pheader(). AUCUN sélecteur body,
   header, nav, article ou footer : la charte extérieure reste intacte.
   Remplace uniquement /fr/css/accueil-modernise.css. */

.bb-home {
  --bb-red: #e11113;
  --bb-red-hover: #ff3436;
  --bb-text: #f1f1f1;
  --bb-muted: #c3c3c3;
  --bb-dim: #a4a4a4;
  --bb-panel: #161616;
  --bb-panel-lighter: #202020;
  --bb-line: #3a3a3a;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 0 52px;
  background: transparent;
  color: var(--bb-text);
  font: normal 15px/1.6 Arial, Helvetica, sans-serif;
}
.bb-home *, .bb-home *::before, .bb-home *::after { box-sizing: border-box; }
.bb-home :where(h2,h3,p,figure) { margin: 0; }
.bb-home :where(h2,h3) { color: var(--bb-text); text-align: left; text-shadow: none; text-transform: none; }
.bb-home a { text-decoration: none; }
.bb-home a:focus-visible { outline: 2px solid #ff4648; outline-offset: 4px; }
.bb-home img { display: block; max-width: 100%; }
.bb-home .bb-home__eyebrow {
  margin: 0; color: #ff5556; text-transform: uppercase;
  font: 700 11px/1.4 Arial, sans-serif; letter-spacing: .16em;
}

/* Zone de mise en avant : aucun fond clair ou pleine largeur sur body. */
.bb-home .bb-home__spotlight { margin-top: 12px; }
.bb-home #home-main { overflow: hidden; border: 1px solid #333; background: #101010; }
.bb-home #home-main .splide__list { list-style: none; margin: 0; padding: 0; }
.bb-home #home-main .splide__slide { list-style: none; }
.bb-home #home-main .splide__slide a { display: block; }
.bb-home #home-main .splide__slide img {
  display: block; width: 100%; height: auto; max-height: 390px;
  object-fit: contain; background: #101010;
}
.bb-home #home-main .splide__arrow { background: #242424; color: #fff; opacity: .92; }
.bb-home #home-main .splide__arrow svg { fill: #fff; }
.bb-home #home-main .splide__pagination__page { background: #777; }
.bb-home #home-main .splide__pagination__page.is-active { background: var(--bb-red); }

/* Entrées UX historiques : 4 liens, 2 groupes, mêmes cibles.
   V2 : direction artistique plus éditoriale, inspirée de l'esprit de mariage.php. */
.bb-home .bb-home__univers { padding: clamp(35px,5vw,56px) 0 clamp(44px,5vw,64px); }
.bb-home .bb-home__section-heading { margin: 0 0 24px; }
.bb-home .bb-home__section-heading h2 {
  color: var(--bb-text);
  font: 700 clamp(24px,3.4vw,36px)/1.18 Georgia, 'Times New Roman', serif;
  letter-spacing: -.012em; margin: 7px 0 10px;
}
.bb-home .bb-home__section-heading > p:last-child { color: var(--bb-muted); font-size: 14px; }
.bb-home .grid-home.bb-home__cards {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px; margin: 0;
}
.bb-home div.grid-item.bb-home__card-group {
  display: grid; grid-template-columns: minmax(0,1fr);
  gap: 18px; min-width: 0;
}
.bb-home div.grid-item.bb-home__card-group > a.bb-home__card {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr);
  grid-template-rows: minmax(0, 1fr); min-height: 0; height: 300px;
  color: var(--bb-text); line-height: 1.4; font-style: normal;
  overflow: hidden; min-width: 0; border: 1px solid #2d2d2d;
  border-radius: 2px; padding: 0; background: #111;
  opacity: 1; isolation: isolate;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.bb-home div.grid-item.bb-home__card-group > a.bb-home__card:hover {
  opacity: 1; border-color: #6a1b1c; transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0,0,0,.34);
}
.bb-home .bb-home__card-media,
.bb-home .bb-home__card-content { grid-column: 1; grid-row: 1; }
.bb-home .bb-home__card-media {
  position: relative; display: block; overflow: hidden;
  background: #242424;
}
.bb-home .bb-home__card-media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.12) 28%, rgba(0,0,0,.72) 100%);
}
.bb-home .bb-home__card-media::after {
  content: ''; position: absolute; inset: 14px; pointer-events: none; z-index: 1;
  border: 1px solid rgba(255,255,255,.10);
}
.bb-home div.grid-item a.bb-home__card img {
  display: block !important; width: 100%; height: 100%; max-height: none;
  object-fit: cover; object-position: center; transition: transform .55s ease, filter .35s ease;
  filter: saturate(.94) contrast(1.02);
}
.bb-home div.grid-item a.bb-home__card:hover img { transform: scale(1.05); filter: saturate(1) contrast(1.05); }
.bb-home .bb-home__card-content {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 8px; min-width: 0; padding: 72px 24px 22px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.16) 25%, rgba(0,0,0,.82) 100%);
}
.bb-home .bb-home__card-content strong {
  display: block; min-width: 0; color: #fff; text-wrap: balance;
  font: 700 clamp(24px,2.6vw,32px)/1.12 Georgia, 'Times New Roman', serif;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
  max-width: 12ch;
}
.bb-home .bb-home__card-action {
  display: inline-flex; align-items: center; gap: 11px; align-self: flex-start;
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  margin-top: 2px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16);
}
.bb-home .bb-home__card-action span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28); background: rgba(225,17,19,.72);
  font-size: 15px; line-height: 1;
}
.bb-home div.grid-item.bb-home__card-group > a.bb-home__card:hover .bb-home__card-action span {
  background: var(--bb-red); border-color: rgba(255,255,255,.42);
}
/* Newsletter discrète, couleur du site respectée. */
.bb-home .bb-home__newsletter {
  display: grid; grid-template-columns: minmax(0,1fr) auto;
  gap: 20px; align-items: center; background: #1b1b1b;
  border: 1px solid var(--bb-line); border-left: 4px solid var(--bb-red);
  color: var(--bb-text); padding: clamp(22px,3.5vw,35px);
}
.bb-home .bb-home__eyebrow--light { color: #ff6969; }
.bb-home .bb-home__newsletter h2 { color: #fff; font: bold 26px/1.2 Georgia,'Times New Roman',serif; margin: 4px 0 9px; }
.bb-home .bb-home__newsletter-copy > p:last-child { color: var(--bb-muted); font-size: 14px; }
.bb-home a.bb-home__button {
  display: inline-flex; align-items: center; justify-content: center; gap: 17px;
  min-height: 44px; max-width: 100%; padding: 12px 17px;
  background: var(--bb-red); color: #fff; border: 1px solid var(--bb-red);
  border-radius: 2px; white-space: normal; font-size: 13px; font-weight: 700;
}
.bb-home a.bb-home__button:hover { background: #b60d10; border-color: #ff383b; color: #fff; }
.bb-home a.bb-home__button span { font-size: 17px; }

/* Histoire uniquement : mise en scène éditoriale de mariage.php.
   Noir du site conservé, image cadrée d'un filet doré et ponctuation rouge. */
.bb-home .bb-home__heritage {
  padding: clamp(50px, 6vw, 76px) 0 clamp(42px, 6vw, 65px);
}
.bb-home .bb-home__heritage-heading { margin: 0 0 clamp(26px, 3.3vw, 36px); text-align: center; }
.bb-home .bb-home__heritage-heading .bb-home__eyebrow { margin: 0 0 10px; text-align: center; }
.bb-home .bb-home__heritage-heading h2 {
  color: #f5f5f5;
  font: 700 clamp(20px, 2.1vw, 25px)/1.3 Georgia, 'Times New Roman', serif;
  font-size: clamp(20px, 2.1vw, 25px) !important; /* Neutralise l'ancienne classe .huge, ici seulement. */
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 0;
  border-left: 0;
  text-wrap: balance;
}
.bb-home .bb-home__heritage-feature-title {
  max-width: 720px;
  margin: 0 auto clamp(34px, 4.5vw, 52px);
  color: #fff;
  font: 700 clamp(25px, 3.2vw, 34px)/1.25 Georgia, 'Times New Roman', serif;
  text-align: center;
  text-wrap: balance;
}
.bb-home .bb-home__heritage-feature-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  margin: 18px auto 0;
  background: #d8bf6b;
}
.bb-home .bb-home__heritage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 62px);
  align-items: center;
}
.bb-home .bb-home__heritage-text {
  min-width: 0;
  text-align: left;
}
.bb-home .bb-home__heritage-text p {
  color: #e1e1e1;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 17px;
}
.bb-home .bb-home__heritage-text .bb-home__heritage-final {
  color: #f65d4f;
  font: italic 20px/1.5 Georgia, 'Times New Roman', serif;
  margin: 0;
}
.bb-home .bb-home__heritage-text::after { content: ''; clear: both; display: block; }
.bb-home a.bb-home__anniversary {
  float: right;
  display: block;
  width: 74px;
  max-width: 25%;
  margin: 0 0 8px 16px;
}
.bb-home .bb-home__anniversary img { display: block; width: 100%; height: auto; }

/* Le cadre reste derrière l'image, sans agrandir les photos d'origine. */
.bb-home .bb-home__heritage-photos {
  position: relative;
  isolation: isolate;
  width: min(100%, 395px);
  min-width: 0;
  margin: 0 auto;
  padding: 0 30px 44px 0;
}
.bb-home .bb-home__heritage-photos::before {
  content: '';
  position: absolute;
  inset: 14px 12px 22px 15px;
  z-index: -1;
  border: 2px solid #d8bf6b;
  pointer-events: none;
}
.bb-home .bb-home__heritage-photos::after {
  content: '';
  position: absolute;
  top: -8px;
  right: 22px;
  width: 17px;
  height: 17px;
  z-index: 3;
  border-radius: 50%;
  background: #c6452f;
  box-shadow: 0 0 0 2px #000;
  pointer-events: none;
}
.bb-home .bb-home__heritage-photos figure { margin: 0; }
.bb-home .bb-home__heritage-house {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 341px;
  overflow: hidden;
  background: #161616;
}
.bb-home .bb-home__heritage-house img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.bb-home .bb-home__heritage-portrait {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: min(41%, 150px);
  padding: 4px;
  background: #101010;
  border: 1px solid #d8bf6b;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .6);
}
.bb-home .bb-home__heritage-portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Galerie historique, les 5 petites vignettes restent en 120 x 80 px. */
.bb-home .bb-home__aperitifs { border-top: 1px solid var(--bb-line); padding-top: 28px; }
.bb-home .bb-home__aperitifs-heading h2 { color: #f2f2f2; font: 700 clamp(22px,2.6vw,29px)/1.3 Georgia,'Times New Roman',serif; margin: 5px 0 18px; }
.bb-home #slaccueil.bb-home__aperitifs-photos { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; overflow: visible; }
.bb-home #slaccueil.bb-home__aperitifs-photos > div { flex: 0 0 auto; max-width: 100%; padding: 4px; border: 1px solid var(--bb-line); background: #1a1a1a; }
.bb-home #slaccueil.bb-home__aperitifs-photos a { display: block; }
.bb-home #slaccueil.bb-home__aperitifs-photos img.sl1 { display: block !important; width: 120px; height: 80px; max-width: 100%; object-fit: cover; transition: opacity .2s; }
.bb-home #slaccueil.bb-home__aperitifs-photos a:hover img { opacity: .8; }
.bb-home a.bb-home__aperitifs-link { display: inline-flex; align-items: center; gap: 8px; color: #ff6969; font-size: 13px; font-weight: 700; margin-top: 18px; }
.bb-home a.bb-home__aperitifs-link span { font-size: 18px; }


/* Une seule hauteur pour les quatre vignettes, à chaque point de rupture. */
@media (max-width: 980px) {
  .bb-home .grid-home.bb-home__cards { grid-template-columns: 1fr; }
  .bb-home div.grid-item.bb-home__card-group > a.bb-home__card { height: 225px; }
}

@media (max-width: 820px) {
  .bb-home .bb-home__heritage-layout { grid-template-columns: 1fr; gap: 32px; }
  .bb-home .bb-home__heritage-photos { width: min(100%, 395px); max-width: 395px; }
  .bb-home .bb-home__heritage-text { order: 2; }
  .bb-home .bb-home__heritage-photos { order: 1; }
}
@media (max-width: 640px) {
  .bb-home div.grid-item.bb-home__card-group > a.bb-home__card { height: 195px; }
  .bb-home .bb-home__card-content { padding: 32px 16px 14px; gap: 6px; }
  .bb-home .bb-home__card-content strong { font-size: 21px; max-width: none; }
  .bb-home .bb-home__card-action { font-size: 11px; padding-top: 8px; }
  .bb-home .bb-home__card-action span { width: 26px; height: 26px; }

  .bb-home { padding-bottom: 35px; }
  .bb-home .bb-home__spotlight { margin-top: 7px; }
  .bb-home .bb-home__univers { padding: 35px 0 43px; }
  .bb-home .grid-home.bb-home__cards { grid-template-columns: 1fr; gap: 12px; }
  .bb-home div.grid-item.bb-home__card-group { gap: 12px; }
  .bb-home div.grid-item a.bb-home__card img { height: 100%; }
  .bb-home .bb-home__newsletter { grid-template-columns: 1fr; padding: 22px 20px; gap: 17px; }
  .bb-home a.bb-home__button { justify-self: start; }
  .bb-home .bb-home__heritage { padding: 44px 0 38px; }
  .bb-home .bb-home__heritage-heading { margin-bottom: 23px; }
  .bb-home .bb-home__heritage-photos { padding: 0 30px 40px 0; }
  .bb-home .bb-home__heritage-portrait { width: 36%; }
  .bb-home .bb-home__heritage-feature-title { margin-bottom: 32px; }
  .bb-home a.bb-home__anniversary { width: 64px; }
  .bb-home #slaccueil.bb-home__aperitifs-photos { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-home *, .bb-home *::before, .bb-home *::after { transition: none !important; }
}
