/* =========================================================
   THEME BLUE — variante inversée
   Charge APRÈS style.css. Override uniquement les fonds et
   les couleurs textes pour passer le bleu en dominante,
   le beige en couleur secondaire.
   ========================================================= */

/* ---------- Tokens ajustés (bleu un peu plus aéré) ---------- */
body.batipro-page {
  --c-blue-deep: #0e2148;     /* +25% lighter qu'avant (#07142e → #0e2148) */
  --c-ink: #122651;            /* navy un peu plus clair */
  background: var(--c-blue-deep);
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Headings sur fond bleu : blanc pur ---------- */
.batipro-page h1,
.batipro-page h2,
.batipro-page h4 { color: #fff; }
.batipro-page em,
.batipro-page .italic-serif { color: var(--c-ocre-soft); }

/* ---------- h3 par défaut : NE PAS forcer blanc — chaque section décide
     (sinon les titres dans les sections crème deviennent illisibles) */
.batipro-page h3 { color: #fff; }
/* override : sections claires forcent h3 en ink */
.bp-manifesto h3,
.bp-stats-merged h3,
.bp-ownership h3,
.bp-process h3,
.bp-faq-section h3,
.bp-pricing-section h3,
.bp-pillar h3,
.bp-step h3,
.bp-pitch-arg h3,
.bp-own-card h3,
.bp-compare-card h3,
.bp-cc-card-title { color: var(--c-ink); }

/* ---------- Eyebrow reste ocre (cohérent) ---------- */
.batipro-page .eyebrow { color: var(--c-ocre-soft); }

/* ---------- Liens ---------- */
.batipro-page a { color: var(--c-ocre-soft); }
.batipro-page a:hover { color: var(--c-gold); }

/* =========================================================
   1. NAVBAR : fond bleu translucide
   ========================================================= */
.bp-navbar {
  background: rgba(7, 20, 46, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.bp-navbar.scrolled {
  background: rgba(7, 20, 46, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.bp-navbar.scrolled::after {
  background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.40), transparent);
}
.bp-nav-links a:not(.btn) { color: rgba(255, 255, 255, 0.85); }
.bp-nav-links a:not(.btn):hover,
.bp-nav-links a[aria-current="page"] { color: var(--c-ocre-soft); }
.bp-nav-toggle span { background: #fff; }

/* =========================================================
   2. HERO : fond bleu, mockup phone garde son look natif
   ========================================================= */
.bp-hero-bg {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(217, 119, 6, 0.22), transparent 55%),
    radial-gradient(900px 500px at 0% 110%, rgba(245, 239, 228, 0.06), transparent 60%),
    var(--c-blue-deep);
}
.bp-hero-grain { opacity: 0.18; mix-blend-mode: screen; }
.bp-hero-title em { color: var(--c-ocre-soft); }
.bp-hero-title .hl::after { background: rgba(245, 158, 11, 0.35); }
.bp-hero-sub { color: rgba(255, 255, 255, 0.84); }
.bp-hero-sub strong { color: #fff; }
.bp-home-hero .bp-hero-sub strong,
.bp-hero .bp-hero-sub strong { color: #fff !important; }

/* Promesses (badges) : restent en blanc/cream pour contraster */
.bp-hero-promises li {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--c-ink);
}
.bp-hero-promises li:hover {
  background: var(--c-cream);
  border-color: var(--c-success);
}

/* Bouton ghost : adapté pour fond bleu */
.batipro-page .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.batipro-page .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--c-ocre-soft);
  color: #fff;
}

/* =========================================================
   3. PILIERS MANIFESTO : passe en blanc cassé / cream
   ========================================================= */
.bp-manifesto {
  background: var(--c-cream);
  border-top-color: rgba(11, 29, 58, 0.18);
  border-bottom-color: rgba(11, 29, 58, 0.18);
}
.bp-manifesto::before {
  background-image:
    radial-gradient(circle at 8% 12%, rgba(11, 29, 58, 0.06), transparent 35%),
    radial-gradient(circle at 92% 88%, rgba(200, 122, 44, 0.05), transparent 40%);
}
.bp-manifesto .section-head h2,
.bp-manifesto .section-head h2 em { color: var(--c-ink); }
.bp-manifesto .section-head h2 em { color: var(--c-ocre); }
.bp-manifesto .section-head .eyebrow { color: var(--c-ocre); }
.bp-pillar { background: #fff; border-color: var(--c-line); }
.bp-pillar h3 { color: var(--c-ink); }
.bp-pillar-claim { color: var(--c-ink); }
.bp-pillar-claim em { color: var(--c-ocre); }
.bp-pillar-detail { color: var(--c-text-soft); }

/* =========================================================
   4. ARGUMENTAIRE : fond bleu profond, cards blanches
   ========================================================= */
.bp-pitch-section {
  background: var(--c-blue-deep);
  position: relative;
}
.bp-pitch-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(800px 400px at 100% 0%, rgba(217, 119, 6, 0.10), transparent 55%);
  pointer-events: none;
}
.bp-pitch-section .container { position: relative; z-index: 1; }
.bp-pitch-section .section-head h2,
.bp-pitch-section .section-head h2 em { color: #fff; }
.bp-pitch-section .section-head h2 em { color: var(--c-ocre-soft); }
.bp-pitch-section .section-head .eyebrow { color: var(--c-ocre-soft); }

.bp-pitch-prose,
.bp-pitch-prose p { color: rgba(255, 255, 255, 0.86); }
.bp-pitch-prose strong { color: #fff; }
.bp-pitch-prose em { color: var(--c-ocre-soft); }
.bp-pitch-section .bp-pitch-quote,
.bp-pitch-prose .bp-pitch-quote {
  border-left: 3px solid var(--c-ocre-soft);
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  padding: 22px 28px;
  border-radius: 0 8px 8px 0;
}

.bp-pitch-arg {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--c-text);
}
.bp-pitch-arg h3 { color: var(--c-ink); }
.bp-pitch-arg p { color: var(--c-text-soft); }
.bp-pitch-arg p strong { color: var(--c-ink); }

/* =========================================================
   5. LE CONSTAT : passe en cream (au lieu de bleu nuit)
   ========================================================= */
.bp-stats-merged {
  background: var(--c-cream);
  color: var(--c-text);
}
.bp-stats-merged::before {
  background-image:
    radial-gradient(900px 500px at 100% 0%, rgba(217, 119, 6, 0.08), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(11, 29, 58, 0.05), transparent 60%);
}
.bp-stats-merged .section-head h2 { color: var(--c-ink); }
.bp-stats-merged .section-head h2 em { color: var(--c-ocre); }
.bp-stats-merged .section-head .lead { color: var(--c-text-soft); }
.bp-stats-merged .section-head .eyebrow { color: var(--c-ocre); }
.bp-stats-merged .bp-chart-followup { color: var(--c-ink); }
.bp-stats-merged .bp-chart-followup strong { color: var(--c-ink); }
.bp-stats-merged .bp-chart-followup em { color: var(--c-ocre); }
.bp-stats-merged .bp-chart-wrap,
.bp-stats-merged .bp-bars-wrap {
  background: #fff;
  border-color: var(--c-line);
}

/* =========================================================
   6. OWNERSHIP : passe en cream (au lieu de bleu nuit)
   ========================================================= */
.bp-ownership {
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-paper) 100%);
  color: var(--c-text);
}
.bp-ownership::before {
  background-image:
    radial-gradient(900px 500px at 8% 0%, rgba(217, 119, 6, 0.10), transparent 50%),
    radial-gradient(700px 400px at 100% 100%, rgba(11, 29, 58, 0.05), transparent 60%);
}
.bp-ownership .section-head h2 { color: var(--c-ink); }
.bp-ownership .section-head h2 em { color: var(--c-ocre); }
.bp-ownership .section-head .lead { color: var(--c-text-soft); }
.bp-ownership .section-head .eyebrow { color: var(--c-ocre); }

.bp-own-card {
  background: #fff;
  border-color: var(--c-line);
  color: var(--c-text);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.bp-own-card:hover { box-shadow: var(--shadow); }
.bp-own-card--bad {
  background: linear-gradient(180deg, #fff 0%, #faf6ee 100%);
  border-color: rgba(220, 38, 38, 0.18);
}
.bp-own-card--good {
  background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
  border-color: var(--c-ocre);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.12);
}
.bp-own-card h3 { color: var(--c-ink); }
.bp-own-card ul li { color: var(--c-text); }
.bp-own-tag {
  color: var(--c-text-soft);
  background: rgba(11, 29, 58, 0.06);
  border-color: transparent;
}
.bp-own-tag--brand {
  color: #fff;
  background: var(--c-ocre);
}
.bp-own-card--bad ul li span {
  background: rgba(220, 38, 38, 0.10);
  color: var(--c-error);
}
.bp-own-card--good ul li span {
  background: rgba(22, 163, 74, 0.12);
  color: var(--c-success);
}
.bp-own-foot {
  border-top: 1px dashed var(--c-line);
  color: var(--c-text-soft);
}
.bp-own-foot strong { color: var(--c-ink); }
.bp-own-arrow { color: var(--c-ocre); }

/* =========================================================
   7. APERÇUS (showreel) : fond bleu nuit
   ========================================================= */
.bp-showreel-section {
  background: var(--c-blue-deep);
  border-top-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.bp-showreel-section .section-head h2 { color: #fff; }
.bp-showreel-section .section-head h2 em { color: var(--c-ocre-soft); }
.bp-showreel-section .section-head .lead { color: rgba(255, 255, 255, 0.78); }
.bp-showreel-section .section-head .lead strong { color: #fff; }
.bp-showreel-section .section-head .eyebrow { color: var(--c-ocre-soft); }
.bp-reel-cap strong { color: #fff; }
.bp-reel-cap span { color: rgba(255, 255, 255, 0.65); }
.bp-reel-item--live .bp-reel-cap span { color: var(--c-ocre-soft); }

/* =========================================================
   8. PROCESSUS : fond cream — textes foncés pour lisibilité
   ========================================================= */
.bp-process { background: var(--c-cream); }
.bp-process .section-head h2 { color: var(--c-ink); }
.bp-process .section-head h2 em { color: var(--c-ocre); }
.bp-process .section-head .eyebrow { color: var(--c-ocre); }
.bp-step h3 { color: var(--c-ink); }
.bp-step p { color: var(--c-text-soft); }
.bp-step-icon { color: var(--c-blue); }

/* =========================================================
   9. COMPARATIF : fond bleu profond
   ========================================================= */
.bp-compare-section {
  background: var(--c-blue-deep);
  position: relative;
}
.bp-compare-section .section-head h2 { color: #fff; }
.bp-compare-section .section-head h2 em { color: var(--c-ocre-soft); }
.bp-compare-section .section-head .lead { color: rgba(255, 255, 255, 0.78); }
.bp-compare-section .section-head .eyebrow { color: var(--c-ocre-soft); }
.bp-compare-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--c-text);
}
.bp-compare-card .bp-cc-card-title { color: var(--c-ink); }

/* =========================================================
   10. FAQ : fond cream
   ========================================================= */
.bp-faq-section {
  background: var(--c-cream) !important;
}
.bp-faq-section .section-head h2 { color: var(--c-ink); }
.bp-faq-section .section-head h2 em { color: var(--c-ocre); }
.bp-faq-section .section-head .eyebrow { color: var(--c-ocre); }
.bp-faq-item summary { color: var(--c-ink); }

/* =========================================================
   11. CTA FINAL : reste sombre mais avec teinte légèrement différente
   (déjà fond bleu profond dans style.css — on le renforce)
   ========================================================= */
.bp-cta-final {
  background: linear-gradient(135deg, #07142e 0%, #1e3a8a 100%);
}

/* =========================================================
   12. FOOTER : reste bleu nuit, déjà bon
   ========================================================= */

/* =========================================================
   13. SCROLL PROGRESS : fond ajusté
   ========================================================= */
.bp-scroll-progress { background: rgba(255, 255, 255, 0.08); }

/* =========================================================
   14. CARDS PILIERS : alterné bleu/ink en bordure gauche
   (renforce le bleu)
   ========================================================= */
.bp-pillar { border-left: 4px solid var(--c-blue); }
.bp-pillar:nth-child(odd) { border-left-color: var(--c-ocre); }
.bp-pillar:nth-child(odd):hover { border-left-color: var(--c-gold-2); }
.bp-pillar:nth-child(even):hover { border-left-color: var(--c-blue-2); }

/* =========================================================
   AUDIT WCAG AA — Corrections de contraste version BLEUE
   (généré via audit automatisé - 14 corrections)
   ========================================================= */

/* === 1. CTA FINAL : forcer textes lisibles sur gradient bleu === */
.bp-cta-final p {
  color: rgba(255, 255, 255, 0.86);
}
.bp-cta-final h2 em {
  color: var(--c-ocre-soft);
}
.bp-cta-final .eyebrow {
  color: var(--c-ocre-soft) !important;
}

/* === 2. HERO — kicker (étiquette eyebrow ocre) — 3.6:1 → 5.4:1 === */
.batipro-page .bp-kicker {
  color: var(--c-ocre-soft);
  background: rgba(230, 164, 86, 0.12);
  border-color: rgba(230, 164, 86, 0.45);
}
.batipro-page .bp-kicker-bar {
  background: var(--c-ocre-soft);
}

/* === 3. Bouton ghost — bordure plus visible sur fond bleu === */
.batipro-page .btn-ghost {
  border-color: rgba(255, 255, 255, 0.40);
}
.batipro-page .btn-ghost:hover {
  border-color: var(--c-ocre-soft);
}

/* === 4. Liens ocre dans cards blanches : assombrir vers #9a5e22 === */
.bp-bar-source a,
.bp-chart-caption a,
.bp-pillar-tag a,
.bp-stats-merged .bp-chart-caption a {
  color: #9a5e22;
}
.bp-bar-source a:hover,
.bp-chart-caption a:hover,
.bp-pillar-tag a:hover {
  color: var(--c-ink);
}

/* === 5. Pillar num (numérotation décorative) === */
/* Note : .bp-pillar-tag est defini en bas dans les fixes Pixetiq (specificite renforcee) */
.bp-pillar-num {
  color: rgba(200, 122, 44, 0.32);
}

/* === 7. Ownership tag (non-brand) — restaurer la lisibilité de la pill === */
.bp-own-tag {
  background: rgba(11, 29, 58, 0.10);
  border: 1px solid rgba(11, 29, 58, 0.18);
}

/* === 8. Pictogramme ✓ ownership-good : assombrir le vert === */
.bp-own-card--good ul li span {
  color: #15803d;
}

/* === 9. Focus rings — visibilité sur fond bleu === */
.bp-reel-link:focus-visible {
  outline: 3px solid var(--c-ocre-soft);
  outline-offset: 4px;
}
.batipro-page .btn-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.25);
}
.batipro-page .btn-ghost:focus-visible {
  outline: 3px solid var(--c-ocre-soft);
  outline-offset: 3px;
}
.bp-faq-item summary:focus-visible {
  outline: 2px solid var(--c-ocre);
  outline-offset: 2px;
}
.bp-nav-links a:focus-visible {
  outline: 2px solid var(--c-ocre-soft);
  outline-offset: 4px;
  border-radius: 2px;
}

/* === 10. Footer — souligner les liens au focus/hover (1.4.1) === */
.bp-footer a:hover,
.bp-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--c-ocre-soft);
}

/* === 11. Navbar non-scrolled — opacité de fond minimale (toujours ≥ 4.5:1) === */
.bp-navbar {
  background: rgba(7, 20, 46, 0.92);
}

/* === 12. Numéros argumentaire pairs en bleu (9.7:1 sur fond pâle) === */
.bp-pitch-arg:nth-child(even) .bp-pitch-arg-num {
  color: var(--c-blue);
  background: rgba(30, 58, 138, 0.10);
}

/* =========================================================
   AJUSTEMENTS RYTHMIQUES — réduire les espaces vides
   ========================================================= */

/* Réduire le padding des sections (était 128px, on passe à 88px max) */
.bp-stats-merged,
.bp-ownership,
.bp-manifesto,
.bp-process,
.bp-pitch-section { padding: clamp(56px, 7vw, 96px) 0; }

/* Le constat → ownership : enlever la cassure visuelle excessive */
.bp-stats-merged + .bp-ownership { padding-top: clamp(48px, 6vw, 80px); }
.bp-stats-merged { padding-bottom: clamp(48px, 6vw, 80px); }

/* La carte du graphique line chart : remplir le vide en bas */
.bp-stats-merged .bp-chart-wrap { justify-content: flex-start; }

/* Insight textuel sous la courbe (rempli le vide) */
.bp-chart-insight {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--c-cream);
  border-radius: 12px;
  border-left: 3px solid var(--c-ocre);
}
.bp-chart-insight-num {
  font-family: "New York", "Times New Roman", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 38px;
  line-height: 1;
  color: var(--c-ocre);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.bp-chart-insight-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-text);
}
.bp-chart-insight-text strong {
  color: var(--c-ink);
  font-weight: 700;
}
@media (max-width: 600px) {
  .bp-chart-insight { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bp-chart-insight-num { font-size: 32px; }
}

/* =========================================================
   STAT FLOTTANT HERO — supprimer (vague pour l'utilisateur)
   ========================================================= */
.bp-home-hero .bp-hv-stat { display: none; }

/* =========================================================
   (Le mockup laptop+phone créé puis abandonné — restitué le
   mockup d'origine .bp-hv-search ci-dessous, la suite de ce
   bloc CSS est conservée mais inactive sans HTML correspondant.)
   ========================================================= */
.bp-hero-mockup {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 1fr 134px;
  gap: 14px;
  align-items: center;
}

/* Glow subtil derrière le laptop */
.bp-hero-mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(217, 119, 6, 0.18), transparent 65%),
    radial-gradient(80% 70% at 50% 50%, rgba(30, 58, 138, 0.30), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

/* Laptop frame */
.bp-hero-laptop {
  position: relative;
  z-index: 1;
  width: 100%;
}
.bp-hero-laptop-screen {
  position: relative;
  background: #0a0a0c;
  border-radius: 14px 14px 4px 4px;
  padding: 26px 8px 8px;
  box-shadow:
    0 36px 64px -18px rgba(0, 0, 0, 0.55),
    0 18px 32px -10px rgba(30, 58, 138, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid #1a1a1e;
}
.bp-hero-laptop-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: #fff;
}
.bp-hero-laptop-bar {
  position: absolute;
  top: 7px; left: 14px; right: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bp-hero-laptop-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.bp-hero-laptop-bar span:nth-child(1) { background: #ff5f56; }
.bp-hero-laptop-bar span:nth-child(2) { background: #ffbd2e; }
.bp-hero-laptop-bar span:nth-child(3) { background: #27c93f; }
.bp-hero-laptop-bar em {
  flex: 1;
  text-align: center;
  font-style: normal;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
  margin-right: 36px; /* compense les 3 dots à gauche */
}

/* Base du laptop (le clavier) */
.bp-hero-laptop-base {
  height: 8px;
  margin: 0 -18px;
  background: linear-gradient(180deg, #1a1a1e 0%, #2a2a2e 100%);
  border-radius: 0 0 14px 14px;
  position: relative;
  box-shadow: 0 14px 22px -8px rgba(0, 0, 0, 0.40);
}
.bp-hero-laptop-base::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 3px;
  background: rgba(0, 0, 0, 0.50);
  border-radius: 0 0 4px 4px;
}

/* Float 1 : tag "Site livré" en haut gauche */
.bp-hero-mockup-tag {
  position: absolute;
  top: 12px;
  left: -8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 11px;
  background: #fff;
  color: var(--c-ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  border-radius: 999px;
  box-shadow:
    0 12px 24px -6px rgba(0, 0, 0, 0.30),
    0 4px 10px -2px rgba(0, 0, 0, 0.18);
  animation: bpHeroTagFloat 6s ease-in-out infinite;
}
.bp-hero-mockup-tag svg {
  width: 16px; height: 16px;
  color: var(--c-success);
  flex-shrink: 0;
}
@keyframes bpHeroTagFloat {
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .bp-hero-mockup-tag { animation: none; }
}

/* Float 2 : notification "+1 demande" en bas droite */
.bp-hero-notif {
  position: absolute;
  bottom: 16px;
  right: -16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 14px 28px -8px rgba(0, 0, 0, 0.30),
    0 4px 10px -2px rgba(0, 0, 0, 0.18);
  animation: bpHeroNotifFloat 7s ease-in-out infinite -2s;
}
.bp-hero-notif-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-success);
  position: relative;
  flex-shrink: 0;
}
.bp-hero-notif-dot::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--c-success);
  opacity: 0.4;
  animation: bpHeroNotifPulse 2s ease-in-out infinite;
}
@keyframes bpHeroNotifPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.6); opacity: 0; }
}
.bp-hero-notif div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.bp-hero-notif strong {
  font-size: 13.5px;
  color: var(--c-ink);
  font-weight: 700;
}
.bp-hero-notif span {
  font-size: 11.5px;
  color: var(--c-text-soft);
  margin-top: 2px;
}
@keyframes bpHeroNotifFloat {
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .bp-hero-notif { animation: none; }
  .bp-hero-notif-dot::before { animation: none; }
}

/* =========================================================
   PHONE GOOGLE SEARCH — à droite du laptop, partiellement chevauchant
   ========================================================= */
.bp-hero-phone {
  position: relative;
  width: 134px;
  background: linear-gradient(180deg, #1f1f23 0%, #0a0a0c 100%);
  border-radius: 22px;
  padding: 3px;
  box-shadow:
    0 28px 44px -14px rgba(0, 0, 0, 0.55),
    0 12px 22px -8px rgba(30, 58, 138, 0.42);
  border: 1px solid #2a2a2e;
  animation: bpHeroPhoneFloat 7s ease-in-out infinite -2.5s;
  align-self: center;
}
@keyframes bpHeroPhoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .bp-hero-phone { animation: none; transform: none; }
}
.bp-hero-phone-bezel {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 17;
}
.bp-hero-phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 14px;
  background: #000;
  border-radius: 99px;
  z-index: 2;
}
.bp-hero-phone-screen {
  padding: 32px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Search bar */
.bp-hero-gs-search {
  background: #f8f9fa;
  border: 1px solid #dadce0;
  border-radius: 999px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.bp-hero-gs-google {
  font-weight: 800;
  font-size: 9px;
  letter-spacing: -0.02em;
}
.bp-hero-gs-q {
  flex: 1;
  font-size: 8px;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-hero-gs-mic {
  width: 9px; height: 9px;
  color: #4285F4;
  flex-shrink: 0;
}

/* Tabs */
.bp-hero-gs-tabs {
  display: flex;
  gap: 9px;
  padding: 2px 4px 4px;
  border-bottom: 1px solid #ebebeb;
  font-size: 7.5px;
  color: #5f6368;
  font-weight: 500;
}
.bp-hero-gs-tab--active {
  color: #1a73e8;
  font-weight: 700;
  border-bottom: 1.5px solid #1a73e8;
  padding-bottom: 3px;
  margin-bottom: -5px;
}

/* Pack head */
.bp-hero-gs-pack-head {
  display: flex;
  justify-content: space-between;
  font-size: 7.5px;
  color: #5f6368;
  padding: 1px 4px;
}
.bp-hero-gs-pack-head b { color: var(--c-ink); font-weight: 700; }

/* Result rows */
.bp-hero-gs-result {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 7px;
  position: relative;
}
.bp-hero-gs-result--featured {
  background: linear-gradient(180deg, #fffaf0 0%, #fff 100%);
  border: 1.5px solid var(--c-ocre);
  box-shadow: 0 4px 8px rgba(217, 119, 6, 0.18);
}
.bp-hero-gs-result--featured::before {
  content: "Vous";
  position: absolute;
  top: -7px; right: 8px;
  background: var(--c-ocre);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(217, 119, 6, 0.30);
}
.bp-hero-gs-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d97706, #ea8a14);
  color: #fff;
  font-weight: 800;
  font-size: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.bp-hero-gs-thumb--alt {
  background: linear-gradient(135deg, #6b7280, #9ca3af);
}
.bp-hero-gs-thumb--alt2 {
  background: linear-gradient(135deg, #94a3b8, #cbd5e1);
}
.bp-hero-gs-thumb--alt3 {
  background: linear-gradient(135deg, #475569, #64748b);
}

/* Bouton "Plus de résultats" en bas du phone */
.bp-hero-gs-more {
  margin-top: 4px;
  padding: 6px 8px;
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  color: #1a73e8;
  border-top: 1px solid #ebebeb;
  letter-spacing: 0.02em;
}
.bp-hero-gs-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.bp-hero-gs-body strong {
  font-size: 8.5px;
  color: var(--c-ink);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-hero-gs-rate {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 7px;
  color: #1a1a1a;
}
.bp-hero-gs-stars { color: #fbbc04; letter-spacing: 0.5px; }
.bp-hero-gs-meta {
  font-size: 7px;
  color: #5f6368;
}

/* Mobile : grid stack mais reste compact */
@media (max-width: 980px) {
  .bp-hero-mockup { max-width: 500px; padding: 24px 0 32px; }
}
@media (max-width: 600px) {
  .bp-hero-mockup {
    grid-template-columns: 1fr 116px;
    gap: 10px;
  }
  .bp-hero-phone { width: 116px; }
}
@media (max-width: 460px) {
  .bp-hero-mockup { grid-template-columns: 1fr; gap: 16px; justify-items: center; }
  .bp-hero-phone { width: 130px; }
}

/* =========================================================
   HERO PLEIN ÉCRAN — supprime la bande blanche en bas
   ========================================================= */
.bp-home-hero {
  min-height: calc(100vh - 124px); /* 100vh - hauteur navbar */
  display: flex;
  align-items: center;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.bp-home-hero .bp-hero-inner {
  width: 100%;
}
@media (max-width: 980px) {
  .bp-home-hero {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 60px;
  }
}

/* =========================================================
   COOKIE BANNER (RGPD)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9999;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 24px 60px -12px rgba(11,29,58,.35);
  color: var(--c-text);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  display: flex; align-items: center; gap: 22px;
  max-width: 1120px; margin: 0 auto;
}
.cookie-text { flex: 1; }
.cookie-text strong {
  display: block; color: var(--c-ink);
  font-weight: 700; font-size: 15px; margin-bottom: 4px;
}
.cookie-text span {
  display: block; font-size: 13.5px;
  color: var(--c-text-soft); line-height: 1.5;
}
.cookie-actions {
  display: flex; gap: 10px; flex-shrink: 0;
}
.bp-cookie-btn-refuse, .bp-cookie-btn-accept {
  border: 0; cursor: pointer; font-family: inherit;
  font-weight: 700; font-size: 14px;
  padding: 10px 22px; border-radius: 999px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.bp-cookie-btn-refuse {
  background: #fff; color: var(--c-ink);
  border: 2px solid var(--c-line);
}
.bp-cookie-btn-refuse:hover {
  background: var(--c-cream); border-color: var(--c-ink);
}
.bp-cookie-btn-accept {
  background: linear-gradient(135deg, #ea8a14 0%, #d97706 50%, #b9590a 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(217,119,6,.28);
}
.bp-cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(217,119,6,.34);
}
@media (max-width: 760px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-actions { justify-content: flex-end; }
}

/* =========================================================
   FIXES PROD WP (anti-Pixetiq overrides)
   Specificite renforcee pour battre les regles du theme parent.
   ========================================================= */

/* --- Fix 1 : pillar tags (badges piliers) — pas full-width --- */
body.batipro-page .bp-pillar-tag,
.batipro-page .bp-pillar .bp-pillar-tag {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  max-width: max-content !important;
  text-align: left;
  white-space: nowrap;
  padding: 6px 14px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-ocre) !important;
  background: rgba(200, 122, 44, 0.10) !important;
  border: 1px solid rgba(200, 122, 44, 0.42) !important;
  border-radius: 999px !important;
  margin-top: 4px;
}
body.batipro-page .bp-pillar-tag a {
  color: inherit !important;
  text-decoration: none;
  border-bottom: none !important;
}

/* --- Fix 2 : ownership tags --- */
body.batipro-page .bp-own-tag {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  max-width: max-content !important;
  white-space: nowrap;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

/* --- Fix 3 : bullets de la card featured (comparatif) --- */
/* Bullets card featured comparatif : flex inline normal (anti-Pixetiq split en 2 colonnes) */
body.batipro-page .bp-cc-list { display: flex !important; flex-direction: column; gap: 10px; }
body.batipro-page .bp-cc-list li {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px !important;
  width: 100%;
}
body.batipro-page .bp-cc-list li > * {
  display: inline;
}
body.batipro-page .bp-cc-list li > strong,
body.batipro-page .bp-cc-list li strong {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  font-weight: 700;
}
/* Checkmark ::before garde sa width fixe */
body.batipro-page .bp-cc-list li::before {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: 3px;
}

/* --- Fix 4 : eyebrow tags --- */
body.batipro-page .eyebrow {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  max-width: max-content !important;
}

/* --- Fix 5 : hero kicker --- */
body.batipro-page .bp-kicker {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  max-width: max-content !important;
}

/* =========================================================
   SECTION NOTRE HISTOIRE (14 ans BTP, Janaa SAS)
   Section claire avec photo + storytelling
   ========================================================= */
.batipro-page .bp-story {
  background: #fff;
  color: var(--c-text);
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
}
.batipro-page .bp-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .batipro-page .bp-story-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; }
}

.batipro-page .bp-story-copy h2 { color: var(--c-ink); }
.batipro-page .bp-story-copy h2 em { color: var(--c-ocre); }
.batipro-page .bp-story-lead {
  color: var(--c-ink);
  font-size: 19px;
  line-height: 1.55;
  margin: 24px 0 18px;
}
.batipro-page .bp-story-copy > p {
  color: rgba(11, 29, 58, 0.78);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 540px;
}
.batipro-page .bp-story-copy > p strong {
  color: var(--c-ink);
}

.batipro-page .bp-story-stats {
  list-style: none; margin: 0 0 28px; padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(11, 29, 58, 0.10);
  border-bottom: 1px solid rgba(11, 29, 58, 0.10);
}
.batipro-page .bp-story-stats li {
  display: flex; flex-direction: column; gap: 4px;
}
.batipro-page .bp-story-num {
  font-family: var(--ff-serif, Georgia, serif);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  color: var(--c-ocre);
  font-weight: 600;
}
.batipro-page .bp-story-lab {
  font-size: 13px;
  color: rgba(11, 29, 58, 0.70);
  line-height: 1.4;
}

.batipro-page .bp-story-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--c-ink);
  padding-bottom: 2px;
  transition: color 200ms, border-color 200ms;
}
.batipro-page .bp-story-link:hover {
  color: var(--c-ocre);
  border-bottom-color: var(--c-ocre);
}

.batipro-page .bp-story-visual {
  position: relative;
  width: 100%;
  min-width: 0;
}
.batipro-page .bp-story-photo {
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 360px;
  background: linear-gradient(135deg, var(--c-ink), #1a3470);
  box-shadow: 0 20px 60px rgba(11, 29, 58, 0.15);
}
.batipro-page .bp-story-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
@media (min-width: 980px) {
  .batipro-page .bp-story-photo { min-height: 480px; }
}
.batipro-page .bp-story-card {
  position: absolute;
  bottom: -28px; left: -28px;
  background: var(--c-ink);
  color: #fff;
  padding: 22px 26px;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(11, 29, 58, 0.30);
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px;
  line-height: 1.45;
  max-width: 280px;
}
.batipro-page .bp-story-card strong {
  font-size: 16px;
  margin-bottom: 4px;
}
.batipro-page .bp-story-card-tag {
  display: inline-block;
  width: max-content;
  background: var(--c-ocre);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
@media (max-width: 760px) {
  .batipro-page .bp-story-stats { grid-template-columns: 1fr; gap: 14px; }
  .batipro-page .bp-story-photo { aspect-ratio: 1 / 1; }
  .batipro-page .bp-story-card {
    position: static;
    margin-top: 24px;
    max-width: none;
  }
}

/* =========================================================
   SECTION POUR QUI ON CODE (metiers BTP)
   ========================================================= */
.batipro-page .bp-metiers {
  background: var(--c-blue-deep);
  color: #fff;
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.batipro-page .bp-metiers h2 { color: #fff; }
.batipro-page .bp-metiers h2 em { color: var(--c-ocre-soft, var(--c-ocre)); }
.batipro-page .bp-metiers .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px; margin: 16px auto 0;
}

.batipro-page .bp-metiers-grid {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
@media (min-width: 980px) {
  .batipro-page .bp-metiers-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}
.batipro-page .bp-metiers-card {
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 22px 18px;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), background 280ms, border-color 280ms;
}
.batipro-page .bp-metiers-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(200, 122, 44, 0.35);
}
.batipro-page .bp-metiers-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
  filter: grayscale(0.15) saturate(0.85);
}
.batipro-page .bp-metiers-num {
  display: block;
  font-family: var(--ff-serif, Georgia, serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
  color: var(--c-ocre);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum', 'lnum';
}
.batipro-page .bp-metiers-card strong {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.batipro-page .bp-metiers-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.4;
}
.batipro-page .bp-metiers-foot {
  margin-top: 36px;
  text-align: center;
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
}
.batipro-page .bp-metiers-foot a {
  color: var(--c-ocre);
  text-decoration: none;
  border-bottom: 1px solid var(--c-ocre);
}
.batipro-page .bp-metiers-foot a:hover { color: #fff; border-bottom-color: #fff; }

/* =========================================================
   CTA INLINE (rappel maquette gratuite entre sections)
   ========================================================= */
.batipro-page .bp-cta-inline {
  margin: 48px auto 0;
  max-width: 720px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(200, 122, 44, 0.08), rgba(200, 122, 44, 0.04));
  border: 1px solid rgba(200, 122, 44, 0.30);
  border-radius: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.batipro-page .bp-cta-inline-text {
  flex: 1;
  min-width: 240px;
}
.batipro-page .bp-cta-inline-text strong {
  display: block;
  color: var(--c-ink);
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 4px;
}
.batipro-page .bp-cta-inline-text span {
  color: rgba(11, 29, 58, 0.74);
  font-size: 14px;
  line-height: 1.5;
}
.batipro-page .bp-cta-inline .btn-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Variante sur fond bleu (sections sombres) */
.batipro-page .bp-cta-inline.--on-dark {
  background: linear-gradient(135deg, rgba(200, 122, 44, 0.14), rgba(200, 122, 44, 0.06));
  border: 1px solid rgba(200, 122, 44, 0.40);
}
.batipro-page .bp-cta-inline.--on-dark .bp-cta-inline-text strong {
  color: #fff;
}
.batipro-page .bp-cta-inline.--on-dark .bp-cta-inline-text span {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 720px) {
  .batipro-page .bp-cta-inline {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 24px 20px;
  }
}

/* =========================================================
   SECTION ANATOMIE D'UN SITE QUI CONVERTIT (chiffres-cles)
   Section claire en cream, contraste avec bleu nuit autour
   ========================================================= */
.batipro-page .bp-anatomie {
  background: var(--c-cream);
  color: var(--c-text);
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
  border-top: 1px solid rgba(11, 29, 58, 0.08);
}
.batipro-page .bp-anatomie h2 { color: var(--c-ink); }
.batipro-page .bp-anatomie h2 em { color: var(--c-ocre); }
.batipro-page .bp-anatomie .lead {
  color: rgba(11, 29, 58, 0.78);
  max-width: 720px; margin: 16px auto 0;
}

.batipro-page .bp-anatomie-grid {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
@media (min-width: 980px) {
  .batipro-page .bp-anatomie-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
}

.batipro-page .bp-anatomie-card {
  background: #fff;
  border: 1px solid rgba(11, 29, 58, 0.10);
  border-radius: 14px;
  padding: 32px 26px 26px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 4px 14px rgba(11, 29, 58, 0.04);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.batipro-page .bp-anatomie-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(11, 29, 58, 0.10);
}

.batipro-page .bp-anatomie-num {
  font-family: var(--ff-serif, Georgia, serif);
  font-style: italic;
  font-size: 18px;
  color: var(--c-ocre);
  line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.batipro-page .bp-anatomie-num strong {
  font-size: 56px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.02em;
}

.batipro-page .bp-anatomie-card h3 {
  color: var(--c-ink);
  font-size: 17px;
  line-height: 1.3;
  margin: 0;
  font-weight: 600;
}
.batipro-page .bp-anatomie-card p {
  color: rgba(11, 29, 58, 0.78);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.batipro-page .bp-anatomie-card p strong {
  color: var(--c-ink);
}
.batipro-page .bp-anatomie-source {
  display: block;
  font-size: 11px;
  color: rgba(11, 29, 58, 0.55);
  font-style: italic;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(11, 29, 58, 0.06);
}
.batipro-page .bp-anatomie-source a {
  color: rgba(11, 29, 58, 0.65);
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}
.batipro-page .bp-anatomie-source a:hover { color: var(--c-ocre); border-bottom-color: var(--c-ocre); }

.batipro-page .bp-anatomie-foot {
  margin-top: 40px;
  padding: 24px 28px;
  background: rgba(11, 29, 58, 0.04);
  border-left: 3px solid var(--c-ocre);
  border-radius: 0 8px 8px 0;
  color: var(--c-ink);
  font-size: 16px;
  line-height: 1.55;
}
.batipro-page .bp-anatomie-foot em {
  color: var(--c-ocre);
  font-style: italic;
}
.batipro-page .bp-anatomie-foot strong {
  color: var(--c-ink);
}

/* =========================================================
   SECTION COMPARATIF VS ALTERNATIVES
   Section bleu nuit, 4 cards comparatives
   ========================================================= */
.batipro-page .bp-alts {
  background: var(--c-blue-deep);
  color: rgba(255, 255, 255, 0.92);
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.batipro-page .bp-alts h2 { color: #fff; }
.batipro-page .bp-alts h2 em { color: var(--c-ocre-soft, var(--c-ocre)); }
.batipro-page .bp-alts .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px; margin: 16px auto 0;
}

.batipro-page .bp-alts-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) {
  .batipro-page .bp-alts-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1100px) {
  .batipro-page .bp-alts-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

.batipro-page .bp-alts-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 24px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), border-color 280ms;
}
.batipro-page .bp-alts-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.batipro-page .bp-alts-card.--featured {
  background: rgba(200, 122, 44, 0.08);
  border: 1.5px solid var(--c-ocre);
  box-shadow: 0 14px 36px rgba(200, 122, 44, 0.18);
}
.batipro-page .bp-alts-ribbon {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--c-ocre);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.batipro-page .bp-alts-card header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding-bottom: 14px;
}
.batipro-page .bp-alts-tag {
  display: inline-flex; align-items: center;
  width: max-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.70);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.batipro-page .bp-alts-tag.--brand {
  background: rgba(200, 122, 44, 0.15);
  color: var(--c-ocre);
}
.batipro-page .bp-alts-card h3 {
  color: #fff;
  font-size: 17px;
  line-height: 1.3;
  margin: 0;
  font-weight: 600;
}

.batipro-page .bp-alts-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.batipro-page .bp-alts-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
.batipro-page .bp-alts-list li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  flex: 0 0 16px;
  margin-top: 2px;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800;
  background: rgba(255, 255, 255, 0.10);
}
.batipro-page .bp-alts-list li.--ok::before {
  content: "✓";
  background: rgba(34, 197, 94, 0.18);
  color: rgb(74, 222, 128);
}
.batipro-page .bp-alts-list li.--ko::before {
  content: "✕";
  background: rgba(239, 68, 68, 0.18);
  color: rgb(252, 165, 165);
}
.batipro-page .bp-alts-list li.--ko { color: rgba(255, 255, 255, 0.62); }

.batipro-page .bp-alts-foot {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.70);
}
.batipro-page .bp-alts-foot strong {
  color: #fff;
  font-style: normal;
}

/* =========================================================
   SECTION TIMELINE DETAILLEE (J0 -> J365)
   Section claire, ligne verticale + jalons
   ========================================================= */
.batipro-page .bp-timeline {
  background: #fff;
  color: var(--c-text);
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid rgba(11, 29, 58, 0.06);
}
.batipro-page .bp-timeline h2 { color: var(--c-ink); }
.batipro-page .bp-timeline h2 em { color: var(--c-ocre); }
.batipro-page .bp-timeline .lead {
  color: rgba(11, 29, 58, 0.78);
  max-width: 720px; margin: 16px auto 0;
}

.batipro-page .bp-timeline-list {
  list-style: none; margin: 56px auto 0; padding: 0;
  max-width: 760px;
  position: relative;
}
.batipro-page .bp-timeline-list::before {
  content: "";
  position: absolute;
  top: 12px; bottom: 12px; left: 78px;
  width: 2px;
  background: linear-gradient(180deg, rgba(11, 29, 58, 0.12), rgba(11, 29, 58, 0.04));
  border-radius: 2px;
}
@media (max-width: 600px) {
  .batipro-page .bp-timeline-list::before { left: 32px; }
}

.batipro-page .bp-timeline-item {
  position: relative;
  display: flex; align-items: flex-start;
  gap: 28px;
  padding: 0 0 32px 0;
}
.batipro-page .bp-timeline-item:last-child { padding-bottom: 0; }

.batipro-page .bp-timeline-day {
  flex: 0 0 56px;
  width: 56px;
  text-align: right;
  font-family: var(--ff-serif, Georgia, serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
  color: var(--c-ink);
  padding-top: 4px;
  position: relative;
}
.batipro-page .bp-timeline-day::after {
  content: "";
  position: absolute;
  top: 14px; right: -36px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c-ocre);
  z-index: 1;
}
.batipro-page .bp-timeline-item.--milestone .bp-timeline-day::after {
  background: var(--c-ocre);
  box-shadow: 0 0 0 4px rgba(200, 122, 44, 0.18);
}

@media (max-width: 600px) {
  .batipro-page .bp-timeline-item { gap: 16px; }
  .batipro-page .bp-timeline-day { flex: 0 0 24px; width: 24px; font-size: 14px; text-align: center; }
  .batipro-page .bp-timeline-day::after { right: -16px; width: 12px; height: 12px; }
}

.batipro-page .bp-timeline-body {
  flex: 1;
  background: var(--c-cream);
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: 12px;
  padding: 18px 24px;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), border-color 280ms;
}
.batipro-page .bp-timeline-item.--milestone .bp-timeline-body {
  background: #fff;
  border-color: var(--c-ocre);
  box-shadow: 0 8px 24px rgba(200, 122, 44, 0.12);
}
.batipro-page .bp-timeline-body:hover {
  transform: translateX(4px);
  border-color: rgba(200, 122, 44, 0.30);
}

.batipro-page .bp-timeline-body h3 {
  color: var(--c-ink);
  font-size: 17px;
  line-height: 1.3;
  margin: 0 0 6px;
  font-weight: 600;
}
.batipro-page .bp-timeline-body p {
  color: rgba(11, 29, 58, 0.78);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.batipro-page .bp-timeline-body p strong { color: var(--c-ink); }

/* =========================================================
   SECTION ACTUALITÉS (3 derniers articles WP, dynamique)
   ========================================================= */
.batipro-page .bp-news {
  background: #fff;
  color: var(--c-text);
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid rgba(11, 29, 58, 0.06);
}
.batipro-page .bp-news h2 { color: var(--c-ink); }
.batipro-page .bp-news h2 em { color: var(--c-ocre); }
.batipro-page .bp-news .lead {
  color: rgba(11, 29, 58, 0.74);
  max-width: 720px; margin: 16px auto 0;
}

.batipro-page .bp-news-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .batipro-page .bp-news-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

.batipro-page .bp-news-card {
  background: #fff;
  border: 1px solid rgba(11, 29, 58, 0.10);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1), border-color 320ms;
  display: flex; flex-direction: column;
}
.batipro-page .bp-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(11, 29, 58, 0.12);
  border-color: rgba(200, 122, 44, 0.30);
}

.batipro-page .bp-news-card-link {
  display: flex; flex-direction: column; gap: 0;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.batipro-page .bp-news-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-ink), #1a3470);
  position: relative;
}
.batipro-page .bp-news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.batipro-page .bp-news-card:hover .bp-news-card-img img {
  transform: scale(1.04);
}

.batipro-page .bp-news-card-body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}

.batipro-page .bp-news-cat {
  display: inline-flex; align-items: center;
  width: max-content;
  background: rgba(200, 122, 44, 0.10);
  color: var(--c-ocre);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.batipro-page .bp-news-card h3 {
  color: var(--c-ink);
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
  font-weight: 600;
  /* clamp 2 lignes */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.batipro-page .bp-news-card p {
  color: rgba(11, 29, 58, 0.70);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  /* clamp 3 lignes */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.batipro-page .bp-news-meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  color: rgba(11, 29, 58, 0.60);
  font-style: italic;
  display: inline-flex; align-items: center; gap: 4px;
  border-top: 1px solid rgba(11, 29, 58, 0.06);
}
.batipro-page .bp-news-card:hover .bp-news-meta {
  color: var(--c-ocre);
}

.batipro-page .bp-news-cta {
  margin-top: 48px;
  text-align: center;
}
.batipro-page .bp-news-cta .btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border: 2px solid var(--c-ink);
}
.batipro-page .bp-news-cta .btn-ghost:hover {
  background: var(--c-ink);
  color: #fff;
}

/* =========================================================
   FAQ CTA (lien vers maquette pour autres questions)
   La section FAQ est sur fond cream/beige, donc texte navy
   ========================================================= */
.batipro-page .bp-faq-cta-faq {
  margin-top: 36px;
  text-align: center;
  color: rgba(11, 29, 58, 0.78);
  font-size: 14px;
}
.batipro-page .bp-faq-cta-faq a {
  color: var(--c-ocre);
  text-decoration: none;
  border-bottom: 1px solid var(--c-ocre);
}
.batipro-page .bp-faq-cta-faq a:hover {
  color: var(--c-ink);
  border-bottom-color: var(--c-ink);
}

/* =========================================================
   SECTION RÉSEAU PRO (bonus inclus 12 mois)
   Section claire en cream, contraste avec le bleu nuit autour
   ========================================================= */
.batipro-page .bp-network {
  background: var(--c-cream);
  color: var(--c-text);
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
  border-top: 1px solid rgba(11, 29, 58, 0.08);
  border-bottom: 1px solid rgba(11, 29, 58, 0.08);
}
.batipro-page .bp-network::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(11, 29, 58, 0.05), transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(200, 122, 44, 0.05), transparent 42%);
  pointer-events: none;
}
.batipro-page .bp-network > .container { position: relative; z-index: 1; }

.batipro-page .bp-network h2 { color: var(--c-ink); }
.batipro-page .bp-network h2 em { color: var(--c-ocre); }
.batipro-page .bp-network .lead {
  color: var(--c-text);
  max-width: 720px;
  margin: 16px auto 0;
}

.batipro-page .bp-network-grid {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
@media (min-width: 980px) {
  .batipro-page .bp-network-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
}
.batipro-page .bp-network-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(11, 29, 58, 0.10);
  border-top: 3px solid var(--c-ocre);
  border-radius: 12px;
  padding: 28px 24px 24px;
  box-shadow: 0 4px 14px rgba(11, 29, 58, 0.05);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.batipro-page .bp-network-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 29, 58, 0.10);
}
.batipro-page .bp-network-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--ff-serif, Georgia, serif);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  color: rgba(200, 122, 44, 0.22);
  font-weight: 500;
}
.batipro-page .bp-network-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(200, 122, 44, 0.10);
  color: var(--c-ocre);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.batipro-page .bp-network-icon svg { width: 24px; height: 24px; }
