/* =========================================================
   Batiproconnect — Page Accueil V2 · Local test
   Composants nouveaux : piliers manifesto, charts, ownership,
   sticky CTA, scroll progress. Réutilise les tokens du
   design-system.css (palette, radii, shadows, typo).
   ========================================================= */

/* ---------- Easing global (sobre, premium) ---------- */
:root {
  --t-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   1. SCROLL PROGRESS BAR (top, 2px ocre)
   ========================================================= */
.bp-scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(11, 29, 58, 0.05);
  z-index: 200;
  pointer-events: none;
}
.bp-scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-ocre) 0%, var(--c-gold) 100%);
  transition: width 60ms linear;
  will-change: width;
}
@media (prefers-reduced-motion: reduce) {
  .bp-scroll-progress span { transition: none; }
}

/* =========================================================
   2. PILIERS MANIFESTO (section signature)
   ========================================================= */
.bp-manifesto {
  background: var(--c-cream);
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
  border-top: 1px solid rgba(200, 122, 44, 0.18);
  border-bottom: 1px solid rgba(200, 122, 44, 0.18);
}
.bp-manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(200, 122, 44, 0.06), transparent 35%),
    radial-gradient(circle at 92% 88%, rgba(11, 29, 58, 0.04), transparent 40%);
  pointer-events: none;
}
.bp-manifesto > .container { position: relative; z-index: 1; }

.bp-pillars {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
@media (min-width: 980px) {
  .bp-pillars { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.bp-pillar {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-ocre);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 320ms var(--t-out-expo), box-shadow 320ms var(--t-out-expo), border-left-color 320ms ease;
  overflow: hidden;
}
.bp-pillar:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-left-color: var(--c-gold-2);
}
@media (prefers-reduced-motion: reduce) {
  .bp-pillar { transition: none; }
  .bp-pillar:hover { transform: none; }
}

.bp-pillar-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: rgba(200, 122, 44, 0.18);
  font-weight: 500;
  user-select: none;
  pointer-events: none;
}

.bp-pillar-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(11, 29, 58, 0.06);
  color: var(--c-ink);
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(11, 29, 58, 0.10);
}
/* alternance subtile : pilier 2 et 4 ont une icône bleu plus marqué */
.bp-pillar:nth-child(even) .bp-pillar-icon {
  background: rgba(30, 58, 138, 0.08);
  color: var(--c-blue);
  border-color: rgba(30, 58, 138, 0.18);
}
.bp-pillar-icon svg { width: 28px; height: 28px; }

.bp-pillar h3 {
  font-size: clamp(20px, 2vw, 24px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  max-width: calc(100% - 60px);
}

.bp-pillar-claim {
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-ink);
  font-weight: 500;
  margin: 0 0 14px;
}
.bp-pillar-claim em {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--c-ocre);
  font-weight: 500;
}

.bp-pillar-detail {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text-soft);
  margin: 0 0 18px;
}

.bp-pillar-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-ocre);
  background: rgba(200, 122, 44, 0.10);
  border: 1px solid rgba(200, 122, 44, 0.22);
  padding: 6px 12px;
  border-radius: 999px;
}
.bp-pillar-tag a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.bp-pillar-tag a:hover { color: var(--c-gold-2); }

/* =========================================================
   3. SECTION STATS FUSIONNÉE — bleu nuit (casse la dominante beige)
   ========================================================= */
.bp-stats-merged {
  padding: clamp(72px, 10vw, 128px) 0;
  background: linear-gradient(180deg, #0b1f44 0%, var(--c-blue-deep) 100%);
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
}
.bp-stats-merged::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(900px 500px at 100% 0%, rgba(217, 119, 6, 0.12), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(30, 58, 138, 0.30), transparent 60%);
  pointer-events: none;
}
.bp-stats-merged > .container { position: relative; z-index: 1; }

