/* ============================================================
   Nolveya — Landing page · v2 « moderne & dynamique »
   Palette : bleu roi #011b4e · bleu #2d5fa8 · sarcelle #028c9e
   ============================================================ */

:root {
  --navy: #011b4e;
  --blue: #2d5fa8;
  --blue-dark: #234a85;
  --teal: #028c9e;
  --text: #1a1a2e;
  --muted: #5b6270;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --border: #e3e7ef;
  --danger: #b83232;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(1, 27, 78, 0.06);
  --shadow: 0 8px 30px rgba(1, 27, 78, 0.10);
  --shadow-lg: 0 24px 70px rgba(1, 27, 78, 0.16);
  --grad: linear-gradient(120deg, var(--teal) 0%, var(--blue) 55%, var(--navy) 100%);
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }

h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.015em; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

/* ---------- Apparition au scroll (pilote par script.js) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .hero-visual .browser-frame { animation: none !important; }
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(1, 27, 78, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-head);
}

.brand img { transition: transform 0.3s ease; }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }

.main-nav { display: flex; align-items: center; gap: 26px; }

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover { color: var(--navy); }
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--grad);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(2, 140, 158, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(2, 140, 158, 0.45);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #eef4ff 0%, #eaf7f8 55%, #f3f0fb 100%);
  padding: 84px 0 76px;
}

.hero-blobs { position: absolute; inset: 0; pointer-events: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.45;
  animation: blob-float 18s ease-in-out infinite alternate;
}

.blob.b1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(2, 140, 158, 0.35), transparent 70%);
  top: -140px; right: -80px;
}

.blob.b2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(45, 95, 168, 0.30), transparent 70%);
  bottom: -120px; left: -100px;
  animation-delay: -7s;
}

.blob.b3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(1, 27, 78, 0.18), transparent 70%);
  top: 40%; left: 44%;
  animation-delay: -3s;
}

@keyframes blob-float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(38px, -26px) scale(1.12); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0 0 22px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.12;
  margin: 0 0 20px;
  color: var(--navy);
  font-weight: 800;
}

.grad-text {
  background: var(--grad);
  background-size: 160% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 28px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }

.hero-note { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* Maquette hero : lévitation + inclinaison souris */

.hero-visual {
  perspective: 1000px;
}

.hero-visual .browser-frame {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s ease-out, box-shadow 0.3s ease;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* ---------- Boutons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg) translateX(-160%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.btn:hover::after { transform: skewX(-20deg) translateX(340%); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(45, 95, 168, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(45, 95, 168, 0.45);
}

.btn-ghost {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---- Vidéo de présentation ---- */
.video-section {
  text-align: center;
}

.video-section .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.video-wrap {
  width: 320px;
  max-width: 100%;
  margin: 28px auto 0;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(1, 27, 78, 0.14);
  border: 1px solid var(--border);
  background: #000;
}

.video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  color: var(--navy);
  margin: 0 0 12px;
  font-weight: 700;
}

.section-lead { color: var(--muted); max-width: 680px; margin: 0 0 40px; font-size: 1.02rem; }
.section-lead.small { font-size: 0.9rem; margin-bottom: 18px; }

/* ---------- Fonctionnalités ---------- */

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

.feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 140, 158, 0.4);
}

.feature:hover::before { transform: scaleX(1); }

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--navy);
  transition: transform 0.25s ease;
}

.feature:hover h3 { transform: translateX(3px); }

.feature p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- Maquettes (captures stylisées) ---------- */

.browser-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  background: #eef1f6;
  border-bottom: 1px solid var(--border);
}

