/* =========================================================
   PAGES LEGAL V3 + CONTACT V3 — design éditorial sobre
   Palette : --c-cream / --c-ink / --c-ocre
   ========================================================= */

body.batipro-page.batipro-legal,
body.batipro-page.batipro-contact {
  background: var(--c-cream, #f5efe4);
}

/* ============================================================
   1. HERO PAGE LEGAL/CONTACT — éditorial sobre
   ============================================================ */
body.batipro-page .bp-legal-hero,
body.batipro-page .bp-contact-hero {
  background: var(--c-cream);
  padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 56px);
  border-bottom: 1px solid rgba(11, 29, 58, 0.10);
  position: relative;
  overflow: hidden;
}
body.batipro-page .bp-legal-hero::before,
body.batipro-page .bp-contact-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 90% -10%, rgba(217, 119, 6, 0.10), transparent 55%);
  pointer-events: none;
}
body.batipro-page .bp-legal-hero > .container,
body.batipro-page .bp-contact-hero > .container {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

body.batipro-page .bp-legal-hero .eyebrow,
body.batipro-page .bp-contact-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-ocre);
  margin-bottom: 24px;
}
body.batipro-page .bp-legal-hero .eyebrow::before,
body.batipro-page .bp-contact-hero .eyebrow::before {
  content: "—";
  opacity: 0.7;
}

body.batipro-page .bp-legal-hero h1,
body.batipro-page .bp-contact-hero h1 {
  margin: 0 0 22px;
  font-family: var(--ff-serif, Georgia, serif);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.026em;
  font-weight: 600;
  color: var(--c-ink);
  text-wrap: balance;
}
body.batipro-page .bp-legal-hero h1 em,
body.batipro-page .bp-contact-hero h1 em {
  color: var(--c-ocre);
  font-style: italic;
  font-weight: 400;
}

body.batipro-page .bp-legal-hero .lead,
body.batipro-page .bp-contact-hero .lead {
  margin: 0;
  font-family: var(--ff-serif, Georgia, serif);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
  color: rgba(11, 29, 58, 0.74);
  max-width: 60ch;
}

body.batipro-page .bp-legal-updated {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(11, 29, 58, 0.55);
  font-style: italic;
}
body.batipro-page .bp-legal-updated strong {
  color: var(--c-ink);
  font-weight: 600;
}

/* ============================================================
   2. CONTENU LEGAL — typographie éditoriale lecture
   ============================================================ */
body.batipro-page .bp-legal-content {
  background: var(--c-cream);
  padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 112px);
}
body.batipro-page .bp-legal-content .container.narrow {
  max-width: 760px;
}

body.batipro-page .bp-legal-prose {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(11, 29, 58, 0.86);
}

body.batipro-page .bp-legal-prose h1 {
  display: none; /* Le titre h1 du content fait doublon avec le hero */
}
body.batipro-page .bp-legal-prose h2 {
  margin: clamp(48px, 6vw, 72px) 0 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(11, 29, 58, 0.12);
  font-family: var(--ff-serif, Georgia, serif);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--c-ink);
}
body.batipro-page .bp-legal-prose h3 {
  margin: 36px 0 12px;
  font-family: var(--ff-serif, Georgia, serif);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--c-ink);
}
body.batipro-page .bp-legal-prose h3::before {
  content: "—";
  display: inline-block;
  margin-right: 10px;
  color: var(--c-ocre);
  font-weight: 400;
}

body.batipro-page .bp-legal-prose p {
  margin: 0 0 18px;
  max-width: 70ch;
}
body.batipro-page .bp-legal-prose strong {
  color: var(--c-ink);
  font-weight: 600;
}
body.batipro-page .bp-legal-prose em {
  color: rgba(11, 29, 58, 0.72);
  font-style: italic;
}

body.batipro-page .bp-legal-prose ul,
body.batipro-page .bp-legal-prose ol {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  max-width: 70ch;
}
body.batipro-page .bp-legal-prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.65;
}
body.batipro-page .bp-legal-prose ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--c-ocre);
  border-radius: 50%;
}
body.batipro-page .bp-legal-prose ol {
  counter-reset: bp-legal-ol;
}
body.batipro-page .bp-legal-prose ol li {
  counter-increment: bp-legal-ol;
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.65;
}
body.batipro-page .bp-legal-prose ol li::before {
  content: counter(bp-legal-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-ocre);
  letter-spacing: 0.04em;
  background: rgba(200, 122, 44, 0.10);
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid rgba(200, 122, 44, 0.18);
}

