/* ============================================================
   MGA AGENCEMENT — style.css
   Agencement • Design • Conception — Île-de-France
   ============================================================
   TABLE OF CONTENTS
   1.  Design Tokens (CSS Variables)
   2.  Reset & Base
   3.  Typography
   4.  Layout Helpers
   5.  Buttons
   6.  Navigation (Desktop + Mobile)
   7.  Floating Buttons
   8.  Hero Section
   9.  Stats Strip
   10. Intro / About Section
   11. Pieces Preview (Homepage)
   12. Réalisations Preview (Homepage)
   13. Expertise Grid
   14. CTA Band
   15. Footer
   16. Page Hero (inner pages)
   17. Présentation Page
   18. Réalisations Page (full)
   19. Les Pièces Page
   20. Contact Page
   21. Animations & Utilities
   22. Responsive — Tablet ≤ 1024px
   23. Responsive — Mobile ≤ 768px
   24. Responsive — Small Mobile ≤ 380px
   ============================================================ */


/* ──────────────────────────────────────────
   1. DESIGN TOKENS
────────────────────────────────────────── */
:root {
  /* Colours */
  --bg:        #EAEAE8;   /* RAL 9006 Blanc aluminium */
  --bg-soft:   #F5F5F3;
  --white:     #FFFFFF;
  --dark:      #2C2C2C;   /* RAL 7016 Gris anthracite */
  --dark2:     #3D3D3D;
  --amber:     #C8A27A;   /* Amber Glow */
  --amber-dk:  #AD8660;
  --amber-lt:  #E8CCAA;
  --blue:      #1F3A5F;   /* Bleu Profond */
  --blue-dk:   #152C48;
  --mid:       #7A7A7A;
  --border:    #DDDBD8;

  /* Layout */
  --nav-h:     72px;
  --max-w:     1320px;
  --pad:       clamp(20px, 5vw, 64px);

  /* Transitions */
  --tr:        .28s ease;
}


/* ──────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg-soft);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

ul { list-style: none; }
select, input, textarea { font-family: 'Open Sans', sans-serif; }


/* ──────────────────────────────────────────
   3. TYPOGRAPHY
────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--dark);
}

/* Eyebrow label above headings */
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}


/* ──────────────────────────────────────────
   4. LAYOUT HELPERS
────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section {
  padding: clamp(60px, 8vw, 112px) 0;
}

/* Reusable two-column grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}


/* ──────────────────────────────────────────
   5. BUTTONS
────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 15px 30px;
  transition: all var(--tr);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  border: none;
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(31,58,95,.28);
}

.btn-amber {
  background: var(--amber);
  color: var(--white);
}
.btn-amber:hover {
  background: var(--amber-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200,162,122,.32);
}

.btn-ghost-w {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-ghost-w:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

/* Full-width button modifier */
.btn-full {
  width: 100%;
  text-align: center;
}


/* ──────────────────────────────────────────
   6. NAVIGATION
────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(245,245,243,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--tr);
}
#nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-left  { display: flex; gap: 36px; justify-content: flex-end; }
.nav-right { display: flex; gap: 36px; justify-content: flex-start; }

/* Nav links */
.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dark);
  cursor: pointer;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--tr);
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px; right: 0;
  height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s;
}
.nav-link:hover { color: var(--amber); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--amber); }
.nav-link.active::after { transform: scaleX(1); }

/* Logo button */
.nav-logo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px;
  transition: opacity var(--tr);
  text-decoration: none;
}
.nav-logo-btn:hover { opacity: .8; }
.nav-logo-btn img {
  height: 52px;
  width: 52px;
  object-fit: contain;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
  position: relative;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Mobile drawer ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-soft);
  padding: calc(var(--nav-h) + 40px) var(--pad) 48px;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .42s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--dark);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color .2s;
  text-decoration: none;
}
.mobile-link::after { content: '→'; font-size: 16px; opacity: .3; }
.mobile-link:hover,
.mobile-link:active { color: var(--amber); }