.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #d3d8e2; }
.browser-bar .dot:nth-child(1) { background: #ff6058; }
.browser-bar .dot:nth-child(2) { background: #ffbd2e; }
.browser-bar .dot:nth-child(3) { background: #28c840; }

.browser-url {
  margin-left: 12px;
  font-size: 0.72rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.browser-body { display: flex; min-height: 270px; }

.mock-sidebar {
  width: 90px;
  background: linear-gradient(180deg, var(--navy), #062a6e);
  padding: 17px 13px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.mock-logo { width: 28px; height: 28px; border-radius: 8px; background: #fff; margin-bottom: 11px; }
.mock-nav-item { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.35); }
.mock-nav-item.active { background: var(--teal); }
.mock-nav-item.sos { background: #c94a4a; }

.mock-content { flex: 1; padding: 22px; }

.mock-title { width: 40%; height: 14px; border-radius: 6px; background: var(--navy); opacity: 0.85; margin-bottom: 18px; }

.mock-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

.mock-card {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.browser-frame:hover .mock-card { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.browser-frame:hover .mock-card:nth-child(2) { transition-delay: 0.05s; }
.browser-frame:hover .mock-card:nth-child(3) { transition-delay: 0.1s; }
.browser-frame:hover .mock-card:nth-child(4) { transition-delay: 0.15s; }

.mock-ico { width: 23px; height: 23px; border-radius: 7px; }
.mock-ico.teal { background: var(--teal); }
.mock-ico.blue { background: var(--blue); }
.mock-ico.navy { background: var(--navy); }
.mock-line { height: 7px; border-radius: 4px; background: #d8dde8; }

.w20 { width: 20%; } .w30 { width: 30%; } .w40 { width: 40%; }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }

.shots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.shot { margin: 0; }

.shot-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 215px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shot:hover .shot-frame {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.shot-topbar {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: #eef1f6;
  border-bottom: 1px solid var(--border);
}

.shot-topbar span { width: 8px; height: 8px; border-radius: 50%; background: #d3d8e2; }

.shot-body { display: flex; flex: 1; }

.shot-body.centered { flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 14px; }

.shot-side {
  width: 48px;
  background: linear-gradient(180deg, var(--navy), #062a6e);
  padding: 12px 9px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shot-side i { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.35); }
.shot-side i.on { background: var(--teal); }

.shot-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 9px; }

.shot-main b { display: block; width: 45%; height: 10px; border-radius: 5px; background: var(--navy); opacity: 0.85; }

.shot-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9px;
  padding: 7px 9px;
}

.shot-row u { width: 16px; height: 16px; border-radius: 5px; flex: none; }
u.teal { background: var(--teal); }
u.blue { background: var(--blue); }
u.navy { background: var(--navy); }

.shot-row s, .shot-body > s { height: 6px; border-radius: 3px; background: #d8dde8; text-decoration: none; }
s.red { background: #e4b9b9; }

.shot-btn { width: 92px; height: 21px; border-radius: 8px; background: var(--danger); margin-top: 4px; }

.shot-contacts { display: flex; flex-direction: column; gap: 6px; width: 80%; }

.shot-contacts > div {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9px;
  padding: 6px 8px;
}

.avatar { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); flex: none; }

.shot-items { display: flex; flex-direction: column; gap: 8px; }

.shot-item {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9px;
  padding: 7px 9px;
}

.photo { width: 27px; height: 20px; border-radius: 5px; background: linear-gradient(135deg, var(--teal), var(--blue)); flex: none; }

.qr-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 9px;
  box-shadow: var(--shadow-sm);
}

.sos-mock {
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 2px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(184, 50, 50, 0.12);
}

.shot figcaption { margin-top: 11px; font-size: 0.86rem; color: var(--muted); }
.shot figcaption strong { color: var(--navy); }

/* ---------- Section multi-supports ---------- */

.devices {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.device {
  margin: 0;
  text-align: center;
}

.device figcaption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.device figcaption strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.device-screen {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 0 auto;
}

/* Ordinateur */

.laptop-screen {
  width: 250px;
  height: 158px;
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}

.laptop-base {
  width: 290px;
  height: 11px;
  margin: 0 auto;
  background: linear-gradient(180deg, #d9dee8, #b9c1d1);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-sm);
}

/* Tablette */

.tablet-screen {
  width: 130px;
  height: 175px;
  border-radius: 14px;
  border: 5px solid var(--navy);
}

/* Téléphone */

.phone-screen {
  width: 92px;
  height: 175px;
  border-radius: 18px;
  border: 5px solid var(--navy);
}

/* Montre */

.watch {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.watch-strap {
  width: 40px;
  height: 20px;
  background: linear-gradient(180deg, #0a3576, var(--navy));
}

.watch-strap.top {
  border-radius: 8px 8px 0 0;
  height: 24px;
}

.watch-strap.bottom {
  border-radius: 0 0 8px 8px;
  height: 24px;
}

.watch-body {
  width: 84px;
  height: 96px;
  border-radius: 24px;
  background: var(--surface);
  border: 5px solid var(--navy);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.watch-sos {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px rgba(184, 50, 50, 0.14);
}

/* Mini-interfaces dans chaque écran */

.mini-app { display: flex; height: 100%; }

.mini-app.col {
  flex-direction: column;
  padding: 10px;
  gap: 8px;
}

.mini-side {
  width: 42px;
  padding: 10px 8px;
  background: linear-gradient(180deg, var(--navy), #062a6e);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mini-side i {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
}

.mini-side i.on { background: var(--teal); }

.mini-main {
  flex: 1;
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-main b,
.mini-app.col b {
  display: block;
  width: 44%;
  height: 7px;
  border-radius: 4px;
  background: var(--navy);
  opacity: 0.85;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.mini-grid i {
  height: 38px;
  border-radius: 7px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.mini-grid.small { gap: 5px; }
.mini-grid.small i { height: 33px; border-radius: 6px; }

.mini-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mini-rows i {
  height: 11px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.support-grid { margin-top: 8px; }

.support-grid .feature h3 small {
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 600;
}

/* ---------- Offres (pricing) ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 32px;
  align-items: stretch;
}

.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tier:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.tier-popular {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 14px 44px rgba(2, 140, 158, 0.22);
  transform: scale(1.03);
}

.tier-popular:hover { transform: scale(1.03) translateY(-8px); }

.tier h3 { margin: 0; color: var(--navy); font-size: 1.3rem; }

.tier-price {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  line-height: 1.1;
  font-family: var(--font-head);
}

.tier-price span { font-size: 0.9rem; font-weight: 500; color: var(--muted); font-family: var(--font-body); }

.tier-for {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 13px;
}

.tier ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}

.tier ul li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(2, 140, 158, 0.12);
  color: var(--teal);
  font-weight: 800;
  font-size: 0.7rem;
  margin-right: 9px;
}

.tier-btn { align-self: stretch; text-align: center; margin-top: 8px; }

/* Bouton désactivé (offre pas encore disponible) */
.tier-btn-disabled {
  opacity: 0.45;
  filter: grayscale(0.6);
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  display: block;
  line-height: 1;
}

/* Message « offre bientôt disponible » sous le bouton */
.tier-soon {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--muted, #5a6b8c);
  text-align: center;
  font-style: italic;
}

.pricing-note { margin-top: 0; }

.pill {
  position: absolute;
  top: -14px;
  right: 22px;
  background: var(--grad);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(2, 140, 158, 0.45);
}

/* ---------- Tableau comparatif ---------- */

.table-title { color: var(--navy); margin: 0 0 6px; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

table.compare { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 900px; }

table.compare th, table.compare td { padding: 13px 17px; text-align: left; border-bottom: 1px solid var(--border); }

table.compare thead th {
  background: linear-gradient(120deg, var(--navy), #0a3576);
  color: #fff;
  font-size: 0.88rem;
}

table.compare thead small { font-weight: 400; opacity: 0.75; }

table.compare tbody tr { transition: background 0.15s ease; }
table.compare tbody tr:nth-child(even) { background: #f7f9fc; }
table.compare tbody tr:hover { background: #eef4fb; }

table.compare td.yes { color: #245c35; font-weight: 700; }
table.compare td.no { color: var(--danger); }
table.compare td.part { color: var(--muted); }

/* ---------- Comment ça marche ---------- */

.how { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; counter-reset: step; }

.how li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.how li:hover { transform: translateX(6px); box-shadow: var(--shadow); }

.how-num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  box-shadow: 0 8px 18px rgba(45, 95, 168, 0.3);
}

.how strong { color: var(--navy); }
.how p { margin: 4px 0 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- Dons / contact ---------- */

.don-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }

.don-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.don-btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 140, 158, 0.5);
}

.don-btn small { color: var(--muted); }
.don-amount { font-size: 1.8rem; transition: transform 0.25s ease; }
.don-btn:hover .don-amount { transform: scale(1.18) rotate(-6deg); }

/* ---------- Notice ---------- */

.notice {
  background: linear-gradient(120deg, rgba(2, 140, 158, 0.07), rgba(45, 95, 168, 0.07));
  border: 1px solid rgba(2, 140, 158, 0.25);
  border-radius: 12px;
  padding: 15px 19px;
  font-size: 0.92rem;
  color: var(--text);
}

.notice code {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.86rem;
}

/* ---------- Pied de page ---------- */

.site-footer {
  background: linear-gradient(160deg, var(--navy), #062a6e 80%);
  color: #c7d2e8;
  padding: 50px 0 32px;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.footer-tag { font-style: italic; font-size: 0.9rem; margin: 0; max-width: 420px; }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-links a {
  color: #c7d2e8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #93a3c4;
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .shots-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .tier-popular { transform: none; }
  .tier-popular:hover { transform: translateY(-8px); }
  .don-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .main-nav a:not(.nav-cta) { display: none; }
  .features-grid, .shots-grid { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 46px; }
  .blob { opacity: 0.35; }
}
