  :root {
      --primary: #1E40AF;
      --secondary: #0f172a;
      --light: #f1f5f9;
  }

  body {
      font-family: 'Roboto', system-ui, sans-serif;
    background: linear-gradient(135deg, #dbdbdb 0%, #e0f2fe 100%);
      scroll-behavior: smooth;
  }


.btn-secondary {
    padding: 10px 18px;
    background-color: #F0F4F8;
    color: #1E40AF;
    border: 1px solid #1E40AF;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.2s, color 0.2s;
}
.btn-secondary:hover {
    background-color: #DDEEFC;
}

    .hero {
      position: relative;
      padding-top: 4rem;
      background-image: linear-gradient(to right, rgba(30, 58, 138, 0.5), rgba(30, 64, 175, 0.4)), url('https://images.unsplash.com/photo-1506947411487-a56738267384?auto=format&fit=crop&q=80&w=800');
      background-size: cover;
      background-position: center;
      min-height: 600px;
      display: flex;
      align-items: center;
  }

  .hero-content {
      max-width: 1280px;
      margin: 0 auto;
      padding: 2rem 1rem;
      text-align: center;
      color: white;
  }

  .hero h1 {
      font-size: 2.25rem;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 1.5rem;
  }

  @media (min-width: 640px) {
      .hero h1 {
          font-size: 3rem;
      }
  }

  @media (min-width: 768px) {
      .hero h1 {
          font-size: 3.75rem;
      }
  }

  .hero p {
      font-size: 1.25rem;
      max-width: 42rem;
      margin: 0 auto 3rem;
      color: #e5e7eb;
  }

  .search-form {
      max-width: 60rem;
      margin: 0 auto;
      background: white;
      padding: 1.5rem;
      border-radius: 0.5rem;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  .search-grid {
      display: grid;
      gap: 1rem;
      margin-bottom: 1rem;
  }

  @media (min-width: 768px) {
      .search-grid {
          grid-template-columns: 1fr 1fr;
      }
  }

  /* Conteneur menu */
  .mobile-menu {
      display: none;
      padding: 1rem;
      background: #ffffff;
      border-top: 1px solid #e5e7eb;
      animation: slideDown 0.25s ease-out;
  }

  /* Menu actif */
  .mobile-menu.active {
      display: block;
  }

  /* Liens */
  .mobile-link,
  .mobile-login-btn {
      display: block;
      width: 100%;
      padding: 0.85rem 1rem;
      margin-bottom: 0.25rem;
      color: #1E40AF;
      /* Bleu Roi */
      text-decoration: none;
      font-size: 1rem;
      font-weight: 600;
      border-radius: 0.75rem;
      transition: background 0.2s ease, color 0.2s ease;
  }

  /* Hover / tap */
  .mobile-link:hover,
  .mobile-login-btn:hover {
      background: #eff6ff;
      /* bleu très clair */
      color: #1E3A8A;
      text-decoration: none;
  }

  /* Bouton login */
  .mobile-login-btn {
      background: none;
      border: none;
      text-align: left;
      cursor: pointer;
  }

  /* Animation ouverture */
  @keyframes slideDown {
      from {
          opacity: 0;
          transform: translateY(-8px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  #page-loader {
      position: fixed;
      inset: 0;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
  }

  .loader {
      width: 48px;
      height: 48px;
      border: 4px solid #e5e7eb;
      border-top-color: #1E40AF;
      /* Bleu Roi */
      border-radius: 50%;
      animation: spin 0.9s linear infinite;
  }

  @keyframes spin {
      to {
          transform: rotate(360deg);
      }
  }

  /* ANIMATIONS ET EFFETS */
  .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.active {
      opacity: 1;
      transform: translateY(0);
  }

  .glass-nav {
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(15px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* HERO FULL WIDTH AVEC OVERLAP */
  .hero-section {
      position: relative;
      height: 90vh;
      min-height: 600px;
      display: flex;
      align-items: center;
      overflow: visible;
  }

  .hero-bg {
      position: absolute;
      inset: 0;
      z-index: -1;
  }

  .hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.2) 100%);
      z-index: 0;
  }

  .search-container-overlap {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translate(-50%, 50%);
      width: 100%;
      max-width: 1000px;
      z-index: 30;
      padding: 0 1.5rem;
  }

  .glass-nav {
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(15px);
      border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  }

  .bento-card {
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .bento-card:hover {
      transform: translateY(-8px);
  }

  /* CARROUSEL AUTOMATIQUE */
  .carousel-track {
      display: flex;
      gap: 24px;
      animation: scroll 40s linear infinite;
      width: max-content;
  }

  .carousel-track:hover {
      animation-play-state: paused;
  }

  @keyframes scroll {
      0% {
          transform: translateX(0);
      }

      100% {
          transform: translateX(calc(-300px * 5 - 24px * 5));
      }
  }

  /* FAQ Accordion */
  .faq-item {
      background: white;
      border-radius: 15px;
      margin-bottom: 15px;
      overflow: hidden;
      border: 1px solid rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
  }

  .faq-item:hover {
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  }

  .faq-question {
      padding: 25px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 18px;
      transition: all 0.3s ease;
  }

  .faq-question:hover {
      background: rgba(230, 126, 34, 0.05);
  }

  .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      padding: 0 25px;
  }

  .faq-answer.active {
      max-height: 500px;
      padding: 0 25px 25px;
  }

  .faq-icon {
      transition: transform 0.3s ease;
  }

  .faq-icon.active {
      transform: rotate(180deg);
  }

  /* BOUTON WHATSAPP */
  .whatsapp-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 999;
      animation: bounce 2s infinite;
  }

  @keyframes bounce {

      0%,
      20%,
      50%,
      80%,
      100% {
          transform: translateY(0);
      }

      40% {
          transform: translateY(-10px);
      }

      60% {
          transform: translateY(-5px);
      }
  }




  /* Section Container */
  .section {
      padding: 80px 20px;
      position: relative;
      overflow: hidden;
  }

  .section.light {
      background: #ffffff;
  }

  .section.gray {
      background: var(--light);
  }

  .section.dark {
      background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 100%);
      color: white;
  }

  .container {
      max-width: 1200px;
      margin: 0 auto;
  }

  /* Section Header */
  .section-header {
      text-align: center;
      margin-bottom: 30px;
      animation: fadeInUp 0.8s ease;
  }

  .section-title {
      font-size: clamp(32px, 5vw, 48px);
      font-weight: 800;
      margin-bottom: 20px;
      background: linear-gradient(135deg, var(--primary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
  }

  .section.dark .section-title {
      background: linear-gradient(135deg, #ffffff, var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
  }

  .section-subtitle {
      font-size: clamp(16px, 2vw, 20px);
      color: #64748b;
      max-width: 700px;
      margin: 0 auto;
  }

  .section.dark .section-subtitle {
      color: rgba(255, 255, 255, 0.8);
  }

  /* Grid Layouts */
  .grid-2 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
  }

  .grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 30px;
  }

  /* Security Card */
  .security-card {
      background: white;
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      overflow: hidden;
      animation: scaleIn 0.6s ease;
  }

  .security-card::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 200px;
      height: 200px;
      background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(14, 165, 233, 0.05));
      border-radius: 50%;
      transform: translate(50%, -50%);
  }

  .security-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  }

  .card-icon {
      width: 70px;
      height: 70px;
       margin-left: auto;   /* ← AJOUTÉ */
    margin-right: auto;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      margin-bottom: 25px;
      position: relative;
      z-index: 1;
      animation: float 3s ease-in-out infinite;
  }

  .card-title {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 15px;
      color: var(--text);
      position: relative;
      z-index: 1;
      text-align: center;
  }

  .card-description {
      color: #64748b;
      line-height: 1.8;
      position: relative;
      z-index: 1;
  }

  .card-description strong {
      color: var(--text);
      font-weight: 600;
  }

  .feature-list {
      list-style: none;
    
      position: relative;
      z-index: 1;
  }

  .feature-list li {
      padding: 10px 0;
      padding-left: 30px;
      position: relative;
      color: #475569;
  }

  .feature-list li::before {
      content: '✓';
      position: absolute;
      left: 0;
      color: green;
      font-weight: 700;
      font-size: 18px;
  }

  /* How It Works Steps */
  .steps-list {
      list-style: none;
      margin: 20px 0;
      position: relative;
      z-index: 1;
  }

  .steps-list li {
      padding: 15px 0;
      padding-left: 45px;
      position: relative;
      font-weight: 500;
      color: black;
  }

  .steps-list li::before {
      content: attr(data-step);
      position: absolute;
      left: 0;
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 700;
  }

  /* Equipment Card */
  .equipment-card {
      background: white;
      border-radius: 20px;
      padding: 25px;
      margin-top: 10px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
      animation: fadeInUp 0.6s ease;
      text-align: center;
  }

  .equipment-card::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
      opacity: 0;
      transition: opacity 0.4s ease;
  }

  .equipment-card:hover::before {
      opacity: 1;
  }

  .equipment-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  }

  .equipment-icon {
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, var(--accent), #ef4444);
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 50px;
      margin-bottom: 20px;
      position: relative;
      z-index: 1;
       margin-left: auto;  
    margin-right: auto;
  }

  .equipment-name {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--primary);
      position: relative;
      z-index: 1;
  }

  .equipment-use {
      color: #64748b;
      font-size: 14px;
      position: relative;
      z-index: 1;
  }

  /* Badge */
  .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      background: linear-gradient(135deg, green, #059669);
      color: white;
      border-radius: 25px;
      font-size: 14px;
      font-weight: 600;
      margin-top: 15px;
  }

  /* Animations */
  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(30px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  @keyframes scaleIn {
      from {
          opacity: 0;
          transform: scale(0.95);
      }

      to {
          opacity: 1;
          transform: scale(1);
      }
  }

  @keyframes float {

      0%,
      100% {
          transform: translateY(0);
      }

      50% {
          transform: translateY(-10px);
      }
  }
.flex-grow{
    margin-top: 50px;
}

   .btn-action-large {
    background: var(--primary);
    color: #ffffff;
    text-align: center;
    border: none;
    padding: 14px 28px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
    gap: 8px;
    width: 100%;
}

  /* Responsive */
  @media (max-width: 768px) {
      .section {
          padding: 60px 20px;
      }

      .section-header {
          margin-bottom: 40px;
      }

      .grid-2,
      .grid-3 {
          grid-template-columns: 1fr;
      }

      .security-card,
      .drone-content,
      .equipment-card {
          padding: 25px;
      }

      .card-icon,
      .equipment-icon {
          width: 60px;
          height: 60px;
          font-size: 28px;
      }
  }

@media (max-width: 768px) {
  aside {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: white;
    z-index: 1000;
    width: 80vw;
    max-width: 320px;
    box-shadow: 2px 0 8px rgba(0,0,0,0.15);
    transition: transform 0.3s;
    transform: translateX(-100%);
  }
  aside.active {
    display: block;
    transform: translateX(0);
  }
  #aside-toggle-btn {
    display: block;
  }

  .flex-grow{
    margin-top: 0;
}
}
@media (min-width: 769px) {
  #aside-toggle-btn {
    display: none;
  }
  aside {
    display: block !important;
    position: static;
    transform: none !important;
    width: auto;
    box-shadow: none;
  }
}



.star.filled {
    color: var(--warning);
    font-size: 15px;
}

.rating-value {
    font-size: 12px;
    font-weight: 700;
    color: gray;
}
.raking{
    margin-left:50px;
}