.batipro-page .bp-network-card h3 {
  color: var(--c-ink);
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 10px;
}
.batipro-page .bp-network-card p {
  color: rgba(11, 29, 58, 0.78);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.batipro-page .bp-network-cta {
  margin-top: 48px;
  text-align: center;
}
.batipro-page .bp-network-cta .btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border: 2px solid var(--c-ink);
}
.batipro-page .bp-network-cta .btn-ghost:hover {
  background: var(--c-ink);
  color: #fff;
}
.batipro-page .bp-network-foot {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(11, 29, 58, 0.66);
  font-style: italic;
}

@media (max-width: 760px) {
  .batipro-page .bp-network-grid { gap: 16px; }
  .batipro-page .bp-network-card { padding: 24px 20px 22px; }
}

/* ============================================================
   VISUAL UPGRADE PASS — IMPECCABLE
   Charge en dernier, override les patterns generiques.
   Objectif : passer du "AI-default" au "agence haut-de-gamme".
   ============================================================ */

/* --- 1. DESATURER LE ORANGE FLASH (CTAs) ---
   Avant : gradient #ea8a14 -> #d97706 -> #b9590a (sature, flashy)
   Apres : gradient subtil dans la famille ocre
*/
.batipro-page .btn-cta,
body.batipro-page .btn-cta,
.batipro-page a.btn-cta,
.batipro-page button.btn-cta {
  background: linear-gradient(180deg, #c87a2c 0%, #b16a25 60%, #9a5e22 100%) !important;
  border: none !important;
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -1px 0 rgba(11, 29, 58, 0.20) inset,
    0 8px 22px -6px rgba(11, 29, 58, 0.35);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1),
              background 220ms;
}
.batipro-page .btn-cta:hover,
body.batipro-page .btn-cta:hover {
  background: linear-gradient(180deg, #d18536 0%, #b97224 60%, #a06224 100%) !important;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 -1px 0 rgba(11, 29, 58, 0.22) inset,
    0 14px 32px -8px rgba(11, 29, 58, 0.42);
}
.batipro-page .btn-cta:active,
body.batipro-page .btn-cta:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 -1px 0 rgba(11, 29, 58, 0.20) inset,
    0 4px 14px -4px rgba(11, 29, 58, 0.40);
}