.bp-stats-merged .section-head h2,
.bp-stats-merged .section-head h2 em { color: #fff; }
.bp-stats-merged .section-head h2 em { color: var(--c-ocre-soft); }
.bp-stats-merged .section-head .lead { color: rgba(255, 255, 255, 0.72); }
.bp-stats-merged .section-head .eyebrow { color: var(--c-ocre-soft); }
.bp-stats-merged .bp-chart-followup { color: rgba(255, 255, 255, 0.92); }
.bp-stats-merged .bp-chart-followup strong { color: #fff; }
.bp-stats-merged .bp-chart-followup em { color: var(--c-ocre-soft); }

.bp-stats-merged-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
  margin-bottom: 48px;
}
@media (max-width: 980px) {
  .bp-stats-merged-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.bp-chart-wrap {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.bp-chart-wrap--inline { height: 100%; }

.bp-chart-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  margin: 0 0 12px;
  padding: 0;
  text-align: left;
}

.bp-chart-line {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 800 / 360;
}

.bp-chart-grid line {
  stroke: rgba(11, 29, 58, 0.06);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.bp-chart-yaxis text,
.bp-chart-xaxis text {
  font-family: var(--ff-mono);
  font-size: 12px;
  fill: var(--c-text-soft);
}

.bp-chart-area {
  fill: url(#chart-gradient);
  opacity: 0.18;
}
/* Define gradient for area fill (we inline the gradient via CSS variable trick) */
.bp-chart-line {
  --chart-color: var(--c-ocre);
}
.bp-chart-area {
  fill: var(--c-ocre);
  opacity: 0.10;
}

.bp-chart-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1400ms var(--t-out-expo) 200ms;
}
.bp-chart-line.is-visible .bp-chart-path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .bp-chart-path { stroke-dashoffset: 0; transition: none; }
}

.bp-chart-points circle {
  fill: #fff;
  stroke: var(--c-ocre);
  stroke-width: 2.5;
  opacity: 0;
  transition: opacity 280ms var(--t-out-expo);
}
.bp-chart-line.is-visible .bp-chart-points circle:nth-child(1) { opacity: 1; transition-delay: 400ms; }
.bp-chart-line.is-visible .bp-chart-points circle:nth-child(2) { opacity: 1; transition-delay: 600ms; }
.bp-chart-line.is-visible .bp-chart-points circle:nth-child(3) { opacity: 1; transition-delay: 800ms; }
.bp-chart-line.is-visible .bp-chart-points circle:nth-child(4) { opacity: 1; transition-delay: 1000ms; }
.bp-chart-line.is-visible .bp-chart-points circle:nth-child(5) { opacity: 1; transition-delay: 1200ms; }
.bp-chart-line.is-visible .bp-chart-points circle:nth-child(6) { opacity: 1; transition-delay: 1400ms; }
.bp-chart-point-final { fill: var(--c-ocre); }
@media (prefers-reduced-motion: reduce) {
  .bp-chart-points circle { opacity: 1; transition: none; }
}

.bp-chart-anno-num {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 800;
  fill: var(--c-ocre);
  letter-spacing: -0.02em;
}
.bp-chart-anno-text {
  font-family: var(--ff-mono);
  font-size: 11px;
  fill: var(--c-text-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.bp-chart-anno line, .bp-chart-anno text { opacity: 0; transition: opacity 400ms var(--t-out-expo); }
.bp-chart-line.is-visible .bp-chart-anno line { opacity: 1; transition-delay: 1300ms; }
.bp-chart-line.is-visible .bp-chart-anno text { opacity: 1; transition-delay: 1500ms; }
@media (prefers-reduced-motion: reduce) {
  .bp-chart-anno line, .bp-chart-anno text { opacity: 1; transition: none; }
}

.bp-chart-caption {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--c-text-soft);
  text-align: center;
}
.bp-chart-caption a {
  color: var(--c-ocre);
  font-weight: 600;
  border-bottom: 1px dotted currentColor;
}
.bp-chart-caption a:hover { color: var(--c-gold-2); }

/* =========================================================
   4. GRAPHIQUE 2 — Barres horizontales (intégrées au bloc fusionné)
   ========================================================= */
.bp-bars-wrap {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bp-bars-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  margin: 0 0 18px;
  text-align: left;
}

.bp-bars {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 22px;
  flex: 1;
}

.bp-bar-item {
  background: transparent;
  border: 0;
  border-bottom: 1px dashed var(--c-line);
  border-radius: 0;
  padding: 0 0 18px;
  box-shadow: none;
}
.bp-bar-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bp-bar-head {
  margin-bottom: 14px;
}
.bp-bar-label {
  font-size: 17px;
  color: var(--c-ink);
  line-height: 1.5;
}
.bp-bar-label strong {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--c-ocre);
  margin-right: 6px;
  letter-spacing: -0.02em;
}

.bp-bar-track {
  position: relative;
  height: 12px;
  background: rgba(11, 29, 58, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.bp-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--c-ocre) 0%, var(--c-gold) 100%);
  border-radius: 999px;
  width: 0%;
  transition: width 1200ms var(--t-out-expo);
  transition-delay: var(--bar-delay, 0ms);
  will-change: width;
}
.bp-bar-fill.is-animated {
  width: var(--bar-w, 0%);
}
@media (prefers-reduced-motion: reduce) {
  .bp-bar-fill { transition: none; width: var(--bar-w, 0%); }
}

.bp-bar-source {
  margin: 0;
  font-size: 13px;
  color: var(--c-text-soft);
}
.bp-bar-source a {
  color: var(--c-ocre);
  font-weight: 600;
  border-bottom: 1px dotted currentColor;
}
.bp-bar-source a:hover { color: var(--c-gold-2); }

/* Wrapper qui force le centrage horizontal du paragraphe via flex */
.bp-followup-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  padding: 0 16px;
}
.bp-chart-followup {
  display: block;
  max-width: 620px;
  margin: 0;
  text-align: center;
  font-size: 17px;
  color: var(--c-ink);
  line-height: 1.55;
  text-wrap: balance;
}
.bp-chart-followup em {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--c-ocre);
  font-weight: 500;
  white-space: nowrap;
}
.bp-chart-followup strong {
  color: var(--c-ink);
  font-weight: 700;
}