.mobile-footer {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* ──────────────────────────────────────────
   7. FLOATING BUTTONS
────────────────────────────────────────── */
.float-btns {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
  transition: transform .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  cursor: pointer;
}
.float-btn:hover  { transform: scale(1.1); box-shadow: 0 6px 26px rgba(0,0,0,.25); }
.float-btn:active { transform: scale(.93); }
.float-wa   { background: #25D366; }
.float-call { background: var(--blue); }


/* ──────────────────────────────────────────
   8. HERO SECTION
────────────────────────────────────────── */
.hero {
  height: 100svh;
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1920&q=85')
              center / cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(31,58,95,.75) 0%,
    rgba(20,20,20,.38) 55%,
    rgba(0,0,0,.1) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--pad);
  padding-top: calc(var(--nav-h) + 48px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 6px 14px;
  margin-bottom: 28px;
  animation: fadeUp .6s ease both;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 80px);
  color: var(--white);
  font-weight: 900;
  max-width: 740px;
  margin-bottom: 22px;
  animation: fadeUp .7s .1s ease both;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub {
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 300;
  color: rgba(255,255,255,.78);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 44px;
  animation: fadeUp .7s .2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: pulseY 2.2s infinite;
}


/* ──────────────────────────────────────────
   9. STATS STRIP
────────────────────────────────────────── */
.stats-strip { background: var(--dark); padding: 0; }

.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-left: 1px solid rgba(255,255,255,.07);
}

.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right:  1px solid rgba(255,255,255,.07);
  border-top:    1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background var(--tr);
}
.stat-item:hover { background: rgba(200,162,122,.07); }

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}
.stat-lbl {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-top: 5px;
}


/* ──────────────────────────────────────────
   10. INTRO / ABOUT SECTION
────────────────────────────────────────── */
.intro-sec { background: var(--bg-soft); }

.intro-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.intro-img-box { position: relative; }
.intro-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg);
}
.intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.intro-img:hover img { transform: scale(1.04); }

.intro-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--amber);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 11px 18px;
}

.intro-text h2 { font-size: clamp(26px, 3.2vw, 46px); margin-bottom: 20px; }
.intro-text p  { font-size: 14px; line-height: 1.9; color: rgba(40,40,40,.74); margin-bottom: 14px; }

/* Feature cards in intro */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.feat-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 2px solid var(--amber);
  transition: box-shadow var(--tr);
}
.feat-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.feat-icon {
  width: 32px;
  height: 32px;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.feat-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .02em;
  line-height: 1.4;
  padding-top: 6px;
}


/* ──────────────────────────────────────────
   11. PIECES PREVIEW (Homepage)
────────────────────────────────────────── */
.pieces-preview { background: var(--dark); }
.pieces-preview .eyebrow { color: rgba(200,162,122,.8); }
.pieces-preview .eyebrow::before { background: rgba(200,162,122,.6); }
.pieces-head { padding-bottom: 56px; }
.pieces-head h2 { color: var(--white); font-size: clamp(28px, 3.8vw, 52px); }

.pieces-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.piece-card { position: relative; overflow: hidden; cursor: pointer; }
.piece-card.large { grid-column: span 2; }

.piece-img { aspect-ratio: 16 / 9; overflow: hidden; }
.piece-card.large .piece-img { aspect-ratio: 16 / 8.5; }
.piece-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease;
}
.piece-card:hover .piece-img img { transform: scale(1.06); }

.piece-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background .35s;
}
.piece-card:hover .piece-overlay {
  background: linear-gradient(to top, rgba(31,58,95,.82) 0%, rgba(31,58,95,.12) 55%);
}
.piece-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .02em;
}
.piece-arrow {
  font-size: 11px;
  color: var(--amber-lt);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: all .3s;
  margin-top: 4px;
}
.piece-card:hover .piece-arrow { opacity: 1; transform: translateY(0); }
.pieces-cta { text-align: center; padding: 48px 0 0; }


/* ──────────────────────────────────────────
   12. RÉALISATIONS PREVIEW (Homepage)
────────────────────────────────────────── */
.real-preview { background: var(--white); border-top: 1px solid var(--border); }

.real-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

/* 12-col grid for asymmetric layout */
.real-grid-home {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.real-card-home { background: var(--bg-soft); overflow: hidden; cursor: pointer; border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.real-card-home:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.1); border-color: transparent; }
.real-card-home:nth-child(1) { grid-column: span 7; }
.real-card-home:nth-child(2) { grid-column: span 5; }
.real-card-home:nth-child(3) { grid-column: span 4; }
.real-card-home:nth-child(4) { grid-column: span 4; }
.real-card-home:nth-child(5) { grid-column: span 4; }

.real-img-wrap { overflow: hidden; }
.real-img-inner { aspect-ratio: 4 / 3; }
.real-card-home:nth-child(1) .real-img-inner,
.real-card-home:nth-child(2) .real-img-inner { aspect-ratio: 16 / 10; }
.real-img-inner img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.real-card-home:hover .real-img-inner img { transform: scale(1.06); }