/* Liens hover sur le brand : descendre du gold flash a l'ocre subtil */
.batipro-page a:hover,
body.batipro-page a:hover { color: var(--c-ocre); }
body.batipro-page .bp-card-link:hover { color: var(--c-ocre); }

/* --- 2. TINTED SHADOWS (navy au lieu de noir pur) ---
   Cards et conteneurs : ombres teintees var(--c-ink) = #0b1d3a
*/
body.batipro-page .bp-pillar {
  box-shadow: 0 4px 14px -4px rgba(11, 29, 58, 0.10), 0 2px 6px -2px rgba(11, 29, 58, 0.06);
}
body.batipro-page .bp-pillar:hover {
  box-shadow: 0 16px 36px -10px rgba(11, 29, 58, 0.18), 0 6px 14px -4px rgba(11, 29, 58, 0.10);
}
body.batipro-page .bp-anatomie-card {
  box-shadow: 0 4px 14px -4px rgba(11, 29, 58, 0.08);
}
body.batipro-page .bp-anatomie-card:hover {
  box-shadow: 0 14px 34px -10px rgba(11, 29, 58, 0.18);
}
body.batipro-page .bp-news-card:hover {
  box-shadow: 0 18px 38px -10px rgba(11, 29, 58, 0.20);
}
body.batipro-page .bp-network-card {
  box-shadow: 0 4px 14px -4px rgba(11, 29, 58, 0.06);
}
body.batipro-page .bp-network-card:hover {
  box-shadow: 0 12px 28px -8px rgba(11, 29, 58, 0.16);
}
body.batipro-page .bp-faq-item[open] {
  box-shadow: 0 8px 22px -6px rgba(11, 29, 58, 0.16);
}

