/* ============================================================
   GéoClic Collectivités — Page d’accueil modernisée 2026
   ============================================================ */
:root {
  --gc-blue: #0b63ce;
  --gc-blue-dark: #072a61;
  --gc-blue-soft: #eaf3ff;
  --gc-cyan: #2cc7d9;
  --gc-green: #17a673;
  --gc-orange: #f59e0b;
  --gc-purple: #7c3aed;
  --gc-red: #ef4444;
  --gc-ink: #071b3a;
  --gc-muted: #60708b;
  --gc-border: rgba(12, 44, 89, .12);
  --gc-card: rgba(255,255,255,.86);
  --gc-shadow: 0 22px 70px rgba(7, 27, 58, .12);
  --gc-shadow-soft: 0 14px 38px rgba(7, 27, 58, .08);
  --gc-radius: 24px;
}

.home-modern {
  background: #f7fbff;
  color: var(--gc-ink);
  overflow-x: hidden;
}

.home-modern .site-nav {
  background: rgba(255,255,255,.84) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(12,44,89,.08);
  box-shadow: 0 12px 40px rgba(7,27,58,.06) !important;
}

.home-modern .nav-container {
  max-width: 1220px;
}

.brand-wordmark {
  color: var(--gc-blue-dark);
  letter-spacing: -.03em;
}

.brand-wordmark strong { color: var(--gc-blue); }

.nav-toggle {
  display: none;
  border: 1px solid var(--gc-border);
  background: white;
  color: var(--gc-blue-dark);
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 1.2rem;
}

