:root {
  /* ---- Color tokens ---- */
  --blue-900: #0A1F3A;
  --blue-700: #144A85;
  --blue-500: #2E7DD1;
  --blue-300: #8FC2F2;
  --blue-100: #EAF3FD;

  --orange-500: #FF9933;
  --orange-400: #FFB35C;
  --orange-100: #FFF1E1;

  --green-500: #2FBE63;
  --green-400: #4FD684;
  --green-100: #E6FAEE;

  --ink: #0B1424;
  --ink-soft: #33415A;
  --muted: #64738A;
  --line: #E4E9F1;
  --paper: #FAFBFE;
  --paper-alt: #F2F5FA;
  --white: #FFFFFF;

  --ribbon: linear-gradient(115deg, var(--blue-500) 0%, var(--blue-500) 42%, var(--green-500) 68%, var(--orange-500) 100%);

  /* ---- Type ---- */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* ---- Radii / shadow ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(10, 31, 58, .06);
  --shadow-md: 0 14px 40px rgba(10, 31, 58, .10);
  --shadow-lg: 0 24px 70px rgba(10, 31, 58, .16);

  --container: 1180px;
  --edge: clamp(20px, 5vw, 64px);
}

/* Dark mode tokens */
html.dark {
  --ink: #EEF2FA;
  --ink-soft: #C4CEDD;
  --muted: #8A97AC;
  --line: #1D2A3F;
  --paper: #070D18;
  --paper-alt: #0D1626;
  --white: #0F1A2C;
  --blue-100: #122542;
  --orange-100: #2A1D10;
  --green-100: #0F2A1B;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, .45);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, .55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  transition: background .35s ease, color .35s ease;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.zoomable-image {
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}

.zoomable-image:hover {
  transform: scale(1.02);
}

.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 10, 20, .72);
  backdrop-filter: blur(6px);
}

.zoom-overlay.hidden {
  display: none;
}

.zoom-panel {
  position: relative;
  width: min(92vw, 900px);
  max-height: min(84vh, 760px);
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.zoom-panel img {
  max-width: 100%;
  max-height: min(70vh, 620px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

.zoom-caption {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

.zoom-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.01em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--edge);
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-alt {
  background: var(--paper-alt);
}

/* ---- Eyebrow / tag ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-100);
  border: 1px solid var(--blue-300);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

html.dark .tag {
  color: var(--blue-300);
  border-color: var(--blue-700);
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  flex: none;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.grad-text {
  background: var(--ribbon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(.97);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--blue-500);
  color: var(--blue-500);
}

.btn-ribbon {
  background: var(--ribbon);
  color: #fff;
  background-size: 160% 160%;
}

.btn-ribbon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background-position: 80% 20%;
}

.btn-sm {
  padding: 10px 18px;
  font-size: .85rem;
}

.btn svg,
.btn img {
  width: 18px;
  height: 18px;
  flex: none;
  object-fit: contain;
}

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .35s ease, border-color .35s ease, padding .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
  padding-block: 11px;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
}

.brand .mark {
  width: 36px;
  height: 36px;
  flex: none;
  object-fit: cover;
  border-radius: 8px;
}

.brand-word {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: inherit;
}

.brand-letter {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: inherit;
}

.brand-letter.k {
  color: #3B8AA9;
}

.brand-letter.i {
  color: #D55F21;
}

.brand-letter.m {
  color: #158C4A;
}

.brand-letter.o {
  color: #027DB6;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(135deg, rgba(59, 138, 169, 0.12), rgba(2, 125, 182, 0.16));
  color: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(59, 138, 169, 0.24), 0 0 0 4px rgba(59, 138, 169, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: border-color .2s;
}

.theme-toggle:hover {
  border-color: var(--blue-500);
}

.theme-toggle svg,
.theme-toggle img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.icon-sun {
  display: none;
}

html.dark .icon-moon {
  display: none;
}

html.dark .icon-sun {
  display: block;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg,
.nav-toggle img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ==== Responsive nav ==== */
@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    inset: 74px 14px auto 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: clamp(120px, 16vw, 180px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
}

.hero-copy p {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-visual svg,
.hero-visual img,
.illustration {
  width: 100%;
  height: auto;
  display: block;
}

.hero-fiche {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-fiche div {
  min-width: 140px;
}

.hero-fiche .k {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-fiche .v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  z-index: -1;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card .ic {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  object-fit: contain;
  display: block;
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
}

.fold-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border-radius: 0 var(--r-md) 0 0;
}

.fold-corner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: var(--ribbon);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: .85;
}

/* ---- Grids ---- */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width:980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:640px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

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

.reveal-stagger.in .stagger-item {
  transition-delay: calc(var(--i) * 70ms);
}

/* ---- Stats ---- */
.stats-strip {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 52px var(--edge);
  color: var(--paper);
}

html.dark .stats-strip {
  background: var(--paper-alt);
  border: 1px solid var(--line);
}

.stats-strip .grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.stat span {
  display: block;
  color: #9AA8C0;
  font-size: .85rem;
  margin-top: 6px;
}

html.dark .stat span {
  color: var(--muted);
}

@media (max-width:760px) {
  .stats-strip .grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }
}

/* ---- Timeline / steps ---- */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.tl-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding-bottom: 44px;
  position: relative;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 52px;
  bottom: -10px;
  width: 1px;
  background: var(--line);
}

.tl-item:last-child::before {
  display: none;
}

.tl-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-700);
  flex: none;
  z-index: 1;
  font-size: 1.1rem;
}

