/* ============================================
   CyberAccesData Inc — Feuille de style globale
   cyberaccesdata.com
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=DM+Serif+Display&display=swap');

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

:root {
  --navy: #0f1e35;
  --navy-mid: #1a3050;
  --accent: #1d9e75;
  --accent-light: #e1f5ee;
  --accent-mid: #0f6e56;
  --text: #0f1e35;
  --muted: #5f6b7a;
  --border: rgba(15, 30, 53, 0.12);
  --bg: #f7f6f2;
  --white: #ffffff;
  --error: #e24b4a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ---- NAV ---- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 72px;
}
.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 18px; color: var(--navy); letter-spacing: -0.02em;
  text-decoration: none;
}
.logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 32px; }
nav ul a {
  text-decoration: none; font-size: 14px;
  color: var(--muted); transition: color 0.2s;
}
nav ul a:hover { color: var(--navy); }
nav ul a.active { color: var(--navy); font-weight: 500; }

/* ---- BOUTONS ---- */
.btn {
  display: inline-block; padding: 10px 24px; border-radius: 6px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none; transition: all 0.2s; border: none;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-mid); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-mid); }
.btn-lg { font-size: 15px; padding: 14px 32px; }
.btn-block { width: 100%; text-align: center; display: block; }

/* ---- TYPOGRAPHIE COMMUNE ---- */
.section-label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 14px;
}
.section-label.light { color: #5dcaa5; }

h1, h2, h3 { font-family: 'DM Serif Display', serif; font-weight: 400; letter-spacing: -0.02em; }

/* ---- HERO COMMUN ---- */
.hero {
  background: var(--navy); color: #fff;
  padding: 72px 5% 64px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 46px); line-height: 1.15;
  margin-bottom: 16px; max-width: 640px;
}
.hero p {
  font-size: 17px; color: rgba(255,255,255,0.68);
  max-width: 560px; line-height: 1.8;
}

/* ---- FOOTER ---- */
footer {
  background: var(--navy); color: rgba(255,255,255,0.4);
  text-align: center; padding: 24px 5%; font-size: 13px;
}
footer a { color: rgba(255,255,255,0.55); text-decoration: none; }
footer a:hover { color: #fff; }

/* ---- UTILITAIRES ---- */
.check-icon {
  width: 18px; height: 18px; background: var(--accent-light);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.check-icon::after {
  content: ''; width: 6px; height: 4px;
  border-left: 1.5px solid var(--accent-mid);
  border-bottom: 1.5px solid var(--accent-mid);
  transform: rotate(-45deg) translateY(-1px); display: block;
}
