/* =========================================================
   PBK Construction — design system
   ========================================================= */
:root {
  --color-black: #131313;
  --color-dark: #1c1c1c;
  --color-charcoal: #4a4a4a;
  --color-red: #c1272d;
  --color-red-dark: #8f1b20;
  --color-bg: #f7f7f6;
  --color-bg-alt: #ffffff;
  --color-text: #1b1b1b;
  --color-text-muted: #6b6b6b;
  --color-border: #e5e3e0;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.15;
}
h2 { font-size: 2.1rem; }
h3 { font-size: 1.3rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-red { background: var(--color-red); color: #fff; }
.btn-red:hover { background: var(--color-red-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--color-black); color: #fff; }
.btn-dark:hover { background: var(--color-red); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(19,19,19,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .2s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}
.brand img { height: 54px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: #fff; border-color: var(--color-red); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-rbq {
  font-family: var(--font-heading);
  font-size: .72rem;
  letter-spacing: .03em;
  color: rgba(255,255,255,.55);
}
.menu-toggle {
  display: none;
  background: none; border: none; color: #fff; cursor: pointer; padding: 6px;
}
.menu-toggle svg { width: 26px; height: 26px; }

/* mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 300; display: none; }
body.menu-open .mobile-drawer { display: block; }
.mobile-drawer .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.mobile-drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 78%; max-width: 340px;
  background: var(--color-black); padding: 90px 30px 30px;
  display: flex; flex-direction: column;
}
.close-drawer {
  position: absolute; top: 24px; right: 24px; background: none; border: none; color: #fff; cursor: pointer;
}
.close-drawer svg { width: 26px; height: 26px; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 22px; }
.mobile-drawer nav a {
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em; color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  padding: 160px 0 90px;
  background-size: cover; background-position: center;
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.86) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.35) 100%);
}
.hero .container { position: relative; z-index: 2; max-width: 640px; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.hero p { font-size: 1.12rem; color: rgba(255,255,255,.88); margin-bottom: 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* page hero (interior pages) */
.page-hero {
  position: relative;
  padding: 170px 0 70px;
  background-size: cover; background-position: center;
  color: #fff;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(10,10,10,.72); }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { margin-top: 12px; color: rgba(255,255,255,.85); max-width: 560px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-black); color: #fff; }
.section-header { max-width: 640px; margin-bottom: 46px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-dark .eyebrow { color: var(--color-red); }

/* pillars / grid cards */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0;
  background: var(--color-red); transition: height .25s ease;
}
.pillar-card:hover::before { height: 100%; }
.pillar-card .icon-wrap {
  width: 54px; height: 54px; border-radius: 3px;
  background: var(--color-black); color: var(--color-red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pillar-card .icon-wrap svg { width: 26px; height: 26px; }
.pillar-card h3 { margin-bottom: 10px; }
.pillar-card p { color: var(--color-text-muted); font-size: .95rem; }

/* intro split */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intro-split img { border-radius: 3px; }
.intro-split h2 { margin-bottom: 18px; }
.intro-split p { color: var(--color-text-muted); margin-bottom: 16px; }
.intro-split.reverse .img-col { order: 2; }

/* process steps */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding-top: 8px; }
.process-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700;
  color: var(--color-red); opacity: .35; display: block; margin-bottom: 8px;
}
.process-step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.process-step p { color: var(--color-text-muted); font-size: .92rem; }

/* values grid */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 50px; }
.value-item { display: flex; gap: 16px; }
.value-item .dot {
  flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-red); margin-top: 9px;
}
.value-item p { color: var(--color-text-muted); font-size: .95rem; }
.section-dark .value-item p { color: rgba(255,255,255,.7); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 760px; margin: 0 auto; }
.team-card {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  padding: 34px 28px; text-align: center;
}
.team-card .avatar-mark {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--color-black); color: var(--color-red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700;
}
.team-card .avatar-photo {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px;
  object-fit: cover; border: 3px solid var(--color-red);
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role { font-size: .82rem; color: var(--color-red); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.team-card .contact-line { font-size: .88rem; color: var(--color-text-muted); }

/* badges strip */
.badge-strip {
  display: flex; align-items: center; justify-content: center; gap: 50px; flex-wrap: wrap;
  padding: 40px 0;
}
.badge-strip img { height: 62px; width: auto; filter: grayscale(15%); }
.badge-strip .rbq-text {
  font-family: var(--font-heading); font-size: .95rem; font-weight: 600; letter-spacing: .03em;
  color: var(--color-text-muted);
}

/* gallery grid + lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid a { position: relative; display: block; overflow: hidden; border-radius: 3px; aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px; font-size: .82rem; font-weight: 600;
  color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
}

.lightbox {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(10,10,10,.94);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 88vw; max-height: 80vh; border-radius: 3px; }
.lightbox-caption { position: absolute; bottom: 34px; left: 0; right: 0; text-align: center; color: #fff; font-size: .95rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer; border-radius: 50%;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--color-red); border-color: var(--color-red); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }

/* testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  padding: 32px 28px; position: relative;
}
.testimonial-card .quote-mark { font-family: var(--font-heading); font-size: 3rem; color: var(--color-red); opacity: .3; line-height: 1; margin-bottom: 8px; }
.testimonial-card p { font-size: .95rem; color: var(--color-text); margin-bottom: 18px; }
.testimonial-card .author { font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .03em; color: var(--color-text-muted); text-transform: uppercase; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-features { display: flex; flex-direction: column; gap: 24px; margin-bottom: 30px; }
.contact-feature { display: flex; gap: 16px; align-items: flex-start; }
.contact-feature .icon-wrap {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 3px;
  background: var(--color-black); color: var(--color-red);
  display: flex; align-items: center; justify-content: center;
}
.contact-feature .icon-wrap svg { width: 20px; height: 20px; }
.contact-feature h3 { font-size: .95rem; margin-bottom: 3px; }
.contact-feature a, .contact-feature p { color: var(--color-text-muted); font-size: .92rem; }

.contact-form { background: var(--color-bg-alt); border: 1px solid var(--color-border); padding: 36px; border-radius: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .03em; }
.form-group input, .form-group textarea {
  border: 1px solid var(--color-border); border-radius: 3px; padding: 12px 14px;
  font-family: var(--font-body); font-size: .95rem; background: var(--color-bg);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-red); }
.form-note { font-size: .82rem; color: var(--color-text-muted); margin-top: 14px; }

.map-embed { width: 100%; height: 360px; border: 0; border-radius: 3px; margin-top: 46px; }

/* CTA band */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: var(--color-black); color: #fff; padding: 48px 50px; border-radius: 3px;
}
.cta-band h2 { font-size: 1.7rem; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.7); }

/* privacy policy */
.policy-body h2 { font-size: 1.25rem; margin: 34px 0 12px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p, .policy-body li { color: var(--color-text-muted); margin-bottom: 12px; font-size: .96rem; }
.policy-body ul { padding-left: 20px; list-style: disc; }
.policy-body ul li { margin-bottom: 6px; }

/* footer */
.site-footer { background: var(--color-black); color: rgba(255,255,255,.7); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 46px; margin-bottom: 40px; }
.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.5); max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.footer-social a:hover { background: var(--color-red); }
.footer-social svg { width: 18px; height: 18px; }
.site-footer h4 { color: #fff; font-size: .85rem; margin-bottom: 18px; letter-spacing: .05em; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact a {
  display: flex; align-items: center; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.65);
}
.footer-contact svg { width: 16px; height: 16px; color: var(--color-red); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .8rem; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); }

/* consent banner — Loi 25 */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
  background: var(--color-dark); color: #fff; padding: 18px 24px;
  display: none; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3); border-top: 3px solid var(--color-red);
}
.consent-banner.visible { display: flex; }
.consent-banner p { margin: 0; font-size: .86rem; line-height: 1.5; max-width: 680px; color: rgba(255,255,255,.85); }
.consent-banner p a { color: #fff; text-decoration: underline; font-weight: 600; }
.consent-banner p a:hover { color: var(--color-red); }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-actions button {
  font-family: var(--font-heading); font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 11px 22px; border-radius: 3px; cursor: pointer; border: 1px solid transparent;
}
.consent-accept { background: var(--color-red); color: #fff; }
.consent-accept:hover { background: var(--color-red-dark); }
.consent-decline { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.3); }
.consent-decline:hover { color: #fff; border-color: rgba(255,255,255,.6); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .pillar-grid { grid-template-columns: 1fr; }
  .intro-split { grid-template-columns: 1fr; gap: 30px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .badge-strip { gap: 30px; }
}
@media (max-width: 640px) {
  .hero { padding: 130px 0 70px; min-height: 520px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px 26px; }
  .section { padding: 58px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .consent-banner { padding: 16px; justify-content: flex-start; }
  .consent-actions { width: 100%; }
  .consent-actions button { flex: 1; }
}