/* --- 3. BORDER-RADIUS SCALE (varier selon hierarchie) ---
   Containers exterieurs : 14-16px
   Cards intermediaires  : 10-12px
   Elements internes     : 6-8px
   Pills & cercles       : 999px (inchange)
*/
body.batipro-page .bp-pillar { border-radius: 14px; }
body.batipro-page .bp-pillar-icon { border-radius: 10px; }
body.batipro-page .bp-anatomie-card { border-radius: 12px; }
body.batipro-page .bp-news-card { border-radius: 14px; }
body.batipro-page .bp-network-card { border-radius: 12px; }
body.batipro-page .bp-network-icon { border-radius: 8px; }
body.batipro-page .bp-anatomie-foot { border-radius: 0 8px 8px 0; }
body.batipro-page .bp-timeline-body { border-radius: 10px; }
body.batipro-page .bp-alts-card { border-radius: 14px; }
body.batipro-page .bp-cta-inline { border-radius: 14px; }
body.batipro-page .bp-faq-item { border-radius: 10px; }
body.batipro-page .bp-faq-a { border-radius: 0 0 10px 10px; }

/* --- 4. EYEBROWS : adoucir le all-caps systematique ---
   Garde l'eyebrow comme libelle de section, mais en sentence-case
   plus letter-spacing fin et bar courte avant. Plus editorial.
*/
body.batipro-page .eyebrow {
  text-transform: none !important;
  letter-spacing: 0.04em !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  font-style: italic;
  color: var(--c-ocre);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
body.batipro-page .eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Le hero kicker garde son style "tag" (cercle ocre + bar) sans text-transform */
body.batipro-page .bp-kicker {
  text-transform: none !important;
  letter-spacing: 0.04em !important;
  font-style: italic !important;
}

/* --- 5. POLISH MICRO-DETAILS ---
   Hover smooth, scrollbar discrete, focus visible
*/
.batipro-page * {
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 29, 58, 0.30) transparent;
}
.batipro-page *:focus-visible {
  outline: 2px solid var(--c-ocre);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Smooth scroll global (sauf si user prefere reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* --- 6. CTA-FINAL (section conversion finale) ---
   Polish supplementaire : centrage, espacement, finition
*/
body.batipro-page .bp-cta-final {
  background: radial-gradient(circle at 30% 30%, rgba(200, 122, 44, 0.08), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(11, 29, 58, 0.10), transparent 60%),
              var(--c-blue-deep);
}

/* ============================================================
   AUDIT design-taste-frontend — fixes chiffres
   ============================================================ */

/* --- Fix 1 : reduire le saut h2 -> h3 (etait 2.17, vise 1.55) ---
   h2 reste clamp(32px, 4.6vw, 52px), h3 passe a clamp(22px, 2.4vw, 30px)
*/
body.batipro-page h3,
body.batipro-page .bp-pillar h3,
body.batipro-page .bp-anatomie-card h3,
body.batipro-page .bp-network-card h3,
body.batipro-page .bp-metiers-card strong,
body.batipro-page .bp-news-card h3,
body.batipro-page .bp-timeline-body h3,
body.batipro-page .bp-alts-card h3,
body.batipro-page .bp-story-card strong {
  font-size: clamp(20px, 2.2vw, 28px) !important;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

/* --- Fix 2 : letter-spacing tighter sur les display headlines ---
   Premium feel, lisibilite preserved
*/
body.batipro-page h1,
body.batipro-page .bp-hero-title,
body.batipro-page h2 {
  letter-spacing: -0.028em !important;
  font-feature-settings: 'ss01', 'cv01', 'cv11';
}

/* --- Fix 3 : ameliorer le contraste sur les small texts ---
   Sources, captions, footers : passer de 0.55 -> 0.68
*/
body.batipro-page .bp-anatomie-source,
body.batipro-page .bp-anatomie-source a,
body.batipro-page .bp-news-meta,
body.batipro-page .bp-network-foot {
  color: rgba(11, 29, 58, 0.68) !important;
}
body.batipro-page .bp-alts-foot {
  color: rgba(255, 255, 255, 0.78) !important;
}
body.batipro-page .bp-alts-list li.--ko {
  color: rgba(255, 255, 255, 0.74) !important;
}

/* --- Fix 4 : font-feature-settings global pour le rendu typo premium ---
   Active les ligatures et stylistic alternates de la police systeme
*/
body.batipro-page,
body.batipro-page p,
body.batipro-page li,
body.batipro-page span {
  font-feature-settings: 'kern', 'liga', 'calt', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* --- Fix 5 : body max-width sur les paragraphes longs (65ch) ---
   Lisibilite premium, evite les lignes trop larges sur desktop
*/
body.batipro-page .bp-pillar-detail,
body.batipro-page .bp-anatomie-card p,
body.batipro-page .bp-network-card p,
body.batipro-page .bp-news-card p,
body.batipro-page .bp-timeline-body p,
body.batipro-page .bp-story-copy p {
  max-width: 65ch;
}

/* --- Fix bonus : tabular-nums pour les chiffres (anatomie, dates) ---
   Alignement vertical des chiffres
*/
body.batipro-page .bp-anatomie-num,
body.batipro-page .bp-anatomie-num strong,
body.batipro-page .bp-story-num,
body.batipro-page .bp-timeline-day,
body.batipro-page .bp-pillar-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum', 'lnum';
}

/* ============================================================
   AGENCE-TIER PASS — high-end-visual-design
   Vibe : Soft Structuralism + ocre warmth
   Techniques : custom easing, hairlines, nested highlights,
   paper grain subtil, macro-whitespace, magnetic hover.
   ============================================================ */

/* --- Custom easing global (Apple-tier cubic-bezier) ---
   Remplace tous les linear/ease-in-out par un easing premium
*/
:root {
  --bp-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --bp-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.batipro-page * {
  transition-timing-function: var(--bp-ease);
}

/* --- Paper grain subtil sur fond bleu nuit (texture analogique) ---
   Ne s'applique qu'aux sections sombres. Fixed pseudo-element
   pointer-events:none -> 0 impact perf scroll.
*/
body.batipro-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, rgba(255, 255, 255, 0.18) 1px, transparent 2px),
    repeating-radial-gradient(circle at 50% 50%, transparent 0, rgba(255, 255, 255, 0.10) 1px, transparent 3px);
  mix-blend-mode: overlay;
}

/* --- Hairline borders (1px borders -> 0.5px-equivalent visual via opacity) ---
   Passe les borders generiques en hairlines plus subtiles et premium
*/
body.batipro-page .bp-pillar,
body.batipro-page .bp-anatomie-card,
body.batipro-page .bp-news-card,
body.batipro-page .bp-network-card,
body.batipro-page .bp-timeline-body,
body.batipro-page .bp-alts-card {
  border-color: rgba(11, 29, 58, 0.08) !important;
}
body.batipro-page .bp-alts-card,
body.batipro-page .bp-metiers-card {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* --- Nested highlight (effet "machined hardware") ---
   Cards principales : ajout d'un inset highlight subtil 1px
*/
body.batipro-page .bp-pillar,
body.batipro-page .bp-anatomie-card,
body.batipro-page .bp-network-card,
body.batipro-page .bp-news-card {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 4px 14px -4px rgba(11, 29, 58, 0.08),
    0 2px 6px -2px rgba(11, 29, 58, 0.04) !important;
}
body.batipro-page .bp-pillar:hover,
body.batipro-page .bp-anatomie-card:hover,
body.batipro-page .bp-network-card:hover,
body.batipro-page .bp-news-card:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 18px 40px -12px rgba(11, 29, 58, 0.18),
    0 6px 14px -4px rgba(11, 29, 58, 0.10) !important;
}

/* --- Cards sombres (alts, metiers) : inset highlight blanc ---
   Donne de la profondeur sur fond bleu nuit
*/
body.batipro-page .bp-alts-card,
body.batipro-page .bp-metiers-card {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 4px 14px -4px rgba(0, 0, 0, 0.20) !important;
}

/* --- Magnetic CTA hover (translateY subtle + scale active) ---
   Spring physics sur les CTAs principaux
*/
body.batipro-page .btn-cta,
body.batipro-page .btn-ghost {
  transition: transform 380ms var(--bp-ease),
              box-shadow 380ms var(--bp-ease),
              background 280ms var(--bp-ease),
              color 280ms var(--bp-ease);
}
body.batipro-page .btn-cta:hover {
  transform: translateY(-2px) scale(1.01);
}
body.batipro-page .btn-cta:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 120ms;
}

/* --- Whitespace : sections compactes (rev. 3 apres 3x "trop d'espace") ---
   Cible RADICAL : 24-48px paddings.
*/
body.batipro-page .bp-manifesto,
body.batipro-page .bp-anatomie,
body.batipro-page .bp-ownership,
body.batipro-page .bp-showreel-section,
body.batipro-page .bp-alts,
body.batipro-page .bp-metiers,
body.batipro-page .bp-timeline,
body.batipro-page .bp-network,
body.batipro-page .bp-news,
body.batipro-page .bp-story,
body.batipro-page .bp-faq-section,
body.batipro-page .bp-cta-final {
  padding-top: clamp(24px, 3vw, 48px) !important;
  padding-bottom: clamp(24px, 3vw, 48px) !important;
}

/* --- Section-head : margin reduit ---
*/
body.batipro-page .section-head {
  margin-bottom: 24px !important;
}
@media (min-width: 980px) {
  body.batipro-page .section-head {
    margin-bottom: 32px !important;
  }
}

/* --- CTA inline + section foots : margin-top compact ---
*/
body.batipro-page .bp-cta-inline {
  margin-top: 24px !important;
  padding: 18px 24px !important;
}
body.batipro-page .bp-network-cta,
body.batipro-page .bp-news-cta {
  margin-top: 20px !important;
}
body.batipro-page .bp-anatomie-foot {
  margin-top: 20px !important;
}

/* --- Margin-top des grilles intra-section : reduit ---
*/
body.batipro-page .bp-anatomie-grid,
body.batipro-page .bp-network-grid,
body.batipro-page .bp-news-grid,
body.batipro-page .bp-metiers-grid,
body.batipro-page .bp-alts-grid,
body.batipro-page .bp-pillars,
body.batipro-page .bp-timeline-list {
  margin-top: 32px !important;
}

/* --- Story-grid : reduire le margin (deja serre) ---
*/
body.batipro-page .bp-story-stats {
  padding: 18px 0 !important;
  margin: 18px 0 !important;
}

/* --- Display tighter encore (maximiser le premium feel sur les H1) ---
   Letter-spacing -0.028em -> -0.034em (limite avant casse lisibilite)
*/
body.batipro-page .bp-hero-title,
body.batipro-page h1#hero-title {
  letter-spacing: -0.034em !important;
  font-feature-settings: 'ss01', 'cv01', 'cv11', 'kern';
  line-height: 1.05 !important;
}