.real-info { padding: 20px 22px; }
.real-city {
  font-size: 10px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.real-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.35;
}
.real-desc { font-size: 12px; color: var(--mid); line-height: 1.65; }


/* ──────────────────────────────────────────
   13. EXPERTISE GRID
────────────────────────────────────────── */
.expertise-sec { background: var(--bg-soft); border-top: 1px solid var(--border); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 56px;
}
.exp-item { background: var(--white); padding: 44px 36px; transition: background var(--tr); }
.exp-item:hover { background: #FAFAF8; }
.exp-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -.04em;
}
.exp-bar { width: 26px; height: 2px; background: var(--amber); margin-bottom: 16px; }
.exp-title { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.exp-text  { font-size: 13px; color: var(--mid); line-height: 1.8; }


/* ──────────────────────────────────────────
   14. CTA BAND
────────────────────────────────────────── */
.cta-band {
  background: var(--blue);
  padding: clamp(72px, 8vw, 110px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?w=1920&q=40')
              center / cover;
  opacity: .06;
}
.cta-band .eyebrow { justify-content: center; color: rgba(200,162,122,.9); }
.cta-band .eyebrow::before { display: none; }
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3.8vw, 52px); margin-bottom: 18px; }
.cta-band p  { font-size: 15px; color: rgba(255,255,255,.68); max-width: 500px; margin: 0 auto 40px; line-height: 1.75; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }


/* ──────────────────────────────────────────
   15. FOOTER
────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.52);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 48px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  cursor: pointer;
  text-decoration: none;
}
.footer-brand-wrap img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}
.footer-brand-name span {
  color: var(--amber);
  display: block;
  font-size: 9px;
  letter-spacing: .22em;
  font-weight: 600;
  margin-top: 2px;
}
.footer-desc { font-size: 12px; line-height: 1.9; margin-bottom: 18px; }
.footer-email { font-size: 12px; color: var(--amber); text-decoration: none; }

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,.48);
  transition: color var(--tr);
  text-decoration: none;
}
.footer-links a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,.28);
}
.footer-zone {
  margin-top: 18px;
  font-size: 11px;
  color: rgba(255,255,255,.28);
  line-height: 1.8;
}
.footer-zone span { color: rgba(255,255,255,.48); }


/* ──────────────────────────────────────────
   16. PAGE HERO (inner pages)
────────────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 72px;
  background: var(--bg-soft);
}
.page-hero-dark {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 64px;
  background: var(--dark);
}
.page-hero-blue {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 72px;
  background: var(--blue);
}

.page-hero h1,
.page-hero-dark h1,
.page-hero-blue h1 { font-size: clamp(32px, 4.5vw, 62px); margin-bottom: 16px; }

.page-hero-dark h1,
.page-hero-blue h1 { color: var(--white); }

.page-sub {
  font-size: 15px;
  color: rgba(40,40,40,.62);
  max-width: 600px;
  line-height: 1.8;
}
.page-hero-dark .page-sub { color: rgba(255,255,255,.58); max-width: 520px; }
.page-hero-blue .page-sub { color: rgba(255,255,255,.68); max-width: 520px; }


/* ──────────────────────────────────────────
   17. PRÉSENTATION PAGE
────────────────────────────────────────── */
.pres-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 6vw, 80px);
  margin-top: 64px;
  align-items: start;
}
.pres-sticky { position: sticky; top: calc(var(--nav-h) + 20px); }
.pres-portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 20px;
}
.pres-portrait img { width: 100%; height: 100%; object-fit: cover; }

.pres-quote {
  background: var(--blue);
  padding: 26px 28px 26px 30px;
  border-left: 3px solid var(--amber);
  color: var(--white);
  font-size: 14px;
  font-style: italic;
  line-height: 1.8;
}