.tl-body h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.tl-body p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
  max-width: 640px;
}

/* ---- Sector cards with photo ---- */
.sector-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.sector-card .thumb {
  aspect-ratio: 16/10;
  background: var(--paper-alt);
  position: relative;
  overflow: hidden;
}

.sector-card .body {
  padding: 22px;
}

.sector-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.sector-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

/* ---- Feature list icon row ---- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.feat-item {
  background: var(--white);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feat-item .ic {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.feat-item span {
  font-weight: 600;
  font-size: .92rem;
}

/* ---- Testimonial slider ---- */
.slider {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.slides {
  position: relative;
  min-height: 280px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}

.slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  margin: 0 0 26px;
  font-weight: 500;
}

.slide .who {
  display: flex;
  align-items: center;
  gap: 14px;
}

.slide .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: none;
}

.slide .who b {
  display: block;
  font-size: .95rem;
}

.slide .who span {
  color: var(--muted);
  font-size: .85rem;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  transition: background .25s, transform .25s;
}

.dot.active {
  background: var(--blue-500);
  transform: scale(1.3);
}

.slider-arrows {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: -56px;
  right: -56px;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-arrows button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrows svg,
.slider-arrows img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

@media (max-width:860px) {
  .slider-arrows {
    display: none;
  }
}

/* ---- FAQ accordion ---- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
  gap: 20px;
}

.faq-q .plus {
  width: 22px;
  height: 22px;
  flex: none;
  position: relative;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink-soft);
  transition: transform .3s ease;
}

.faq-q .plus::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-q .plus::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 1.5px;
  transform: translateX(-50%);
}

.faq-item.open .plus::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a p {
  color: var(--muted);
  padding: 0 4px 24px;
  line-height: 1.65;
  max-width: 660px;
}

/* ---- Contact form ---- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

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

/* ---- Download / QR ---- */
.download-box {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(36px, 6vw, 64px);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

html.dark .download-box {
  background: var(--paper-alt);
  border: 1px solid var(--line);
}

.store-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  padding: 12px 20px;
}

html.dark .store-btn {
  background: var(--white);
  border-color: var(--line);
}

.store-btn svg,
.store-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.store-btn small {
  display: block;
  font-size: .68rem;
  opacity: .75;
}

.store-btn b {
  display: block;
  font-size: 1rem;
  font-family: var(--font-display);
}

.qr-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 22px;
  text-align: center;
  color: var(--ink);
}