/* --- Fix : espace inutile dans le hero entre "vos visiteurs Google" et "en" ---
   Le .hl (highlight souligne) ou le <em> avait probablement un padding/margin interne
   qui creait un saut de ligne supplementaire. Reset.
*/
body.batipro-page .bp-hero-title em,
body.batipro-page .bp-hero-title .hl {
  display: inline;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  line-height: inherit;
}
body.batipro-page .bp-hero-title em {
  font-style: italic;
  color: var(--c-ocre);
  font-weight: 500;
}
body.batipro-page .bp-hero-title br {
  line-height: 1.05;
}

/* --- Trailing arrow dans CTA : effet "button-in-button" subtil ---
   L'arrow grandit et translate diagonalement au hover
*/
body.batipro-page .btn-cta span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 320ms var(--bp-ease);
  margin-left: 4px;
}
body.batipro-page .btn-cta:hover span[aria-hidden="true"] {
  transform: translateX(4px);
}

/* --- Scrollbar tres fine et discrete (firefox + webkit) ---
   Premium : pas de scrollbar grosse OS-default
*/
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 29, 58, 0.20) transparent;
}
::-webkit-scrollbar {
  width: 8px; height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(11, 29, 58, 0.18);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(11, 29, 58, 0.32);
  background-clip: content-box;
}

