/* ========================================
   AKLIM BÂTIMENT — Design system v3
   Inspiré "Le Béton Armé" : dark navy + accent or +
   cards rounded + KPI géants + pills tags
======================================== */

:root {
  --bg: #0a0e1a;
  --bg-soft: #11162a;
  --card: rgba(255,255,255,0.025);
  --card-hover: rgba(201,169,97,0.04);
  --border: rgba(255,255,255,0.08);
  --border-soft: rgba(255,255,255,0.05);
  --text: #f5f1e8;
  --text-mute: rgba(245,241,232,0.6);
  --text-dim: rgba(245,241,232,0.4);
  --accent: #c9a961;
  --accent-bright: #e2c178;
  --accent-glow: rgba(201,169,97,0.22);
  --vert-ok: #6bd47a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --r-card: 18px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slow: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(201,169,97,0.06), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(201,169,97,0.04), transparent 50%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
::selection { background: var(--accent); color: var(--bg); }

/* === Scroll progress — masqué (le user n'en veut pas) === */
.scroll-progress { display: none; }

/* Custom cursor désactivé */
.cursor-dot, .cursor-ring { display: none !important; }

/* ========================================
   MOBILE BOTTOM CTA BAR (sticky)
======================================== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10,14,26,0.96);
  backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--border);
  z-index: 90;
  gap: 10px;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.4);
}
.mobile-cta-bar a {
  flex: 1;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
}
.mobile-cta-bar .call {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}
.mobile-cta-bar .quote {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}
.mobile-cta-bar svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

/* ========================================
   NAV
======================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  background: rgba(10,14,26,0);
  backdrop-filter: blur(0);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.3s var(--ease), border 0.3s var(--ease);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(16px) saturate(140%);
  padding: 12px 48px;
  border-bottom-color: var(--border-soft);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img {
  height: 80px;
  filter: invert(1) brightness(0.96);
  transition: height 0.3s var(--ease);
}
.nav.scrolled .nav-logo img { height: 60px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text); padding: 6px 0;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; padding: 12px 22px;
  background: var(--accent); color: var(--bg);
  border: 1px solid var(--accent); border-radius: var(--r-pill);
  cursor: pointer; transition: all 0.3s var(--ease);
}
.nav-cta:hover { background: transparent; color: var(--accent); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: all 0.3s var(--ease); }
/* Mobile nav drawer — HIDDEN by default on all screens */
.nav-mobile {
  display: none;
}
@media (max-width: 900px) {
  .nav { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile.open {
    display: flex !important;
    position: fixed; inset: 0;
    background: var(--bg);
    flex-direction: column; align-items: center; justify-content: center;
    z-index: 99; gap: 28px;
  }
  .nav-mobile.open a { font-family: var(--sans); font-weight: 700; font-size: 28px; color: var(--text); }
}

/* ========================================
   HELPERS
======================================== */
.section { padding: 110px 48px; }
.container { max-width: 1180px; margin: 0 auto; }
.container-narrow { max-width: 920px; margin: 0 auto; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 4px;
  color: var(--accent); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--accent);
}
h1, h2, h3, h4 { font-family: var(--sans); }
.title-big {
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
  color: var(--text);
}
.title-big .hl {
  position: relative;
  display: inline-block;
}
.title-big .hl::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4%;
  height: 8px;
  background: var(--accent);
  z-index: -1;
  opacity: 0.85;
}
.title-section {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin-bottom: 18px;
  color: var(--text);
}
.title-section .hl {
  position: relative; display: inline-block;
}
.title-section .hl::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 4%;
  height: 7px; background: var(--accent);
  z-index: -1; opacity: 0.85;
}
.section-lead {
  font-size: 17px; color: var(--text-mute); max-width: 580px; line-height: 1.6;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; padding: 18px 30px;
  border-radius: var(--r-pill);
  cursor: pointer; transition: all 0.3s var(--ease);
  font-weight: 500;
}
.btn-primary {
  background: var(--accent); color: var(--bg);
  border: 1px solid var(--accent);
  box-shadow: 0 12px 30px -8px rgba(201,169,97,0.5);
}
.btn-primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); box-shadow: 0 16px 40px -8px rgba(201,169,97,0.7); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Reveals */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="2"] { transition-delay: 0.1s; }
.reveal[data-delay="3"] { transition-delay: 0.2s; }
.reveal[data-delay="4"] { transition-delay: 0.3s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
.reveal[data-delay="6"] { transition-delay: 0.5s; }

/* ========================================
   HERO
======================================== */
.hero {
  padding: 180px 48px 100px;
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: ''; position: absolute;
  top: -200px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 920px; position: relative; }
/* HERO contenu — visible immédiatement, fade-in CSS uniquement */
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text);
  margin-bottom: 40px;
  animation: fadeUp 0.9s var(--ease) both;
}
.hero-pill .ldot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201,169,97,0.15);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201,169,97,0.15); }
  50% { box-shadow: 0 0 0 6px rgba(201,169,97,0.05); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero h1 {
  animation: fadeUp 1s var(--ease) 0.15s both;
}
.hero-sub {
  font-size: 18px; color: var(--text-mute);
  max-width: 600px; line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 1s var(--ease) 0.3s both;
}
.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeUp 1s var(--ease) 0.45s both;
}

