/* ============================================
   VLA — Victorine Leborgne Architecte
   ============================================ */

:root {
  --pink-bg: #fbe4e0;
  --pink-bg-soft: #fdf1ef;
  --accent: #ef4d9e;
  --accent-dark: #d63a86;
  --coral: #e8637a;
  --gold: #e8b654;
  --ink: #2a2522;
  --ink-soft: #55504c;
  --white: #ffffff;
  --line: rgba(42, 37, 34, 0.12);
  --shadow: 0 20px 50px -20px rgba(42, 22, 30, 0.25);
  --shadow-sm: 0 10px 30px -15px rgba(42, 22, 30, 0.2);
  --radius: 18px;
  --serif: "Cormorant Garamond", "Playfair Display", serif;
  --sans: "Jost", "Poppins", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--pink-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--accent-dark);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

h2.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  font-style: italic;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(239, 77, 158, 0.55);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(239, 77, 158, 0.65);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: all 0.4s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.scrolled {
  background: rgba(251, 228, 224, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 24px -10px rgba(42,22,30,0.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: 28px;
}
.brand img { height: 52px; width: auto; transition: height 0.3s ease; }
.site-header.scrolled .brand img { height: 42px; }
.brand-text {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  white-space: nowrap;
}
.brand-text span { display: block; color: var(--accent-dark); font-size: 0.66rem; font-style: italic; letter-spacing: 0.04em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-bottom: 6px;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--accent-dark); }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.phone-pill svg { width: 16px; height: 16px; stroke: var(--accent-dark); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  background: linear-gradient(180deg, rgba(42,26,34,0.45) 0%, rgba(42,26,34,0) 28%, rgba(42,26,34,0) 45%, rgba(42,26,34,0.5) 100%),
              url("../images/hero/hero-sunset-clair.webp") center 65% / cover no-repeat;
  padding-bottom: 90px;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(0,0,0,0) 40%, rgba(20,10,14,0.15) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-mark {
  width: 200px;
  margin-bottom: 22px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
.hero-kicker {
  font-family: var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 500;
  color: var(--white);
  max-width: 1000px;
  margin-bottom: 22px;
  line-height: 1.12;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(20,10,14,0.45);
}
.hero h1 em { font-style: italic; color: #ffd9ec; }
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: #ffe3ef;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.sparkle { width: 20px; height: 20px; color: var(--gold); vertical-align: -3px; }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue .dot {
  width: 1px; height: 34px;
  background: linear-gradient(rgba(255,255,255,0.9), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--white);
  padding: 46px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.stats .stat + .stat { border-left: 1px solid var(--line); }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.3rem;
  color: var(--accent-dark);
  margin-bottom: 6px;
}
.stat span {
  display: block;
  max-width: 26ch;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Generic section paddings ---------- */
.section { padding: 120px 0; }
.section--tight { padding: 90px 0; }
.section--alt { background: var(--white); }

/* ---------- Architecte MOE ---------- */
.moe-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: start;
}
.moe-grid h3 {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 14px;
  color: var(--accent-dark);
}
.moe-grid p { color: var(--ink-soft); margin-bottom: 18px; }
.moe-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.moe-photo img { height: 100%; object-fit: cover; }
.moe-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
  margin-top: -60px;
  margin-left: 30px;
  position: relative;
  z-index: 2;
  max-width: 320px;
}
.moe-card p { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink); margin: 0; }

.check-list { margin-top: 22px; }
.check-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}
.check-list li:last-child { border-bottom: none; }
.check-list svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; stroke: var(--accent); }
.check-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Prestations ---------- */
.section--prestations { background: linear-gradient(180deg, var(--pink-bg-soft), var(--pink-bg)); }
.prestations-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}
.prestations-intro p { color: var(--ink-soft); margin-bottom: 18px; }
.prestations-intro .btn { margin-top: 12px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--pink-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-card .icon svg { width: 22px; height: 22px; stroke: var(--accent-dark); }
.service-card h4 { font-size: 1rem; font-family: var(--sans); font-weight: 600; margin-bottom: 6px; }
.service-card p { font-size: 0.86rem; color: var(--ink-soft); }

.process-row {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step { position: relative; padding-left: 0; text-align: left; }
.process-step .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 8px;
}
.process-step h5 { font-size: 0.92rem; font-weight: 600; margin-bottom: 6px; font-family: var(--sans); }
.process-step p { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Realisations ---------- */
.section--alt.section--realisations { background: var(--white); }

.compare {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  cursor: ew-resize;
  user-select: none;
}
.compare img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.compare img.after {
  clip-path: inset(0 0 0 50%);
}
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 0;
  z-index: 5;
  pointer-events: none;
}
.compare-handle .line {
  position: absolute; top: 0; bottom: 0; left: -1px;
  width: 2px; background: var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.compare-handle .knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.compare-handle .knob svg { width: 18px; height: 18px; stroke: var(--accent-dark); }
.compare-tag {
  position: absolute;
  top: 18px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 100px;
  z-index: 4;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
}
.compare-tag.avant { left: 18px; }
.compare-tag.apres { right: 18px; }

.compare-pair { margin-bottom: 90px; }
.compare-pair:last-child { margin-bottom: 0; }
.compare-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 20px;
  gap: 20px;
}
.compare-caption h4 { font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.compare-caption span { font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.05em; }

.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 100px 0 40px; gap: 24px; flex-wrap: wrap; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 14px;
}
.gallery-grid .g-item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.gallery-grid .g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-grid .g-item:hover img { transform: scale(1.08); }
.gallery-grid .g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.35));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-grid .g-item:hover::after { opacity: 1; }
.g-item.w2 { grid-column: span 2; }
.g-item.h2 { grid-row: span 2; }
.realisations-more { text-align: center; margin-top: 56px; }