/* --- Selection highlight personnalise (detail premium qui surprend) ---
*/
.batipro-page ::selection {
  background: var(--c-ocre);
  color: #fff;
}

/* --- Image rendering optimise pour les mockups ---
*/
.batipro-page img {
  image-rendering: -webkit-optimize-contrast;
}

/* --- Hero promises : pills sobres dans la palette (ocre + bleu nuit) ---
   Avant : cercle vert + check blanc + pill blanche = 4 couleurs (arbre de noel)
   Apres : pill transparente + icone SVG ocre + texte blanc = 2 couleurs cohérentes
*/
body.batipro-page .bp-hero-promises {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
  padding: 0 !important;
  margin: 28px 0 0 !important;
  list-style: none !important;
}
body.batipro-page .bp-hero-promises li {
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  padding: 8px 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(200, 122, 44, 0.28) !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  transition: transform 240ms var(--bp-ease),
              background 240ms,
              border-color 240ms !important;
}
body.batipro-page .bp-hero-promises li:hover {
  transform: translateY(-1px);
  background: rgba(200, 122, 44, 0.10) !important;
  border-color: rgba(200, 122, 44, 0.50) !important;
}
body.batipro-page .bp-promise-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  color: var(--c-ocre);
  flex-shrink: 0;
}
body.batipro-page .bp-promise-icon svg {
  width: 16px; height: 16px;
  display: block;
}
/* Cache l'ancien check si le HTML n'a pas ete maj sur certaines variantes */
body.batipro-page .bp-hero-promises .bp-check {
  display: none !important;
}

