/* ============================================================
   RENOW — Design System v3
   Direction : « Éditorial premium, dynamique, 2025 »
   ============================================================ */

:root {
  --rn-navy:    #07244C;
  --rn-navy-2:  #0D3566;
  --rn-white:   #FFFFFF;
  --rn-stone:   #F5F4F1;
  --rn-border:  #D9D7D2;
  --rn-text:    #111111;
  --rn-muted:   #5A5955;
  --rn-success: #2D7A5E;
  --rn-accent:  #8FA8C7;   /* bleu clair sur fond navy */

  --rn-font-display: 'Sora', 'Archivo Black', sans-serif;
  --rn-font-body:    'Inter', system-ui, sans-serif;

  --rn-container: 1360px;
  --rn-header-h:  68px;
  --rn-radius:    2px;
  --rn-radius-l:  6px;
  --rn-shadow-s:  0 1px 4px rgba(7,36,76,0.07);
  --rn-shadow-m:  0 8px 32px rgba(7,36,76,0.12);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 0;
  font-family: var(--rn-font-body);
  font-size: 16px; line-height: 1.65;
  color: var(--rn-text);
  background: var(--rn-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul,ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
p { margin: 0; }
h1,h2,h3,h4 {
  font-family: var(--rn-font-display);
  margin: 0; line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--rn-navy);
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
:focus-visible { outline: 2px solid var(--rn-navy); outline-offset: 3px; border-radius: 2px; }

/* ── Layout ─────────────────────────────────── */
.container  { max-width: var(--rn-container); margin: 0 auto; padding: 0 32px; }
.section    { padding: 100px 0; }
.section--tight { padding: 64px 0; }
.section--stone { background: var(--rn-stone); }
.section--navy  { background: var(--rn-navy); color: var(--rn-white); }
.section--navy h1,.section--navy h2,.section--navy h3 { color: #fff; }
.section--bt { border-top: 1px solid var(--rn-border); }

/* ── Grid ───────────────────────────────────── */
.grid   { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.cols-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }
.cols-equal { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ── Typography helpers ──────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rn-muted);
  margin-bottom: 20px;
}
.section--navy .eyebrow { color: var(--rn-accent); }
.lede { font-size: 1.1rem; line-height: 1.65; color: var(--rn-muted); }
.section--navy .lede { color: rgba(255,255,255,0.7); }
.text-muted { color: var(--rn-muted); }
.display-big { font-family: var(--rn-font-display); font-size: clamp(3rem,6vw,5.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--rn-navy); }

/* ── Spacing ────────────────────────────────── */
.mt-8{margin-top:8px}   .mt-12{margin-top:12px}  .mt-16{margin-top:16px}
.mt-24{margin-top:24px} .mt-32{margin-top:32px}  .mt-40{margin-top:40px}
.mt-48{margin-top:48px} .mt-64{margin-top:64px}
.mb-8{margin-bottom:8px} .mb-16{margin-bottom:16px} .mb-24{margin-bottom:24px}
.flex{display:flex} .flex-wrap{flex-wrap:wrap} .items-center{align-items:center}
.gap-8{gap:8px} .gap-12{gap:12px} .gap-16{gap:16px} .gap-24{gap:24px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; font-family: var(--rn-font-body);
  font-weight: 600; font-size: 0.88rem; letter-spacing: 0.01em;
  border-radius: var(--rn-radius); border: 1.5px solid transparent;
  transition: background .17s ease, color .17s ease, border-color .17s ease, transform .12s ease;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rn-navy); color: #fff; border-color: var(--rn-navy); }
.btn-primary:hover { background: var(--rn-navy-2); border-color: var(--rn-navy-2); }
.btn-outline { background: transparent; color: var(--rn-navy); border-color: var(--rn-navy); }
.btn-outline:hover { background: var(--rn-navy); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-white:hover { background: #fff; color: var(--rn-navy); border-color: #fff; }
.btn-ghost { background: transparent; border: none; color: var(--rn-navy); font-weight: 700; padding: 0; font-size: 0.9rem; }
.btn-ghost::after { content: ' →'; }
.btn-ghost:hover { text-decoration: underline; transform: none; }
.btn-block { width: 100%; }

/* ── Skip link ──────────────────────────────── */
.skip-link{position:absolute;left:-9999px;top:0;background:var(--rn-navy);color:#fff;padding:12px 20px;z-index:200;border-radius:0 0 4px 0;}
.skip-link:focus{left:0;}

/* ── Header ─────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 150;
  height: var(--rn-header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rn-border);
  transition: transform .28s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo image */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; width: auto; display: block; }
.logo-footer img { height: 36px; width: auto; filter: brightness(0) invert(1); }

/* Nav */
.main-nav > ul { display: flex; align-items: center; gap: 0; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 9px 13px; font-size: 0.855rem; font-weight: 500;
  color: var(--rn-muted); border-radius: 4px;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--rn-navy); background: var(--rn-stone); }
.nav-link.is-active { color: var(--rn-navy); font-weight: 600; }
.nav-chevron { transition: transform .15s; }
.has-dropdown:hover .nav-chevron { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px;
  background: #fff; border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius-l); padding: 8px;
  min-width: 290px; box-shadow: var(--rn-shadow-m);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .17s ease, visibility .17s ease, transform .17s ease;
  z-index: 50;
}
.has-dropdown:hover .dropdown,.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; font-size: 0.87rem; font-weight: 500; color: var(--rn-text); border-radius: var(--rn-radius); transition: background .12s; }
.dropdown a:hover { background: var(--rn-stone); color: var(--rn-navy); }
.dropdown a span { display: block; font-size: 0.77rem; color: var(--rn-muted); margin-top: 2px; font-weight: 400; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--rn-navy); transition: transform .2s, opacity .2s; }

/* ── Mobile bar ──────────────────────────────── */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--rn-navy); border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-bar__inner { display: flex; height: 56px; }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.mobile-bar a.mobile-bar__cta { background: #fff; color: var(--rn-navy); }
.mobile-bar svg { width: 16px; height: 16px; }

/* ── Footer ─────────────────────────────────── */
.site-footer { background: var(--rn-navy); color: rgba(255,255,255,0.75); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.65; max-width: 250px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; font-family: var(--rn-font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.87rem; color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: #fff; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 40px 0 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.footer-mentions { font-size: 0.74rem; color: rgba(255,255,255,0.28); line-height: 1.7; max-width: 560px; }
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-legal-links a:hover { color: rgba(255,255,255,0.75); }
.footer-copyright { font-size: 0.78rem; color: rgba(255,255,255,0.28); }

/* ── Breadcrumb ──────────────────────────────── */
.breadcrumb { padding: 14px 0; border-bottom: 1px solid var(--rn-border); background: var(--rn-white); }
.breadcrumb ol { display: flex; gap: 0; }
.breadcrumb li { font-size: 0.8rem; color: var(--rn-muted); display: flex; align-items: center; }
.breadcrumb li::after { content: '/'; margin: 0 8px; color: var(--rn-border); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb li:last-child { color: var(--rn-navy); font-weight: 500; }
.breadcrumb a:hover { color: var(--rn-navy); }

/* ── HERO full-bleed ─────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 88vh;
  display: flex; align-items: flex-end;
  background: var(--rn-navy);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  filter: brightness(0.48);
  transform: scale(1.03);
  animation: heroBgPan 12s ease-in-out infinite alternate;
}
@keyframes heroBgPan {
  from { transform: scale(1.03) translateX(0); }
  to   { transform: scale(1.03) translateX(-1%); }
}
.hero__content {
  position: relative; z-index: 1;
  padding: 0 0 88px; width: 100%;
  color: #fff;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 28px;
}
.hero__badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--rn-accent); display: block; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 880px; line-height: 1.04;
}
.hero .lede { color: rgba(255,255,255,0.7); max-width: 480px; margin-top: 24px; font-size: 1.05rem; }
.hero--center { align-items: flex-start; padding-top: 150px; }
.hero--center .hero__content { padding-bottom: 60px; }
.hero__actions { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; right: 40px; bottom: 32px; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); writing-mode: vertical-rl; transform: rotate(180deg);
}

/* ── Marquee / ticker ────────────────────────── */
.marquee-strip {
  overflow: hidden; background: var(--rn-navy); color: rgba(255,255,255,0.55);
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.marquee-track {
  display: flex; gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 16s linear infinite;
}
.marquee-track span {
  display: inline-flex; align-items: center; gap: 32px;
  padding-right: 32px;
}
.marquee-track .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rn-accent); display: inline-block; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Statement / pull quote ──────────────────── */
.statement {
  padding: 88px 0; background: var(--rn-stone);
  border-top: 1px solid var(--rn-border);
  border-bottom: 1px solid var(--rn-border);
}
.statement p {
  font-family: var(--rn-font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700; letter-spacing: -0.025em;
  color: var(--rn-navy); line-height: 1.2;
  max-width: 900px;
}
.statement p em { color: var(--rn-muted); font-style: normal; }

/* ── Numbered service rows ───────────────────── */
.service-list { border-top: 1px solid var(--rn-border); }
.service-row {
  display: grid; grid-template-columns: 56px 1fr auto;
  align-items: center; gap: 28px;
  padding: 32px 0; border-bottom: 1px solid var(--rn-border);
  text-decoration: none; color: inherit;
  transition: padding-left .15s ease, background .15s ease;
}
a.service-row:hover {
  background: var(--rn-stone); padding-left: 16px;
  margin: 0 -16px; width: calc(100% + 32px);
  border-radius: var(--rn-radius); border-color: transparent;
}
.service-row__num {
  font-family: var(--rn-font-display);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--rn-border);
}
a.service-row:hover .service-row__num { color: var(--rn-accent); }
.service-row__body h3 { font-size: 1.18rem; color: var(--rn-navy); }
.service-row__body p { font-size: 0.88rem; color: var(--rn-muted); margin-top: 5px; line-height: 1.5; }
.service-row__arrow { color: var(--rn-navy); opacity: 0; transition: opacity .15s, transform .15s; }
a.service-row:hover .service-row__arrow { opacity: 1; transform: translateX(4px); }

/* ── Photo mosaic ────────────────────────────── */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px;
}
.mosaic__cell {
  overflow: hidden;
  position: relative;
  background: var(--rn-navy);
}
.mosaic__cell img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .3s ease;
  filter: brightness(0.88);
}
.mosaic__cell:hover img { transform: scale(1.04); filter: brightness(0.7); }
.mosaic__cell--wide  { grid-column: span 2; }
.mosaic__cell--tall  { grid-row: span 2; }
.mosaic__cell { aspect-ratio: 4/3; }
.mosaic__cell--wide  { aspect-ratio: auto; }
.mosaic__cell--tall  { aspect-ratio: auto; }
.mosaic__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 20px 18px;
  background: linear-gradient(to top, rgba(7,36,76,0.8) 0%, transparent 100%);
  color: #fff; font-size: 0.82rem; font-weight: 600;
  opacity: 0; transition: opacity .2s ease;
}
.mosaic__cell:hover .mosaic__caption { opacity: 1; }

/* ── Chantier cards (homepage) ───────────────── */
.chantier-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.chantier-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; background: var(--rn-navy);
  text-decoration: none;
}
.chantier-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; filter: brightness(0.7); }
.chantier-card:hover img { transform: scale(1.04); filter: brightness(0.55); }
.chantier-card__body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(7,36,76,0.88) 0%, transparent 100%);
  color: #fff;
}
.chantier-card__type { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rn-accent); margin-bottom: 8px; }
.chantier-card__title { font-family: var(--rn-font-display); font-size: 1.2rem; font-weight: 700; color: #fff; line-height: 1.2; }
.chantier-card__meta { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 8px; }
.chantier-card__arrow { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transition: opacity .2s; }
.chantier-card:hover .chantier-card__arrow { opacity: 1; }

/* ── Project gallery grid ────────────────────── */
.project-card { overflow: hidden; background: #fff; border: 1px solid var(--rn-border); border-radius: var(--rn-radius-l); transition: box-shadow .2s, transform .2s; }
.project-card:hover { box-shadow: var(--rn-shadow-m); transform: translateY(-3px); }
.project-card__media { position: relative; overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; cursor: zoom-in; }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__tag { position: absolute; top: 12px; left: 12px; background: var(--rn-navy); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 2px; letter-spacing: 0.04em; text-transform: uppercase; }
.project-card__body { padding: 18px 20px 20px; }
.project-card__body h3 { font-size: 0.96rem; color: var(--rn-navy); }
.project-card__meta { font-size: 0.78rem; color: var(--rn-muted); margin-top: 8px; }

/* ── Filter chips ────────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-chip { padding: 8px 18px; font-size: 0.83rem; font-weight: 500; border: 1px solid var(--rn-border); border-radius: 100px; background: var(--rn-white); color: var(--rn-muted); cursor: pointer; transition: all .15s; }
.filter-chip:hover { border-color: var(--rn-navy); color: var(--rn-navy); }
.filter-chip.is-active { background: var(--rn-navy); color: #fff; border-color: var(--rn-navy); }

/* ── Horizontal process steps ────────────────── */
.step-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.step-bar::before { content: ''; position: absolute; top: 19px; left: 8%; right: 8%; height: 1px; background: rgba(255,255,255,0.12); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 20px; }
.step__num { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: var(--rn-font-display); font-weight: 700; font-size: 0.82rem; color: #fff; }
.step h3 { font-size: 0.98rem; margin-bottom: 8px; color: #fff; }
.step p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ── Tick list ───────────────────────────────── */
.tick-list { display: flex; flex-direction: column; gap: 14px; }
.tick-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.94rem; line-height: 1.5; }
.tick-list li::before { content: '→'; font-weight: 700; color: var(--rn-navy); flex-shrink: 0; margin-top: 1px; }
.section--navy .tick-list li::before { color: var(--rn-accent); }

/* ── Audience tabs ───────────────────────────── */
.audience-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 36px; }
.audience-tab { padding: 9px 20px; font-size: 0.83rem; font-weight: 500; border: 1px solid rgba(255,255,255,0.18); border-radius: 100px; background: transparent; color: rgba(255,255,255,0.55); cursor: pointer; transition: all .15s; }
.audience-tab:hover { border-color: rgba(255,255,255,0.45); color: #fff; }
.audience-tab.is-active { border-color: #fff; background: #fff; color: var(--rn-navy); font-weight: 600; }
.audience-panel { display: none; }
.audience-panel.is-active { display: block; animation: fadeUp .22s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

/* ── Scroll reveal ───────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ── Contact aside card ──────────────────────── */
.contact-card { background: var(--rn-stone); border: 1px solid var(--rn-border); border-radius: var(--rn-radius-l); padding: 32px; position: sticky; top: calc(var(--rn-header-h) + 24px); }
.contact-card a { color: var(--rn-navy); font-weight: 600; }

/* ── Form elements ───────────────────────────── */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--rn-navy); }
.field .hint { font-size: 0.77rem; color: var(--rn-muted); }
.field input,.field select,.field textarea {
  width: 100%; padding: 11px 14px; font-family: var(--rn-font-body); font-size: 0.9rem;
  border: 1px solid var(--rn-border); border-radius: var(--rn-radius);
  background: var(--rn-white); color: var(--rn-text); transition: border-color .15s; -webkit-appearance: none;
}
.field input:focus,.field select:focus,.field textarea:focus { border-color: var(--rn-navy); outline: none; box-shadow: 0 0 0 3px rgba(7,36,76,0.08); }
.field textarea { resize: vertical; min-height: 110px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.check-tile { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--rn-border); border-radius: var(--rn-radius); cursor: pointer; font-size: 0.87rem; transition: border-color .12s; }
.check-tile:hover { border-color: var(--rn-navy); }
.check-tile input { width: 15px; height: 15px; accent-color: var(--rn-navy); flex-shrink: 0; }
.dropzone { border: 1.5px dashed var(--rn-border); border-radius: var(--rn-radius); padding: 28px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover,.dropzone.is-dragover { border-color: var(--rn-navy); background: var(--rn-stone); }
.dropzone p { font-size: 0.87rem; color: var(--rn-muted); margin-top: 8px; }
.dropzone strong { color: var(--rn-navy); }
.file-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.file-list li { font-size: 0.82rem; display: flex; justify-content: space-between; background: var(--rn-stone); padding: 7px 12px; border-radius: var(--rn-radius); }
.file-list button { background: none; border: none; color: #C24545; font-weight: 600; cursor: pointer; }
.form-area {}
.form-success { display: none; text-align: center; padding: 64px 24px; }
.form-success.is-active { display: block; }
.icon-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--rn-stone); display: flex; align-items: center; justify-content: center; }
.icon-circle svg { width: 28px; height: 28px; color: var(--rn-navy); }
.form-success .icon-circle { margin: 0 auto; }

/* ── Table ───────────────────────────────────── */
.rn-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.rn-table th,.rn-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--rn-border); word-break: break-word; }
.rn-table th { font-weight: 600; color: var(--rn-navy); font-size: 0.82rem; letter-spacing: 0.03em; width: 40%; }
.section--navy .rn-table th { color: rgba(255,255,255,0.45); }
.section--navy .rn-table th,.section--navy .rn-table td { border-color: rgba(255,255,255,0.08); }
.section--navy .rn-table td { color: rgba(255,255,255,0.8); }

/* ── Lightbox ────────────────────────────────── */
.rn-lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(7,36,76,0.94); display: flex; align-items: center; justify-content: center; padding: 32px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.rn-lightbox.is-open { opacity: 1; visibility: visible; }
.rn-lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--rn-radius-l); box-shadow: 0 24px 80px rgba(0,0,0,.5); cursor: zoom-out; }
.rn-lightbox__close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; background: rgba(255,255,255,.12); border: none; border-radius: 50%; color: #fff; font-size: 1.8rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ── Error page ──────────────────────────────── */
.error-page { text-align: center; padding: 120px 0; }
.error-page .code { font-family: var(--rn-font-display); font-weight: 800; font-size: 6rem; -webkit-text-stroke: 2px var(--rn-navy); color: transparent; line-height: 1; }