/* ---------- Projets ---------- */
.section--projets { background: linear-gradient(180deg, var(--pink-bg), var(--pink-bg-soft)); }
.projets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.projet-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.projet-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.projet-card .ph { aspect-ratio: 16/10; overflow: hidden; }
.projet-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.projet-card:hover .ph img { transform: scale(1.06); }
.projet-card .pc-body { padding: 20px 24px 26px; display: flex; align-items: center; justify-content: space-between; }
.projet-card h4 { font-size: 1rem; font-family: var(--sans); font-weight: 600; }
.projet-card .tag {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--pink-bg); padding: 6px 12px; border-radius: 100px;
}

/* ---------- Design ---------- */
.design-list { display: flex; flex-direction: column; gap: 60px; }
.design-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}
.design-row:nth-child(even) .design-text { order: 2; }
.design-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.design-photos img { border-radius: 14px; box-shadow: var(--shadow-sm); aspect-ratio: 3/4; object-fit: cover; }
.design-photos .full { grid-column: span 2; aspect-ratio: 16/9; }
.design-text .eyebrow { margin-bottom: 12px; }
.design-text h3 { font-size: 1.5rem; font-style: italic; margin-bottom: 14px; }
.design-text p { color: var(--ink-soft); }

/* ---------- Partenaires ---------- */
.section--alt.section--partenaires { background: var(--white); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.partner-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(100%);
  opacity: 0.72;
  transition: all 0.3s ease;
}
.partner-card:hover { filter: grayscale(0%); opacity: 1; transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- Contact / Footer ---------- */
.contact-section {
  background: var(--ink);
  color: rgba(255,255,255,0.88);
  padding: 110px 0 0;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute; top: -20%; right: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(239,77,158,0.25), transparent 70%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.contact-section .eyebrow { color: #ffb8de; }
.contact-section .eyebrow::before { background: #ffb8de; }
.contact-section h2 { color: var(--white); }
.contact-section .lede { color: rgba(255,255,255,0.7); margin-bottom: 30px; }

.contact-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 34px; }
.contact-list a, .contact-list div { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-list .ico svg { width: 18px; height: 18px; stroke: #ffb8de; }
.contact-list strong { display: block; font-weight: 600; color: var(--white); }
.contact-list span { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.social-row a:hover { background: var(--accent); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; stroke: var(--white); }

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form h3 { color: var(--white); font-size: 1.2rem; font-style: italic; margin-bottom: 20px; }
.contact-form label {
  display: block; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 8px; margin-top: 16px;
}
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input, .contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.92rem;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { margin-top: 22px; width: 100%; justify-content: center; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; }
.contact-form .hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-status { margin-top: 16px; font-size: 0.88rem; min-height: 1.2em; }
.contact-form .form-status.is-ok { color: #9be7b0; }
.contact-form .form-status.is-error { color: #ffb4a8; }

.footer-bottom {
  margin-top: 90px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .fmark { height: 22px; opacity: 0.85; filter: brightness(0) invert(1); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(20,12,16,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 30px; right: 30px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg { width: 20px; height: 20px; stroke: var(--white); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .moe-grid, .prestations-layout, .design-row, .contact-grid { grid-template-columns: 1fr; }
  .moe-grid { gap: 40px; }
  .moe-card { margin-left: 0; margin-top: -40px; max-width: none; }
  .design-row:nth-child(even) .design-text { order: 0; }
  .process-row { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .main-nav, .header-actions .phone-pill { display: none; }
  .header-actions .btn-primary { display: none; }
  .header-actions { gap: 10px; }
  .nav-toggle { display: flex; }
  .stats .container { grid-template-columns: 1fr; gap: 20px; }
  .stats .stat + .stat { border-left: none; border-top: 1px solid var(--line); padding-top: 20px; }
  .projets-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-item.w2 { grid-column: span 2; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 80px 0; }
  .hero { padding-bottom: 60px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 2.2rem; }
  .hero h1 br { display: none; }
  .hero-mark { width: 150px; }
  .scroll-cue { display: none; }
  .btn { padding: 13px 24px; font-size: 0.78rem; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 300;
  background: var(--pink-bg-soft);
  display: flex; flex-direction: column;
  padding: 100px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .mn-close {
  position: absolute; top: 26px; right: 26px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); border: none; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================
   Page Réalisations (realisations.html)
   ============================================ */
.rp-hero {
  padding: 150px 0 70px;
  background: linear-gradient(180deg, var(--pink-bg) 0%, var(--pink-bg-soft) 100%);
}
.rp-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.rp-crumbs { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 26px; display: flex; gap: 10px; }
.rp-crumbs a { color: var(--accent-dark); font-weight: 500; }
.rp-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 500;
  margin-bottom: 22px;
}
.rp-hero h1 em { color: var(--accent-dark); }
.rp-hero .lede { max-width: 560px; }
.rp-hero-collage {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 400px;
}
.rp-hero-collage img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.rp-hero-collage img:first-child { grid-row: span 2; }

/* Filtres */
.rp-filters {
  position: sticky;
  top: 58px;
  z-index: 100;
  background: rgba(253, 241, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.rp-chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.rp-chips::-webkit-scrollbar { display: none; }
.rp-chip {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.rp-chip small { font-size: 0.72rem; color: var(--ink-soft); margin-left: 4px; }
.rp-chip:hover { border-color: var(--accent); }
.rp-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.rp-chip.is-active small { color: rgba(255,255,255,0.65); }

/* Sections projet */
.rp { padding: 96px 0; scroll-margin-top: 120px; }
.rp[hidden] { display: none; }
.rp-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}
.rp-head .section-title { margin-bottom: 0; }
.rp-kind {
  display: inline-block;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  color: var(--accent-dark); background: var(--pink-bg);
  padding: 6px 12px; border-radius: 100px;
  margin-bottom: 12px;
}
.rp:not(.section--alt) .rp-kind { background: var(--white); }
.rp-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  margin: 56px 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rp-subtitle:first-child { margin-top: 0; }

/* Curseurs avant / après */
.rp-compares {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 34px 28px;
  align-items: start;
  margin-bottom: 44px;
}
.rp-compare { margin: 0; grid-column: span 3; }
.rp-compare.is-portrait { grid-column: span 2; }
.rp-compare.is-wide { grid-column: 1 / -1; max-width: 920px; width: 100%; justify-self: center; }
.rp-compare .compare { box-shadow: var(--shadow-sm); }
.rp-compare figcaption {
  margin-top: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}
.compare:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Colonnes Avant / Après */
.rp-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.rp-ba--single { grid-template-columns: 1fr; }
.rp-col {
  background: var(--pink-bg-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.section--alt .rp-col { background: var(--pink-bg-soft); }
.rp:not(.section--alt) .rp-col { background: var(--white); }
.rp-col-title {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--sans);
  margin-bottom: 16px;
}
.rp-col-title span {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  padding: 6px 13px; border-radius: 100px;
}
.rp-col-title.avant span { background: var(--ink); color: var(--white); }
.rp-col-title.apres span { background: var(--accent); color: var(--white); }
.rp-col-title small { font-size: 0.78rem; font-weight: 400; color: var(--ink-soft); }
.rp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.rp-ba--single .rp-grid { grid-template-columns: repeat(6, 1fr); }
.rp-thumb {
  display: block;
  padding: 0;
  border: none;
  background: var(--line);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: zoom-in;
  position: relative;
}
.rp-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.rp-thumb:hover img { transform: scale(1.07); }
.rp-thumb:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Appel à l'action en bas de page */
.rp-cta { padding-top: 100px; }
.rp-cta-inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.rp-cta .lede { margin-bottom: 0; }
.rp-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Lightbox : navigation et légende */
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-figure figcaption { color: rgba(255,255,255,0.85); font-size: 0.9rem; letter-spacing: 0.04em; text-align: center; }
.lightbox-figure figcaption:empty { display: none; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.24); }
.lightbox-nav svg { width: 22px; height: 22px; stroke: var(--white); }
.lightbox-nav[hidden] { display: none; }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-figure img { max-height: 80vh; }

@media (max-width: 1080px) {
  .rp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .rp-hero-collage { height: 300px; }
  .rp-head { grid-template-columns: 1fr; gap: 14px; }
  .rp-ba--single .rp-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .rp { padding: 70px 0; }
  .rp-compares { grid-template-columns: 1fr; }
  .rp-compare, .rp-compare.is-portrait { grid-column: 1 / -1; }
  .rp-compare.is-portrait .compare { width: min(100%, 62vh); margin: 0 auto; }
  .rp-compare.is-portrait figcaption { text-align: center; }
  .rp-ba { grid-template-columns: 1fr; }
  .rp-filters { top: 54px; }
}
@media (max-width: 560px) {
  .rp-hero { padding: 120px 0 50px; }
  .rp-hero-collage { height: 220px; gap: 10px; }
  .rp-col { padding: 14px; }
  .rp-grid, .rp-ba--single .rp-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox { padding: 16px; }
  .lightbox-nav { top: auto; bottom: 24px; transform: none; }
  .lightbox-nav.prev { left: calc(50% - 64px); }
  .lightbox-nav.next { right: calc(50% - 64px); }
  .lightbox-figure img { max-height: 70vh; max-width: 100%; }
  .compare-tag { top: 12px; font-size: 0.6rem; padding: 5px 10px; }
  .compare-tag.avant { left: 12px; }
  .compare-tag.apres { right: 12px; }
}

/* ============================================
   Pages légales & mentions RGPD
   ============================================ */
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.7); transition: color 0.2s ease; }
.footer-legal a:hover { color: #ffb8de; }

.contact-form .form-privacy {
  margin-top: 18px;
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
}
.contact-form .form-privacy a { color: #ffb8de; text-decoration: underline; }

.legal-hero { padding-bottom: 50px; }
.legal-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; font-style: italic; margin-bottom: 16px; }
.legal-hero .lede { max-width: 640px; }
.legal { background: var(--white); padding: 80px 0 100px; }
.legal-body { max-width: 860px; }
.legal-body h2 {
  font-size: 1.7rem;
  font-style: italic;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: 12px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body ul { padding-left: 0; margin-bottom: 14px; }
.legal-body ul li { position: relative; padding-left: 22px; }
.legal-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 0.7em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.legal-body a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-summary {
  background: var(--pink-bg-soft);
  border-radius: var(--radius);
  padding: 28px 32px 18px;
  margin-bottom: 48px;
}
.legal-summary h2 { border: none; margin: 0 0 12px; padding: 0; font-size: 1.5rem; }
.legal-table { overflow-x: auto; margin: 6px 0 18px; }
.legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.92rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-table th { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: var(--pink-bg-soft); }
.legal-table td { color: var(--ink-soft); }
.legal-update { margin-top: 48px; font-size: 0.85rem; font-style: italic; }
mark.todo { background: #fff1a8; color: #6b4e00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.legal-footer { padding-top: 10px; }
.legal-footer .footer-bottom { margin-top: 0; border-top: none; }

@media (max-width: 560px) {
  .legal { padding: 56px 0 70px; }
  .legal-summary { padding: 22px 20px 12px; }
}