/* =========================================================
   FIX COOKIE BANNER : bouton Accepter blanc sur blanc invisible
   ========================================================= */
body.batipro-page .bp-cookie-btn-accept,
body .cookie-banner .bp-cookie-btn-accept,
.cookie-banner button.bp-cookie-btn-accept,
button#cookieAccept {
  background: linear-gradient(180deg, #c87a2c 0%, #b16a25 60%, #9a5e22 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 14px -2px rgba(11, 29, 58, 0.20) !important;
  transition: transform 220ms var(--bp-ease, cubic-bezier(0.16, 1, 0.3, 1)),
              box-shadow 220ms !important;
}
body.batipro-page .bp-cookie-btn-accept:hover,
body .cookie-banner .bp-cookie-btn-accept:hover,
button#cookieAccept:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #d18536 0%, #b97224 60%, #a06224 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 12px 24px -4px rgba(11, 29, 58, 0.28) !important;
}
body.batipro-page .bp-cookie-btn-refuse,
body .cookie-banner .bp-cookie-btn-refuse,
button#cookieRefuse {
  background: transparent !important;
  color: var(--c-ink) !important;
  border: 1.5px solid rgba(11, 29, 58, 0.20) !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer;
  transition: background 220ms, border-color 220ms !important;
}
body.batipro-page .bp-cookie-btn-refuse:hover,
button#cookieRefuse:hover {
  background: rgba(11, 29, 58, 0.04) !important;
  border-color: rgba(11, 29, 58, 0.40) !important;
}