/* =========================================================
   5. SECTION 100 % PROPRIÉTAIRE — bleu nuit (casse le beige)
   ========================================================= */
.bp-ownership {
  padding: clamp(72px, 10vw, 128px) 0;
  background: linear-gradient(180deg, var(--c-blue-deep) 0%, #0b1f44 100%);
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
}
.bp-ownership::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(900px 500px at 8% 0%, rgba(217, 119, 6, 0.18), transparent 50%),
    radial-gradient(700px 400px at 100% 100%, rgba(30, 58, 138, 0.35), transparent 60%);
  pointer-events: none;
}
.bp-ownership > .container { position: relative; z-index: 1; }

.bp-ownership .section-head h2,
.bp-ownership .section-head h2 em {
  color: #fff;
}
.bp-ownership .section-head h2 em {
  color: var(--c-ocre-soft);
}
.bp-ownership .section-head .lead {
  color: rgba(255, 255, 255, 0.72);
}
.bp-ownership .section-head .eyebrow {
  color: var(--c-ocre-soft);
}

.bp-own-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .bp-own-compare { grid-template-columns: 1fr; }
}

.bp-own-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 320ms var(--t-out-expo), box-shadow 320ms var(--t-out-expo);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.bp-own-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}
@media (prefers-reduced-motion: reduce) {
  .bp-own-card { transition: none; }
  .bp-own-card:hover { transform: none; }
}

.bp-own-card--bad {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(220, 38, 38, 0.22);
}
.bp-own-card--good {
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.10) 0%, rgba(217, 119, 6, 0.02) 100%);
  border-color: var(--c-ocre);
  box-shadow: 0 12px 36px rgba(217, 119, 6, 0.22), 0 4px 12px rgba(0, 0, 0, 0.30);
}