.pres-body h2 { font-size: clamp(22px, 2.8vw, 38px); margin-bottom: 22px; }
.pres-body p  { font-size: 14px; line-height: 1.9; color: rgba(40,40,40,.74); margin-bottom: 16px; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}
.value-card {
  border: 1px solid var(--border);
  padding: 20px;
  background: var(--white);
  border-bottom: 2px solid var(--amber);
  transition: transform var(--tr), box-shadow var(--tr);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.value-icon { font-size: 22px; margin-bottom: 9px; }
.value-title { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .04em; margin-bottom: 6px; }
.value-text  { font-size: 12px; color: var(--mid); line-height: 1.7; }


/* ──────────────────────────────────────────
   18. RÉALISATIONS PAGE
────────────────────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }

.filter-btn {
  padding: 8px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,.2);
  background: transparent;
  color: rgba(255,255,255,.58);
  cursor: pointer;
  transition: all var(--tr);
  -webkit-tap-highlight-color: transparent;
}
.filter-btn.active,
.filter-btn:hover { background: var(--amber); border-color: var(--amber); color: var(--white); }

.real-page-body { padding: 72px 0 96px; background: var(--bg-soft); }

.real-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.real-page-card {
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all .3s;
}
.real-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 56px rgba(0,0,0,.1);
  border-color: transparent;
}
.real-page-img { aspect-ratio: 3 / 2; overflow: hidden; }
.real-page-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.real-page-card:hover .real-page-img img { transform: scale(1.07); }

.real-page-info { padding: 22px; }
.real-page-city  { font-size: 10px; font-weight: 700; color: var(--amber); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 7px; }
.real-page-title { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 9px; line-height: 1.3; color: var(--dark); }
.real-page-desc  { font-size: 12px; color: var(--mid); line-height: 1.7; margin-bottom: 18px; }

.arrow-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s;
}
.arrow-link:hover { gap: 12px; }


/* ──────────────────────────────────────────
   19. LES PIÈCES PAGE
────────────────────────────────────────── */

/* Tab navigation for pieces */
.pieces-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 40px;
  border-bottom: 2px solid var(--border);
}
.pieces-tab {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 20px;
  cursor: pointer;
  color: var(--mid);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--tr);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.pieces-tab:hover { color: var(--dark); }
.pieces-tab.active { color: var(--amber); border-bottom-color: var(--amber); }

/* Alternating piece rows */
.piece-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  margin-bottom: 3px;
  overflow: hidden;
}
.piece-row.reversed .piece-row-img  { order: 2; }
.piece-row.reversed .piece-row-text { order: 1; }

.piece-row-img { overflow: hidden; background: var(--bg); }
.piece-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s ease; }
.piece-row:hover .piece-row-img img { transform: scale(1.04); }

.piece-row-text {
  background: var(--white);
  padding: clamp(40px, 5vw, 72px) clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.piece-row-text h3 { font-size: clamp(22px, 2.6vw, 36px); margin-bottom: 14px; }
.piece-row-text p  { font-size: 13px; line-height: 1.9; color: rgba(40,40,40,.7); margin-bottom: 28px; }


/* ──────────────────────────────────────────
   20. CONTACT PAGE
────────────────────────────────────────── */
.contact-body { padding: 72px 0 96px; background: var(--bg-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: start;
}

/* Contact aside */
.contact-aside {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.contact-aside-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.contact-action-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  width: 100%;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all var(--tr);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.contact-action-btn:hover { border-color: var(--amber); background: #FFFAF5; transform: translateX(3px); }
.contact-action-btn.blue-btn { background: var(--blue); border-color: var(--blue); color: var(--white); }
.contact-action-btn.blue-btn:hover { background: var(--blue-dk); }
.contact-action-btn.green-btn { background: #25D366; border-color: #25D366; color: var(--white); }
.contact-action-btn.green-btn:hover { background: #1db954; }

.action-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  background: rgba(0,0,0,.05);
}
.blue-btn .action-icon,
.green-btn .action-icon { background: rgba(255,255,255,.15); }

.action-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
}
.contact-action-btn:not(.blue-btn):not(.green-btn) .action-label { color: var(--dark); }
.action-sub { font-size: 11px; color: rgba(0,0,0,.4); margin-top: 2px; }
.blue-btn .action-sub,
.green-btn .action-sub { color: rgba(255,255,255,.6); }

.zone-box { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.zone-title { font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 10px; }
.zone-text  { font-size: 12px; color: var(--mid); line-height: 1.8; }

/* Contact form */
.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 48px);
}
.form-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.form-intro { font-size: 13px; color: var(--mid); line-height: 1.75; margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: span 2; }

.form-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--dark);
}
.form-input,
.form-select,
.form-textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--dark);
  transition: border-color var(--tr);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--amber); background: var(--white); }
.form-textarea { min-height: 120px; resize: vertical; }

