/* ============================================================
   G-Security Services — Design System
   ============================================================ */

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  --color-navy:        #171E60;
  --color-blue:        #0A5694;
  --color-blue-light:  #D6EAF8;
  --color-off-white:   #F4F8FC;
  --color-orange:      #E07B00;
  --color-dark:        #1C1C1C;
  --color-gray:        #555555;
  --color-white:       #FFFFFF;
  --color-border:      #E2ECF5;
  --font-heading:      'Syne', sans-serif;
  --font-body:         'DM Sans', sans-serif;
  --radius-btn:        6px;
  --radius-card:       12px;
  --shadow-card:       0 12px 32px rgba(10,86,148,0.12);
  --shadow-nav:        0 2px 20px rgba(23,30,96,0.10);
  --transition:        0.3s ease;
  /* Backwards-compat aliases */
  --color-light:       #F4F8FC;
  --radius:            8px;
  --shadow:            0 4px 24px rgba(10,86,148,0.10);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-orange);
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

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

/* ── Layout Helpers ───────────────────────────────────────── */
.section-pad {
  padding: 80px 0;
}

.bg-light-brand {
  background-color: var(--color-off-white);
}

/* ── Section Backgrounds ──────────────────────────────────── */
.section-light { background: var(--color-white); }
.section-alt   { background: var(--color-off-white); }
.section-dark  {
  background: linear-gradient(135deg, var(--color-navy), var(--color-blue));
  color: var(--color-white);
}

/* ── Section Title ────────────────────────────────────────── */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--color-orange);
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-title.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-gray);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary-custom {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: none;
  transition: background var(--transition);
  cursor: pointer;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus-visible {
  background: #c96d00;
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-custom {
  display: inline-block;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-white);
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus-visible {
  background: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-block;
  background-color: transparent;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-btn);
  border: 2px solid rgba(255, 255, 255, 0.75);
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-outline-white:hover,
.btn-outline-white:focus-visible {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* ── Logos ────────────────────────────────────────────────── */
.navbar-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.footer-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  height: 70px;
  background: var(--color-white) !important;
}

.navbar.scrolled,
#mainNavbar.scrolled {
  box-shadow: var(--shadow-nav);
}

.navbar-brand-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

.navbar-brand-text span {
  color: var(--color-orange);
}

#mainNavbar {
  background-color: var(--color-white);
  padding: 0.75rem 0;
  transition: box-shadow var(--transition), padding var(--transition);
  z-index: 1030;
}

#mainNavbar.scrolled {
  padding: 0.5rem 0;
}

.navbar-nav .nav-link,
#mainNavbar .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-dark) !important;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color var(--transition), background-color var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
  color: var(--color-navy) !important;
  border-bottom: 2px solid var(--color-blue);
  background-color: var(--color-off-white);
}

#mainNavbar .nav-link.active {
  color: var(--color-navy) !important;
  font-weight: 700;
}

.navbar .btn-cta {
  background: var(--color-orange);
  color: var(--color-white) !important;
  border-radius: var(--radius-btn);
  padding: 8px 20px;
  font-weight: 600;
  border: none;
}

.navbar .btn-cta:hover {
  background: #c96d00;
  border-bottom: none;
}

#mainNavbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  border-top: 3px solid var(--color-orange);
  padding: 0.5rem;
  min-width: 220px;
}

#mainNavbar .dropdown-item {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-dark);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: background-color var(--transition), color var(--transition);
}

#mainNavbar .dropdown-item:hover {
  background-color: var(--color-off-white);
  color: var(--color-blue);
}

#mainNavbar .dropdown-item i {
  color: var(--color-orange);
  width: 18px;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  overflow: hidden;
  padding-top: 80px;
  color: var(--color-white);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpolygon points='40,5 75,22.5 75,57.5 40,75 5,57.5 5,22.5'/%3E%3Cpolygon points='40,15 65,27.5 65,52.5 40,65 15,52.5 15,27.5'/%3E%3Cline x1='40' y1='5' x2='40' y2='15'/%3E%3Cline x1='75' y1='22.5' x2='65' y2='27.5'/%3E%3Cline x1='75' y1='57.5' x2='65' y2='52.5'/%3E%3Cline x1='40' y1='75' x2='40' y2='65'/%3E%3Cline x1='5' y1='57.5' x2='15' y2='52.5'/%3E%3Cline x1='5' y1='22.5' x2='15' y2='27.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--color-blue-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.25rem;
}

.hero-badge i {
  color: var(--color-orange);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--color-orange);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

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

/* ── Shield SVG Animation ─────────────────────────────────── */
.shield-svg {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 0 40px rgba(10, 86, 148, 0.4));
  animation: floatShield 6s ease-in-out infinite;
}