.bp-own-card header { margin-bottom: 18px; }
.bp-own-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.bp-own-tag--brand {
  color: #fff;
  background: var(--c-ocre);
  border-color: var(--c-ocre);
}
.bp-own-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  color: #fff;
}

.bp-own-card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.bp-own-card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.bp-own-card ul li span {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}
.bp-own-card--bad ul li span {
  background: rgba(220, 38, 38, 0.18);
  color: #ff8c8c;
}
.bp-own-card--good ul li span {
  background: rgba(34, 197, 94, 0.20);
  color: #5fd882;
}

.bp-own-foot {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}
.bp-own-foot strong {
  color: #fff;
  font-weight: 700;
}

.bp-own-arrow {
  display: grid;
  place-items: center;
  color: var(--c-ocre-soft);
  width: 60px;
}
.bp-own-arrow svg { width: 100%; height: auto; max-height: 80px; }
@media (max-width: 880px) {
  .bp-own-arrow {
    width: 100%;
    justify-self: center;
    transform: rotate(90deg);
  }
  .bp-own-arrow svg { max-height: 50px; max-width: 60px; }
}

/* =========================================================
   5b. STYLE pour bp-cc-subprice (sous-prix dans comparatif)
   ========================================================= */
.bp-cc-subprice {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--c-text-soft);
  font-weight: 500;
}

/* =========================================================
   6. STICKY CTA MOBILE
   ========================================================= */
.bp-sticky-cta {
  position: fixed;
  left: 16px; right: 16px;
  bottom: 16px;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #ea8a14 0%, #d97706 50%, #b9590a 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.35), 0 4px 12px rgba(217, 119, 6, 0.18);
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 320ms var(--t-out-expo), transform 320ms var(--t-out-expo);
  pointer-events: none;
}
.bp-sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (max-width: 768px) {
  .bp-sticky-cta { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-sticky-cta { transition: none; }
}

/* =========================================================
   7. FOOTER (réutilise les styles .bp-footer du plugin)
   On override juste le logo dans le footer pour respecter le wordmark.
   ========================================================= */
.bp-footer-logo .bp-logo-text { font-size: 28px; }
.bp-footer-tagline { color: rgba(255, 255, 255, 0.72) !important; }

/* =========================================================
   8. SECTION ARGUMENTAIRE COMMERCIAL (V2)
   La structure HTML matche celle attendue par le CSS du plugin
   (page-accueil.css). Ici on n'override RIEN — on hérite tout
   du plugin. On ajoute juste un padding-top de section et le
   style des éléments de prose qui n'existent pas encore.
   ========================================================= */
.bp-pitch-section { padding: clamp(72px, 10vw, 128px) 0; }

.bp-pitch-prose strong {
  color: var(--c-ink);
  font-weight: 700;
}
.bp-pitch-prose em {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--c-ocre);
  font-weight: 500;
}
.bp-pitch-arg p strong {
  color: var(--c-ink);
  font-weight: 700;
}

/* Numéros argumentaire alternés : pair = bleu, impair = ocre (existant) */
.bp-pitch-arg:nth-child(even) .bp-pitch-arg-num {
  background: rgba(30, 58, 138, 0.10);
  color: var(--c-blue);
}
/* Border-left subtle qui alterne aussi */
.bp-pitch-arg {
  border-left: 3px solid var(--c-ocre);
}
.bp-pitch-arg:nth-child(even) {
  border-left-color: var(--c-blue);
}

/* =========================================================
   8b. WORDMARK LOGO (fallback CSS quand img prod ne charge pas)
   ========================================================= */
.bp-logo-text {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  line-height: 1;
}
.bp-logo-text em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--c-ocre);
  margin-left: 2px;
}
@media (max-width: 860px) {
  .bp-logo-text { font-size: 20px; }
}

/* =========================================================
   9. AJUSTEMENTS HERO REFONDU (combat le vide à droite)
   ========================================================= */