.file-upload {
  grid-column: span 2;
  border: 2px dashed var(--border);
  padding: 24px;
  text-align: center;
  background: var(--bg-soft);
  cursor: pointer;
  transition: all var(--tr);
}
.file-upload:hover { border-color: var(--amber); background: #FFFAF5; }
.file-upload-icon { font-size: 24px; margin-bottom: 8px; }
.file-upload-text { font-size: 12px; color: var(--mid); }
.file-upload-sub  { font-size: 11px; color: var(--border); margin-top: 3px; }

.form-note {
  font-size: 11px;
  color: var(--mid);
  margin-top: 14px;
  line-height: 1.7;
  text-align: center;
}


/* ──────────────────────────────────────────
   21. ANIMATIONS & UTILITIES
────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseY {
  0%, 100% { opacity: .3; }
  50% { opacity: .9; }
}

/* Mini footer for inner pages */
.footer-mini {
  background: var(--dark);
  padding: 22px 0;
}
.footer-mini-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: rgba(255,255,255,.28);
}
.footer-mini-link { color: var(--amber); text-decoration: none; }
.footer-mini-link:hover { text-decoration: underline; }


/* ──────────────────────────────────────────
   22. RESPONSIVE — TABLET ≤ 1024px
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .intro-grid     { gap: 36px; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .pres-grid      { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .real-page-grid { grid-template-columns: 1fr 1fr; }
  .pieces-mosaic  { grid-template-columns: 1fr 1fr; }
  .piece-card.large { grid-column: span 2; }
  .real-grid-home { grid-template-columns: 1fr 1fr; }
  .real-card-home:nth-child(n) { grid-column: span 1; }
  .real-card-home:nth-child(1) { grid-column: span 2; }
  .stats-grid     { grid-template-columns: repeat(5, 1fr); }
}


/* ──────────────────────────────────────────
   23. RESPONSIVE — MOBILE ≤ 768px
────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 62px; --pad: 20px; }
  section { padding: 56px 0; }

  /* Nav */
  .nav-left, .nav-right { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-logo-btn img { height: 44px; width: 44px; }
  .hamburger    { display: flex; }
  .mobile-menu  { display: flex; }

  /* Hero */
  .hero h1      { font-size: clamp(32px, 9.5vw, 48px); }
  .hero-sub     { font-size: 14px; max-width: 100%; }
  .hero-ctas    { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .hero-scroll  { display: none; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(5) { grid-column: span 2; }

  /* Intro */
  .intro-grid { grid-template-columns: 1fr; }
  .intro-img  { aspect-ratio: 3 / 2; }
  .feat-grid  { grid-template-columns: 1fr 1fr; }

  /* Pieces preview */
  .pieces-mosaic       { grid-template-columns: 1fr; gap: 2px; }
  .piece-card.large    { grid-column: span 1; }
  .piece-img, .piece-card.large .piece-img { aspect-ratio: 16 / 9; }

  /* Real preview */
  .real-preview-head { flex-direction: column; align-items: flex-start; }
  .real-grid-home    { grid-template-columns: 1fr; gap: 14px; }
  .real-card-home:nth-child(n) { grid-column: span 1; }

  /* Expertise */
  .expertise-grid { grid-template-columns: 1fr; }

  /* CTA band */
  .cta-row    { flex-direction: column; align-items: center; }
  .cta-row .btn { width: 100%; max-width: 320px; }

  /* Présentation */
  .pres-grid    { grid-template-columns: 1fr; gap: 32px; }
  .pres-sticky  { position: static; }
  .pres-portrait { aspect-ratio: 4 / 3; }
  .values-grid  { grid-template-columns: 1fr; }

  /* Réalisations page */
  .real-page-grid { grid-template-columns: 1fr; }

  /* Pieces tab → horizontal scroll */
  .pieces-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .pieces-tabs::-webkit-scrollbar { display: none; }
  .pieces-tab  { flex-shrink: 0; }

  /* Piece rows */
  .piece-row { grid-template-columns: 1fr; min-height: auto; }
  .piece-row.reversed .piece-row-img  { order: 0; }
  .piece-row.reversed .piece-row-text { order: 0; }
  .piece-row-img { aspect-ratio: 4 / 3; }

  /* Contact */
  .contact-grid     { grid-template-columns: 1fr; }
  .contact-aside    { position: static; }
  .contact-form-box { padding: 24px 20px; }
  .form-grid  { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .file-upload     { grid-column: span 1; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Float btns */
  .float-btns { right: 14px; bottom: 20px; }
  .float-btn  { width: 46px; height: 46px; font-size: 18px; }
}


/* ──────────────────────────────────────────
   24. RESPONSIVE — SMALL MOBILE ≤ 380px
────────────────────────────────────────── */
@media (max-width: 380px) {
  .hero h1   { font-size: 29px; }
  .feat-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item:nth-child(5) { grid-column: span 1; }
}
