/* ============================================================
   DVI Access — feuille de style principale
   ============================================================ */

:root {
  --navy: #071630;
  --navy-2: #0d2354;
  --blue: #123a7a;
  --cyan: #17c3d6;
  --cyan-dark: #0e9aab;
  --orange: #f5a623;
  --light: #f4f8fb;
  --white: #ffffff;
  --gray: #5c6b7a;
  --gray-light: #e7edf3;
  --text: #1b2733;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 22, 48, 0.12);
  --shadow-lg: 0 20px 50px rgba(7, 22, 48, 0.22);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--gray); }

a { color: var(--cyan-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--orange); }

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

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

.section {
  padding: 72px 0;
}

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

.section--dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 100%);
  color: var(--white);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #cfe0ee; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  display: inline-block;
}
.section--dark .eyebrow { color: var(--cyan); }

/* -------------------- Header / Nav -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 22, 48, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.brand:hover { color: var(--white); }
.brand .brand-mark { width: 34px; height: 34px; }
.brand .brand-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 2px;
}
.brand-logo {
  background: var(--white);
  padding: 8px 14px;
  border-radius: 10px;
  line-height: 0;
  display: inline-flex;
  align-items: center;
}
.brand-logo-img { height: 34px; width: auto; display: block; }
.footer-brand .brand-logo { display: inline-flex; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #dbe6f0;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a.active,
.nav-links a:hover { color: var(--cyan); }

.nav-cta {
  background: var(--orange);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
}
.nav-cta:hover { background: var(--white); color: var(--navy) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
}

/* -------------------- Hero -------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(23,195,214,0.25), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(245,166,35,0.15), transparent 45%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.1rem; color: #cfe0ee; max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { color: var(--navy); box-shadow: 0 10px 24px rgba(245,166,35,0.35); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { color: var(--white); box-shadow: 0 10px 24px rgba(7,22,48,0.3); }

/* -------------------- Page hero (inner pages) -------------------- */

.page-hero {
  padding: 64px 0 56px;
}
.page-hero .lead { max-width: 60ch; }

/* -------------------- Cards / Grids -------------------- */

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}
.card ul { padding-left: 1.1em; color: var(--gray); }
.card li { margin-bottom: 6px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-row.reverse .feature-visual { order: 2; }
.feature-row.reverse .feature-text { order: 1; }

.feature-visual {
  background: linear-gradient(150deg, var(--light), #e5eef7);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.badge-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}
.badge-list li::before {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.stat {
  text-align: center;
  padding: 26px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.stat .num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--cyan);
}
.stat .label { font-size: 0.85rem; color: #cfe0ee; }

/* -------------------- CTA banner -------------------- */

.cta-banner {
  background: linear-gradient(120deg, var(--cyan-dark), var(--blue));
  border-radius: 24px;
  padding: 56px;
  color: var(--white);
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #e6f6f8; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* -------------------- Breadcrumb / module nav -------------------- */

.module-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.module-nav a {
  padding: 8px 16px;
  border-radius: 30px;
  background: var(--gray-light);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
}
.module-nav a.active, .module-nav a:hover { background: var(--navy); color: var(--white); }

/* -------------------- Footer -------------------- */

.site-footer {
  background: var(--navy);
  color: #b9c9d8;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-grid h4 { color: var(--white); font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: #b9c9d8; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--cyan); }
.footer-brand .brand { margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #7f93a8;
}

/* -------------------- Forms -------------------- */

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  border: 1px solid var(--gray-light);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-light);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--light);
  transition: border-color .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--white);
}
.form-row.hp { position: absolute; left: -9999px; top: -9999px; }
.form-note { font-size: 0.82rem; color: var(--gray); margin-top: -8px; }
.form-msg {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  font-weight: 600;
}
.form-msg.success { background: #e2f7ee; color: #157347; }
.form-msg.error { background: #fdecea; color: #b3261e; }

.contact-info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-list .ci-icon { width: 30px; height: 30px; flex-shrink: 0; margin-top: 2px; }

/* -------------------- Responsive -------------------- */

@media (max-width: 900px) {
  .hero-grid, .feature-row, .footer-grid { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-visual { order: 1; }
  .feature-row.reverse .feature-text { order: 2; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 24px;
    gap: 16px;
  }
  .section { padding: 52px 0; }
  .cta-banner { padding: 36px 22px; }
}