body.batipro-page .bp-legal-prose a {
  color: var(--c-ocre);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 122, 44, 0.45);
  transition: color 220ms, border-color 220ms;
}
body.batipro-page .bp-legal-prose a:hover {
  color: var(--c-ink);
  border-bottom-color: var(--c-ink);
}

body.batipro-page .bp-legal-prose blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: rgba(200, 122, 44, 0.06);
  border-left: 3px solid var(--c-ocre);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--c-ink);
}

/* Nettoyage des artefacts CKEditor (data-start, data-end) — non visuels */

/* ============================================================
   3. CONTACT — méthodes + formulaire
   ============================================================ */
body.batipro-page .bp-contact-methods {
  background: var(--c-cream);
  padding: clamp(48px, 6vw, 80px) 0;
}
body.batipro-page .bp-contact-methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  body.batipro-page .bp-contact-methods-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

body.batipro-page .bp-contact-method {
  display: block;
  padding: 28px 26px 26px;
  background: #fff;
  border: 1px solid var(--c-line, rgba(11, 29, 58, 0.10));
  border-left: 4px solid var(--c-ocre);
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 6px 18px -12px rgba(11, 29, 58, 0.08);
  transition: box-shadow 220ms ease, transform 220ms ease;
}
body.batipro-page .bp-contact-method:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 14px 32px -12px rgba(11, 29, 58, 0.16);
  transform: translateY(-2px);
}
body.batipro-page .bp-contact-method-icon {
  width: 44px;
  height: 44px;
  background: rgba(200, 122, 44, 0.10);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ocre);
  margin-bottom: 18px;
}
body.batipro-page .bp-contact-method-icon svg {
  width: 22px;
  height: 22px;
}
body.batipro-page .bp-contact-method h3 {
  margin: 0 0 6px;
  font-family: var(--ff-serif, Georgia, serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--c-ink);
}
body.batipro-page .bp-contact-method-meta {
  margin: 0 0 12px;
  font-size: 13px;
  font-style: italic;
  color: rgba(11, 29, 58, 0.62);
}
body.batipro-page .bp-contact-method-value {
  font-family: var(--ff-serif, Georgia, serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ocre);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.batipro-page .bp-contact-method-value::after {
  content: "→";
  transition: transform 220ms ease;
}
body.batipro-page .bp-contact-method:hover .bp-contact-method-value::after {
  transform: translateX(4px);
}

/* Formulaire wrapper */
body.batipro-page .bp-contact-form-wrap {
  background: #fff;
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid rgba(11, 29, 58, 0.08);
}
body.batipro-page .bp-contact-form-wrap .container.narrow {
  max-width: 720px;
}
body.batipro-page .bp-contact-form-head {
  margin-bottom: clamp(28px, 4vw, 40px);
}
body.batipro-page .bp-contact-form-head h2 {
  margin: 8px 0 12px;
  font-family: var(--ff-serif, Georgia, serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: var(--c-ink);
}
body.batipro-page .bp-contact-form-head h2 em {
  color: var(--c-ocre);
  font-style: italic;
  font-weight: 400;
}
body.batipro-page .bp-contact-form-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(11, 29, 58, 0.72);
}

/* Style basique formgent (s'il s'affiche) */
body.batipro-page .bp-contact-form-wrap input[type="text"],
body.batipro-page .bp-contact-form-wrap input[type="email"],
body.batipro-page .bp-contact-form-wrap input[type="tel"],
body.batipro-page .bp-contact-form-wrap textarea,
body.batipro-page .bp-contact-form-wrap select {
  width: 100%;
  padding: 14px 16px;
  background: var(--c-cream);
  border: 1px solid var(--c-line, rgba(11, 29, 58, 0.18));
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--c-ink);
  transition: border-color 220ms;
}
body.batipro-page .bp-contact-form-wrap input:focus,
body.batipro-page .bp-contact-form-wrap textarea:focus {
  outline: 2px solid var(--c-ocre);
  outline-offset: 2px;
  border-color: var(--c-ocre);
}
body.batipro-page .bp-contact-form-wrap label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--c-ink);
}
body.batipro-page .bp-contact-form-wrap button[type="submit"] {
  background: linear-gradient(135deg, #ea8a14 0%, #d97706 50%, #b9590a 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 220ms, box-shadow 220ms;
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.28);
}
body.batipro-page .bp-contact-form-wrap button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.34);
}
