/* ═══════════════════════════════════════════════════════
   PLACERO — Site Vitrine
   Stack : HTML/CSS/JS vanilla | Fonts : DM Sans + Inter
═══════════════════════════════════════════════════════ */

/* ── Polices auto-hébergées (RGPD + LCP) ── */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/inter-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Variables ── */
:root {
  --orange:      #FF8A27;
  --orange-deep: #F55A24;
  --orange-lt:   #FFB870;
  --orange-pale: #FFF4EA;
  --cream:       #FBF8F3;
  --dark:        #1A0F05;
  --dark-2:      #2D1A08;
  --muted:       #6B7280;
  --border:      #E8E0D8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.09);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.13);

  --nav-h: 68px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 18px rgba(255,138,39,.35);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--orange-lt), var(--orange-deep));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
  filter: blur(8px);
}
.btn-primary:hover::before { opacity: 0.7; }
.btn-primary:hover {
  background: var(--orange-deep);
  box-shadow: 0 6px 24px rgba(255,138,39,.45);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--cream); border-color: var(--orange-lt); }

.btn-white {
  background: #fff;
  color: var(--orange-deep);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--orange-pale); }

.btn-lg { padding: 13px 26px; font-size: 16px; }

/* ── Section headers ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin-inline: auto;
}
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,.75); }

.section-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: var(--orange-pale);
  border: 1.5px solid rgba(255,138,39,.3);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.section-badge.light {
  color: #fff;
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
}

.gradient-text {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-h);
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-icon { width: 32px; height: 32px; }
.nav-logo-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--dark); background: var(--cream); }

.nav-cta { margin-left: auto; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  padding: 16px clamp(20px, 5vw, 48px) 24px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.nav-mobile a:hover { background: var(--cream); }
.nav-mobile .btn { margin-top: 8px; width: 100%; justify-content: center; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 48px;
  background: var(--cream);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,138,39,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,138,39,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,138,39,.22), transparent 70%);
  top: -120px; right: -60px;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(245,90,36,.15), transparent 70%);
  bottom: -80px; left: 5%;
}
.hero-orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,184,112,.12), transparent 70%);
  top: 40%; left: -40px;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, -30px) scale(1.08); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.hero-content { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-deep);
  background: rgba(255,138,39,.12);
  border: 1.5px solid rgba(255,138,39,.3);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}

.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}
.stat span { font-size: 13px; color: var(--muted); font-weight: 500; }

.stat-bce strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #1A1A6E;
  letter-spacing: 0.05em;
}


.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero visual wrapper */
.hero-visual {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

/* ── Desktop mockup shell ── */
.mockup-shell {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.06);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transition: transform .4s;
}
.mockup-shell:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.mockup-shell { flex: 1; min-width: 0; }

/* ── App layout inside desktop mockup ── */
.app-layout {
  display: flex;
  height: 320px;
  overflow: hidden;
  background: var(--cream);
}

/* Sidebar */
.app-sidebar {
  width: 140px;
  flex-shrink: 0;
  background: #1B1F3A;
  display: flex;
  flex-direction: column;
  padding: 10px 0 8px;
}
.app-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 6px;
}
.app-sidebar-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.app-sidebar-sub {
  font-size: 7px;
  color: rgba(255,255,255,.35);
  letter-spacing: .04em;
  margin-top: 2px;
}
.app-sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 6px;
}
.app-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255,255,255,.55);
  padding: 5px 7px;
  border-radius: 5px;
  cursor: default;
}
.app-nav-item.active {
  background: rgba(255,138,39,.2);
  color: var(--orange-lt);
  font-weight: 600;
}
.app-sidebar-user {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 4px;
}
.app-user-avatar {
  width: 22px; height: 22px;
  background: var(--orange);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-user-name { font-size: 9px; font-weight: 600; color: rgba(255,255,255,.8); }
.app-user-role { font-size: 8px; color: rgba(255,255,255,.35); }

/* Main content */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  overflow: hidden;
}
.app-main-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--orange);
}
.app-main-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}
.app-main-date { font-size: 9px; color: var(--muted); margin-top: 2px; }

.app-bilan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
}
.app-bilan-label { font-size: 8px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 3px; }
.app-bilan-amount {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.app-bilan-amount span { font-size: 11px; font-weight: 400; color: var(--muted); }
.app-bilan-sub { font-size: 9px; color: var(--muted); margin-top: 2px; }

.app-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  padding: 8px 10px;
  position: relative;
}
.app-stat-label { font-size: 8px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.app-stat-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.app-stat-icon {
  position: absolute;
  top: 8px; right: 10px;
  color: var(--orange-lt);
  opacity: .7;
}

.app-tables-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.app-table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  overflow: hidden;
}
.app-table-header {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 7px;
}
.app-table-link { color: var(--orange); cursor: default; }