.home-modern .nav-links { gap: 22px; }
.home-modern .nav-links a:not(.btn) { color: #17365f; font-weight: 650; font-size: .95rem; }

.home-modern .btn,
.home-modern .btn-primary,
.home-modern .btn-soft,
.home-modern .btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.home-modern .btn:hover { transform: translateY(-2px); }
.home-modern .btn-primary { background: linear-gradient(135deg, #0b63ce, #0757bd); color: white; border: 0; box-shadow: 0 14px 32px rgba(11,99,206,.28); }
.home-modern .btn-soft { background: white; color: var(--gc-blue); border: 1px solid rgba(11,99,206,.22); box-shadow: 0 10px 26px rgba(7,27,58,.06); }
.home-modern .btn-light { background: white; color: var(--gc-blue); box-shadow: 0 18px 42px rgba(0,0,0,.16); }
.home-modern .btn-large { padding: 15px 24px; min-height: 52px; }

.modern-hero {
  position: relative;
  padding: 128px 22px 86px;
  background:
    radial-gradient(circle at 16% 12%, rgba(44,199,217,.18), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(11,99,206,.20), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 58%, #f3f8ff 100%);
  overflow: hidden;
}

.modern-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,99,206,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,99,206,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
  pointer-events: none;
}

.hero-glow { position: absolute; border-radius: 999px; filter: blur(36px); opacity: .45; pointer-events: none; }
.hero-glow-a { width: 320px; height: 320px; background: #7dd3fc; top: 90px; left: -120px; }
.hero-glow-b { width: 420px; height: 420px; background: #93c5fd; bottom: -140px; right: -140px; }

.modern-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(560px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--gc-blue);
  background: rgba(11,99,206,.09);
  border: 1px solid rgba(11,99,206,.13);
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 850;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.modern-hero h1 {
  margin: 18px 0 18px;
  color: var(--gc-blue-dark);
  font-size: clamp(2.55rem, 4.35vw, 4.45rem);
  line-height: 1.01;
  letter-spacing: -.055em;
  font-weight: 920;
}
.modern-hero h1 span {
  display: block;
  color: var(--gc-blue);
}
.hero-lead {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.35;
  color: #17365f;
  font-weight: 780;
  max-width: 650px;
  margin-bottom: 13px;
}
.hero-text {
  max-width: 720px;
  color: var(--gc-muted);
  font-size: 1.04rem;
  line-height: 1.7;
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-mini-proof { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-mini-proof span { padding: 8px 12px; border-radius: 999px; background: white; border: 1px solid var(--gc-border); color: #17365f; font-weight: 750; font-size: .88rem; box-shadow: 0 10px 24px rgba(7,27,58,.05); }

.hero-product {
  min-height: 540px;
  position: relative;
  perspective: 1100px;
}
.product-mockup {
  position: absolute;
  width: 560px;
  border-radius: 26px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(12,44,89,.13);
  box-shadow: var(--gc-shadow);
}
.product-dashboard { top: 18px; right: 8px; transform: rotateY(-7deg) rotateX(3deg); }
.mockup-topbar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--gc-border); background: #f8fbff; }
.mockup-topbar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mockup-body { display: grid; grid-template-columns: 120px 1fr; min-height: 330px; }
.dashboard-sidebar { background: #072a61; color: rgba(255,255,255,.78); padding: 18px 14px; display: grid; align-content: start; gap: 17px; font-size: .78rem; }
.dashboard-sidebar strong { color: white; font-size: .95rem; margin-bottom: 4px; }
.dashboard-main { padding: 18px; background: #f7fbff; }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dashboard-head small { display: block; color: var(--gc-muted); font-size: .72rem; }
.dashboard-head strong { font-size: 1.1rem; color: var(--gc-blue-dark); }
.status-pill { border-radius: 999px; padding: 6px 9px; font-weight: 850; font-size: .72rem; background: #d1fae5; color: #047857; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi-row div { background: white; border: 1px solid var(--gc-border); border-radius: 16px; padding: 12px; }
.kpi-row strong { display: block; font-size: 1.45rem; color: var(--gc-blue); line-height: 1; }
.kpi-row span { color: var(--gc-muted); font-size: .76rem; }
.map-card { position: relative; height: 168px; border-radius: 18px; overflow: hidden; border: 1px solid var(--gc-border); background: white; }
.map-card img { width: 100%; height: 100%; object-fit: cover; opacity: .86; }
.map-pin { position: absolute; width: 15px; height: 15px; border: 3px solid white; border-radius: 50% 50% 50% 0; background: var(--gc-blue); box-shadow: 0 8px 18px rgba(7,27,58,.25); transform: rotate(-45deg); animation: pinPulse 2.4s ease-in-out infinite; }
.pin-one { top: 45%; left: 44%; }
.pin-two { top: 25%; left: 70%; background: var(--gc-orange); animation-delay: .6s; }
.pin-three { top: 63%; left: 62%; background: var(--gc-green); animation-delay: 1.1s; }

.product-phone {
  position: absolute;
  left: 0;
  top: 160px;
  width: 178px;
  border-radius: 34px;
  padding: 13px 11px 15px;
  background: #071b3a;
  box-shadow: 0 24px 64px rgba(7,27,58,.24);
  z-index: 5;
  transform: rotate(-4deg);
}
.phone-notch { width: 66px; height: 8px; border-radius: 999px; background: #0d1f3f; margin: 0 auto 8px; }
.phone-screen { background: white; border-radius: 24px; padding: 18px 12px 14px; min-height: 300px; }
.phone-title { font-weight: 880; color: var(--gc-blue-dark); margin-bottom: 14px; line-height: 1.1; }
.phone-field { border: 1px solid var(--gc-border); border-radius: 13px; padding: 10px; margin-bottom: 8px; color: #17365f; font-size: .78rem; background: #f8fbff; }
.phone-field.active { border-color: rgba(11,99,206,.45); box-shadow: inset 3px 0 0 var(--gc-blue); }
.phone-screen button { width: 100%; border: 0; border-radius: 12px; padding: 11px; background: var(--gc-blue); color: white; font-weight: 850; margin-top: 7px; }

.phone-screen--image { padding: 0; overflow: hidden; min-height: auto; aspect-ratio: 9 / 19; display: flex; align-items: stretch; }
.phone-screen--image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.flow-card {
  position: absolute;
  z-index: 8;
  width: 164px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(12,44,89,.12);
  box-shadow: var(--gc-shadow-soft);
  opacity: .72;
  transform: translateY(0) scale(.98);
  transition: all .45s ease;
}
.flow-card span { display: inline-flex; width: 26px; height: 26px; border-radius: 999px; align-items: center; justify-content: center; background: var(--gc-blue-soft); color: var(--gc-blue); font-weight: 900; font-size: .78rem; margin-bottom: 8px; }
.flow-card strong { display: block; color: var(--gc-blue-dark); font-size: .92rem; }
.flow-card p { margin: 2px 0 0; color: var(--gc-muted); font-size: .78rem; }
.flow-card.is-active { opacity: 1; transform: translateY(-6px) scale(1.03); box-shadow: 0 20px 55px rgba(11,99,206,.18); border-color: rgba(11,99,206,.25); }
.flow-card--citizen { left: 42px; bottom: 38px; }
.flow-card--mairie { left: 218px; bottom: 2px; }
.flow-card--agent { right: 188px; bottom: 28px; }
.flow-card--done { right: 24px; bottom: 98px; }

.proof-strip { padding: 0 22px; margin-top: -36px; position: relative; z-index: 4; }
.proof-strip__inner { max-width: 1180px; margin: 0 auto; background: rgba(255,255,255,.92); border: 1px solid rgba(12,44,89,.12); box-shadow: var(--gc-shadow-soft); border-radius: 24px; display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.proof-strip__inner div { padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; border-right: 1px solid rgba(12,44,89,.09); }
.proof-strip__inner div:last-child { border-right: 0; }
.proof-icon { grid-row: span 2; width: 42px; height: 42px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: var(--gc-blue-soft); font-weight: 900; }
.proof-strip strong { color: var(--gc-blue-dark); font-size: .96rem; }
.proof-strip small { color: var(--gc-muted); font-size: .82rem; }

.modern-section { max-width: 1180px; margin: 0 auto; padding: 82px 22px; }
.section-heading { text-align: center; margin: 0 auto 38px; max-width: 820px; }
.section-heading .eyebrow { margin: 0 auto 12px; }
.section-heading h2,
.connected-copy h2,
.conformity-card h2,
.demo-band h2 { color: var(--gc-blue-dark); font-size: clamp(2rem, 3.2vw, 3.35rem); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 12px; }
.section-heading p { color: var(--gc-muted); font-size: 1.04rem; }

.uses-grid, .module-grid, .pricing-grid { display: grid; gap: 18px; }
.uses-grid { grid-template-columns: repeat(4, 1fr); }
.use-card, .module-card, .journey-card, .comparison-card, .price-card, .conformity-card, .connected, .demo-band { border: 1px solid var(--gc-border); box-shadow: var(--gc-shadow-soft); background: var(--gc-card); backdrop-filter: blur(14px); }
.use-card { border-radius: 22px; padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.use-card:hover, .module-card:hover, .journey-card:hover, .price-card:hover { transform: translateY(-5px); box-shadow: var(--gc-shadow); }
.card-icon, .module-icon, .journey-illustration { width: 54px; height: 54px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; margin-bottom: 18px; }
.use-card h3, .module-card h3, .journey-card h3, .comparison-card h3, .price-card h3 { color: var(--gc-blue-dark); margin: 0 0 8px; font-size: 1.1rem; }
.use-card p, .module-card p, .journey-card p, .comparison-card li, .price-card li, .annual, .population { color: var(--gc-muted); line-height: 1.65; }
.use-card--green .card-icon { background: #dcfce7; }
.use-card--orange .card-icon { background: #fef3c7; }
.use-card--blue .card-icon { background: #dbeafe; }
.use-card--purple .card-icon { background: #ede9fe; }

.journey { padding-top: 62px; }
.journey-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.journey-track::before { content: ''; position: absolute; left: 10%; right: 10%; top: 50%; border-top: 2px dashed rgba(11,99,206,.22); z-index: -1; }
.journey-card { border-radius: 24px; padding: 24px; background: white; position: relative; }
.journey-number { position: absolute; top: 18px; right: 18px; font-weight: 900; color: rgba(11,99,206,.24); }
.journey-illustration { background: var(--gc-blue-soft); font-size: 1.85rem; }

.module-grid { grid-template-columns: repeat(4, 1fr); }
.module-card { border-radius: 22px; padding: 22px; color: inherit; text-decoration: none; min-height: 196px; }
.module-icon { background: #f1f7ff; }

.connected { max-width: 1180px; border-radius: 32px; padding: 48px; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 48px; }
.connected-lead { color: #17365f; font-size: 1.25rem; font-weight: 750; line-height: 1.45; margin: 14px 0 22px; }
.connected-map { position: relative; min-height: 430px; display: grid; place-items: center; }
.connected-map::before { content: ''; position: absolute; width: 310px; height: 310px; border: 1px dashed rgba(11,99,206,.26); border-radius: 50%; }
.connected-core { position: relative; z-index: 2; width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, #0b63ce, #2cc7d9); color: white; font-weight: 900; box-shadow: 0 24px 65px rgba(11,99,206,.28); line-height: 1.18; }
.connected-core span { font-weight: 700; opacity: .86; }
.connected-map > span:not(.connected-core) { position: absolute; padding: 11px 14px; border-radius: 999px; background: white; border: 1px solid var(--gc-border); box-shadow: 0 10px 24px rgba(7,27,58,.08); color: #17365f; font-weight: 760; font-size: .86rem; }
.connected-map > span:nth-child(2) { top: 26px; left: 48px; }
.connected-map > span:nth-child(3) { top: 118px; left: 0; }
.connected-map > span:nth-child(4) { bottom: 118px; left: 20px; }
.connected-map > span:nth-child(5) { bottom: 28px; left: 86px; }
.connected-map > span:nth-child(6) { top: 26px; right: 72px; }
.connected-map > span:nth-child(7) { top: 142px; right: 0; }
.connected-map > span:nth-child(8) { bottom: 120px; right: 30px; }
.connected-map > span:nth-child(9) { bottom: 24px; right: 102px; }

.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.comparison-card { border-radius: 28px; padding: 28px; }
.comparison-card ul, .clean-list { list-style: none; padding: 0; margin: 16px 0 0; }
.comparison-card li, .clean-list li { margin: 10px 0; display: flex; gap: 10px; }
.comparison-card li::before { content: '—'; color: #94a3b8; font-weight: 900; }
.comparison-card--after li::before, .clean-list li::before { content: '✓'; color: var(--gc-green); font-weight: 900; }
.comparison-card--after { background: linear-gradient(180deg, white, #f2fbf7); border-color: rgba(23,166,115,.22); }

.conformity { max-width: 1220px; }
.conformity-card { border-radius: 32px; padding: 42px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: center; overflow: hidden; }
.conformity-card p { color: var(--gc-muted); line-height: 1.7; }
.conformity-visual { position: relative; }
.conformity-visual img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--gc-border); box-shadow: var(--gc-shadow-soft); }
.option-price { position: absolute; right: 18px; bottom: 18px; background: var(--gc-blue-dark); color: white; border-radius: 18px; padding: 14px 16px; font-weight: 900; box-shadow: 0 16px 42px rgba(7,27,58,.25); }
.option-price span { display: block; opacity: .75; font-weight: 700; font-size: .8rem; margin-top: 2px; }

.pricing { max-width: 1220px; }
.pricing-grid { grid-template-columns: repeat(5, 1fr); align-items: stretch; }
.price-card { position: relative; border-radius: 24px; padding: 24px; background: white; }
.price-card.featured { border-color: rgba(11,99,206,.36); box-shadow: 0 24px 70px rgba(11,99,206,.14); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: var(--gc-blue); color: white; font-size: .72rem; font-weight: 850; white-space: nowrap; }
.price { color: var(--gc-blue); font-size: 2.15rem; font-weight: 920; line-height: 1; margin: 18px 0 4px; letter-spacing: -.04em; }
.price span { font-size: .82rem; color: var(--gc-muted); letter-spacing: 0; font-weight: 750; }
.price-card ul { padding: 0; margin: 20px 0 0; list-style: none; }
.price-card li { margin: 9px 0; }
.price-card li::before { content: '✓'; color: var(--gc-green); font-weight: 900; margin-right: 8px; }
.option-card { background: linear-gradient(180deg, #f8fbff, #ffffff); }
.pricing-note { text-align: center; margin-top: 20px; color: var(--gc-muted); }

.demo-band { max-width: 1180px; margin: 10px auto 92px; border-radius: 34px; padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: linear-gradient(135deg, #0757bd, #0b63ce 48%, #2cc7d9); color: white; }
.demo-band .eyebrow { background: rgba(255,255,255,.18); color: white; border-color: rgba(255,255,255,.25); }
.demo-band h2 { color: white; }
.demo-band p { max-width: 720px; color: rgba(255,255,255,.88); line-height: 1.65; }

.modern-footer { background: #061a36; color: white; padding: 52px 22px 24px; }
.modern-footer__grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 34px; }
.modern-footer a { color: rgba(255,255,255,.78); text-decoration: none; display: block; margin: 9px 0; }
.modern-footer a:hover { color: white; }
.footer-logo { display: inline-flex !important; align-items: center; gap: 10px; color: white !important; font-weight: 900; font-size: 1.25rem; margin-bottom: 12px !important; }
.modern-footer p { color: rgba(255,255,255,.72); line-height: 1.6; }
.footer-hosting { margin-top: 14px; font-weight: 800; color: white !important; }
.modern-footer h4 { margin: 0 0 12px; color: white; }
.modern-footer .footer-bottom { max-width: 1180px; margin: 38px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); text-align: left; }

.reveal-on-load { animation: loadIn .75s ease both; }
@keyframes loadIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pinPulse { 0%,100% { transform: rotate(-45deg) scale(1); } 50% { transform: rotate(-45deg) scale(1.28); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}

@media (max-width: 1120px) {
  .modern-hero__inner { grid-template-columns: 1fr; }
  .hero-product { min-height: 560px; max-width: 760px; width: 100%; margin: 0 auto; }
  .product-dashboard { left: 120px; right: auto; }
  .uses-grid, .module-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .option-card { grid-column: 1 / -1; }
  .connected, .conformity-card { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .home-modern .nav-links { display: none; position: absolute; top: 72px; left: 16px; right: 16px; background: white; border: 1px solid var(--gc-border); border-radius: 22px; padding: 18px; box-shadow: var(--gc-shadow); flex-direction: column; align-items: stretch; }
  .home-modern .nav-links.is-open { display: flex; }
  .proof-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .proof-strip__inner div:nth-child(2) { border-right: 0; }
  .journey-track, .comparison-grid, .modern-footer__grid { grid-template-columns: 1fr; }
  .journey-track::before { display: none; }
  .demo-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .modern-hero { padding-top: 104px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-product { min-height: auto; display: grid; gap: 14px; }
  .product-mockup, .product-phone, .flow-card { position: static; width: auto; transform: none; }
  .product-dashboard { transform: none; }
  .mockup-body { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .flow-card { width: 100%; }
  .proof-strip { margin-top: -18px; }
  .uses-grid { grid-template-columns: 1fr; }
  /* Modules (8) et tarifs (5) en 2 colonnes sur mobile */
  .module-grid, .pricing-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pricing-grid .price-card:last-child { grid-column: 1 / -1; }
  .module-card .card-media--module img { height: 120px; }
  /* Badge tarif conformite : sous l image, ne la recouvre plus */
  .conformity-visual { display: flex; flex-direction: column; align-items: stretch; }
  .option-price { position: static; align-self: flex-start; margin-top: 12px; padding: 10px 14px; }
  /* Bandeau de preuves en 2x2 sur mobile (au lieu d une colonne) */
  .proof-strip__inner { grid-template-columns: 1fr 1fr; }
  /* Cellules : icone au-dessus du texte, centre, pour ne pas tronquer */
  .proof-strip__inner div { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 6px; padding: 16px 10px; border-right: 1px solid rgba(12,44,89,.09); border-bottom: 1px solid rgba(12,44,89,.09); }
  .proof-strip__inner div:nth-child(2n) { border-right: 0; }
  .proof-strip__inner div:nth-last-child(-n+2) { border-bottom: 0; }
  .proof-icon { grid-row: auto; }
  .proof-strip strong { font-size: .9rem; }
  .proof-strip small { font-size: .76rem; }
  .connected, .conformity-card, .demo-band { padding: 28px; border-radius: 24px; }
  .connected-map { min-height: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; justify-content: center; }
  .connected-map::before { display: none; }
  .connected-core { width: 100%; height: auto; border-radius: 18px; padding: 22px; }
  .connected-map > span:not(.connected-core) { position: static; }
}


/* ============================================================
   V2 — Corrections visuelles + renforcement SEO lisible
   ============================================================ */
.home-modern .site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.modern-hero {
  padding-top: 104px;
  padding-bottom: 70px;
}
.modern-hero__inner {
  max-width: 1240px;
  grid-template-columns: minmax(480px, 1.03fr) minmax(520px, .97fr);
  gap: 56px;
}
.modern-hero h1 {
  max-width: 640px;
  font-size: clamp(2.7rem, 4.15vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -.048em;
}
.modern-hero h1 span {
  display: inline;
}
.hero-text {
  max-width: 690px;
  font-size: 1.02rem;
  line-height: 1.68;
}
.hero-product {
  min-height: 565px;
}
.product-mockup {
  width: 535px;
}
.product-dashboard {
  top: 34px;
  right: 0;
}
.product-phone {
  top: 132px;
  left: 6px;
  width: 176px;
  transform: rotate(-3deg);
}
.phone-screen { min-height: 270px; }
.phone-screen--image { min-height: auto; }
.hero-flow-steps {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  z-index: 9;
}
.hero-flow-steps .flow-card {
  position: relative;
  width: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  min-height: 92px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
}
.hero-flow-steps .flow-card span {
  width: 24px;
  height: 24px;
  margin-bottom: 5px;
}
.hero-flow-steps .flow-card strong { font-size: .84rem; }
.hero-flow-steps .flow-card p { font-size: .72rem; line-height: 1.25; }
.hero-flow-steps .flow-card.is-active {
  transform: translateY(-5px) scale(1.02);
}
.proof-strip { margin-top: -28px; }
.seo-section, .faq-section {
  max-width: 1180px;
}
.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.seo-grid article,
.faq-grid details {
  border: 1px solid var(--gc-border);
  border-radius: 24px;
  background: white;
  box-shadow: var(--gc-shadow-soft);
  padding: 24px;
}
.seo-grid h3 {
  margin: 0 0 10px;
  color: var(--gc-blue-dark);
  font-size: 1.16rem;
}
.seo-grid p,
.faq-grid p {
  color: var(--gc-muted);
  line-height: 1.7;
  margin: 0 0 14px;
}
.seo-grid a,
.keyword-links a {
  color: var(--gc-blue);
  font-weight: 800;
  text-decoration: none;
}
.seo-grid a:hover,
.keyword-links a:hover { text-decoration: underline; }
.keyword-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.keyword-links a {
  padding: 10px 13px;
  border: 1px solid rgba(11,99,206,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 20px rgba(7,27,58,.05);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.faq-grid summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--gc-blue-dark);
  line-height: 1.35;
}
.faq-grid p { margin-top: 12px; }
@media (max-width: 1120px) {
  .modern-hero__inner { grid-template-columns: 1fr; }
  .modern-hero h1 { max-width: 760px; }
  .hero-product { min-height: 590px; }
  .product-dashboard { left: 160px; right: auto; }
}
@media (max-width: 860px) {
  .seo-grid, .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .modern-hero h1 { font-size: clamp(2.1rem, 10vw, 2.9rem); letter-spacing: -.04em; line-height: 1.06; }
  .hero-flow-steps { position: static; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-flow-steps .flow-card { min-height: 0; }
  .product-mockup, .product-phone { width: auto; }
}

/* Hero compact sur petit mobile : titre resserre, telephone redondant
   masque (l'app City reapparait dans les modules), parcours en 2x2 */
@media (max-width: 560px) {
  .modern-hero { padding-top: 92px; padding-bottom: 48px; }
  .modern-hero__inner { gap: 26px; }
  .modern-hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.5rem); }
  .eyebrow { font-size: .72rem; }
  .hero-lead { font-size: 1.05rem; }
  .hero-text { font-size: .95rem; line-height: 1.55; }
  .hero-mini-proof { gap: 8px; }
  .hero-product { gap: 12px; }
  .product-phone { display: none; }
  .product-mockup { width: 100%; max-width: 420px; margin: 0 auto; }
  .hero-flow-steps .flow-card { padding: 10px; }
  .hero-flow-steps .flow-card p { font-size: .7rem; }
}


/* V3 — phrase SEO historique réintégrée dans le hero */
.hero-text strong { color: var(--gc-blue-dark); }
@media (min-width: 1121px) {
  .modern-hero__copy { padding-top: 6px; }
}


/* ============================================================
   V12 — Schéma illustré pour la plateforme connectée
   ============================================================ */
.connected-illustrated-map {
  display: grid;
  align-items: center;
}
.connected-illustrated-figure {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  border: 1px solid rgba(12,44,89,.10);
  box-shadow: var(--gc-shadow-soft);
}
.connected-illustrated-figure img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 700px) {
  .connected-illustrated-figure {
    border-radius: 22px;
  }
}


/* ============================================================
   V14 — Cartes illustrées cohérentes et cliquables
   ============================================================ */
.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card-link h3,
.card-link p { color: inherit; }
.card-link .card-cta {
  margin-top: auto;
}
.card-media {
  margin: -1px -1px 18px;
  border-radius: 24px 24px 18px 18px;
  overflow: hidden;
  border-bottom: 1px solid rgba(12,44,89,.08);
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}
.card-media img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}
.card-media--journey img { height: 200px; }
.card-media--module img { height: 170px; }
.card-link:hover .card-media img {
  transform: scale(1.03);
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--gc-blue);
  font-weight: 850;
  font-size: .92rem;
}
.use-card, .journey-card, .module-card {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.use-card {
  padding: 0 22px 22px;
}
.use-card h3,
.journey-card h3,
.module-card h3 {
  margin-bottom: 10px;
}
.use-card .card-icon,
.journey-card .journey-illustration,
.module-card .module-icon {
  display: none;
}
.journey-card {
  padding: 0 22px 22px;
}
.journey-track::before {
  top: 36%;
}
.journey-number {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(12,44,89,.08);
}
.module-card {
  padding: 0 20px 20px;
  min-height: 0;
}
.module-card p {
  flex: 1 1 auto;
}
@media (max-width: 980px) {
  .uses-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-track { grid-template-columns: repeat(2, 1fr); }
  .journey-track::before { display: none; }
}
@media (max-width: 640px) {
  .uses-grid, .journey-track { grid-template-columns: 1fr; }
  .card-media img,
  .card-media--journey img,
  .card-media--module img { height: 210px; }
}


/* ============================================================
   V15 — Header premium, aéré et cohérent avec GéoClic Collectivités
   ============================================================ */
nav,
.home-modern .site-nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  background: rgba(255,255,255,.88) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border-bottom: 1px solid rgba(12,44,89,.08) !important;
  box-shadow: 0 12px 40px rgba(7,27,58,.055) !important;
}
nav .nav-container,
.home-modern .nav-container {
  max-width: 1220px !important;
  min-height: 76px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
}
nav .logo,
.home-modern .logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 11px !important;
  flex: 0 0 auto !important;
  color: #072a61 !important;
  text-decoration: none !important;
  font-size: 1.08rem !important;
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
  line-height: 1 !important;
}
nav .logo img,
.home-modern .logo img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}
nav .logo span,
.home-modern .logo span,
.brand-wordmark {
  color: #072a61 !important;
  white-space: nowrap !important;
}
nav .logo span,
.home-modern .logo span {
  font-weight: 900 !important;
}
nav .logo span::first-letter { color: inherit; }
.brand-wordmark strong,
nav .logo span,
.home-modern .logo span {
  text-decoration: none !important;
}
.nav-links,
.home-modern .nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.nav-links a,
.home-modern .nav-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  color: #17365f !important;
  text-decoration: none !important;
  font-size: .92rem !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease !important;
}
.nav-links a:not(.btn)::after,
.home-modern .nav-links a:not(.btn)::after {
  display: none !important;
  content: none !important;
}
.nav-links a:not(.btn):hover,
.home-modern .nav-links a:not(.btn):hover,
.nav-links a.current,
.home-modern .nav-links a.current {
  background: rgba(11,99,206,.08) !important;
  color: #0b63ce !important;
  transform: translateY(-1px) !important;
}
.nav-links .btn,
.home-modern .nav-links .btn,
.nav-links .btn-primary,
.home-modern .nav-links .btn-primary {
  min-height: 42px !important;
  padding: 0 18px !important;
  margin-left: 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg,#0b63ce,#072a61) !important;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(11,99,206,.24) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}
.nav-links .btn:hover,
.home-modern .nav-links .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 42px rgba(11,99,206,.32) !important;
}
.nav-toggle {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(12,44,89,.12) !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(7,27,58,.06) !important;
  color: #072a61 !important;
  align-items: center !important;
  justify-content: center !important;
}
@media (max-width: 1120px) {
  nav .nav-container,
  .home-modern .nav-container {
    gap: 18px !important;
    padding: 0 18px !important;
  }
  .nav-links a,
  .home-modern .nav-links a {
    padding: 0 10px !important;
    font-size: .88rem !important;
  }
  .nav-links .btn,
  .home-modern .nav-links .btn {
    padding: 0 15px !important;
    margin-left: 6px !important;
  }
}
@media (max-width: 860px) {
  .home-modern .nav-toggle { display: inline-flex !important; }
  .home-modern .nav-links {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 16px !important;
    right: 16px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 14px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.97) !important;
    border: 1px solid rgba(12,44,89,.10) !important;
    box-shadow: 0 24px 70px rgba(7,27,58,.16) !important;
  }
  .home-modern .nav-links.is-open { display: flex !important; }
  .home-modern .nav-links a { justify-content: flex-start !important; padding: 0 14px !important; }
  .home-modern .nav-links .btn { justify-content: center !important; margin-left: 0 !important; }
  body:not(.home-modern) nav .nav-container { flex-wrap: wrap !important; min-height: auto !important; padding: 12px 18px !important; }
  body:not(.home-modern) .nav-links { flex: 1 0 100% !important; justify-content: flex-start !important; overflow-x: auto !important; padding-bottom: 4px !important; scrollbar-width: none; }
  body:not(.home-modern) .nav-links::-webkit-scrollbar { display: none; }
  body:not(.home-modern) .nav-links .btn { margin-left: 0 !important; }
}

/* Badge module independant (carte GeoClic Alerte) */
.module-badge-standalone {
    display: inline-block;
    width: fit-content;
    margin: 2px 0 10px;
    padding: 4px 11px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.35;
}