.qr-card svg {
  width: 100%;
  max-width: 180px;
  margin: 0 auto 12px;
}

.qr-card b {
  display: block;
  font-size: .85rem;
}

.qr-card span {
  color: var(--muted);
  font-size: .78rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: #C6D0E2;
  padding: 72px 0 28px;
}

html.dark .site-footer {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

html.dark .footer-grid {
  border-color: var(--line);
}

.footer-grid h4 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

html.dark .footer-grid h4 {
  color: var(--ink);
}

.footer-grid a,
.footer-grid li {
  color: #98A5BD;
  font-size: .92rem;
}

html.dark .footer-grid a,
html.dark .footer-grid li {
  color: var(--muted);
}

.footer-grid li {
  margin-bottom: 12px;
}

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

html.dark .footer-grid a:hover {
  color: var(--ink);
}

.foot-brand p {
  color: #98A5BD;
  font-size: .92rem;
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 280px;
}

html.dark .foot-brand p {
  color: var(--muted);
}

.foot-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .9rem;
}

.foot-contact svg,
.foot-contact img {
  width: 16px;
  height: 16px;
  flex: none;
  object-fit: contain;
  border-radius: 4px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: .82rem;
  color: #7C8AA5;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-social {
  display: flex;
  gap: 10px;
}

.foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
}

html.dark .foot-social a {
  border-color: var(--line);
}

.foot-social svg,
.foot-social img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 4px;
}

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

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

/* ---- CTA banner ---- */
.cta-banner {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(48px, 7vw, 88px) var(--edge);
  text-align: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

html.dark .cta-banner {
  background: var(--paper-alt);
  border: 1px solid var(--line);
}

.cta-banner h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner p {
  max-width: 560px;
  margin: 18px auto 0;
  color: #AAB6CC;
}

html.dark .cta-banner p {
  color: var(--muted);
}

.cta-banner .hero-actions {
  justify-content: center;
  margin-top: 32px;
}

.cta-banner .btn-ghost {
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}

html.dark .cta-banner .btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.cta-ribbon-line {
  position: absolute;
  inset: 0;
  background: var(--ribbon);
  opacity: .12;
  pointer-events: none;
}

/* ---- misc ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width:900px) {

  .two-col,
  .hero-grid,
  .download-box {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 999px;
  font-size: .87rem;
}

.badge-list li svg,
.badge-list li img {
  width: 15px;
  height: 15px;
  flex: none;
  object-fit: contain;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.doc-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px;
  font-size: .88rem;
  font-weight: 500;
}

.doc-chip svg,
.doc-chip img {
  width: 22px;
  height: 22px;
  flex: none;
  object-fit: contain;
}

/* ---- Sector detail rows (page Secteurs) ---- */
.sector-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 40px);
  margin-bottom: 22px;
}

.sector-main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.sector-detail .icon-tile {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.sector-detail .icon-tile img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.sector-detail .num {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.sector-detail h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.sector-detail p.desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 720px;
}

.sector-detail .badge-list li {
  background: var(--paper-alt);
}

.sector-detail .sector-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-alt);
}

.sector-detail .sector-visual img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
}

.sector-detail .sector-visual-caption {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width:900px) {
  .sector-detail {
    grid-template-columns: 1fr;
  }

  .sector-detail .sector-visual {
    order: -1;
  }
}

@media (max-width:700px) {
  .sector-main {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sector-detail .icon-tile {
    margin-bottom: 4px;
  }

  .sector-detail .sector-visual img {
    height: 160px;
  }
}

.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
  pointer-events: none;
}

.loader-overlay.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 64px;
  height: 64px;
  animation: spin 1.1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}