.app-tx-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  font-size: 9px;
}
.app-tx-row:last-child { border-bottom: none; }
.app-tx-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.app-tx-dot.orange { background: var(--orange); }
.app-tx-name { flex: 1; color: var(--dark); }
.app-tx-amount { font-weight: 700; color: var(--dark); flex-shrink: 0; }

.app-city-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 9px;
}
.app-city-row:last-child { border-bottom: none; }
.app-city-icon {
  width: 20px; height: 20px;
  background: var(--orange-pale);
  color: var(--orange);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-city-info { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.app-city-info span:first-child { font-weight: 600; color: var(--dark); }
.app-city-sub { color: var(--muted); }
.app-city-count { font-size: 9px; color: var(--muted); flex-shrink: 0; }

/* ── Phone mockup ── */
.phone-mockup {
  flex-shrink: 0;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.22));
}
.phone-shell {
  width: 136px;
  background: #1B1F3A;
  border-radius: 22px;
  padding: 12px 8px 14px;
  border: 2px solid #2E3460;
  box-sizing: border-box;
}
.phone-notch {
  width: 40px;
  height: 6px;
  background: #0F1228;
  border-radius: 4px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: #F5EFE8;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}
.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1B1F3A;
  padding: 8px 8px 7px;
  width: 100%;
  box-sizing: border-box;
}
.phone-app-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.phone-app-date { font-size: 7px; color: rgba(255,255,255,.45); margin-top: 1px; }

.phone-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 8px 8px;
}
.phone-alert {
  background: rgba(255,138,39,.12);
  border: 1px solid rgba(255,138,39,.3);
  border-radius: 6px;
  padding: 5px 7px;
}
.phone-alert-title { font-size: 8px; font-weight: 700; color: var(--orange-deep); }
.phone-alert-sub { font-size: 7px; color: var(--muted); margin-top: 1px; }

.phone-scanner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 7px;
  padding: 7px 4px;
  width: 100%;
  box-sizing: border-box;
}

.phone-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
}
.phone-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 7px;
  color: var(--dark);
  font-weight: 500;
}
.phone-quick-icon {
  width: 28px; height: 28px;
  background: rgba(255,138,39,.12);
  color: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-quick-icon.green { background: #f0fdf4; color: #16a34a; }
.phone-quick-icon.blue  { background: #eff6ff; color: #2563eb; }

.phone-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
}
.phone-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.phone-stat-val { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; color: var(--dark); }
.phone-stat-label { font-size: 6px; color: var(--muted); text-align: center; }

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F4F4F4;
  padding: 10px 14px;
  border-bottom: 1px solid #E5E5E5;
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ccc;
}
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28C840; }
.mockup-url {
  margin-left: 8px;
  font-size: 11px;
  color: #888;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  padding: 3px 12px;
}

.mockup-screen { padding: 0; }

/* ══════════════════════════════════════
   LOGOS STRIP
══════════════════════════════════════ */
.logos-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  padding: 20px 0;
}
.logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   CERTIFICATIONS STRIP
══════════════════════════════════════ */
.certifications-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.certifications-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.certifications-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cert-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  max-width: 140px;
}

/* Badge officiel W3C — juste l'image */
.cert-badge-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: #F8FAFF;
  border: 1px solid #DBEAFE;
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
  height: 46px;
}
.cert-badge-link:hover {
  border-color: #93C5FD;
  box-shadow: 0 2px 8px rgba(37,99,235,.12);
}
.cert-badge-link img {
  display: block;
  height: 31px;
  width: auto;
}

