:root {
  --ink: #001b70;
  --ink-soft: #0a2a8a;
  --white: #fff;
  --mist: #f3f5f9;
  --line: rgba(0, 27, 112, 0.12);
  --shade: linear-gradient(90deg, rgba(0, 10, 35, 0.62) 0%, rgba(0, 10, 35, 0.28) 48%, rgba(0, 10, 35, 0.12) 100%);
  --font: "Albert Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
a { color: inherit; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 60;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 4vw;
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-solid {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(0, 18, 60, 0.08);
}
.logo {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 0;
  text-decoration: none;
}
.logo img {
  height: 42px;
  width: auto;
  background: transparent;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-simple,
.nav-trigger {
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 10px;
  font-weight: 500;
}
.nav-simple:hover,
.nav-trigger:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-item { position: relative; }
.nav-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 10, 35, 0.18);
}
.nav-item.is-open .nav-panel,
.nav-item:hover .nav-panel { display: grid; gap: 2px; }
.nav-panel a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.nav-panel a:hover { background: rgba(0, 27, 112, 0.06); }
.nav-cta {
  font-weight: 700;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.nav.is-solid .nav-cta {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  position: relative;
  height: min(92vh, 820px);
  overflow: hidden;
  background: #07122e;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.slide.is-active { opacity: 1; z-index: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shade {
  position: absolute;
  inset: 0;
  background: var(--shade);
}
.hero-copy {
  position: absolute;
  left: 6vw;
  bottom: 14%;
  z-index: 2;
  color: var(--white);
  max-width: 520px;
}
.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-light { background: var(--white); color: var(--ink); }
.btn-line { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.14);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.arrow.prev { left: 18px; }
.arrow.next { right: 18px; }
.dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.dots button {
  width: 28px;
  height: 3px;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
}
.dots button[aria-current="true"] { background: var(--white); }

.products { padding: 18px 4vw 8px; background: var(--mist); }
.product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 220px;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 18, 60, 0.08);
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.35s ease;
}
.product-card:hover img { transform: scale(1.04); }
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(0, 8, 28, 0.72));
}
.product-card span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  font-weight: 700;
  font-size: 20px;
}

.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 36px 4vw;
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: grid;
  place-items: center;
  text-decoration: none;
  min-width: 140px;
}
.trust-logo { height: 48px; width: auto; }
.trust-logo-dark { height: 56px; }
.trust-logo-seal { height: 72px; }

.split h2,
.quote h2,
.stories h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(36px, 4.4vw, 52px);
  letter-spacing: -0.03em;
}

.full {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
}
.full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.full-copy {
  position: relative;
  z-index: 1;
  min-height: 58vh;
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
  padding: 40px 4vw;
}
.full-copy h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.04em;
}

.split {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 56px 4vw;
  text-align: center;
}
.split img {
  width: min(720px, 100%);
  border-radius: 18px;
  max-height: 360px;
  object-fit: cover;
}

.refs { padding: 0 0 24px; }
.ref-frame {
  position: relative;
  height: min(70vh, 640px);
  overflow: hidden;
  margin: 0 4vw;
  border-radius: 20px;
}
.ref-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.ref-slide.is-active { opacity: 1; z-index: 1; }
.ref-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ref-caption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  color: var(--white);
  z-index: 2;
}
.ref-caption h2,
.ref-caption p { margin: 0; }
.ref-caption h2 { font-size: 28px; }
.ref-caption p { opacity: 0.9; margin-top: 4px; }

.stories { padding: 24px 4vw 48px; }
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 14px;
}
.story {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  color: var(--white);
  text-decoration: none;
  min-height: 240px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  box-shadow: 0 10px 28px rgba(0, 18, 60, 0.1);
}
.story:first-child { grid-row: span 2; min-height: 100%; }
.story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.35s ease;
}
.story:hover img { transform: scale(1.03); }
.story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 8, 28, 0.78));
}
.story-video::before {
  content: "Lire";
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.story span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.story small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 8, 28, 0.88);
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-frame {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.lightbox-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  border-radius: 8px;
  min-height: 40px;
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.quote {
  padding: 56px 4vw 64px;
  background: linear-gradient(180deg, #e7eefc 0%, #d7e2f7 100%);
  text-align: center;
}
.quote-phone {
  margin: 0 0 28px;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.7;
}
.quote-phone a { text-decoration: none; }

.wizard {
  width: min(560px, 100%);
  margin: 0 auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 27, 112, 0.1);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0, 18, 60, 0.08);
}
.wizard-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.wizard-progress span {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: rgba(0, 27, 112, 0.12);
}
.wizard-progress span.is-on { background: var(--ink); }
.wizard-step {
  margin: 0;
  padding: 0;
  border: 0;
  display: none;
  gap: 10px;
}
.wizard-step.is-active { display: grid; }
.wizard-step legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}
.wizard input,
.wizard select {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(0, 27, 112, 0.18);
  padding: 0 14px;
  background: rgba(255,255,255,0.9);
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.choice-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 27, 112, 0.14);
  background: rgba(255,255,255,0.85);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.choice-grid input { width: auto; min-height: auto; }
.wizard-nav {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  margin-top: 4px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 4vw;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}
.footer a { color: var(--white); }

.dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(120%);
  z-index: 25;
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 12px 30px rgba(0, 18, 60, 0.18);
  transition: transform 0.25s ease;
}
.dock.is-on { transform: translateX(-50%) translateY(0); }
.dock a {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  background: var(--ink);
  color: var(--white);
}
.dock a:first-child {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .product-row { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story:first-child { grid-row: auto; min-height: 280px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    color: var(--ink);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 16px 30px rgba(0,18,60,0.12);
  }
  .nav-links.is-open { display: flex; }
  .nav-cta { justify-content: center; }
  .dock { display: flex; }
  .hero-copy { left: 5vw; right: 5vw; bottom: 18%; }
  .arrow { display: none; }
  .choice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .product-row,
  .story-grid { grid-template-columns: 1fr; }
  .hero { height: 78vh; }
  .wizard-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .ref-slide, .product-card img, .story img { transition: none; }
}
