/* Polices hébergées localement (SIL Open Font License) */
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; font-style: normal; src: url("fonts/instrument-serif.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-display: swap; }

/* =========================================================
   Estimation Linas — design system
   Dark cinematic, display typography, glass, gradients, motion
   ========================================================= */
:root {
  --bg: #08080a;
  --bg-2: #0f0f13;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f2ef;
  --muted: #a3a1a8;
  --dim: #6d6b73;
  --peach: #ffcfa8;
  --rose: #f6a6c1;
  --lav: #b9a6ff;
  --mint: #9ff0cf;
  --grad: linear-gradient(100deg, #ffd9b8 0%, #f6a6c1 45%, #b9a6ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 207, 168, .16), rgba(185, 166, 255, .16));
  --radius: 22px;
  --radius-lg: 32px;
  --font: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lav); color: #111; }

/* grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ---------- typography ---------- */
.display {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: .92;
  font-size: clamp(2.6rem, 8.2vw, 7.2rem);
  margin: 0;
}
.display em, .h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.h2 {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 18px;
}
.h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 207, 168, .35);
  background: rgba(255, 207, 168, .06);
  border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--peach);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 12px var(--peach); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: #fff; color: #0b0b0d;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 10px 40px -10px rgba(185, 166, 255, .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 8px rgba(255, 255, 255, .08), 0 18px 50px -10px rgba(246, 166, 193, .7); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-grad { background: var(--grad); color: #121014; }