.bp-home-hero .bp-hero-inner {
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}
@media (max-width: 980px) {
  .bp-home-hero .bp-hero-inner { grid-template-columns: 1fr; }
}
.bp-home-hero .bp-hero-title {
  font-size: clamp(40px, 5.4vw, 70px);
  line-height: 1.02;
}
.bp-home-hero .bp-hero-title em {
  display: block;
  font-size: 0.94em;
  margin: 6px 0;
}
.bp-home-hero .bp-hero-sub strong {
  color: var(--c-ink);
  font-weight: 700;
}
/* Padding bas du hero réduit pour éviter le vide */
.bp-home-hero { padding-bottom: clamp(48px, 7vw, 88px); }
.bp-manifesto { padding-top: clamp(56px, 8vw, 96px); }

/* Visuel hero : phone plus compact, moins de blanc dessous */
.bp-home-hero .bp-hv-search {
  min-height: 0;
  padding: 0;
  align-self: stretch;
  align-items: center;
}
.bp-home-hero .bp-hv-search-phone { max-width: 260px; }
.bp-home-hero .bp-hv-search::before {
  inset: -20px -10px;
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
}
@media (max-width: 980px) {
  .bp-home-hero .bp-hv-search-phone { max-width: 280px; margin: 0 auto; }
}

/* Logo header — agrandi, ratio 798:722 préservé, rendu HD */
.bp-nav-logo img {
  height: 96px;
  width: auto;
  max-width: none;
  border-radius: 18px;
  display: block;
  transition: transform var(--t-fast);
  image-rendering: -webkit-optimize-contrast;
}
.bp-navbar { /* navbar plus haute pour accommoder le logo plus grand */
  --nav-h: 124px;
}
.bp-nav-inner { height: 124px !important; }
.bp-navbar.scrolled .bp-nav-inner { height: 96px !important; }
.bp-navbar.scrolled .bp-nav-logo img { height: 76px; }
@media (max-width: 860px) {
  .bp-nav-inner { height: 88px !important; }
  .bp-nav-logo img { height: 64px; border-radius: 14px; }
  .bp-navbar.scrolled .bp-nav-inner { height: 76px !important; }
  .bp-navbar.scrolled .bp-nav-logo img { height: 56px; }
}

/* Logo footer — agrandi, ratio préservé */
.bp-footer-logo img {
  height: 140px !important;
  width: auto !important;
  max-width: none !important;
  border-radius: 22px;
  margin-bottom: 20px;
  display: block;
  max-height: 140px !important;
  image-rendering: -webkit-optimize-contrast;
}

/* =========================================================
   9b. CARDS APERÇUS — variante "site en ligne" cliquable
   ========================================================= */
.bp-reel-item--live { position: relative; }

.bp-reel-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  text-indent: -9999px;
  border-radius: 12px;
  /* glow soft au hover */
  transition: box-shadow 320ms var(--t-out-expo);
}
.bp-reel-link:hover { box-shadow: 0 18px 40px rgba(30, 58, 138, 0.18); }
.bp-reel-link:focus-visible {
  outline: 3px solid rgba(30, 58, 138, 0.4);
  outline-offset: 4px;
}

.bp-reel-live {
  position: absolute;
  top: 8px; right: 14px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  background: var(--c-success);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.30);
  pointer-events: none;
}
.bp-reel-live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
  animation: bpPulse 2.4s ease-in-out infinite;
}
@keyframes bpPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .bp-reel-live::before { animation: none; }
}

/* La caption clic affiche un lien-icône à droite */
.bp-reel-item--live .bp-reel-cap span { color: var(--c-blue); font-weight: 600; }

/* =========================================================
   10. PRINT (sobre)
   ========================================================= */
@media print {
  .bp-scroll-progress, .bp-sticky-cta, .bp-navbar, .bp-hv-search, .bp-showreel { display: none !important; }
  .bp-pillar, .bp-own-card, .bp-bar-item { box-shadow: none; break-inside: avoid; }
}
