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

:root {
  --bg: #ffffff;
  --bg2: #f8f9fc;
  --bg3: #f0f3f9;
  --accent: #1a56db;
  --accent-dark: #1040a8;
  --accent-light: #e8effe;
  --text: #0f1623;
  --text2: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg { width: 20px; height: 20px; }

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.3px;
  color: var(--text);
}

.logo-text span { color: var(--accent); }

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

nav a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-dark) !important; color: #fff !important; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 5% 60px;
  gap: 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 52%;
  height: 100%;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8effe 100%);
  z-index: 0;
  clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 1.5rem;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2rem;
}

.hero-trust svg { color: #22c55e; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(26,86,219,0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,86,219,0.4);
}

.btn-secondary {
  border: 1.5px solid var(--border);
  color: var(--text2);
  padding: 0.85rem 2rem;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

/* ── HERO VISUAL ── */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.hero-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.hero-card-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-icon svg { width: 22px; height: 22px; color: var(--accent); }

.hero-card-title { font-weight: 600; font-size: 0.95rem; }
.hero-card-sub { font-size: 0.8rem; color: var(--muted); }

.network-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.network-node {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text2);
}

.network-node-icon {
  width: 32px; height: 32px;
  background: var(--accent-light);
  border-radius: 8px;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-node-icon svg { width: 16px; height: 16px; color: var(--accent); }

.node-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: var(--bg2);
  border-radius: 8px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.node-status:last-child { margin-bottom: 0; }

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-green 2s infinite;
}

.status-label { color: var(--text2); font-weight: 500; }
.status-value { color: var(--muted); font-size: 0.75rem; }

.hero-card-float {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.float-1 { top: -16px; right: -10px; }
.float-2 { bottom: -16px; left: -10px; }

.float-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-icon svg { width: 16px; height: 16px; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--text);
  padding: 2.5rem 5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat { text-align: center; padding: 1rem; }

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: #fff;
  line-height: 1;
}

.stat-num span { color: var(--accent); }

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
  margin-top: 0.4rem;
}

/* ── SECTIONS ── */
section {
  position: relative;
  padding: 6rem 5%;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-sub {
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 3.5rem;
  font-size: 1rem;
}

/* ── SERVICES ── */
#services { background: var(--bg2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  cursor: default;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(26,86,219,0.2);
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg { width: 24px; height: 24px; color: var(--accent); }

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.3px;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── POURQUOI ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-items { display: flex; flex-direction: column; gap: 1.5rem; }

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.why-item:hover {
  box-shadow: var(--shadow);
  border-color: rgba(26,86,219,0.2);
}

.why-num-wrap {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}

.why-item h4 {
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: var(--text);
}

.why-item p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ── WHY VISUAL ── */
.why-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.why-stat-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-stat-icon svg { width: 28px; height: 28px; color: var(--accent); }

.why-stat-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
}

.why-stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }

/* ── ZONES ── */
#zones { background: var(--bg2); }

.zones-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.zone-tag {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  font-size: 0.875rem;
  color: var(--text2);
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.zone-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1rem; }

.contact-info-header { margin-bottom: 1rem; }
.contact-info-header h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-info-header p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }

.contact-item-icon {
  width: 40px; height: 40px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 18px; height: 18px; color: var(--accent); }
.contact-item-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.15rem; font-weight: 500; }
.contact-item-value { font-size: 0.9rem; font-weight: 500; color: var(--text); }

.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.contact-form-wrap p { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.75rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-form input,
.contact-form textarea {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
  background: #fff;
}

.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9ca3af; }

/* ── FOOTER ── */
footer {
  background: var(--text);
  padding: 2.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

footer p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
footer a:hover { color: #fff; }

.footer-logo .logo-text { color: #fff; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

.hero-content { animation: fadeUp 0.8s ease both; }
.hero-visual { animation: fadeUp 0.8s ease 0.2s both; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero::before { display: none; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav ul { display: none; }
  .stats-bar { grid-template-columns: 1fr; }
}