/* Badges cohérents pour RGPD, BCE, Belge */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  height: 46px;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid;
  white-space: nowrap;
}
.cert-badge svg {
  flex-shrink: 0;
  display: block;
}
.cert-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.cert-badge-text b {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.cert-badge-text small {
  font-size: 10px;
  font-weight: 500;
  opacity: .65;
  line-height: 1;
}
.cert-badge b {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.cert-badge-rgpd {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #166534;
}
.cert-badge-bce {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #3730A3;
}
.cert-badge-be {
  background: var(--orange-pale);
  border-color: rgba(255,138,39,.3);
  color: var(--dark);
  gap: 8px;
}
.cert-badge-be .be-flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .certifications-grid { gap: 20px; }
  .cert-label { font-size: 10px; max-width: 110px; }
}

/* ══════════════════════════════════════
   FEATURES
══════════════════════════════════════ */
.features {
  padding: 96px 0;
  background: #fff;
}

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

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: #fff;
  position: relative;
  background-clip: padding-box;
  transition: border-color .25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow .25s ease,
              transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--radius-lg) + 1.5px);
  background: linear-gradient(135deg, var(--orange-lt), var(--orange-deep));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: -1;
}
.feature-card:hover::after { opacity: 1; }
.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon-wrap {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feature-icon-wrap.orange { background: var(--orange-pale); color: var(--orange); }
.feature-icon-wrap.amber  { background: #FFF7ED; color: #D97706; }
.feature-icon-wrap.green  { background: #F0FDF4; color: #16A34A; }
.feature-icon-wrap.blue   { background: #EFF6FF; color: #2563EB; }
.feature-icon-wrap.purple { background: #F5F3FF; color: #7C3AED; }
.feature-icon-wrap.red    { background: #FFF1F2; color: #E11D48; }

.feature-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feature-list li {
  font-size: 13px;
  color: var(--dark);
  padding-left: 16px;
  position: relative;
  font-weight: 500;
}
/* Feature card pleine largeur (BCE) */
.feature-card-wide {
  grid-column: 1 / -1;
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 32px 36px;
}
.feature-card-wide-inner {
  flex: 1;
  display: flex;
  gap: 32px;
}
.feature-card-wide-inner > div:first-child { flex: 1; }
.feature-card-wide-inner .feature-list { flex-shrink: 0; width: 260px; justify-content: center; }

.feature-icon-wrap.bce { background: #EEF2FF; color: #3730A3; }

/* BCE visual block */
.bce-badge-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 220px;
}
.bce-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1A1A6E;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
}
.bce-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #FFD700;
  line-height: 1;
}
.bce-logo-sub {
  font-size: 9px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
  text-transform: uppercase;
}
.bce-example {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.bce-field { display: flex; flex-direction: column; gap: 2px; }
.bce-label { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bce-value { font-size: 12px; font-weight: 600; color: var(--dark); }
.bce-status {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  width: fit-content;
}
.bce-status.active { background: #dcfce7; color: #16a34a; }
.bce-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #3730A3;
  background: #EEF2FF;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  cursor: default;
  margin-top: 2px;
  width: fit-content;
}

@media (max-width: 1024px) {
  .feature-card-wide { flex-direction: column; }
  .feature-card-wide-inner { flex-direction: column; }
  .feature-card-wide-inner .feature-list { width: 100%; }
  .bce-badge-block { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .bce-logo-wrap { flex: 1; min-width: 140px; }
  .bce-example { flex: 1; min-width: 200px; }
}
@media (max-width: 768px) {
  .bce-badge-block { flex-direction: column; }
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

/* ══════════════════════════════════════
   MODULES
══════════════════════════════════════ */
.modules {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,138,39,0.15);
}
.modules::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,138,39,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,138,39,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Grain texture premium sur sections sombres */
.modules::after, .cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

/* Contenu au-dessus du grain */
.modules .container, .cta-section .cta-inner { position: relative; z-index: 2; }

.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
}

.module-card {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: border-color .25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow .25s ease,
              background .25s ease,
              transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(8px);
}
.module-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,138,39,.4);
  transform: translateY(-4px);
}
.module-card-accent {
  background: rgba(255,138,39,.12);
  border-color: rgba(255,138,39,.35);
}
.module-card-accent:hover { border-color: var(--orange); }

.module-icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}
.module-icon.accent { background: rgba(255,138,39,.25); color: var(--orange-lt); }

.module-badge {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
}
.module-badge.accent { color: var(--orange-lt); }

.module-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}
.module-card p {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 28px;
}

.module-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.module-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.module-features li svg { color: var(--orange); flex-shrink: 0; }

/* ══════════════════════════════════════
   SECURITY
══════════════════════════════════════ */
.security {
  padding: 96px 0;
  background: var(--cream);
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.security-text .section-badge { margin-bottom: 16px; }
.security-text h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.security-text > p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
}

.security-items { display: flex; flex-direction: column; gap: 24px; }
.security-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.security-item-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--orange-pale);
  color: var(--orange-deep);
  flex-shrink: 0;
}
.security-item strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.security-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Security visual */
.security-visual { display: flex; flex-direction: column; gap: 16px; }

.sec-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sec-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}