/* ── Notice ──────────────────────────────────── */
.notice { padding: 16px 20px; background: var(--rn-stone); border-left: 3px solid var(--rn-navy); font-size: 0.82rem; color: var(--rn-muted); line-height: 1.6; }

/* ── Placeholder ─────────────────────────────── */
.placeholder-media { background: var(--rn-stone); display: flex; align-items: center; justify-content: center; border-radius: var(--rn-radius-l); }
.placeholder-media svg { width: 48px; height: 48px; color: var(--rn-border); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .step-bar { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .step-bar::before { display: none; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic__cell--wide { grid-column: span 2; }
  .mosaic__cell--tall { grid-row: auto; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .mobile-bar { display: block; }
  body { padding-bottom: 56px; padding-top: var(--rn-header-h); }
  .site-header { position: fixed; left: 0; right: 0; }
  .main-nav.is-mobile-open {
    display: block; position: fixed; top: var(--rn-header-h); left: 0; right: 0; bottom: 56px;
    background: var(--rn-white); overflow-y: auto; padding: 8px 24px 24px; z-index: 9999;
  }
  .main-nav.is-mobile-open > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-mobile-open .nav-link { padding: 14px 0; font-size: 1.05rem; color: var(--rn-navy); border-radius: 0; border-bottom: 1px solid var(--rn-border); justify-content: space-between; }
  .main-nav.is-mobile-open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 4px 0 4px 16px; display: none; }
  .main-nav.is-mobile-open .has-dropdown.is-open .dropdown { display: block; }
  .cols-7-5,.cols-equal { grid-template-columns: 1fr; }
  .chantier-pair { grid-template-columns: 1fr; }
  .chantier-card { aspect-ratio: 4/3; }
  .grid-3,.grid-2 { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic__cell--wide { grid-column: auto; }
  .hero { min-height: 75vh; }
  .hero h1 { font-size: 2.5rem; }
  .hero--center { padding-top: 110px; }
  .service-row { grid-template-columns: 44px 1fr auto; gap: 16px; }
  .statement p { font-size: 1.6rem; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .step-bar { grid-template-columns: 1fr 1fr; }
  .audience-tabs { flex-direction: column; }
  .audience-tab { border-radius: var(--rn-radius); text-align: left; }
  .checkbox-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}

/* ── Contact form responsive ─ */
@media (max-width: 900px) {
  .container [style*="grid-template-columns:1fr 400px"] {
    grid-template-columns: 1fr !important;
  }
  .contact-card { position: static; }
}

/* ── Hero content always visible (no reveal delay on above-fold) ── */
.hero .reveal { opacity: 1; transform: translateY(0); }

/* ── Homepage mockup components ─────────────────────────── */

/* Reassurance band */
.reassurance-band { background: var(--rn-stone); border-top: 1px solid var(--rn-border); border-bottom: 1px solid var(--rn-border); padding: 24px 0; }
.reassurance-band__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.reassurance-item { display: flex; align-items: center; gap: 12px; padding: 8px 28px; border-right: 1px solid var(--rn-border); }
.reassurance-item:last-child { border-right: none; }
.reassurance-item svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--rn-navy); }
.reassurance-item span { font-size: 0.82rem; color: var(--rn-muted); line-height: 1.4; font-weight: 500; }

/* Service cards (3 columns) */
.service-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--rn-border); border-radius: var(--rn-radius-l); overflow: visible; display: flex; flex-direction: column; }
.service-card__photo { border-radius: var(--rn-radius-l) var(--rn-radius-l) 0 0; aspect-ratio: 16/9; overflow: hidden; background: var(--rn-stone); }
.service-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card__body { padding: 8px 20px 24px; flex: 1; display: flex; flex-direction: column; }
.service-card__icon { width: 48px; height: 48px; min-width: 48px; background: var(--rn-navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; margin: -24px 0 16px 16px; position: relative; z-index: 2; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--rn-navy); margin-bottom: 10px; }
.service-card > .service-card__body > p { font-size: 0.88rem; color: var(--rn-muted); line-height: 1.6; margin-bottom: 16px; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.service-card ul li { font-size: 0.83rem; color: var(--rn-muted); display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.service-card ul li .svc-check { width: 18px; height: 18px; min-width: 18px; background: var(--rn-navy); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; flex-shrink: 0; }
.service-card ul li .svc-check svg { width: 10px; height: 10px; }
.service-card__link { margin-top: 20px; font-size: 0.85rem; font-weight: 600; color: var(--rn-navy); text-decoration: none; }
.service-card__link:hover { text-decoration: underline; }

/* Case study */
.case-study { background: var(--rn-navy); border-radius: var(--rn-radius-l); overflow: hidden; display: grid; grid-template-columns: 2fr 3fr; }
.case-study__panel { padding: 40px 36px; display: flex; flex-direction: column; }
.case-study__badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 2px; margin-bottom: 24px; }
.case-study h3 { font-size: 1.4rem; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.case-study__desc { font-size: 0.87rem; color: rgba(255,255,255,0.65); line-height: 1.65; margin-bottom: 24px; }
.case-study__meta { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.1); flex: 1; }
.case-study__meta-row { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.case-study__meta-row span:first-child { font-size: 0.78rem; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 6px; }
.case-study__meta-row span:last-child { font-size: 0.78rem; color: rgba(255,255,255,0.8); }
.case-study__photos { display: grid; grid-template-rows: 1fr auto; gap: 4px; background: #000; }
.case-study__main { background: #1a1a1a; overflow: hidden; }
.case-study__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-study__thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
.case-study__thumbs .thumb { aspect-ratio: 4/3; overflow: hidden; background: #222; }
.case-study__thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Sectors */
.sector-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; border: 1px solid var(--rn-border); border-radius: var(--rn-radius-l); overflow: hidden; }
.sector-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 20px; border-right: 1px solid var(--rn-border); gap: 14px; }
.sector-item:last-child { border-right: none; }
.sector-item svg { width: 40px; height: 40px; color: var(--rn-navy); }
.sector-item span { font-size: 0.85rem; font-weight: 500; color: var(--rn-navy); line-height: 1.3; }

/* Method steps */
.method-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative; }
.method-steps::before { content: ''; position: absolute; top: 18px; left: calc(10% + 18px); right: calc(10% + 18px); height: 1px; background: var(--rn-border); z-index: 0; }
.method-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.method-step__num { width: 36px; height: 36px; border-radius: 50%; background: var(--rn-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; margin: 0 auto 16px; font-family: var(--rn-font-display); }
.method-step h4 { font-size: 0.9rem; color: var(--rn-navy); margin-bottom: 8px; font-family: var(--rn-font-display); font-weight: 700; }
.method-step p { font-size: 0.8rem; color: var(--rn-muted); line-height: 1.5; }

/* Conversion block */
.conversion-block { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rn-border); border-radius: var(--rn-radius-l); overflow: hidden; }
.conversion-left { padding: 40px 40px; background: var(--rn-stone); }
.conversion-right { padding: 40px 40px; background: #fff; display: flex; flex-direction: column; justify-content: center; }
.conversion-left h3 { font-size: 1.2rem; font-weight: 700; color: var(--rn-navy); margin-bottom: 12px; }
.conversion-left p { font-size: 0.88rem; color: var(--rn-muted); line-height: 1.65; margin-bottom: 16px; }
.conversion-left ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.conversion-left ul li { font-size: 0.85rem; color: var(--rn-muted); display: flex; align-items: center; gap: 8px; }
.conversion-right h3 { font-size: 1.2rem; font-weight: 700; color: var(--rn-navy); margin-bottom: 10px; }
.conversion-right p { font-size: 0.88rem; color: var(--rn-muted); margin-bottom: 24px; line-height: 1.65; }
.conversion-actions { display: flex; flex-direction: column; gap: 12px; }
.phone-btn { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1.5px solid var(--rn-navy); color: var(--rn-navy); font-size: 0.9rem; font-weight: 700; border-radius: var(--rn-radius); }
.phone-btn svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .reassurance-band__grid { grid-template-columns: 1fr 1fr; }
  .reassurance-item { border-bottom: 1px solid var(--rn-border); }
  .service-cards { grid-template-columns: 1fr; }
  .case-study { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(3,1fr); }
  .method-steps { grid-template-columns: 1fr 1fr; }
  .method-steps::before { display: none; }
  .conversion-block { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .reassurance-band__grid { grid-template-columns: 1fr; }
}

/* ── Hero split responsive ──────────────────────────────── */
@media (max-width: 900px) {
  section[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Hero alignment fix ─────────────────────────────────── */
/* On mobile, hero stacks vertically */
@media (max-width: 900px) {
  section[style*="grid-template-columns:1fr 1fr"][style*="min-height:560px"] {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  section[style*="grid-template-columns:1fr 1fr"][style*="min-height:560px"] > div:last-child {
    min-height: 280px;
  }
}

/* ── Sector icons sizing ────────────────────────────────── */
.sector-item svg { width: 48px; height: 48px; }

/* ── Video section ──────────────────────────────────────────── */
.video-section { background: var(--rn-navy); padding: 64px 0; }
.video-wrapper {
  position: relative;
  border-radius: var(--rn-radius-l);
  overflow: hidden;
  background: #000;
  max-width: 900px;
  margin: 0 auto;
}
.video-wrapper video { width: 100%; display: block; }
.video-caption { text-align: center; margin-top: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ════════════════════════════════════════════════════════
   RESPONSIVE MOBILE — breakpoints 900px, 640px, 480px
   ════════════════════════════════════════════════════════ */

@media (max-width: 900px) {

  /* ── Container ── */
  .container { padding: 0 20px; }
  :root { --rn-container: 100%; }

  /* ── Header / Nav ── */
  .site-header__inner { gap: 12px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-bar { display: block; }
  body { padding-bottom: 64px; }

  /* ── Hero ── */
  .hero { min-height: 55vh !important; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem) !important; }
  .hero .lede { font-size: 0.9rem; }
  .hero--center { padding-top: 90px; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; text-align: center; justify-content: center; }

  /* ── Hero split (homepage) ── */
  section[style*="display:flex"][style*="min-height:560px"],
  section[style*="display:grid"][style*="1fr 1fr"][style*="560px"] {
    flex-direction: column !important;
    display: flex !important;
    grid-template-columns: 1fr !important;
  }
  section[style*="flex:0 0 50%"] {
    flex: none !important;
    width: 100% !important;
    padding: 40px 20px !important;
  }

  /* ── Service cards ── */
  .service-cards { grid-template-columns: 1fr !important; gap: 24px; }

  /* ── Case study ── */
  .case-study { grid-template-columns: 1fr !important; }
  .case-study__panel { padding: 28px 24px; }
  .case-study__thumbs { grid-template-columns: repeat(4,1fr); }

  /* ── Sector grid ── */
  .sector-grid { grid-template-columns: repeat(3,1fr) !important; }
  .sector-item { padding: 20px 10px; }

  /* ── Method steps ── */
  .method-steps { grid-template-columns: 1fr 1fr !important; gap: 24px; }
  .method-steps::before { display: none; }

  /* ── Conversion block ── */
  .conversion-block { grid-template-columns: 1fr !important; }

  /* ── Secteurs 2-col grids ── */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:64px"] { 
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:40px"],
  div[style*="display:grid"][style*="1fr 1fr"] { 
    grid-template-columns: 1fr !important;
  }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px; }

  /* ── Stats ── */
  div[style*="repeat(4,1fr)"] { grid-template-columns: 1fr 1fr !important; }
  div[style*="repeat(4,1fr)"] > div { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.1); }

  /* ── Values grid ── */
  div[style*="repeat(4,1fr)"][style*="gap:16px"] { grid-template-columns: 1fr 1fr !important; }

  /* ── Gallery grid ── */
  .grid.grid-3 { grid-template-columns: 1fr 1fr !important; }

  /* ── Cols-7-5 layout ── */
  .cols-7-5 { grid-template-columns: 1fr !important; gap: 24px !important; }
  .cols-7-5 > div:last-child { aspect-ratio: 4/3 !important; }

  /* ── Reassurance band ── */
  .reassurance-band__grid { grid-template-columns: 1fr 1fr !important; }
  .reassurance-item:nth-child(2) { border-right: none; }
  .reassurance-item { border-bottom: 1px solid var(--rn-border); padding: 12px 16px; }
}

@media (max-width: 640px) {

  /* ── Fonts ── */
  h1 { font-size: clamp(1.6rem,6vw,2.4rem) !important; }
  h2 { font-size: clamp(1.3rem,5vw,1.8rem) !important; }

  /* ── Grids → single col ── */
  .sector-grid { grid-template-columns: 1fr 1fr !important; }
  .method-steps { grid-template-columns: 1fr !important; }
  .grid.grid-3 { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  div[style*="repeat(4,1fr)"] { grid-template-columns: 1fr 1fr !important; }
  div[style*="repeat(4,1fr)"][style*="gap:16px"] { grid-template-columns: 1fr !important; }

  /* ── Contact form grid ── */
  .grid.grid-2 { grid-template-columns: 1fr !important; }
  .checkbox-grid { display: flex !important; flex-direction: column !important; }
  .check-tile { width: 100% !important; }

  /* ── Case study thumbs ── */
  .case-study__thumbs { grid-template-columns: repeat(2,1fr); }

  /* ── Section padding ── */
  .section--tight { padding: 40px 0; }

  /* ── Hero ── */
  .hero { min-height: 45vh !important; }
  .hero h1 { font-size: clamp(1.5rem,6vw,2.2rem) !important; }
  .hero__scroll { display: none; }

  /* ── Reassurance ── */
  .reassurance-band__grid { grid-template-columns: 1fr !important; }
  .reassurance-item { border-right: none !important; }

  /* ── Timeline ── */
  div[style*="grid-template-columns:1fr 1fr"][style*="72px"] { 
    grid-template-columns: 1fr !important; 
  }

  /* ── Statement ── */
  .statement p { font-size: clamp(1.2rem,4vw,1.8rem); }

  /* ── Secteurs 4-photo grid → 2×2 ── */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:8px"] { 
    grid-template-columns: 1fr 1fr !important; 
  }
}

@media (max-width: 480px) {

  .sector-grid { grid-template-columns: 1fr !important; }
  .sector-item { border-right: none !important; border-bottom: 1px solid var(--rn-border); }
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:8px"] { 
    grid-template-columns: 1fr !important; 
  }
}

/* Marquee strip — mobile */
@media (max-width: 900px) {
  .marquee-track { animation-duration: 11s; }
}

/* ── Cookie consent banner ─────────────────── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 560px; margin: 0 auto;
  background: var(--rn-navy); color: #fff;
  border-radius: var(--rn-radius-l); box-shadow: var(--rn-shadow-m);
  padding: 20px 22px; display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: 0.84rem; line-height: 1.55; color: rgba(255,255,255,0.85); margin: 0 0 14px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__actions .btn { font-size: 0.82rem; padding: 9px 18px; }
.cookie-banner .btn-outline-white:hover { background: #fff; color: var(--rn-navy); }
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 68px; padding: 16px 18px; }
  .cookie-banner__actions { flex-direction: column; }
  .cookie-banner__actions .btn { width: 100%; text-align: center; }
}