@keyframes floatShield {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.network-dot {
  animation: pulseDot 2.5s ease-in-out infinite;
}

.network-dot:nth-child(2n) { animation-delay: 0.4s; }
.network-dot:nth-child(3n) { animation-delay: 0.8s; }
.network-dot:nth-child(4n) { animation-delay: 1.2s; }

@keyframes pulseDot {
  0%, 100% { opacity: 0.5; r: 3; }
  50%       { opacity: 1;   r: 5; }
}

.network-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 3s ease forwards infinite;
}

@keyframes drawLine {
  0%   { stroke-dashoffset: 200; opacity: 0.2; }
  50%  { stroke-dashoffset: 0;   opacity: 0.6; }
  100% { stroke-dashoffset: -200; opacity: 0.2; }
}

/* ── Service Cards ────────────────────────────────────────── */
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

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

.service-card .card-icon i {
  color: var(--color-blue);
  font-size: 22px;
}

/* Legacy card aliases */
.card-service {
  background: var(--color-white);
  border: 1px solid rgba(10, 86, 148, 0.1);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}

.card-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(10, 86, 148, 0.16);
  border-color: var(--color-orange);
}

.card-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-blue);
  font-size: 1.4rem;
  transition: background-color var(--transition), color var(--transition);
}

.card-service:hover .card-service-icon {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.card-service h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card-service p {
  font-size: 0.92rem;
  color: var(--color-gray);
  margin-bottom: 0;
}

/* ── Stat Numbers ─────────────────────────────────────────── */
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-gray);
  font-weight: 500;
}

/* ── Footer ───────────────────────────────────────────────── */
footer,
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

footer h5,
footer .footer-title,
.site-footer h5 {
  color: var(--color-white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

footer a,
.site-footer a {
  color: rgba(255, 255, 255, 0.60);
  text-decoration: none;
  transition: color var(--transition);
}

footer a:hover,
.site-footer a:hover {
  color: var(--color-white);
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
}

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

.footer-baseline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.4rem;
  margin-bottom: 1.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  margin-right: 0.5rem;
  font-size: 0.95rem;
  transition: background-color var(--transition), color var(--transition);
}

.footer-social a:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--color-orange);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item i {
  color: var(--color-orange);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 1.1rem 0;
  margin-top: 3rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.40);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--color-orange);
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay helpers */
.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }
.fade-delay-5 { transition-delay: 0.5s; }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.8'%3E%3Crect x='5' y='5' width='50' height='50' rx='4'/%3E%3Crect x='15' y='15' width='30' height='30' rx='2'/%3E%3Cline x1='30' y1='5' x2='30' y2='15'/%3E%3Cline x1='55' y1='30' x2='45' y2='30'/%3E%3Cline x1='30' y1='55' x2='30' y2='45'/%3E%3Cline x1='5' y1='30' x2='15' y2='30'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-white);
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.page-hero .breadcrumb-item.active {
  color: var(--color-orange);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ── Utility ──────────────────────────────────────────────── */
.text-orange { color: var(--color-orange); }
.text-navy   { color: var(--color-navy);  }
.text-blue   { color: var(--color-blue);  }

.bg-navy     { background-color: var(--color-navy); }
.bg-blue     { background-color: var(--color-blue); }
.bg-orange   { background-color: var(--color-orange); }

.border-orange { border-color: var(--color-orange) !important; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .section-pad { padding: 60px 0; }

  .hero-section {
    padding: 100px 0 60px;
    min-height: auto;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 2.5rem;
  }

  .shield-svg {
    max-width: 280px;
  }

  #mainNavbar .nav-link {
    padding: 0.5rem 0.75rem;
  }

  #mainNavbar .dropdown-menu {
    border-top: none;
    box-shadow: none;
    border-left: 3px solid var(--color-orange);
    border-radius: 0;
    margin-left: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 48px 0; }
  .stat-number { font-size: 2.25rem; }

  .footer-col {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn-primary-custom,
  .btn-outline-custom,
  .btn-outline-white {
    display: block;
    width: 100%;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .stats-number    { font-size: 1.85rem; }
  .shield-why-svg  { width: 130px; }
  .newsletter-input { max-width: 100%; }
}

/* ── Section 1 : Chiffres clés ────────────────────────────── */
.stats-section {
  background-color: var(--color-blue);
  padding: 72px 0;
}

.stats-icon {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.stats-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

/* ── Section 2 : Expertise cards ──────────────────────────── */
.card-expertise {
  background: var(--color-white);
  border: 1px solid rgba(10, 86, 148, 0.1);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card-expertise:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(10, 86, 148, 0.18);
}

.expertise-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-blue);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background-color var(--transition), color var(--transition);
}

.card-expertise:hover .expertise-icon {
  background-color: var(--color-blue);
  color: var(--color-white);
}

.card-expertise h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

.card-expertise p {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.expertise-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-blue);
  transition: color var(--transition);
  margin-top: auto;
}

.expertise-link:hover {
  color: var(--color-orange);
}

/* ── Section 3 : Secteurs ─────────────────────────────────── */
.sector-block {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-card);
  background-color: var(--color-white);
  border: 1px solid rgba(10, 86, 148, 0.08);
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}