.btn-grad:hover { transform: translateY(-2px); filter: saturate(1.15); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  transition: top .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.nav.scrolled .nav-inner {
  background: rgba(14, 14, 18, .72);
  border-color: var(--border);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
@media (max-width: 1288px) { .nav-inner { margin: 0 16px; } }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.03em; font-size: 1.1rem; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; box-shadow: 0 6px 20px -6px rgba(246, 166, 193, .6); transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-word { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.logo-word em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; letter-spacing: -0.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 2px; }
.logo small { display: block; font-weight: 500; font-size: .68rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: .9rem; color: var(--muted); font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .3s, top .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.nav.open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  display: none;
  margin: 8px 16px 0; padding: 12px;
  border-radius: 24px;
  background: rgba(14, 14, 18, .95); border: 1px solid var(--border);
  backdrop-filter: blur(18px);
}
.mobile-menu a { display: block; padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.mobile-menu a:hover { background: var(--surface-2); }
.nav.open .mobile-menu { display: block; animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 1140px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
}
@media (max-width: 420px) { .nav-cta .btn-primary { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  animation: float 18s ease-in-out infinite;
}
.blob.b1 { width: 520px; height: 520px; background: #ff9f6e; top: -120px; left: -120px; opacity: .28; }
.blob.b2 { width: 600px; height: 600px; background: #7b5cff; bottom: -200px; right: -160px; opacity: .32; animation-delay: -6s; }
.blob.b3 { width: 380px; height: 380px; background: #f06ba8; top: 30%; left: 45%; opacity: .2; animation-delay: -12s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.08); }
  66% { transform: translate(-40px, 30px) scale(.95); }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero .lead { margin: 0 auto; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.trust-line { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: .85rem; color: var(--muted); }
.trust-line span::before { content: "✓ "; color: var(--mint); font-weight: 700; }

.hero-search {
  width: 100%; max-width: 640px;
  display: flex; gap: 8px; padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -30px rgba(123, 92, 255, .55);
}
.hero-search input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none;
  padding: 0 18px; font-size: 1rem;
}
.hero-search input::placeholder { color: var(--dim); }
@media (max-width: 560px) {
  .hero-search { flex-direction: column; border-radius: 26px; }
  .hero-search input { padding: 14px 16px; }
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: 70px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--border); border: 1px solid var(--border);
}
.stat { background: rgba(10, 10, 13, .85); padding: 26px 22px; text-align: left; backdrop-filter: blur(10px); }
.stat b { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; color: var(--peach); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.section-head .lead { margin: 0; }

/* ---------- cards / bento ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease), background .4s;
}
.card:hover { border-color: var(--border-strong); }
.card.lift:hover { transform: translateY(-6px); }
.card .spot {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 207, 168, .1), transparent 50%);
}
.card:hover .spot { opacity: 1; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
.bento .row-2 { grid-row: span 2; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 2; }
  .bento .half { grid-column: span 1; }
  .bento .row-2 { grid-row: auto; }
}
@media (max-width: 520px) { .bento .half { grid-column: span 2; } }

.price-card .label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price-card .value { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin: 14px 0 6px; }
.price-card .value small { font-size: .35em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--border);
}
.chip.up { color: var(--mint); border-color: rgba(159, 240, 207, .3); background: rgba(159, 240, 207, .07); }
.chip.warm { color: var(--peach); border-color: rgba(255, 207, 168, .3); background: rgba(255, 207, 168, .07); }

/* sparkline */
.spark { width: 100%; height: 90px; margin-top: 18px; }
.spark path.line { fill: none; stroke: url(#sg); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2s var(--ease); }
.in .spark path.line { stroke-dashoffset: 0; }

/* bars (saisonnalité) */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; margin-top: 24px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bars i {
  display: block; width: 100%; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(185,166,255,.75), rgba(185,166,255,.15));
  height: 0; transition: height 1.2s var(--ease);
}
.bars i.hot { background: linear-gradient(180deg, var(--peach), rgba(246,166,193,.25)); }
.bars span { font-size: .7rem; color: var(--dim); font-weight: 600; }

/* agent */
.agent { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.avatar {
  width: 96px; height: 96px; border-radius: 28px;
  background: var(--grad); display: grid; place-items: center;
  font-size: 2rem; font-weight: 800; color: #151217;
  box-shadow: 0 20px 50px -15px rgba(246, 166, 193, .6);
}
.stars { color: var(--peach); letter-spacing: 2px; }
@media (max-width: 520px) { .agent { grid-template-columns: 1fr; } }

blockquote.quote {
  margin: 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.15; letter-spacing: -0.01em;
}
blockquote.quote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--peach); margin-bottom: 10px; }

/* testimonials marquee */
.testi-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.testi-track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.testi-wrap:hover .testi-track { animation-play-state: paused; }
.testi { width: 360px; flex-shrink: 0; }
.testi p { margin: 14px 0 20px; }
.testi .who { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .92rem; }
.testi .who i { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--border-strong); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .85rem; }
.testi .who small { display: block; color: var(--muted); font-weight: 500; }
@media (max-width: 520px) { .testi { width: 290px; } }

/* features (cadre de vie) */
.feature-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-strong);
  margin-bottom: 22px;
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--peach); }

/* quartiers */
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .q-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .q-grid { grid-template-columns: 1fr; } }
.q-card { display: flex; flex-direction: column; min-height: 280px; cursor: pointer; }
.q-card .q-visual {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  transition: opacity .5s, transform .8s var(--ease);
}
.q-card:hover .q-visual { opacity: .9; transform: scale(1.06); }
.q-card { isolation: isolate; }
.q-card .num { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .1em; }
.q-card .h3 { margin-top: auto; font-size: 1.6rem; }
.q-card .q-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: .9rem; }
.q-card .arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: #111; display: grid; place-items: center;
  transition: transform .4s var(--ease);
}
.q-card:hover .arrow { transform: rotate(-45deg); }

/* comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.compare td:first-child { font-weight: 600; width: 26%; }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:nth-child(3) { color: var(--text); }
.compare .yes { color: var(--mint); font-weight: 700; margin-right: 6px; }
.compare .no { color: #ff8f8f; font-weight: 700; margin-right: 6px; }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .compare td { display: block; border: 0; padding: 6px 16px; width: auto !important; }
  .compare td:nth-child(2)::before { content: "Algorithme : "; color: var(--dim); }
  .compare td:nth-child(3)::before { content: "Expert local : "; color: var(--dim); }
}

/* quiz */
.quiz-progress { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-bottom: 30px; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s var(--ease); }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }
.option {
  text-align: left; padding: 18px 20px;
  border-radius: 16px; border: 1px solid var(--border-strong);
  background: var(--surface); cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
  font-weight: 500;
}
.option:hover { background: var(--surface-2); transform: translateY(-2px); }
.option.selected { border-color: var(--peach); background: rgba(255, 207, 168, .09); }