.sec-log-row {
  display: grid;
  grid-template-columns: 70px 90px 1fr 64px;
  gap: 8px;
  align-items: center;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 12px;
  font-family: 'Fira Mono', 'Consolas', monospace;
}
.sec-log-row:last-child { border-bottom: none; }
.sec-log-time { color: rgba(255,255,255,.35); }
.sec-log-user { color: var(--orange-lt); }
.sec-log-action { color: rgba(255,255,255,.75); }
.sec-log-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 7px;
  border-radius: 999px;
  text-align: center;
}
.sec-log-badge.ok { background: rgba(22,163,74,.2); color: #4ade80; }
.sec-log-badge.warn { background: rgba(220,38,38,.2); color: #f87171; }

.sec-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sec-badge-pill {
  background: var(--orange-pale);
  color: var(--orange-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,138,39,.3);
}

/* ══════════════════════════════════════
   DEPLOYMENT
══════════════════════════════════════ */
.deployment {
  padding: 96px 0;
  background: #fff;
}

.deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.deploy-terminal {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1E1E1E;
  padding: 10px 14px;
}
.terminal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.terminal-dot.red    { background: #FF5F57; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green  { background: #28C840; }
.terminal-title {
  margin-left: 8px;
  font-size: 12px;
  color: #888;
  font-family: 'Fira Mono', monospace;
}
.terminal-body {
  background: #0D1117;
  padding: 24px;
  margin: 0;
  overflow-x: auto;
}
.terminal-body code {
  font-family: 'Fira Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.9;
  color: #C9D1D9;
  white-space: pre;
}
.t-comment { color: #6A737D; }
.t-cmd { color: var(--orange-lt); font-weight: 600; }
.t-success { color: #56D364; }
.t-out { color: #8B949E; }
.t-url { color: #58A6FF; }

.deploy-specs h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.spec-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.spec-item {
  display: flex;
  gap: 14px;
  align-items: center;
}
.spec-icon {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-pale);
  color: var(--orange);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.spec-item strong { display: block; font-size: 14px; font-weight: 700; }
.spec-item span { font-size: 13px; color: var(--muted); }

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.included-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}
.included-item svg { color: var(--orange); flex-shrink: 0; }

/* ══════════════════════════════════════
   MISE EN SERVICE — STEPS
══════════════════════════════════════ */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
  justify-content: center;
}

.step-card {
  flex: 1;
  max-width: 300px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: border-color .25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow .25s ease,
              transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step-card:hover {
  border-color: var(--orange-lt);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: 16px;
}

.step-icon {
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-pale);
  color: var(--orange);
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
}

.step-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.step-connector {
  color: var(--orange-lt);
  padding: 0 12px;
  flex-shrink: 0;
}

.compat-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.compat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
}
.compat-item svg { color: var(--orange); flex-shrink: 0; }

@media (max-width: 768px) {
  .steps-grid { flex-direction: column; align-items: stretch; }
  .step-card { max-width: 100%; }
  .step-connector { transform: rotate(90deg); padding: 4px 0; }
}

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-section {
  padding: 96px 0;
  background: var(--cream);
}

.faq-grid {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: #fff;
  transition: border-color .2s;
}
.faq-item:has(.faq-q[aria-expanded="true"]) {
  border-color: var(--orange-lt);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  transition: background .15s;
}
.faq-q:hover { background: var(--cream); }
.faq-q[aria-expanded="true"] { color: var(--orange-deep); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform .25s;
  color: var(--muted);
}
.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--orange);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  padding: 0 24px;
}
.faq-a.open {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-a p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-a code {
  font-family: 'Fira Mono', 'Consolas', monospace;
  font-size: 13px;
  background: var(--orange-pale);
  color: var(--orange-deep);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange-deep) 0%, var(--orange) 60%, #FFAA55 100%);
  padding: 100px 0;
  text-align: center;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta-orb-1 {
  width: 400px; height: 400px;
  background: rgba(255,255,255,.15);
  top: -100px; left: -80px;
}
.cta-orb-2 {
  width: 300px; height: 300px;
  background: rgba(245,90,36,.4);
  bottom: -80px; right: -40px;
}

.cta-inner { position: relative; }

.cta-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.cta-logo img {
  filter: brightness(0) invert(1);
  opacity: .9;
}

.cta-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 680px;
  margin-inline: auto;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 36px;
}
.cta-actions { display: flex; justify-content: center; }
.cta-version {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

/* ── Drapeau belge ── */
.be-flag,
.be-flag-lg {
  display: inline-flex;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}
.be-flag {
  width: 18px;
  height: 13px;
}
.be-flag-lg {
  width: 22px;
  height: 16px;
}
.be-flag::before,  .be-flag::after,
.be-flag-lg::before, .be-flag-lg::after {
  content: '';
  display: block;
  flex: 1;
}
/* Noir | Jaune | Rouge — 3 bandes verticales */
.be-flag,
.be-flag-lg {
  background: linear-gradient(to right,
    #1B1B1B 0% 33.3%,
    #FAE042 33.3% 66.6%,
    #EF3340 66.6% 100%
  );
}

.stat-belgium strong {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-belgium {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  padding-top: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand .nav-logo-name { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 340px; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.footer-col a:hover { color: var(--orange-lt); }

.footer-bottom {
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* ══════════════════════════════════════
   ANIMATIONS — Scroll-driven (2026)
══════════════════════════════════════ */
@keyframes fade-slide-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-driven animations natives */
@supports (animation-timeline: view()) {
  [data-animate] {
    animation: fade-slide-up 0.5s ease forwards;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
  }
}

/* Fallback pour navigateurs sans support animation-timeline */
@supports not (animation-timeline: view()) {
  [data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
  }
  [data-animate].visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .security-inner { grid-template-columns: 1fr; }
  .security-visual { order: -1; }
  .deploy-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  .sec-log-row { grid-template-columns: 60px 1fr 52px; }
  .sec-log-user { display: none; }

  .hero-stats { gap: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }
  .included-grid { grid-template-columns: 1fr; }
  .dash-kpi-row { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════
   PAGE 404 & MERCI
══════════════════════════════════════ */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--cream);
}
.error-inner {
  text-align: center;
  padding: 80px 0;
}
.error-code {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(80px, 18vw, 160px);
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
  opacity: .12;
  margin-bottom: -16px;
  letter-spacing: -0.05em;
  user-select: none;
}
.error-icon { margin: 0 auto 24px; }
.error-page h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.error-page p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 420px;
  margin-inline: auto;
}
.merci-check {
  width: 80px; height: 80px;
  background: #F0FDF4;
  border: 2px solid #BBF7D0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #16A34A;
}

/* ══════════════════════════════════════
   PAGE CONTACT
══════════════════════════════════════ */
.contact-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: calc(var(--nav-h) + 56px) 0 44px;
  margin-bottom: 56px;
}
.contact-hero .section-badge { margin-bottom: 12px; }
.contact-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 10px;
}
.contact-hero p { font-size: 17px; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  padding-bottom: 96px;
}

/* Formulaire */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group-full { grid-column: 1 / -1; }

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.form-group label span[aria-hidden="true"] { color: var(--orange-deep); margin-left: 2px; }

.form-group input,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #C4C9D4; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,138,39,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--orange);
}
.checkbox-label a { color: var(--orange-deep); text-decoration: underline; }

.field-error { font-size: 12px; color: #EF4444; min-height: 16px; }
.btn-submit { width: 100%; justify-content: center; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }

/* Aside contact */
.contact-info-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.contact-info-card h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 12px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item svg { color: var(--orange); flex-shrink: 0; }
.contact-info-item a { color: var(--orange-deep); }
.contact-info-item a:hover { text-decoration: underline; }

.contact-guarantees {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}
.guarantee-item svg { color: var(--orange); flex-shrink: 0; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-aside { order: -1; }
}

/* ══════════════════════════════════════
   PAGES LÉGALES
══════════════════════════════════════ */
.legal-page {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 96px;
  min-height: 80vh;
}

.legal-hero {
  padding: 48px 0 40px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.legal-hero .section-badge { margin-bottom: 12px; }

.legal-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 8px;
}

.legal-hero p {
  font-size: 16px;
  color: var(--muted);
}

.legal-content {
  max-width: 760px;
  margin-inline: auto;
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-section h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.legal-section p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.legal-section ul li {
  font-size: 15px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.legal-section a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-section a:hover { color: var(--orange); }

.legal-contact-card {
  background: var(--orange-pale);
  border: 1.5px solid rgba(255,138,39,.25);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.legal-contact-card svg { color: var(--orange); flex-shrink: 0; }
.legal-contact-card strong { display: block; font-size: 15px; font-weight: 700; color: var(--dark); }
.legal-contact-card span { font-size: 14px; color: var(--muted); }

.legal-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: #F3F4F6;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 32px;
}

/* Bouton retour pages légales */
.legal-back {
  max-width: 760px;
  margin-inline: auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* Footer legal links */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}
.footer-legal-links a {
  color: rgba(255,255,255,.45);
  transition: color .15s;
}
.footer-legal-links a:hover { color: var(--orange-lt); }
.footer-legal-links span { opacity: .4; }

@media (max-width: 768px) {
  .footer-bottom .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .legal-contact-card { flex-direction: column; text-align: center; }
}