/* KPI bar dans le hero */
.kpi-row {
  margin-top: 80px;
  padding-top: 50px;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 920px;
  animation: fadeUp 1s var(--ease) 0.6s both;
}
.kpi-block {
  position: relative;
}
.kpi-num {
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--accent);
  margin-bottom: 10px;
  display: inline-block;
  position: relative;
}
.kpi-num::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 4%; height: 6px;
  background: var(--accent); opacity: 0.5; z-index: -1;
}
.kpi-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2.5px;
  color: var(--text-dim); text-transform: uppercase;
  line-height: 1.4;
}
@media (max-width: 800px) {
  .hero { padding: 140px 24px 80px; min-height: auto; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ========================================
   CITY DRAWING SECTION
======================================== */
.city-section {
  padding: 130px 48px;
  position: relative;
  border-top: 1px solid var(--border-soft);
}
.section-head { margin-bottom: 70px; }
.section-head-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
@media (max-width: 800px) {
  .section-head-grid { grid-template-columns: 1fr; gap: 24px; align-items: start; }
}
.city-svg-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}
.city-svg-wrap::before {
  content: ''; position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, var(--accent-glow), transparent 50%);
  opacity: 0.4;
  pointer-events: none;
}
.city-svg { width: 100%; height: auto; display: block; position: relative; }
.city-svg path, .city-svg line, .city-svg polyline, .city-svg rect, .city-svg polygon {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.4;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: var(--len, 1500);
  stroke-dashoffset: var(--len, 1500);
  opacity: 0.85;
}
/* Drawing → pause → erasing → loop infini */
.city-svg.playing path,
.city-svg.playing line,
.city-svg.playing polyline,
.city-svg.playing rect,
.city-svg.playing polygon {
  animation: drawCycle 11s var(--ease) infinite;
}
.city-svg .accent { stroke: var(--accent); stroke-width: 1.8; opacity: 1; }
@keyframes drawCycle {
  0%   { stroke-dashoffset: var(--len, 1500); }   /* tout invisible */
  18%  { stroke-dashoffset: 0; }                  /* dessin terminé (≈ 2s) */
  60%  { stroke-dashoffset: 0; }                  /* pause 5s la ville reste visible */
  78%  { stroke-dashoffset: var(--len, 1500); }   /* effacement (≈ 2s) */
  100% { stroke-dashoffset: var(--len, 1500); }   /* pause noire 2s avant recommencer */
}
.city-svg.playing [data-delay="1"] { animation-delay: 0s; }
.city-svg.playing [data-delay="2"] { animation-delay: 0.15s; }
.city-svg.playing [data-delay="3"] { animation-delay: 0.3s; }
.city-svg.playing [data-delay="4"] { animation-delay: 0.45s; }
.city-svg.playing [data-delay="5"] { animation-delay: 0.6s; }
.city-svg.playing [data-delay="6"] { animation-delay: 0.75s; }
.city-svg.playing [data-delay="7"] { animation-delay: 0.9s; }
.city-svg.playing [data-delay="8"] { animation-delay: 1.05s; }
.city-svg.playing [data-delay="9"] { animation-delay: 1.2s; }

.tags-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-top: 40px;
}
.pill {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  color: var(--text-mute);
  background: rgba(255,255,255,0.02);
}

/* ========================================
   SERVICES GRID — 8 cards (7 + CTA)
======================================== */
.services-section { padding: 130px 48px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 36px 36px 32px;
  position: relative;
  transition: all 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.svc-card:hover {
  background: var(--card-hover);
  border-color: rgba(201,169,97,0.3);
  transform: translateY(-4px);
}
.svc-num {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 2.5px;
  color: var(--text-dim); text-transform: uppercase; margin-bottom: 20px;
}
.svc-num strong { color: var(--accent); font-weight: 600; margin-right: 6px; }
.svc-card h3 {
  font-size: 26px; font-weight: 700;
  line-height: 1.15; letter-spacing: -0.012em;
  color: var(--text); margin-bottom: 14px;
}
.svc-card p {
  font-size: 14.5px; color: var(--text-mute);
  line-height: 1.7; margin-bottom: 24px;
  flex-grow: 1;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.svc-tag {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 500;
  color: var(--text-mute);
  background: rgba(255,255,255,0.02);
}
.svc-footer {
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; gap: 18px;
}
.svc-metric {
  font-size: 38px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--accent); line-height: 1;
  position: relative;
  display: inline-block;
}
.svc-metric::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 4%; height: 5px;
  background: var(--accent); opacity: 0.4; z-index: -1;
}
.svc-metric .unit { font-size: 0.6em; }
.svc-metric-label {
  font-size: 13px; color: var(--text-mute); line-height: 1.4;
}

/* Card "Vous ne trouvez pas votre besoin?" */
.svc-cta-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.svc-cta-card .plus {
  font-family: var(--mono); font-size: 16px; color: var(--accent); margin-bottom: 20px;
}
.svc-cta-card h3 {
  font-size: 26px; font-weight: 700; line-height: 1.15;
  color: var(--text); margin-bottom: 14px;
}
.svc-cta-card p {
  font-size: 14.5px; color: var(--text-mute);
  line-height: 1.65; margin-bottom: 32px;
}

@media (max-width: 800px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ========================================
   LIVRABLES / TÉMOIGNAGES alternatif
======================================== */
.proof-section { padding: 130px 48px; border-top: 1px solid var(--border-soft); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.proof-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 36px 36px 32px;
  transition: all 0.4s var(--ease);
}
.proof-card:hover {
  background: var(--card-hover);
  border-color: rgba(201,169,97,0.3);
  transform: translateY(-3px);
}
.proof-metric {
  font-size: 52px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--accent); line-height: 1;
  display: inline-block; position: relative;
  margin-bottom: 18px;
}
.proof-metric::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 4%; height: 6px;
  background: var(--accent); opacity: 0.4; z-index: -1;
}
.proof-metric .unit { font-size: 0.55em; }
.proof-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
  color: var(--text-dim); text-transform: uppercase; margin-bottom: 24px;
}
.proof-text {
  font-size: 16px; color: var(--text);
  line-height: 1.65; margin-bottom: 26px;
}
.proof-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px; border-top: 1px solid var(--border-soft);
}
.proof-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,169,97,0.15);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.proof-author-name {
  font-size: 14.5px; font-weight: 600; color: var(--text); margin-bottom: 2px;
}
.proof-author-role { font-size: 12px; color: var(--text-mute); }

@media (max-width: 700px) { .proof-grid { grid-template-columns: 1fr; } }