/* faq */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  border: 1px solid var(--border); border-radius: 18px;
  background: var(--surface); transition: background .3s, border-color .3s;
}
.faq details[open] { background: var(--surface-2); border-color: var(--border-strong); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 24px; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong); font-weight: 400; font-size: 1.3rem;
  transition: transform .35s var(--ease), background .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: #fff; color: #111; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* articles */
.article .tag { font-size: .75rem; color: var(--peach); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.article .cover { height: 180px; border-radius: 16px; margin: -12px -12px 22px; overflow: hidden; position: relative; }
.article h3 { font-size: 1.2rem; line-height: 1.3; margin: 10px 0; letter-spacing: -0.015em; }
.article time { font-size: .82rem; color: var(--dim); }

/* CTA */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg);
  padding: clamp(50px, 8vw, 100px) clamp(24px, 6vw, 80px);
  border: 1px solid var(--border-strong);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px circle at 15% 0%, rgba(255, 159, 110, .35), transparent 60%),
    radial-gradient(700px circle at 85% 100%, rgba(123, 92, 255, .45), transparent 60%),
    #0e0d12;
}

/* footer */
footer { border-top: 1px solid var(--border); padding: 80px 0 30px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
footer h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
footer ul a { color: var(--text); opacity: .8; transition: opacity .2s; font-size: .95rem; }
footer ul a:hover { opacity: 1; }
.foot-giant {
  font-size: clamp(3.5rem, 15vw, 13rem); font-weight: 800; letter-spacing: -0.06em; line-height: .85;
  text-transform: uppercase; margin: 70px 0 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; white-space: nowrap; overflow: hidden;
}
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; color: var(--dim); border-top: 1px solid var(--border); padding-top: 24px; }
.foot-bottom a:hover { color: var(--text); }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: #111; border: 0; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- forms ---------- */
.form-shell { max-width: 760px; margin: 0 auto; }
.steps { display: flex; gap: 8px; margin-bottom: 30px; }
.steps div { flex: 1; }
.steps i { display: block; height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; position: relative; }
.steps i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.steps .done i::after, .steps .current i::after { transform: scaleX(1); }
.steps span { display: block; font-size: .75rem; margin-top: 10px; color: var(--dim); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.steps .current span, .steps .done span { color: var(--text); }

.step { display: none; animation: stepIn .5s var(--ease); }
.step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(16px); } }

