/* ==========================================================================
   NODUSERP — one-page vitrine
   ========================================================================== */

:root{
  --navy: #041259;
  --navy-deep: #020a38;
  --blue: #3d7dd6;
  --blue-light: #6ea3ea;
  --accent: #22d3a5;
  --ink: #0b1330;
  --ink-soft: #4a5578;
  --bg: #f6f8fd;
  --surface: #ffffff;
  --border: #e4e9f6;
  --shadow: 0 20px 45px -20px rgba(4, 18, 89, 0.25);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --font: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1, h2, h3{ margin: 0; line-height: 1.15; font-weight: 700; }
p{ margin: 0; }

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

.text-gradient{
  background: linear-gradient(100deg, var(--navy) 0%, var(--blue) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow{
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
}

.noise-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(4,18,89,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-lg{ padding: 15px 30px; font-size: 1rem; }
.btn-block{ width: 100%; }
.btn-primary{
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(61, 125, 214, 0.65);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(61, 125, 214, 0.8); }
.btn-outline{
  border-color: rgba(4, 18, 89, 0.18);
  color: var(--navy);
  background: rgba(255,255,255,0.6);
}
.btn-outline:hover{ border-color: var(--navy); transform: translateY(-2px); }
.btn-ghost{ color: var(--ink); font-weight: 500; }
.btn-ghost:hover{ color: var(--blue); }

/* ---------- header ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.scrolled{
  background: rgba(246, 248, 253, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -20px rgba(4,18,89,0.4);
  padding: 12px 0;
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.nav-panel{ display: flex; align-items: center; gap: 24px; }
.logo{ display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.logo-icon{ height: 34px; width: auto; }
.logo-text span{ color: var(--blue); }

.main-nav{ display: flex; align-items: center; gap: 32px; }
.main-nav a{ font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); transition: color 0.2s ease; }
.main-nav a:hover{ color: var(--navy); }

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

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span{
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  padding: 160px 0 0;
  overflow: hidden;
}
.hero-glow{
  position: absolute;
  top: -220px; right: -160px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(61,125,214,0.28), rgba(61,125,214,0) 70%);
  filter: blur(10px);
  z-index: 0;
}
.hero-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 90px;
}
.hero-copy h1{
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--navy-deep);
}
.hero-lead{
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust{
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.hero-trust li{ position: relative; padding-left: 18px; }
.hero-trust a{ color: inherit; text-decoration: underline; text-decoration-color: rgba(4,18,89,0.3); text-underline-offset: 3px; transition: color 0.2s ease; }
.hero-trust a:hover{ color: var(--navy); }
.hero-trust li::before{
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

/* hero visual mock */
.hero-visual{ position: relative; }
.app-mock{
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.app-mock-bar{
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #eef2fb;
  border-bottom: 1px solid var(--border);
}
.app-mock-bar span{ width: 9px; height: 9px; border-radius: 50%; background: #cdd6ea; }
.app-mock-bar span:nth-child(1){ background: #ef7d7d; }
.app-mock-bar span:nth-child(2){ background: #f3c66b; }
.app-mock-bar span:nth-child(3){ background: #7fd1a1; }
.app-mock-search{
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--ink-soft);
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  border: 1px solid var(--border);
}
.app-mock-body{ display: flex; min-height: 320px; }
.app-mock-side{
  width: 58px;
  background: linear-gradient(180deg, var(--navy), var(--navy-deep));
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 18px 0;
}
.mock-side-item{
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(255,255,255,0.14);
}
.mock-side-item.active{ background: var(--blue-light); }
.app-mock-main{ flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.mock-kpi-row{ display: flex; gap: 12px; }
.mock-kpi{
  flex: 1;
  background: #f4f7fd;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.mock-kpi-label{ font-size: 0.65rem; color: var(--ink-soft); }
.mock-kpi-value{ font-size: 1rem; font-weight: 700; color: var(--navy); }
.mock-chart{
  display: flex; align-items: flex-end; gap: 8px;
  height: 90px;
  padding: 10px 4px 0;
  border-bottom: 1px solid var(--border);
}
.mock-bar{
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--blue-light), var(--blue));
}
.mock-table{ display: flex; flex-direction: column; gap: 8px; }
.mock-row{ display: flex; align-items: center; gap: 10px; }
.mock-row span{ height: 9px; border-radius: 5px; background: #e8ecf7; }
.mock-row .w40{ width: 40%; }
.mock-row .w20{ width: 20%; }
.mock-row .pill{ background: #d3f3e7; }

.floating-card{
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  animation: float 5s ease-in-out infinite;
}
.floating-card strong{ display: block; font-size: 0.82rem; color: var(--navy-deep); }
.floating-card span{ color: var(--ink-soft); }
.card-1{ left: -30px; bottom: 40px; animation-delay: 0.4s; }
.card-2{ right: -20px; top: 26px; animation-delay: 1.1s; }
.fc-icon{
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; flex-shrink: 0;
}
.fc-icon-blue{ background: linear-gradient(135deg, var(--navy), var(--blue)); }
.fc-icon-green{ background: linear-gradient(135deg, #14b98a, var(--accent)); }

@keyframes float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.logo-strip{
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
}
.logo-strip-inner{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px;
  padding: 22px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ---------- generic section ---------- */
.section{ padding: 100px 0; position: relative; z-index: 1; }
.section-alt{ background: linear-gradient(180deg, #eef2fb 0%, #f6f8fd 100%); }
.section-head{ max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy-deep); margin-bottom: 16px; }
.section-lead{ color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; }

/* ---------- features ---------- */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(61,125,214,0.35);
}
.feature-icon{
  width: 48px; height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(4,18,89,0.08), rgba(61,125,214,0.14));
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg{ width: 24px; height: 24px; }
.feature-card h3{ font-size: 1.08rem; margin-bottom: 10px; color: var(--navy-deep); }
.feature-card p{ color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; }

/* ---------- modules ---------- */
.module-grid{ display: flex; flex-direction: column; }
.module-row{
  display: flex; align-items: flex-start; gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.module-row:first-child{ border-top: 1px solid var(--border); }
.module-num{
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
  min-width: 46px;
}
.module-body h3{ font-size: 1.15rem; color: var(--navy-deep); margin-bottom: 8px; }
.module-body p{ color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; max-width: 640px; }

/* ---------- pourquoi ---------- */
.why-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.why-copy h2{ font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--navy-deep); margin-bottom: 18px; }
.why-list{ display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.why-list li{ font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; padding-left: 22px; position: relative; }
.why-list li::before{
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.why-list strong{ color: var(--navy-deep); }

.why-stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-value{
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(100deg, var(--navy), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat-label{ font-size: 0.82rem; color: var(--ink-soft); }

.compliance-note{
  margin-top: 40px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.compliance-note strong{ color: var(--navy-deep); }
.compliance-note a{ color: var(--blue); text-decoration: underline; text-decoration-color: rgba(61,125,214,0.4); text-underline-offset: 2px; }
.compliance-note a:hover{ color: var(--navy); }

/* ---------- contact ---------- */
.section-contact{
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #0a2f8f 100%);
  color: #fff;
  border-radius: 40px 40px 0 0;
}
.contact-wrap{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.section-contact .eyebrow{ color: var(--blue-light); }
.section-contact h2{ font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 16px; }
.section-contact .section-lead{ color: rgba(255,255,255,0.75); }
.contact-points{ display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.contact-point{ display: flex; flex-direction: column; gap: 2px; }
.contact-point strong{ font-size: 1rem; }
.contact-point span{ font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.contact-form{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field{ display: flex; flex-direction: column; gap: 6px; }
.form-field label{ font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.form-field input, .form-field textarea{
  background: rgba(255,255,255,0.9);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition: box-shadow 0.2s ease;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus{ box-shadow: 0 0 0 3px rgba(110,163,234,0.5); }
.hp-field{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note{ font-size: 0.85rem; color: rgba(255,255,255,0.8); min-height: 1.2em; }

/* ---------- footer ---------- */
.site-footer{ background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 34px 0; }
.footer-inner{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.footer-brand{ display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.footer-logo-img{ height: 40px; width: auto; }
.footer-nav{ display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a{ font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color 0.2s ease; }
.footer-nav a:hover{ color: #fff; }
.footer-copy{ font-size: 0.82rem; }

/* ---------- reveal animation ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; gap: 70px; }
  .hero-visual{ order: -1; max-width: 480px; margin: 0 auto; }
  .why-grid{ grid-template-columns: 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px){
  .nav-panel{ display: none; }
  .nav-toggle{ display: flex; }
  .site-header.open .nav-panel{
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 20px 24px 24px;
    gap: 20px;
    box-shadow: var(--shadow);
    border-radius: 0 0 20px 20px;
  }
  .site-header.open .main-nav{
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .site-header.open .header-actions{
    flex-direction: column;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 760px){
  .hero{ padding-top: 130px; }
  .feature-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .card-1, .card-2{ display: none; }
  .section{ padding: 70px 0; }
}