/* ========================================
   MÉTHODE — 3 colonnes
======================================== */
.method-section { padding: 130px 48px; border-top: 1px solid var(--border-soft); }
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.method-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 40px 32px;
  transition: all 0.4s var(--ease);
}
.method-step:hover { background: var(--card-hover); border-color: rgba(201,169,97,0.25); }
.method-num {
  font-size: 80px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 0.85;
  color: rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.method-step h3 {
  font-size: 28px; font-weight: 700; line-height: 1.1;
  color: var(--text); margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.method-step .desc {
  font-size: 14.5px; color: var(--text-mute);
  line-height: 1.65; margin-bottom: 28px;
}
.method-step ul { list-style: none; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.method-step li {
  display: flex; align-items: start; gap: 12px;
  font-size: 13px; color: var(--text-mute);
  padding: 8px 0; line-height: 1.5;
}
.method-step li svg {
  flex-shrink: 0; width: 14px; height: 14px; margin-top: 3px;
  color: var(--accent);
}

@media (max-width: 800px) { .method-grid { grid-template-columns: 1fr; } }

/* ========================================
   COMPARATIF — Conservé adapté
======================================== */
.compare-section { padding: 130px 48px; border-top: 1px solid var(--border-soft); }
.compare-table {
  margin-top: 60px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.25s var(--ease);
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(201,169,97,0.03); }
.compare-row.header {
  background: rgba(201,169,97,0.06);
  font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent);
}
.compare-cell {
  padding: 22px 26px;
  border-right: 1px solid var(--border-soft);
  font-size: 14.5px; line-height: 1.55;
}
.compare-cell:last-child { border-right: none; }
.compare-cell.criterion { font-weight: 600; font-size: 16px; color: var(--text); }
.compare-cell.classique { color: var(--text-dim); }
.compare-cell.aklim { color: var(--text); }
.compare-cell.aklim::before {
  content: '✓ '; color: var(--accent); font-weight: 700; margin-right: 4px;
}
@media (max-width: 800px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { padding: 14px 20px; border-right: none; border-bottom: 1px solid var(--border-soft); }
  .compare-row.header { display: none; }
}

/* ========================================
   GARANTIES — 8 badges grid
======================================== */
.warranty-section { padding: 130px 48px; border-top: 1px solid var(--border-soft); }
.warranty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.warranty-badge {
  padding: 28px 20px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition: all 0.3s var(--ease);
}
.warranty-badge:hover { border-color: var(--accent); background: var(--card-hover); transform: translateY(-2px); }
.warranty-badge .w-title {
  font-family: var(--mono); font-size: 12px; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase;
  font-weight: 600; line-height: 1.5;
}
@media (max-width: 800px) { .warranty-grid { grid-template-columns: repeat(2, 1fr); } }

/* ========================================
   CTA FINAL
======================================== */
.cta-section {
  padding: 130px 48px;
  border-top: 1px solid var(--border-soft);
}
.cta-wrap {
  background: linear-gradient(135deg, var(--bg-soft), var(--bg));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 90px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-wrap::before {
  content: ''; position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 60%);
  pointer-events: none;
}
.cta-wrap > * { position: relative; }
.cta-wrap h2 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800; line-height: 1; letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.cta-wrap h2 .hl {
  position: relative; display: inline-block;
}
.cta-wrap h2 .hl::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 4%; height: 8px;
  background: var(--accent); opacity: 0.85; z-index: -1;
}
.cta-wrap > p {
  font-size: 17px; color: var(--text-mute);
  max-width: 540px; margin: 0 auto 50px; line-height: 1.6;
}
.cta-pills {
  margin-top: 36px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.cta-pill {
  padding: 10px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 13px; color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
}
.cta-pill::before { content: '✓'; color: var(--accent); font-weight: 700; }

@media (max-width: 700px) { .cta-wrap { padding: 60px 28px; } }

/* ========================================
   FOOTER
======================================== */
footer { background: var(--bg); padding: 90px 48px 36px; border-top: 1px solid var(--border-soft); }
.footer-top {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid var(--border-soft);
}
.footer-brand img { height: 42px; margin-bottom: 22px; filter: invert(1) brightness(0.96); }
.footer-brand p { font-size: 13.5px; color: var(--text-mute); line-height: 1.65; max-width: 320px; }
.footer-col h4 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 3px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 22px;
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 13.5px; color: var(--text-mute); margin-bottom: 10px;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1180px; margin: 30px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-dim);
}
.footer-bottom .or { color: var(--accent); }
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ========================================
   INNER PAGES (services, approche, contact)
======================================== */
.page-hero {
  padding: 200px 48px 90px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  top: 30%; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
}
.page-hero .container { max-width: 920px; position: relative; }
.page-hero h1 {
  font-size: clamp(48px, 8vw, 100px); font-weight: 800;
  line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.page-hero h1 .hl { position: relative; display: inline-block; }
.page-hero h1 .hl::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 4%; height: 9px;
  background: var(--accent); opacity: 0.85; z-index: -1;
}
.page-hero .lead {
  font-size: 19px; color: var(--text-mute);
  max-width: 680px; line-height: 1.65;
}

/* Long-form */
.prose { max-width: 760px; margin: 0 auto; padding: 80px 24px 120px; }
.prose h2 { font-size: 28px; font-weight: 700; color: var(--text); margin: 50px 0 18px; }
.prose h3 { font-size: 16px; font-weight: 600; color: var(--text); margin: 28px 0 10px; }
.prose p { font-size: 15px; color: var(--text-mute); margin-bottom: 16px; line-height: 1.75; }
.prose ul { margin: 16px 0 16px 24px; }
.prose li { font-size: 15px; color: var(--text-mute); margin-bottom: 8px; line-height: 1.7; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); }

/* Contact */
.contact-section { padding: 100px 48px; }
.contact-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start;
}
.contact-info h2 {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  margin-bottom: 24px; line-height: 1;
  letter-spacing: -0.02em;
}
.contact-info h2 .hl { position: relative; display: inline-block; }
.contact-info h2 .hl::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 4%; height: 7px;
  background: var(--accent); opacity: 0.85; z-index: -1;
}
.contact-info p { font-size: 15px; color: var(--text-mute); margin-bottom: 32px; line-height: 1.7; }
.contact-block { border-top: 1px solid var(--border-soft); padding: 20px 0; }
.contact-block:last-child { border-bottom: 1px solid var(--border-soft); }
.contact-label { font-family: var(--mono); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-value { font-size: 18px; font-weight: 500; color: var(--text); }
form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--card); color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 10px;
  font-family: var(--sans); font-size: 15px;
  transition: border 0.25s var(--ease);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-dim); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 140px; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