.field { margin-bottom: 22px; position: relative; }
.field > label, .field > .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.field .opt { color: var(--dim); font-weight: 500; }
.input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-strong);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.input:focus { border-color: var(--lav); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 4px rgba(185, 166, 255, .15); }
.input.invalid { border-color: #ff8f8f; }
.err { color: #ff9c9c; font-size: .82rem; margin-top: 6px; display: none; }
.field.has-err .err { display: block; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .cols-2 { grid-template-columns: 1fr; } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label {
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface);
  cursor: pointer; font-size: .9rem; font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.pills label:hover { background: var(--surface-2); }
.pills input:checked + label { background: #fff; color: #111; border-color: #fff; }
.pills input:focus-visible + label { outline: 2px solid var(--lav); outline-offset: 2px; }

.big-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big-choice input { position: absolute; opacity: 0; pointer-events: none; }
.big-choice label {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  padding: 22px; border-radius: 18px;
  border: 1px solid var(--border-strong); background: var(--surface);
  cursor: pointer; font-weight: 600; transition: all .25s;
}
.big-choice svg { width: 30px; height: 30px; stroke: var(--muted); }
.big-choice input:checked + label { border-color: var(--peach); background: rgba(255, 207, 168, .08); }
.big-choice input:checked + label svg { stroke: var(--peach); }

.suggest {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: 6px; z-index: 20;
  background: #16151b; border: 1px solid var(--border-strong); border-radius: 14px;
  overflow: hidden; display: none;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.suggest.open { display: block; }
.suggest button {
  display: block; width: 100%; text-align: left;
  padding: 13px 18px; background: none; border: 0; cursor: pointer;
  border-bottom: 1px solid var(--border); font-size: .92rem;
}
.suggest button:last-child { border-bottom: 0; }
.suggest button:hover, .suggest button.hl { background: var(--surface-2); }
.suggest .none { padding: 13px 18px; color: var(--muted); font-size: .9rem; }
.ok-line { color: var(--mint); font-size: .85rem; margin-top: 8px; display: none; }
.ok-line.show { display: block; }

.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px 0; font-weight: 500; }
.link-btn:hover { color: var(--text); }

.result-range {
  display: flex; align-items: baseline; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-size: clamp(1.8rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
}
.result-range span.sep { color: var(--dim); font-weight: 300; }
.gauge { position: relative; height: 12px; border-radius: 99px; background: var(--surface-2); margin: 40px 0 12px; }
.gauge i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--grad); left: 20%; right: 20%; }
.gauge b {
  position: absolute; top: 50%; left: 50%;
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(255,255,255,.15);
}
.gauge-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }

.locked { position: relative; }
.locked .blurred { filter: blur(14px); user-select: none; pointer-events: none; }

/* simulator */
.sim-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .sim-grid { grid-template-columns: 1fr; } }
.sim-out { position: sticky; top: 100px; }
.sim-line { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed var(--border-strong); font-size: .95rem; }
.sim-line b { font-variant-numeric: tabular-nums; }
.sim-line.minus b { color: #ffb0b0; }
.sim-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; gap: 10px; flex-wrap: wrap; }
.sim-total b { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.04em; font-weight: 800; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: var(--surface-2); outline: none; margin: 10px 0 4px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 0 0 0 5px rgba(185,166,255,.3); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; cursor: pointer; border: 0; }
.range-row { display: flex; justify-content: space-between; align-items: baseline; }
.range-row output { font-weight: 700; font-variant-numeric: tabular-nums; }

/* page hero (inner pages) */
.page-hero { padding: 170px 0 60px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero .display { font-size: clamp(2.4rem, 7vw, 5.6rem); }
.breadcrumb { font-size: .85rem; color: var(--dim); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--text); }

/* modal */
.modal {
  position: fixed; inset: 0; z-index: 80;
  display: none; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(5, 5, 7, .7); backdrop-filter: blur(10px);
}
.modal.open { display: flex; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal-box {
  width: 100%; max-width: 720px; max-height: 90vh; overflow: auto;
  background: #121117; border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px);
  position: relative; animation: stepIn .45s var(--ease);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; font-size: 1.2rem;
}
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.kv div { padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.kv b { display: block; font-size: 1.4rem; letter-spacing: -0.03em; }
.kv span { font-size: .78rem; color: var(--muted); }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } }
ul.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
ul.ticks li { padding-left: 28px; position: relative; color: var(--muted); }
ul.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--peach); }