.sector-block:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.sector-icon {
  font-size: 2.5rem;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.sector-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
}

.sector-desc {
  font-size: 0.875rem;
  color: var(--color-gray);
  margin-bottom: 0;
}

/* ── Section 4 : Pourquoi G-Security ─────────────────────── */
.why-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--color-dark);
}

.why-check-list li i {
  color: var(--color-orange);
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.shield-why-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
}

.shield-why-svg {
  width: 190px;
  filter: drop-shadow(0 8px 32px rgba(10, 86, 148, 0.25));
  animation: shieldOscillate 4s ease-in-out infinite;
}

@keyframes shieldOscillate {
  0%, 100% { transform: rotate(-4deg); }
  50%       { transform: rotate(4deg);  }
}

.why-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.why-badge {
  position: absolute;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
}

.why-badge:nth-child(1) { top: 12%; left: 2%; }
.why-badge:nth-child(2) { top: 12%; right: 2%; }
.why-badge:nth-child(3) { bottom: 12%; left: 2%; }
.why-badge:nth-child(4) { bottom: 12%; right: 2%; }

/* ── Section 5 : Références carousel ─────────────────────── */
.logo-ref {
  max-height: 100px;
  max-width: 200px;
  width: auto;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter var(--transition), opacity var(--transition);
  display: inline-block;
}

.logo-ref:hover {
  filter: grayscale(0%);
  opacity: 1;
}

#referencesCarousel .carousel-control-prev,
#referencesCarousel .carousel-control-next {
  width: 40px;
  background-color: var(--color-off-white);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  opacity: 1;
}

#referencesCarousel .carousel-control-prev-icon,
#referencesCarousel .carousel-control-next-icon {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(175deg);
  width: 16px;
  height: 16px;
}

/* ── Section 6 : SecMaturity ──────────────────────────────── */
.secmaturity-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, #0a2a45 100%);
  padding: 80px 0;
}

.secmaturity-title {
  color: var(--color-white) !important;
}

.secmaturity-title::after {
  background-color: var(--color-orange);
}

.secmaturity-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.dashboard-widget {
  background-color: #0d1b2a;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dashboard-dot-red    { background-color: #ff5f57; }
.dashboard-dot-yellow { background-color: #febc2e; }
.dashboard-dot-green  { background-color: #28c840; }

.dashboard-title {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
  font-family: monospace;
  margin-left: auto;
  white-space: nowrap;
}

.dashboard-metric {
  margin-bottom: 1.25rem;
}

.dashboard-metric:last-child {
  margin-bottom: 0;
}

.dashboard-metric-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.dashboard-metric-header span:last-child {
  font-weight: 700;
  color: var(--color-white);
}

.dashboard-bar-track {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  overflow: hidden;
}

.dashboard-bar-fill {
  height: 100%;
  border-radius: 100px;
}

.bar-network { width: 78%; background-color: var(--color-blue); }
.bar-access  { width: 91%; background-color: #28c840; }
.bar-conform { width: 65%; background-color: var(--color-orange); }

/* ── Section 7 : Newsletter ───────────────────────────────── */
.newsletter-section {
  background-color: var(--color-off-white);
  padding: 72px 0;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.newsletter-input {
  flex: 1 1 280px;
  max-width: 420px;
  padding: 0.7rem 1.25rem;
  border: 1.5px solid rgba(10, 86, 148, 0.22);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-dark);
  background-color: var(--color-white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.newsletter-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(10, 86, 148, 0.12);
}

/* ── Badge utility classes ────────────────────────────────── */
.badge-orange { background: var(--color-orange) !important; color: var(--color-white) !important; }
.badge-blue   { background: var(--color-blue)   !important; color: var(--color-white) !important; }
.badge-navy   { background: var(--color-navy)   !important; color: var(--color-white) !important; }
.badge-tag {
  background: var(--color-navy) !important;
  color: var(--color-white) !important;
  padding: .5em 1em;
  font-size: .85rem;
  text-decoration: none;
}
.badge-tag:hover { color: var(--color-white); }

/* CTA section title on dark backgrounds */
.cta-section-title {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Dashboard stat boxes (solutions.html) ─────────────────── */
.dashboard-stat-box {
  background: rgba(10, 86, 148, 0.18);
  border: 1px solid rgba(214, 234, 248, 0.25);
  border-radius: 8px;
  padding: 12px 6px;
}
.dashboard-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
}
.dashboard-stat-val-orange { color: var(--color-orange); }
.dashboard-stat-val-green  { color: #4ade80; }
.dashboard-stat-val-yellow { color: #facc15; }
.dashboard-stat-lbl {
  font-size: .72rem;
  color: var(--color-blue-light);
}
.bar-fill-orange { background: var(--color-orange); }

/* ── Accessibility: Reduced Motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-in-up { animation: none !important; opacity: 1 !important; transform: none; transition: none; }

  .shield-svg,
  .shield-why-svg {
    animation: none;
  }

  .network-dot,
  .network-line {
    animation: none;
  }
}