/* ============================================================
   HERO CTA BLOC UNIFIE — type Linear/Vercel
   1 bouton principal + trust strip de pills + lien text discret
   ============================================================ */
body.batipro-page .bp-hero-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
  max-width: 540px;
}

/* Bouton CTA principal : full-width du block, gros, premium */
body.batipro-page .bp-hero-cta-main {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  padding: 18px 28px 18px 32px !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  width: auto;
  align-self: stretch;
  position: relative;
}
body.batipro-page .bp-hero-cta-main:hover .bp-cta-arrow {
  transform: translateX(4px) scale(1.05);
  background: rgba(255, 255, 255, 0.18);
}
body.batipro-page .bp-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  margin-left: 4px;
  flex-shrink: 0;
  transition: transform 320ms var(--bp-ease), background 320ms;
}
body.batipro-page .bp-cta-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Trust strip : 3 pills compactes avec separateurs */
body.batipro-page .bp-hero-promises {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 !important;
  padding: 10px 18px !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  list-style: none !important;
  align-self: stretch;
  justify-content: space-around;
}
body.batipro-page .bp-hero-promises li:not(.bp-promise-sep) {
  display: inline-flex !important;
  align-items: center;
  gap: 7px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  white-space: nowrap;
  transition: color 220ms var(--bp-ease) !important;
}
body.batipro-page .bp-hero-promises li:not(.bp-promise-sep):hover {
  transform: none !important;
  color: #fff !important;
  background: transparent !important;
  border: none !important;
}
body.batipro-page .bp-hero-promises li:hover .bp-promise-icon {
  transform: scale(1.08);
}
body.batipro-page .bp-promise-icon {
  transition: transform 220ms var(--bp-ease);
}
body.batipro-page .bp-promise-sep,
body.batipro-page .bp-hero-promises li.bp-promise-sep {
  width: 1px !important;
  height: 16px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 4px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  pointer-events: none;
  list-style: none !important;
}
body.batipro-page .bp-promise-sep:hover,
body.batipro-page .bp-hero-promises li.bp-promise-sep:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border: none !important;
  transform: none !important;
}

/* Mobile : pills s'empilent, separateurs masques */
@media (max-width: 760px) {
  body.batipro-page .bp-hero-cta-block { gap: 14px; }
  body.batipro-page .bp-hero-promises {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    gap: 10px !important;
  }
  body.batipro-page .bp-promise-sep {
    width: 100%;
    height: 1px;
    margin: 0;
  }
}

/* Lien secondaire discret (au lieu d'un 2e bouton) */
body.batipro-page .bp-hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  transition: color 220ms var(--bp-ease), gap 220ms;
}
body.batipro-page .bp-hero-secondary-link:hover {
  color: var(--c-ocre) !important;
  gap: 10px;
}

/* ============================================================
   SECTION #metiers — numeros plus gros + effet sympa
   Avant : 22px italique
   Apres : 56-72px italique en filigrane derriere le titre + gros chiffre
   ============================================================ */
body.batipro-page .bp-metiers-card {
  position: relative;
  overflow: hidden;
  padding: 32px 22px 24px !important;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
body.batipro-page .bp-metiers-num {
  position: absolute !important;
  top: 16px;
  right: 18px;
  font-family: var(--ff-serif, Georgia, serif) !important;
  font-style: italic !important;
  font-size: clamp(56px, 6vw, 88px) !important;
  font-weight: 600 !important;
  color: var(--c-ocre) !important;
  opacity: 0.18;
  line-height: 0.85 !important;
  letter-spacing: -0.04em !important;
  margin: 0 !important;
  pointer-events: none;
  user-select: none;
  transition: opacity 320ms var(--bp-ease), transform 320ms var(--bp-ease);
}
body.batipro-page .bp-metiers-card:hover .bp-metiers-num {
  opacity: 0.42;
  transform: scale(1.05);
}
body.batipro-page .bp-metiers-card strong {
  font-size: clamp(18px, 2vw, 24px) !important;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
body.batipro-page .bp-metiers-card span:not(.bp-metiers-num) {
  position: relative;
  z-index: 1;
}

/* --- FAQ items : transition fluide a l'ouverture ---
*/
body.batipro-page .bp-faq-item summary {
  transition: color 220ms var(--bp-ease);
}
body.batipro-page .bp-faq-chevron {
  transition: transform 320ms var(--bp-ease);
}
body.batipro-page .bp-faq-item[open] .bp-faq-chevron {
  transform: rotate(180deg);
}

/* ============================================================
   FIXES UTILISATEUR : centrage 3 blocs prix + Notre histoire
   ============================================================ */

/* --- Bug critique : un CSS global (Pixetiq?) met display:grid sur les <section>
   ce qui casse le centrage des containers. Force display:block sur nos sections.
*/
body.batipro-page .bp-manifesto,
body.batipro-page .bp-anatomie,
body.batipro-page .bp-ownership,
body.batipro-page .bp-showreel-section,
body.batipro-page .bp-alts,
body.batipro-page .bp-metiers,
body.batipro-page .bp-timeline,
body.batipro-page .bp-network,
body.batipro-page .bp-news,
body.batipro-page .bp-story,
body.batipro-page .bp-faq-section,
body.batipro-page .bp-cta-final,
body.batipro-page .bp-pitch-section,
body.batipro-page .bp-stats-merged,
body.batipro-page .bp-process,
body.batipro-page .bp-compare-section,
body.batipro-page .bp-hero {
  display: block !important;
}

/* --- Fix : Section #alternatives passee de 4 a 3 cards apres retrait Wix
   La grille etait 4 colonnes >= 1100px -> on garde 3 colonnes max
   et on centre le container.
*/
body.batipro-page .bp-alts-grid {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1100px;
  justify-content: center;
}
@media (min-width: 1100px) {
  body.batipro-page .bp-alts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }
}
@media (min-width: 760px) and (max-width: 1099px) {
  body.batipro-page .bp-alts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 720px;
  }
  /* La derniere card (Batiproconnect) prend toute la largeur sur cette taille */
  body.batipro-page .bp-alts-card.--featured {
    grid-column: 1 / -1;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Fix : Section #notre-histoire mieux centree ---
   Avant : grid 1.2fr / 1fr (gauche dominate) -> 1fr / 1fr equilibre
   + max-width container et centrage horizontal
*/
body.batipro-page .bp-story-grid {
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (min-width: 980px) {
  body.batipro-page .bp-story-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 64px !important;
    align-items: center;
  }
}

/* Forcer le contenu de la colonne gauche a etre aligne sur le bord
   gauche de sa colonne (et non pas tout decale a gauche du viewport)
*/
body.batipro-page .bp-story-copy {
  max-width: 540px;
}
body.batipro-page .bp-story-visual {
  justify-self: end;
  max-width: 480px;
}
@media (max-width: 979px) {
  body.batipro-page .bp-story-copy,
  body.batipro-page .bp-story-visual {
    max-width: 100%;
    justify-self: stretch;
  }
}