/* prose (legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 48px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.placeholder { background: rgba(255, 207, 168, .12); color: var(--peach); padding: 1px 6px; border-radius: 6px; font-weight: 600; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.split.in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
}

.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.center { text-align: center; }
.flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- carte ---------- */
.map-shell { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); background: #0d0d10; }
.map { height: 70vh; min-height: 460px; width: 100%; background: #0d0d10; }
.map.small { height: 480px; min-height: 0; }
.map-controls {
  position: absolute; z-index: 500; top: 14px; left: 14px; right: 14px;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; pointer-events: none;
}
.map-controls > * { pointer-events: auto; }
.map-search { position: relative; flex: 1 1 240px; max-width: 340px; }
.map-search input { width: 100%; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(14,14,18,.85); backdrop-filter: blur(12px); color: var(--text); outline: none; }
.map-results { position: absolute; top: 100%; left: 0; right: 0; margin-top: 6px; background: #16151b; border-radius: 14px; overflow: hidden; }
.map-results:empty { display: none; }
.map-results button { display: block; width: 100%; text-align: left; padding: 11px 16px; background: none; border: 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.map-results button:hover { background: var(--surface-2); }
.map-results span { display: block; padding: 11px 16px; }
.layer-btn { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(14,14,18,.85); backdrop-filter: blur(12px); cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--muted); }
.layer-btn.on { background: #fff; color: #111; border-color: #fff; }
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: 14px; }
.map-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.leaflet-container { font-family: var(--font); }
.leaflet-control-attribution { background: rgba(10,10,13,.75) !important; color: var(--dim) !important; font-size: 10px; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-bar a { background: rgba(14,14,18,.9) !important; color: var(--text) !important; border-color: var(--border) !important; }
.leaflet-control-zoom { margin-top: 70px !important; border: 1px solid var(--border-strong) !important; border-radius: 12px !important; overflow: hidden; }
.map-pop .leaflet-popup-content-wrapper, .map-pop .leaflet-popup-tip { background: #16151b; color: var(--text); border: 1px solid var(--border-strong); }
.map-pop .leaflet-popup-content { font-size: .88rem; line-height: 1.5; margin: 12px 16px; }
.map-pop a { color: var(--peach) !important; }
.map-tip { background: #16151b; color: var(--text); border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: none; font-size: .85rem; }
.map-tip::before { display: none; }
.map-label span { display: inline-block; transform: translate(-50%, -50%); white-space: nowrap; font-weight: 800; font-size: .8rem; letter-spacing: -.01em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.9); pointer-events: none; }
.map-poi i { display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid #121014; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }

/* ---------- édito ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; padding: 0; }
.post-card .cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin: 0; border-radius: 0; height: auto; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .cover img { transform: scale(1.06); }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -0.02em; margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.post-card .meta { margin-top: auto; padding-top: 10px; font-size: .8rem; color: var(--dim); }
.post-card.featured { grid-column: span 3; flex-direction: row; }
.post-card.featured .cover { flex: 1.3; aspect-ratio: auto; min-height: 340px; }
.post-card.featured .body { flex: 1; padding: 36px; justify-content: center; }
.post-card.featured h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
@media (max-width: 900px) { .post-card.featured { grid-column: span 2; flex-direction: column; } .post-card.featured .cover { min-height: 0; aspect-ratio: 16/9; } }
@media (max-width: 600px) { .post-card.featured { grid-column: span 1; } }
.tag { font-size: .72rem; color: var(--peach); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.article-hero { padding: 150px 0 40px; }
.article-hero h1 { font-size: clamp(2.1rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 18px 0; max-width: 980px; }
.article-hero .meta { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.article-hero .meta img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin: 10px 0 0; aspect-ratio: 21 / 9; border: 1px solid var(--border); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
figcaption.credit, .credit { font-size: .75rem; color: var(--dim); margin-top: 8px; }
.credit a { text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; padding: 50px 0 100px; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } }
.article-body { font-size: 1.08rem; line-height: 1.75; max-width: 720px; }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; line-height: 1.15; margin: 48px 0 14px; }
.article-body h3 { font-size: 1.2rem; margin: 30px 0 8px; }
.article-body p, .article-body li { color: #cfccd4; }
.article-body ul, .article-body ol { padding-left: 1.2em; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--peach); text-decoration: underline; }
.article-body .lead { font-size: 1.22rem; color: var(--text); }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.article-body th, .article-body td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.article-body th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.article-body figure { margin: 30px 0; }
.article-body figure img { border-radius: 18px; width: 100%; }
.callout { border: 1px solid rgba(255,207,168,.3); background: rgba(255,207,168,.06); border-radius: 18px; padding: 20px 24px; margin: 28px 0; }
.callout p { margin: 0; color: var(--text); }
.aside-sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.toc a { display: block; padding: 7px 0; color: var(--muted); font-size: .9rem; border-left: 2px solid var(--border); padding-left: 14px; }
.toc a:hover { color: var(--text); border-color: var(--peach); }
.table-wrap { overflow-x: auto; }
.leaflet-tile-pane { filter: invert(1) hue-rotate(185deg) brightness(.82) contrast(.92) saturate(.35); }

/* ---------- photos de Linas ---------- */
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  opacity: .32; filter: grayscale(.35) contrast(1.05); transform-origin: 50% 25%;
  animation: kenburns 30s ease-in-out infinite alternate;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(8,8,10,.35) 40%, var(--bg) 100%),
    radial-gradient(ellipse 80% 60% at 50% 45%, transparent 0%, rgba(8,8,10,.6) 100%);
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1%, -1%); } }
.hero .blob { mix-blend-mode: screen; opacity: .22; }
.hero-credit { position: absolute; right: 20px; bottom: 14px; margin: 0; font-size: .68rem; color: var(--dim); }

.photo-grid { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: clamp(440px, 52vw, 640px); }
.photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--bg-2); }
.photo.p-main { grid-row: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.9); }
.photo:hover img { transform: scale(1.07); filter: saturate(1.05); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,8,10,.85) 100%); pointer-events: none; }
.photo figcaption { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.photo figcaption b { font-size: 1.15rem; letter-spacing: -0.02em; }
.photo figcaption span { font-size: .82rem; color: var(--muted); }
.photo.p-main figcaption b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.photo-credits { font-size: .72rem; color: var(--dim); margin: 12px 0 0; }
@media (max-width: 760px) {
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .photo.p-main { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .photo.p-side { aspect-ratio: 3 / 4; }
  .photo figcaption { left: 14px; right: 14px; bottom: 12px; }
}

/* ---------- hero en deux colonnes avec photo ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 70px); align-items: center; width: 100%; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; text-align: left; }
.hero-text .display { font-size: clamp(2.6rem, 6.2vw, 6rem); }
.hero-text .lead { margin: 0; }
.hero-text .trust-line { justify-content: flex-start; }
.hero-figure {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px -30px rgba(123, 92, 255, .55), 0 0 0 8px rgba(255,255,255,.03);
  transform: rotate(1.5deg);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: kenburns 30s ease-in-out infinite alternate; transform-origin: 50% 25%; }
.hero-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(8,8,10,.7) 100%); pointer-events: none; }
.hero-figure figcaption { position: absolute; left: 18px; bottom: 18px; z-index: 1; }
.hero-figure figcaption .chip { background: rgba(14,14,18,.7); backdrop-filter: blur(10px); border-color: var(--border-strong); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.fig-credit { position: absolute; right: 14px; bottom: 10px; z-index: 1; font-size: .62rem; color: rgba(255,255,255,.55); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { align-items: center; text-align: center; }
  .hero-text .trust-line { justify-content: center; }
  .hero-figure { aspect-ratio: 16 / 11; transform: none; max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-figure img { object-position: 50% 18%; }
}

/* ---------- WhatsApp ---------- */
.wa-btn {
  position: fixed; left: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 18px 0 14px; border-radius: 999px;
  background: #25d366; color: #0b1f12; font-weight: 700; font-size: .9rem;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-btn svg { width: 22px; height: 22px; }
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(37, 211, 102, .8); }
@media (max-width: 640px) { .wa-btn { padding: 0; width: 52px; height: 52px; justify-content: center; } .wa-btn span { display: none; } }

/* ---------- guide gratuit ---------- */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-cover { position: relative; aspect-ratio: 210 / 297; max-width: 360px; border-radius: 10px 22px 22px 10px; overflow: hidden; background: #08080a; box-shadow: -14px 0 0 -6px rgba(255,255,255,.06), 0 40px 90px -30px rgba(123,92,255,.6); transform: rotate(-2deg); }
.guide-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; opacity: .45; filter: grayscale(.3); }
.guide-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,10,.35), #08080a 85%); }
.guide-cover-txt { position: absolute; left: 26px; right: 26px; bottom: 28px; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.guide-cover-txt b { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; line-height: .92; }
.guide-cover-txt b em { font-family: var(--serif); text-transform: none; font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.guide-cover-txt small { color: var(--muted); font-size: .78rem; }
.guide-band { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.guide-band .guide-cover { width: 140px; transform: rotate(-4deg); }
.guide-band .guide-cover-txt { left: 12px; right: 12px; bottom: 14px; }
.guide-band .guide-cover-txt b { font-size: 1.05rem; }
.guide-band .guide-cover-txt small, .guide-band .guide-cover-txt .tag { display: none; }
@media (max-width: 760px) { .guide-band { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* bandeau des quartiers dans le haut de page */
.hero-marquee {
  width: 100vw; margin: 6px calc(50% - 50vw) 0; align-self: center;
  background: rgba(255, 255, 255, .03); border-block: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hero-marquee .marquee-track span { font-size: clamp(1rem, 1.8vw, 1.4rem); color: rgba(244, 242, 239, .55); }
.hero-marquee + .stats { margin-top: 30px; }
.hero { padding-top: 120px; }
.nav-links a { white-space: nowrap; }

/* Safari / iPhone : un dégradé « background-clip: text » ne s'affiche pas sur des mots animés
   (inline-block + transform) : chaque mot du titre porte donc son propre dégradé. */
.split .grad-text .w > span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