.placeholder-banner {
  background: rgba(201,169,97,0.12);
  border-left: 3px solid var(--accent);
  padding: 14px 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px;
  color: var(--text); text-transform: uppercase; text-align: center;
}

/* ========================================
   LIGHT SECTIONS — inverse colors (crème bg)
======================================== */
.section--light {
  background: var(--creme, #f5f1e8);
  color: var(--bg);
  border-top: 1px solid rgba(10,14,26,0.06);
}
.section--light .title-section,
.section--light h2,
.section--light h3 { color: var(--bg); }
.section--light .section-lead { color: rgba(10,14,26,0.7); }
.section--light .eyebrow { color: var(--or-deep, #9e7e3a); }
.section--light .eyebrow::before { background: var(--or-deep, #9e7e3a); }
.section--light .title-section .hl::after { background: var(--accent); opacity: 0.55; }
.section--light .svc-card,
.section--light .svc-cta-card,
.section--light .proof-card,
.section--light .method-step,
.section--light .warranty-badge,
.section--light .city-svg-wrap,
.section--light .compare-table {
  background: #fafaf7;
  border-color: rgba(10,14,26,0.1);
}
.section--light .svc-card:hover,
.section--light .proof-card:hover,
.section--light .method-step:hover,
.section--light .warranty-badge:hover {
  background: rgba(201,169,97,0.06);
  border-color: rgba(201,169,97,0.5);
}
.section--light .svc-card h3,
.section--light .proof-card h3,
.section--light .method-step h3 { color: var(--bg); }
.section--light .svc-card p,
.section--light .proof-text,
.section--light .method-step .desc { color: rgba(10,14,26,0.7); }
.section--light .svc-num,
.section--light .proof-tag { color: rgba(10,14,26,0.45); }
.section--light .svc-num strong { color: var(--accent); }
.section--light .svc-tag,
.section--light .pill {
  border-color: rgba(10,14,26,0.15);
  background: rgba(10,14,26,0.025);
  color: rgba(10,14,26,0.7);
}
.section--light .svc-footer { border-color: rgba(10,14,26,0.1); }
.section--light .svc-metric { color: var(--or-deep, #9e7e3a); }
.section--light .svc-metric::after { background: var(--accent); opacity: 0.4; }
.section--light .svc-metric-label { color: rgba(10,14,26,0.6); }
.section--light .proof-metric { color: var(--or-deep, #9e7e3a); }
.section--light .proof-metric::after { background: var(--accent); opacity: 0.4; }
.section--light .proof-author { border-color: rgba(10,14,26,0.1); }
.section--light .proof-author-name { color: var(--bg); }
.section--light .proof-author-role { color: rgba(10,14,26,0.55); }
.section--light .method-num { color: rgba(10,14,26,0.08); }
.section--light .method-step ul { border-color: rgba(10,14,26,0.1); }
.section--light .method-step li { color: rgba(10,14,26,0.7); }
.section--light .method-step li svg { color: var(--or-deep, #9e7e3a); }
.section--light .warranty-badge .w-title { color: var(--or-deep, #9e7e3a); }
.section--light .city-svg path,
.section--light .city-svg line,
.section--light .city-svg polyline,
.section--light .city-svg rect,
.section--light .city-svg polygon { stroke: var(--bg); opacity: 0.85; }
.section--light .city-svg .accent { stroke: var(--accent); }
.section--light .city-svg-wrap::before {
  background: radial-gradient(circle at center, rgba(201,169,97,0.18), transparent 50%);
}

/* ========================================
   HERO with image (2-col on desktop)
======================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
.hero-image {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  background: var(--bg-soft);
  animation: fadeUp 1.2s var(--ease) 0.6s both;
}
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,14,26,0.4) 100%);
  pointer-events: none;
}
.hero-image picture, .hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image .caption {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text);
  z-index: 2;
}
.hero-image .caption .dot-or {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.18);
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { aspect-ratio: 16/10; max-height: 380px; }
}

/* ========================================
   WARRANTY redesign — 4 grandes cards + trust strip
======================================== */
.warranty-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.w-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px 28px;
  position: relative;
  transition: all 0.35s var(--ease);
}
.w-card:hover {
  border-color: rgba(201,169,97,0.4);
  background: rgba(201,169,97,0.04);
  transform: translateY(-3px);
}
.w-card .w-icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,169,97,0.1);
  border-radius: 10px;
  color: var(--accent);
}
.w-card .w-icon svg { width: 22px; height: 22px; }
.w-card .w-num {
  font-size: 36px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--accent); line-height: 1;
  display: inline-block;
  position: relative;
  margin-bottom: 14px;
}
.w-card .w-num::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 4%; height: 5px;
  background: var(--accent); opacity: 0.35; z-index: -1;
}
.w-card .w-num .unit { font-size: 0.55em; opacity: 0.7; margin-left: 2px; }
.w-card .w-title {
  font-size: 16px; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
  line-height: 1.25;
}
.w-card .w-desc {
  font-size: 13px; color: var(--text-mute);
  line-height: 1.55;
}

.trust-strip {
  margin-top: 40px;
  padding: 22px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-card);
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  align-items: center;
  justify-content: center;
}
.trust-strip .trust-item {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-strip .trust-item::before {
  content: '✓'; color: var(--accent); font-weight: 700; font-size: 13px;
}
.section--light .w-card { background: #fafaf7; border-color: rgba(10,14,26,0.1); }
.section--light .w-card:hover { background: rgba(201,169,97,0.06); border-color: rgba(201,169,97,0.4); }
.section--light .w-card .w-icon { background: rgba(201,169,97,0.12); color: var(--or-deep, #9e7e3a); }
.section--light .w-card .w-num { color: var(--or-deep, #9e7e3a); }
.section--light .w-card .w-num::after { background: var(--accent); opacity: 0.4; }
.section--light .w-card .w-title { color: var(--bg); }
.section--light .w-card .w-desc { color: rgba(10,14,26,0.65); }
.section--light .trust-strip { background: #fafaf7; border-color: rgba(10,14,26,0.1); }
.section--light .trust-strip .trust-item { color: rgba(10,14,26,0.65); }
.section--light .trust-strip .trust-item::before { color: var(--or-deep, #9e7e3a); }

@media (max-width: 900px) {
  .warranty-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 540px) {
  .warranty-cards { grid-template-columns: 1fr; }
  .trust-strip { padding: 18px 22px; gap: 12px 22px; }
  .trust-strip .trust-item { font-size: 10.5px; letter-spacing: 1.2px; }
}

/* ========================================
   Service cards with image
======================================== */
.svc-card-image {
  position: relative;
  aspect-ratio: 16/10;
  margin: -36px -36px 24px;
  overflow: hidden;
  border-radius: var(--r-card) var(--r-card) 0 0;
  background: var(--bg-soft);
}
.svc-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.svc-card:hover .svc-card-image img { transform: scale(1.04); }
.svc-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15));
  pointer-events: none;
}
@media (max-width: 768px) {
  .svc-card-image { margin: -28px -22px 18px; aspect-ratio: 16/9; }
}

/* ========================================
   POST-SINISTRE — section dédiée
======================================== */
.sinistre-section {
  padding: 130px 48px;
  position: relative;
  overflow: hidden;
}
.sinistre-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}
.sinistre-visual {
  background: linear-gradient(135deg, var(--bg-soft), var(--bg));
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
}
.sinistre-photo {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.sinistre-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sinistre-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,14,26,0.6) 100%);
  pointer-events: none;
}
.sinistre-photo .photo-tag {
  position: absolute;
  bottom: 22px; left: 26px;
  padding: 0;
  background: none;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  font-family: var(--hand);
  font-size: 32px;
  letter-spacing: 0;
  color: #fafaf7;
  text-transform: none;
  text-shadow:
    0 3px 14px rgba(0,0,0,0.75),
    0 1px 2px rgba(0,0,0,0.6);
  z-index: 2;
  line-height: 1.05;
  max-width: 75%;
  transform-origin: 30% 80%;
  animation: float-badge 4.5s ease-in-out infinite;
  will-change: transform;
}
/* underline manuscrit en or sous le badge */
.sinistre-photo .photo-tag::after {
  content: '';
  display: block;
  margin-top: 6px;
  width: 70%;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4 C 30 0, 60 7, 90 3 S 116 5, 118 3' fill='none' stroke='%23c9a961' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}
.sinistre-photo .photo-tag::before { content: ''; display: none; }
/* Stagger : décaler la phase d'animation par section */
section:nth-of-type(odd) .sinistre-photo .photo-tag { animation-delay: -1.5s; }
section:nth-of-type(even) .sinistre-photo .photo-tag { animation-delay: -3s; }

@keyframes float-badge {
  0%   { transform: rotate(-3deg) translateY(0); }
  25%  { transform: rotate(-2deg) translateY(-4px); }
  50%  { transform: rotate(-1deg) translateY(-7px); }
  75%  { transform: rotate(-2deg) translateY(-3px); }
  100% { transform: rotate(-3deg) translateY(0); }
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,107,74,0.2); }
  50% { box-shadow: 0 0 0 5px rgba(255,107,74,0.05); }
}
.sinistre-visual-body {
  padding: 30px 32px 32px;
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
}
.sinistre-visual::before {
  content: ''; position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
}
.sinistre-visual-icons {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  position: relative;
}
.sinistre-icon {
  padding: 22px 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}
.sinistre-icon svg { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--accent); }
.sinistre-icon .name {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
  color: var(--text-mute); text-transform: uppercase;
}
.sinistre-stat {
  position: relative;
  border-top: 1px solid var(--border-soft);
  padding-top: 22px;
  margin-top: 28px;
}
.sinistre-stat-num {
  font-size: 56px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--accent); line-height: 1;
  display: inline-block; position: relative;
}
.sinistre-stat-num::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 4%; height: 6px;
  background: var(--accent); opacity: 0.4; z-index: -1;
}
.sinistre-stat-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
  color: var(--text-dim); text-transform: uppercase; margin-top: 8px;
}
.sinistre-content h2 {
  margin-bottom: 28px;
}
.sinistre-content p {
  font-size: 16px; color: var(--text-mute);
  line-height: 1.75; margin-bottom: 18px;
}
.sinistre-content p strong { color: var(--text); font-weight: 600; }
.sinistre-content .features {
  margin-top: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px;
  padding-top: 32px; border-top: 1px solid var(--border-soft);
}
.sinistre-content .feat {
  display: flex; gap: 14px; align-items: start;
}
.sinistre-content .feat-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 8px; background: rgba(201,169,97,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.sinistre-content .feat-icon svg { width: 14px; height: 14px; }
.sinistre-content .feat-text { font-size: 13.5px; color: var(--text); line-height: 1.55; }
.sinistre-content .feat-text strong { display: block; font-weight: 600; margin-bottom: 2px; }
.sinistre-content .feat-text span { color: var(--text-mute); font-size: 12px; }

@media (max-width: 900px) {
  .sinistre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sinistre-visual { aspect-ratio: auto; padding: 0; }
  .sinistre-content .features { grid-template-columns: 1fr; }
}

/* ========================================
   LIGHT VARIANT for sinistre-style sections
======================================== */
.section--light .sinistre-visual {
  background: linear-gradient(135deg, #fafaf7, var(--creme, #f5f1e8));
  border-color: rgba(10,14,26,0.1);
}
.section--light .sinistre-visual::before {
  background: radial-gradient(circle, rgba(201,169,97,0.18), transparent 60%);
}
.section--light .sinistre-content p { color: rgba(10,14,26,0.7); }
.section--light .sinistre-content p strong { color: var(--bg); }
.section--light .sinistre-content .features { border-color: rgba(10,14,26,0.1); }
.section--light .sinistre-content .feat-icon {
  background: rgba(201,169,97,0.12);
  color: var(--or-deep, #9e7e3a);
}
.section--light .sinistre-content .feat-text { color: var(--bg); }
.section--light .sinistre-content .feat-text span { color: rgba(10,14,26,0.55); }
.section--light .sinistre-stat { border-color: rgba(10,14,26,0.12); }
.section--light .sinistre-stat-num { color: var(--or-deep, #9e7e3a); }
.section--light .sinistre-stat-num::after { background: var(--accent); opacity: 0.4; }
.section--light .sinistre-stat-label { color: rgba(10,14,26,0.55); }
.section--light .sinistre-photo { border-bottom-color: rgba(10,14,26,0.08); }
.section--light .sinistre-visual-body { background: transparent; }

/* ========================================
   MOBILE OPTIMIZATIONS — touch-first, dense, lisible
======================================== */
@media (max-width: 768px) {
  /* Body & nav */
  body { padding-bottom: 76px; } /* reserve bottom for mobile CTA bar */

  .nav { padding: 8px 18px; }
  .nav.scrolled { padding: 6px 18px; }
  .nav-logo img { height: 60px; }
  .nav.scrolled .nav-logo img { height: 48px; }

  /* SECTIONS PADDING */
  section { padding: 70px 20px; }
  .hero { padding: 110px 20px 70px; min-height: auto; }
  .city-section,
  .sinistre-section,
  .services-section,
  .proof-section,
  .method-section,
  .warranty-section,
  .compare-section,
  .cta-section { padding: 80px 20px; }

  /* HEADERS */
  .section-head-grid { grid-template-columns: 1fr; gap: 16px; align-items: start; margin-bottom: 40px; }
  .eyebrow { font-size: 10px; letter-spacing: 2.5px; margin-bottom: 18px; }
  .eyebrow::before { width: 22px; }
  .title-section { font-size: 32px; line-height: 1.02; }
  .section-lead { font-size: 15px; line-height: 1.65; }

  /* HERO */
  .hero-pill { font-size: 9.5px; padding: 8px 14px; letter-spacing: 1.5px; margin-bottom: 26px; }
  .title-big { font-size: 44px; line-height: 1; margin-bottom: 22px; letter-spacing: -0.02em; }
  .title-big .hl::after { height: 5px; bottom: 6%; }
  .hero-sub { font-size: 15.5px; margin-bottom: 28px; line-height: 1.6; }

  /* BUTTONS — full width stack on mobile */
  .hero-ctas { flex-direction: column; gap: 10px; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .btn { padding: 15px 22px; font-size: 11px; min-height: 48px; }

  /* KPI ROW : 2x2 grid mobile */
  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
    margin-top: 48px;
    padding-top: 32px;
  }
  .kpi-num { font-size: 38px !important; }
  .kpi-label { font-size: 9.5px; letter-spacing: 2px; }

  /* CITY SVG */
  .city-svg-wrap { padding: 26px 14px; border-radius: 14px; }
  .tags-row { gap: 8px; margin-top: 28px; }
  .pill { font-size: 11px; padding: 6px 12px; }

  /* SINISTRE */
  .sinistre-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .sinistre-visual { position: static; aspect-ratio: auto; padding: 28px 22px; border-radius: 14px; }
  .sinistre-visual-icons { gap: 10px; }
  .sinistre-icon { padding: 16px 12px; }
  .sinistre-icon svg { width: 30px; height: 30px; margin-bottom: 10px; }
  .sinistre-icon .name { font-size: 9.5px; letter-spacing: 1.5px; }
  .sinistre-stat { padding-top: 20px; margin-top: 22px; }
  .sinistre-stat-num { font-size: 42px; }
  .sinistre-stat-label { font-size: 10px; letter-spacing: 1.8px; }
  .sinistre-content p { font-size: 15px; line-height: 1.7; }
  .sinistre-content .features { grid-template-columns: 1fr; gap: 14px; padding-top: 26px; margin-top: 28px; }
  .sinistre-content .feat-text { font-size: 13.5px; }
  .sinistre-content .feat-text span { font-size: 11.5px; }

  /* SERVICES GRID */
  .services-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .svc-card, .svc-cta-card { padding: 28px 22px; border-radius: 14px; }
  .svc-card h3, .svc-cta-card h3 { font-size: 21px; line-height: 1.2; }
  .svc-card p, .svc-cta-card p { font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
  .svc-num { font-size: 9.5px; letter-spacing: 2px; margin-bottom: 16px; }
  .svc-tags { gap: 6px; margin-bottom: 22px; }
  .svc-tag { font-size: 10.5px; padding: 5px 11px; }
  .svc-footer { padding-top: 18px; gap: 14px; }
  .svc-metric { font-size: 32px; }

  /* PROOF / 6 ENGAGEMENTS */
  .proof-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .proof-card { padding: 28px 22px; border-radius: 14px; }
  .proof-metric { font-size: 44px; margin-bottom: 14px; }
  .proof-tag { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 18px; }
  .proof-text { font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; }
  .proof-author { padding-top: 18px; gap: 12px; }
  .proof-avatar { width: 38px; height: 38px; font-size: 11px; }
  .proof-author-name { font-size: 14px; }
  .proof-author-role { font-size: 11.5px; }

  /* METHODE 3 STEPS */
  .method-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .method-step { padding: 32px 24px; border-radius: 14px; }
  .method-num { font-size: 60px; margin-bottom: 18px; }
  .method-step h3 { font-size: 24px; }
  .method-step .desc { font-size: 14px; margin-bottom: 22px; }
  .method-step li { font-size: 13px; padding: 6px 0; }
  .method-step ul { padding-top: 18px; }

  /* COMPARE TABLE */
  .compare-table { border-radius: 14px; margin-top: 40px; }
  .compare-cell { padding: 14px 18px; font-size: 14px; }
  .compare-cell.criterion { font-size: 16px; padding-top: 20px; }

  /* WARRANTY BADGES */
  .warranty-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 40px; }
  .warranty-badge { padding: 22px 14px; border-radius: 12px; }
  .warranty-badge .w-title { font-size: 11px; letter-spacing: 1.5px; }

  /* CTA FINAL */
  .cta-wrap { padding: 50px 24px; border-radius: 18px; }
  .cta-wrap h2 { font-size: 40px; line-height: 1; margin-bottom: 18px; }
  .cta-wrap > p { font-size: 14.5px; margin-bottom: 32px; }
  .cta-wrap .btn { width: auto; display: inline-flex; }
  .cta-pills { gap: 8px; margin-top: 28px; }
  .cta-pill { font-size: 11px; padding: 8px 14px; }

  /* FOOTER */
  footer { padding: 60px 20px 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-brand img { height: 36px; margin-bottom: 18px; }
  .footer-brand p { font-size: 13px; }
  .footer-col h4 { font-size: 9.5px; margin-bottom: 14px; }
  .footer-col li { font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; font-size: 9.5px; }

  /* PAGE HERO (inner pages) */
  .page-hero { padding: 130px 20px 60px; }
  .page-hero h1 { font-size: 44px; line-height: 1; }
  .page-hero .lead { font-size: 16px; }
  .page-hero .eyebrow { font-size: 10px; margin-bottom: 18px; }

  /* CONTACT */
  .contact-section { padding: 60px 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-info h2 { font-size: 32px; }
  .contact-block { padding: 16px 0; }
  .contact-label { font-size: 9.5px; }
  .contact-value { font-size: 17px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .form-field input, .form-field select, .form-field textarea {
    font-size: 16px; /* prevent iOS zoom on focus */
    padding: 14px 14px;
    min-height: 48px;
  }
  .form-field textarea { min-height: 130px; }
  form .btn-primary { width: 100%; justify-content: center; }

  /* PROSE (legales) */
  .prose { padding: 60px 18px 100px; }
  .prose h2 { font-size: 24px; margin: 40px 0 14px; }
  .prose p, .prose li { font-size: 14.5px; }

  /* SHOW MOBILE CTA BAR */
  .mobile-cta-bar { display: flex !important; }
}

@media (max-width: 380px) {
  .title-big { font-size: 38px; }
  .title-section { font-size: 28px; }
  .cta-wrap h2 { font-size: 34px; }
  .kpi-num { font-size: 32px !important; }
  .hero-pill { font-size: 9px; letter-spacing: 1.2px; padding: 7px 11px; }
  .mobile-cta-bar a { font-size: 10px; letter-spacing: 1.2px; padding: 11px 8px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .city-svg.playing path,
  .city-svg.playing line,
  .city-svg.playing polyline,
  .city-svg.playing rect,
  .city-svg.playing polygon {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ========================================
   V2 HUMANIZED DESIGN LAYER
   Mix typo serif italique + handwritten · polaroïd · drop caps · imperfection volontaire
======================================== */

/* Import handwritten font + serif display */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;1,400;1,500;1,600&family=Caveat:wght@400;500;700&family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --hand: 'Caveat', 'Bradley Hand', cursive;
  --serif-it: 'Cormorant Garamond', Georgia, serif;
  --terra: #b06a4e;
  --terra-soft: #d28d6f;
  --papier: #e8dcc4;
}

/* === Texture papier plus marquée === */
body {
  background-image:
    radial-gradient(circle at 20% 0%, rgba(176,106,78,0.08), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(201,169,97,0.07), transparent 50%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

/* === Hero V2 : titre italique magazine, plus moins militaire === */
.title-big {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.title-big strong, .title-big b {
  font-weight: 600;
}
/* Underline manuscrite SVG sur .hl */
.title-big .hl, .title-section .hl, .page-hero h1 .hl, .cta-wrap h2 .hl, .contact-info h2 .hl {
  position: relative;
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 9 C 40 4, 80 11, 120 6 S 180 10, 198 7' fill='none' stroke='%23c9a961' stroke-width='3' stroke-linecap='round' opacity='0.9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100% 14px;
  padding-bottom: 8px;
}
.title-big .hl::after,
.title-section .hl::after,
.page-hero h1 .hl::after,
.cta-wrap h2 .hl::after,
.contact-info h2 .hl::after { display: none !important; }

/* === Titres sections en italique mix === */
.title-section {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.018em;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
}
.cta-wrap h2 {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 500;
}
.page-hero h1 {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.025em;
}

/* === Handwritten accents === */
.handwritten {
  font-family: var(--hand);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.5px;
  color: var(--accent);
  font-size: 1.25em;
  line-height: 1.2;
  transform: rotate(-2deg);
  display: inline-block;
}
.handwritten-note {
  font-family: var(--hand);
  font-size: 24px;
  color: var(--terra-soft);
  transform: rotate(-3deg);
  display: inline-block;
  line-height: 1.1;
}
.handwritten-arrow {
  font-family: var(--hand);
  font-size: 22px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: rotate(-1deg);
}

/* === Polaroïd frame pour photos === */
.polaroid {
  background: #fafaf7;
  padding: 16px 16px 56px;
  box-shadow:
    0 8px 16px rgba(0,0,0,0.25),
    0 24px 60px rgba(0,0,0,0.35);
  display: inline-block;
  position: relative;
  transition: transform 0.4s var(--ease);
}
.polaroid img, .polaroid picture { display: block; width: 100%; height: auto; }
.polaroid .caption {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  font-family: var(--hand);
  font-size: 22px;
  color: #2a2a2a;
  text-align: center;
  transform: rotate(-1deg);
}
.polaroid.tilt-l { transform: rotate(-2.5deg); }
.polaroid.tilt-r { transform: rotate(2deg); }
.polaroid.tilt-l:hover { transform: rotate(-0.5deg) scale(1.02); }
.polaroid.tilt-r:hover { transform: rotate(0.5deg) scale(1.02); }

/* === Drop cap === */
.drop-cap::first-letter {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 600;
  font-size: 4em;
  line-height: 0.85;
  float: left;
  margin: 6px 12px 0 0;
  color: var(--accent);
}
.section--light .drop-cap::first-letter { color: var(--or-deep, #9e7e3a); }

/* === Section dividers ondulés === */
.wavy-divider {
  display: block;
  margin: 40px auto;
  width: 120px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 9 C 20 2, 40 16, 60 9 S 100 2, 118 9' fill='none' stroke='%23c9a961' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* === Tampon "validé" / sticker === */
.stamp {
  display: inline-block;
  border: 2.5px solid var(--terra);
  color: var(--terra);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 14px;
  transform: rotate(-4deg);
  opacity: 0.85;
  position: relative;
}
.stamp::before {
  content: ''; position: absolute; inset: 0;
  border: 1px dashed var(--terra);
  margin: 3px;
  opacity: 0.5;
  pointer-events: none;
}

/* === Cards avec légère rotation/imperfection === */
.svc-card { transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease); }
.svc-card:nth-child(3n+1) { transform: rotate(-0.4deg); }
.svc-card:nth-child(3n+2) { transform: rotate(0.3deg); }
.svc-card:nth-child(3n+3) { transform: rotate(-0.2deg); }
.svc-card:hover { transform: rotate(0deg) translateY(-4px) !important; }

/* === Boutons style tampon === */
.btn-primary {
  position: relative;
  letter-spacing: 2px;
}
.btn-primary::after {
  content: '→';
  font-family: var(--hand);
  font-size: 22px;
  position: absolute;
  right: -8px; top: 50%;
  transform: translate(0, -50%) rotate(-5deg);
  opacity: 0;
  transition: all 0.3s var(--ease);
}
.btn-primary:hover::after {
  opacity: 1;
  right: -28px;
}

/* === Marquee / quote magazine === */
.pull-quote {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  padding: 50px 40px;
  max-width: 880px;
  margin: 80px auto;
  position: relative;
  text-align: center;
}
.pull-quote::before {
  content: '"';
  font-family: var(--serif-it);
  font-style: italic;
  font-size: 180px;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: -30px; left: 0;
  line-height: 1;
}
.pull-quote .attr {
  display: block;
  margin-top: 28px;
  font-family: var(--hand);
  font-size: 26px;
  font-style: normal;
  color: var(--accent);
  transform: rotate(-1deg);
}
.section--light .pull-quote { color: var(--bg); }
.section--light .pull-quote::before { color: var(--or-deep, #9e7e3a); }
.section--light .pull-quote .attr { color: var(--or-deep, #9e7e3a); }

/* === Photo filter slight grain === */
.svc-card-image img,
.hero-image img,
.sinistre-photo img {
  filter: contrast(1.02) saturate(0.96);
}

/* === Margin annotations (notes manuscrites en marge) === */
.margin-note {
  position: absolute;
  font-family: var(--hand);
  font-size: 22px;
  color: var(--terra);
  transform: rotate(-4deg);
  line-height: 1.1;
  max-width: 200px;
  pointer-events: none;
  z-index: 5;
}
.margin-note.right { right: -180px; top: 20%; transform: rotate(3deg); }
.margin-note.left  { left: -180px; top: 30%; transform: rotate(-3deg); }
.margin-note::before {
  content: '';
  position: absolute;
  width: 80px; height: 30px;
  border: 2px solid var(--terra);
  border-radius: 60% 40% 70% 30%;
  opacity: 0;
}
@media (max-width: 1100px) {
  .margin-note { position: static; display: block; max-width: 100%; margin: 16px 0; transform: rotate(-1deg); }
}

/* === Eyebrow plus discret / typo handwritten alternative === */
.eyebrow.eyebrow-hand {
  font-family: var(--hand);
  font-size: 24px;
  letter-spacing: 0.5px;
  text-transform: none;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow.eyebrow-hand::before { display: none; }

/* === Hero pill plus organique === */
.hero-pill {
  font-family: var(--hand);
  font-size: 20px;
  letter-spacing: 0.3px;
  text-transform: none;
  padding: 6px 18px 8px;
  border-radius: 999px;
  color: var(--accent);
}

/* === KPI numbers en italic === */
.kpi-num {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.proof-metric, .svc-metric, .sinistre-stat-num, .w-num {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 500;
}

/* === SVG city : laisser comme avant mais petit grain === */
.city-svg-wrap { filter: contrast(1.02); }

/* === Tags en style étiquette papier === */
.svc-tag, .pill {
  background: rgba(232,220,196,0.5);
  border: 1px solid rgba(176,106,78,0.18);
  color: var(--bg);
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0.3px;
  font-weight: 500;
}
.section--light .svc-tag, .section--light .pill {
  background: rgba(232,220,196,0.7);
  border-color: rgba(176,106,78,0.25);
}
/* Sur fond noir, garder lisible */
.proof-card .svc-tag, .svc-card:not(.section--light *) .svc-tag {
  background: rgba(255,255,255,0.04);
  border-color: rgba(201,169,97,0.25);
  color: var(--text-mute);
}

/* === Sections clair: papier ivoire warm === */
.section--light {
  background: #f1e9d8;
}

/* === Annotations style "post-it" === */
.postit {
  display: inline-block;
  background: #fff5b8;
  padding: 18px 22px;
  font-family: var(--hand);
  font-size: 22px;
  color: #5a4a1a;
  line-height: 1.25;
  transform: rotate(-2deg);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.12),
    0 12px 30px rgba(0,0,0,0.18);
  max-width: 260px;
  position: relative;
}
.postit.right { transform: rotate(2deg); }
.postit::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  width: 50px; height: 14px;
  background: rgba(255, 215, 100, 0.6);
  transform: translateX(-50%);
}

/* === Section grain stronger over dark === */
.hero::before, .sinistre-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* === Hero V2 : enlever frame .hero-image, laisser polaroïd respirer === */
.hero-image {
  background: transparent !important;
  border: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  padding: 30px;
  position: relative;
}
.hero-image::after { display: none !important; }
.hero-image .polaroid { width: 100%; max-width: 480px; }
.hero-image .polaroid img { aspect-ratio: 4/5; object-fit: cover; }
.hero-image .caption {
  position: static !important;
  font-family: var(--hand) !important;
  color: #2a2a2a !important;
  margin-top: 14px !important;
  padding: 0 !important;
  font-size: 22px !important;
  background: none !important;
  border: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  display: block !important;
  text-align: center !important;
  transform: rotate(-1deg);
}
.hero-image .caption .dot-or { display: none !important; }

/* === Mobile : polaroïd hero pas coupé par CTA bar fixed === */
@media (max-width: 900px) {
  .hero { padding-bottom: 100px !important; }
  .hero-image { padding: 16px !important; }
  .hero-image .polaroid { max-width: 320px; margin: 0 auto; }
  .hero-image .caption { font-size: 24px !important; }
  /* Plus d'espace en bas du body pour pas que la fixed CTA recouvre le polaroid */
  body { padding-bottom: 90px !important; }
}
@media (max-width: 420px) {
  .hero-image .polaroid { max-width: 280px; }
}

/* Sticker stamp décoratif sur hero */
.hero-stamp {
  position: absolute;
  top: 0; right: 30px;
  z-index: 5;
}
