  :root {
    --blue: #003B7A;
    --blue-soft: #E8F0FA;
    --blue-mid: #0B5CAD;
    --red: #C62828;
    --white: #FFFFFF;
    --grey: #F5F7FA;
    --ink: #14202E;
    --ink-soft: #5B6B7A;
    --line: #E4E9F0;
    --radius: 16px;
    --shadow: 0 8px 30px rgba(0,59,122,0.08);
    --shadow-lg: 0 20px 60px rgba(0,59,122,0.12);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, .display { font-family: 'Manrope', sans-serif; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
  section { padding: 100px 0; }
  .bg-grey { background: var(--grey); }
  .bg-blue { background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: #fff; }

  [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
  [data-reveal].in { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

  /* Header */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand .mark {
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow);
  }
  .brand .mark svg { width: 22px; height: 22px; stroke: #fff; }
  .brand-text { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 16.5px; color: var(--blue); }
  .brand-text span { display: block; font-size: 11px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.05em; font-family: 'Inter', sans-serif; }
  nav.primary ul { list-style: none; display: flex; gap: 22px; align-items: center; }
  nav.primary ul a { font-size: 13.5px; font-weight: 600; color: var(--ink); position: relative; padding-bottom: 4px; white-space: nowrap; }
  .mobile-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 6px; color: var(--blue); }
  .mobile-toggle svg { width: 26px; height: 26px; }
  nav.primary ul a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width 0.25s ease; }
  nav.primary ul a:hover::after, nav.primary ul a:focus-visible::after { width: 100%; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 14.5px; padding: 12px 24px; border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(198,40,40,0.28); }
  .btn-primary:hover, .btn-primary:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(198,40,40,0.35); }
  .btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
  .btn-outline:hover, .btn-outline:focus-visible { background: var(--blue); color: #fff; }
  .btn-white { background: #fff; color: var(--blue); }
  .btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.15); }

  /* Hero */
  .hero { padding: 90px 0 110px; position: relative; overflow: hidden; }
  .hero::before {
    content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px;
    background: radial-gradient(circle, var(--blue-soft) 0%, transparent 70%); z-index: -1;
  }
  .hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: 0.06em; text-transform: uppercase;
    background: rgba(198,40,40,0.08); padding: 8px 16px; border-radius: 30px; margin-bottom: 26px;
  }
  .hero h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 22px; color: var(--blue); }
  .hero h1 .accent { color: var(--red); }
  .hero p.lead { font-size: 18px; color: var(--ink-soft); margin-bottom: 38px; max-width: 600px; margin-left: auto; margin-right: auto; }
  .hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

  .hero-visual {
    margin-top: 50px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 55%, #1479C9 100%);
    padding: 70px 40px; position: relative;
  }
  .hero-visual .grid-icons { display: flex; justify-content: center; gap: 46px; flex-wrap: wrap; }
  .hv-item { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; }
  .hv-item .circle { width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; }
  .hv-item .circle svg { width: 30px; height: 30px; stroke: #fff; }
  .hv-item span { font-size: 13px; font-weight: 600; opacity: 0.9; }

  /* Section head */
  .section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
  .section-head .eyebrow { background: var(--blue-soft); color: var(--blue); }
  .section-head h2 { font-size: clamp(26px, 3.6vw, 38px); color: var(--blue); margin-bottom: 14px; }
  .section-head p { color: var(--ink-soft); font-size: 16.5px; }

  /* Cards */
  .grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
  .card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 26px; box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .card .icon-box {
    width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  }
  .card .icon-box svg { width: 24px; height: 24px; stroke: var(--blue); }
  .card.red .icon-box { background: rgba(198,40,40,0.08); }
  .card.red .icon-box svg { stroke: var(--red); }
  .card h3 { font-size: 18px; color: var(--ink); margin-bottom: 10px; }
  .card p { font-size: 14.5px; color: var(--ink-soft); }

  /* Poles */
  .poles-list { display: flex; flex-direction: column; gap: 2px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
  .pole-row {
    display: grid; grid-template-columns: 60px 220px 1fr; gap: 24px; align-items: center;
    background: #fff; padding: 26px 30px; border-bottom: 1px solid var(--line);
  }
  .pole-row:last-child { border-bottom: none; }
  .pole-num { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 22px; color: var(--blue-soft); }
  .pole-row h3 { font-size: 17px; color: var(--blue); }
  .pole-row p { font-size: 14.5px; color: var(--ink-soft); }

  /* Values */
  .values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; text-align: center; }
  .value-item .circle { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
  .value-item .circle svg { width: 28px; height: 28px; stroke: var(--blue); }
  .value-item h3 { font-size: 16.5px; margin-bottom: 8px; color: var(--ink); }
  .value-item p { font-size: 14px; color: var(--ink-soft); }

  /* Stats */
  .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; text-align: center; }
  .stat-num { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(34px, 4.4vw, 48px); color: #fff; }
  .stat-label { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.78); letter-spacing: 0.03em; text-transform: uppercase; margin-top: 8px; }

  /* Team */
  .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
  .team-card { text-align: center; }
  .avatar {
    width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 24px; color: #fff;
    box-shadow: var(--shadow);
  }
  .team-card h3 { font-size: 16px; margin-bottom: 4px; }
  .team-card .role { font-size: 13px; color: var(--red); font-weight: 700; }

  /* Projects */
  .project-card {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .project-top { height: 130px; background: linear-gradient(135deg, var(--blue-soft), #fff); display: flex; align-items: center; justify-content: center; }
  .project-top svg { width: 44px; height: 44px; stroke: var(--blue); }
  .project-body { padding: 26px 24px; }
  .project-body .tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--red); background: rgba(198,40,40,0.08); padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
  .project-body h3 { font-size: 17px; margin-bottom: 8px; color: var(--blue); }
  .project-body p { font-size: 14px; color: var(--ink-soft); }

  /* Partners */
  .partners-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
  .partner-box {
    width: 160px; height: 88px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Manrope', sans-serif; font-weight: 700; color: var(--ink-soft); font-size: 14px;
    filter: grayscale(1); opacity: 0.7; transition: filter 0.25s ease, opacity 0.25s ease;
  }
  .partner-box:hover { filter: grayscale(0); opacity: 1; }

  /* News */
  .news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
  .news-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
  .news-date { font-size: 12.5px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.04em; padding: 22px 24px 0; }
  .news-card h3 { font-size: 16.5px; padding: 8px 24px 14px; color: var(--blue); }
  .news-card p { font-size: 14px; color: var(--ink-soft); padding: 0 24px 24px; }

  /* CTA */
  .cta-section { text-align: center; }
  .cta-section h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 18px; }
  .cta-section p { font-size: 17px; opacity: 0.92; max-width: 560px; margin: 0 auto 34px; }
  .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

  /* Footer */
  footer { background: #0B1826; color: #C7D2DC; padding: 70px 0 30px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
  .footer-brand .brand-text { color: #fff; }
  .footer-brand p { font-size: 13.5px; color: #8A99A8; margin-top: 16px; max-width: 280px; }
  footer h4 { font-family: 'Manrope', sans-serif; font-size: 13.5px; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
  footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
  footer ul a { font-size: 14px; color: #A9B6C2; transition: color 0.2s ease; }
  footer ul a:hover { color: #fff; }
  .socials { display: flex; gap: 12px; margin-top: 18px; }
  .socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
  .socials a:hover { background: var(--red); }
  .socials svg { width: 17px; height: 17px; stroke: #fff; }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: #74838F; }

  @media (max-width: 900px) {
    .mobile-toggle { display: block; }
    nav.primary { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 0; }
    nav.primary.open { display: block; }
    nav.primary ul { flex-direction: column; gap: 0; align-items: stretch; }
    nav.primary ul li { border-bottom: 1px solid var(--line); }
    nav.primary ul li:last-child { border-bottom: none; }
    nav.primary ul a { display: block; padding: 14px 32px; }
    .nav { position: relative; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pole-row { grid-template-columns: 1fr; gap: 8px; }
  }
  @media (max-width: 560px) {
    section { padding: 70px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-ctas, .cta-btns { flex-direction: column; }
    .btn { justify-content: center; }
  }

nav.primary ul a.active { color: var(--red); }
nav.primary ul a.active::after { width: 100%; }

/* Pages complementaires */
.legal-content h2 { font-size: 22px; color: var(--blue); margin: 36px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 15px; color: var(--ink-soft); margin-bottom: 10px; }
.legal-content ul { padding-left: 22px; margin-bottom: 16px; }
.legal-content strong { color: var(--ink); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.gallery-item { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-soft), #fff); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.gallery-item svg { width: 32px; height: 32px; stroke: var(--blue); opacity: 0.5; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info .icon-line { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.contact-info .icon-line .circle { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info .icon-line .circle svg { width: 20px; height: 20px; stroke: var(--blue); }
.contact-info .icon-line div a, .contact-info .icon-line div span { font-size: 14.5px; color: var(--ink-soft); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); font-family: 'Inter', sans-serif; font-size: 14.5px; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); }
.form-field textarea { resize: vertical; min-height: 130px; }

.status-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 30px; }
.status-badge.online { background: rgba(46,156,134,0.12); color: #1D7A66; }
.status-badge.offline { background: rgba(198,40,40,0.1); color: var(--red); }
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.product-top { height: 150px; background: linear-gradient(135deg, var(--blue-soft), #fff); display: flex; align-items: center; justify-content: center; }
.product-top svg { width: 44px; height: 44px; stroke: var(--blue); }
.product-body { padding: 22px; }
.product-body h3 { font-size: 16px; margin-bottom: 6px; color: var(--blue); }
.product-body p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }

.link-list-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.link-list-card .circle { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.link-list-card .circle svg { width: 21px; height: 21px; stroke: var(--blue); }
.link-list-card h3 { font-size: 15.5px; margin-bottom: 2px; }
.link-list-card p { font-size: 13px; color: var(--ink-soft); }
.link-list-card .arrow { margin-left: auto; color: var(--red); font-weight: 700; }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
  padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cookie-banner p { font-size: 13.5px; color: var(--ink-soft); max-width: 640px; }
.cookie-banner .cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner button { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13.5px; padding: 10px 18px; border-radius: 8px; cursor: pointer; border: none; }
.cookie-accept { background: var(--red); color: #fff; }
.cookie-refuse { background: var(--grey); color: var(--ink); }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
