:root {
      --primary: #103b5c;
      --primary-dark: #0b2b43;
      --secondary: #1f6fa8;
      --accent: #d9eefc;
      --text: #1f2937;
      --muted: #6b7280;
      --bg: #f7fafc;
      --white: #ffffff;
      --border: #e5e7eb;
      --shadow: 0 12px 30px rgba(16, 59, 92, 0.12);
      --radius: 18px;
      --container: 1180px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background: var(--white);
      line-height: 1.6;
    }

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

    a {
      text-decoration: none;
      color: inherit;
    }

    p a,
    li a,
    .card-content a:not(.btn),
    .content-block a,
    .faq-item a,
    .network-text a {
      color: var(--secondary);
      font-weight: 700;
      text-decoration: underline;
    }

    p a:hover,
    li a:hover,
    .card-content a:not(.btn):hover,
    .content-block a:hover,
    .faq-item a:hover,
    .network-text a:hover {
      color: var(--primary);
    }

    .container {
      width: min(100% - 32px, var(--container));
      margin: 0 auto;
    }

    .topbar {
      background: var(--primary-dark);
      color: #fff;
      font-size: 14px;
      padding: 10px 0;
    }

    .topbar-inner {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      align-items: center;
    }

    .topbar a {
      color: #fff;
      font-weight: bold;
      text-decoration: none;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 78px;
      gap: 20px;
    }

    .logo {
      font-size: 24px;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: 0.3px;
    }

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

    .nav-links {
      display: flex;
      gap: 22px;
      align-items: center;
      flex-wrap: wrap;
    }

    .nav-links a {
      color: var(--text);
      font-weight: 600;
      font-size: 15px;
      text-decoration: none;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 22px;
      border-radius: 999px;
      font-weight: 700;
      transition: 0.25s ease;
      border: 2px solid transparent;
      text-decoration: none !important;
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
      box-shadow: var(--shadow);
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      color: #fff;
    }

    .btn-outline {
      border-color: var(--primary);
      color: var(--primary);
      background: #fff;
    }

    .btn-outline:hover {
      background: var(--accent);
    }

    .hero .btn-primary {
      color: #fff !important;
    }

    .hero {
      position: relative;
      color: #fff;
      overflow: hidden;
      background:
        linear-gradient(rgba(9, 32, 50, 0.72), rgba(9, 32, 50, 0.72)),
        url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
    }

    .hero-inner {
      min-height: 760px;
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 40px;
      align-items: center;
      padding: 70px 0;
    }

    .badge {
      display: inline-block;
      background: rgba(255,255,255,0.14);
      border: 1px solid rgba(255,255,255,0.26);
      color: #fff;
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .hero h1 {
      margin: 0 0 18px;
      font-size: clamp(36px, 6vw, 64px);
      line-height: 1.05;
      font-weight: 800;
      max-width: 760px;
    }

    .hero p {
      margin: 0 0 28px;
      font-size: 18px;
      max-width: 680px;
      color: rgba(255,255,255,0.92);
    }

    .hero p a {
      color: #fff;
      text-decoration: underline;
      font-weight: 700;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }

    .hero-points {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      padding: 0;
      margin: 0;
      list-style: none;
      color: rgba(255,255,255,0.95);
      font-weight: 600;
    }

    .hero-points li {
      background: rgba(255,255,255,0.12);
      padding: 10px 14px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.2);
    }

    .hero-card {
      background: rgba(255,255,255,0.95);
      color: var(--text);
      padding: 28px;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .hero-card h2 {
      margin-top: 0;
      margin-bottom: 10px;
      font-size: 28px;
      color: var(--primary);
    }

    .hero-card p {
      color: var(--muted);
      margin-bottom: 20px;
      font-size: 15px;
    }

    .form-group {
      margin-bottom: 14px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 14px 16px;
      font-size: 15px;
      outline: none;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--secondary);
      box-shadow: 0 0 0 4px rgba(31, 111, 168, 0.12);
    }

    section {
      padding: 86px 0;
    }

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

    .section-title {
      text-align: center;
      max-width: 780px;
      margin: 0 auto 50px;
    }

    .section-title .eyebrow {
      display: inline-block;
      color: var(--secondary);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 13px;
      margin-bottom: 12px;
    }

    .section-title h2 {
      margin: 0 0 14px;
      font-size: clamp(30px, 4vw, 46px);
      line-height: 1.12;
      color: var(--primary);
    }

    .section-title p {
      margin: 0;
      color: var(--muted);
      font-size: 17px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }

    .network-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }

    .card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 10px 24px rgba(16, 59, 92, 0.06);
      transition: 0.25s ease;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 16px 34px rgba(16, 59, 92, 0.12);
    }

    .card img {
      height: 220px;
      width: 100%;
      object-fit: cover;
    }

    .card-content {
      padding: 22px;
    }

    .card h3 {
      margin: 0 0 10px;
      color: var(--primary);
      font-size: 22px;
    }

    .card p {
      margin: 0 0 14px;
      color: var(--muted);
      font-size: 15px;
    }

    .card ul {
      margin: 0;
      padding-left: 18px;
      color: var(--text);
      font-size: 14px;
    }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 42px;
      align-items: center;
    }

    .image-stack {
      position: relative;
    }

    .image-stack img:first-child {
      border-radius: 24px;
      min-height: 520px;
      object-fit: cover;
      box-shadow: var(--shadow);
    }

    .floating-box {
      position: absolute;
      bottom: 26px;
      right: -22px;
      background: #fff;
      border-radius: 20px;
      padding: 22px;
      box-shadow: var(--shadow);
      width: min(300px, 85%);
      border: 1px solid var(--border);
    }

    .floating-box strong {
      display: block;
      font-size: 36px;
      color: var(--primary);
      line-height: 1;
      margin-bottom: 8px;
    }

    .content-block h2 {
      margin-top: 0;
      color: var(--primary);
      font-size: clamp(30px, 4vw, 44px);
      line-height: 1.15;
      margin-bottom: 18px;
    }

    .content-block p {
      color: var(--muted);
      margin-bottom: 18px;
      font-size: 17px;
    }

    .check-list {
      list-style: none;
      padding: 0;
      margin: 24px 0 0;
      display: grid;
      gap: 14px;
    }

    .check-list li {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 14px 16px;
      font-weight: 600;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-top: 34px;
    }

    .stat {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 22px;
      text-align: center;
      box-shadow: 0 8px 24px rgba(16, 59, 92, 0.06);
    }

    .stat strong {
      display: block;
      font-size: 34px;
      color: var(--primary);
      line-height: 1;
      margin-bottom: 10px;
    }

    .areas {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 14px;
    }

    .area {
      background: #fff;
      border: 1px solid var(--border);
      padding: 16px;
      border-radius: 14px;
      text-align: center;
      font-weight: 700;
      color: var(--primary);
    }

    .faq {
      display: grid;
      gap: 16px;
      max-width: 900px;
      margin: 0 auto;
    }

    .faq-item {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 22px;
      box-shadow: 0 8px 20px rgba(16, 59, 92, 0.05);
    }

    .faq-item h3 {
      margin: 0 0 10px;
      color: var(--primary);
      font-size: 21px;
    }

    .faq-item p {
      margin: 0;
      color: var(--muted);
    }

    .cta-band {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: #fff;
      border-radius: 28px;
      padding: 44px;
      display: flex;
      justify-content: space-between;
      gap: 24px;
      align-items: center;
      box-shadow: var(--shadow);
    }

    .cta-band h2 {
      margin: 0 0 10px;
      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.1;
    }

    .cta-band p {
      margin: 0;
      color: rgba(255,255,255,0.92);
      max-width: 700px;
    }

    footer {
      background: #0b2233;
      color: rgba(255,255,255,0.9);
      padding: 60px 0 28px;
      margin-top: 0;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.3fr 1fr 1fr;
      gap: 28px;
      margin-bottom: 26px;
    }

    .footer-grid h3,
    .footer-grid h4 {
      color: #fff;
      margin-top: 0;
    }

    .footer-grid ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 10px;
    }

    .footer-grid a {
      color: rgba(255,255,255,0.9);
      text-decoration: none;
    }

    .footer-grid a:hover {
      color: #fff;
      text-decoration: underline;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.12);
      padding-top: 20px;
      font-size: 14px;
      color: rgba(255,255,255,0.72);
    }

    @media (max-width: 1100px) {
      .hero-inner,
      .split,
      .services-grid,
      .network-grid,
      .stats,
      .areas,
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }

      .hero-inner {
        min-height: auto;
      }
    }

    @media (max-width: 780px) {
      .nav {
        flex-direction: column;
        padding: 14px 0;
      }

      .nav-links {
        justify-content: center;
      }

      .hero-inner,
      .split,
      .services-grid,
      .network-grid,
      .stats,
      .areas,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .hero {
        background-position: center;
      }

      .hero-card {
        padding: 22px;
      }

      .cta-band {
        padding: 28px;
        flex-direction: column;
        align-items: flex-start;
      }

      .floating-box {
        position: static;
        width: 100%;
        margin-top: 18px;
      }

      .image-stack img:first-child {
        min-height: 360px;
      }
    }
/* ── Validation des champs formulaire ── */
.field-error {
  display: none;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  margin-top: 5px;
  padding-left: 4px;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
