    * { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  margin: 0;         /* ← correction */
  padding: 0;     /* tu peux même retirer si tu veux full edge-to-edge */
  background:#f7f7fb;
  color:#111;
}

    header { text-align:center; margin-bottom: 20px; }
    header img { max-width:260px; margin-bottom:10px; }
    h1 { margin:0; color:#c00; font-size:5rem; font-weight:700; }
    .container { max-width:1100px; margin:0 auto; }

    /* Barre de recherche */
    .search-bar { margin: 12px 0 22px; text-align:center; }
    .search-bar input {
      width: min(400px, 90%);
      padding: 10px;
      border-radius: 6px;
      border: 1px solid #ccc;
      font-size: 1.3rem;
    }
.search-bar p {
font-size : 1.6rem;
}

/* Table container */
/* Conteneur principal */
.container {
  max-width: 80%;      /* plutôt que 1100px, prend presque toute la largeur */
  margin: 0 auto;      /* centre horizontalement */
  padding: 0 10px;     /* petit padding pour ne pas coller aux bords */
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20,20,40,0.08);
  border-radius: 10px;
  overflow: hidden;
  font-size: 1.25rem; /* texte global plus grand */
}

/* Table headers */
thead th {
  text-align: center;
  padding: 16px 20px;
  background: #f8f8fa;
  font-weight: 700;
  font-size: 1.5rem;  /* titres plus visibles */
  color: #111;
  letter-spacing: 0.5px;
}

/* Table body */
tbody td {
  padding: 14px 20px;
  border-top: 1px solid #f0f0f5;
  vertical-align: middle;
  font-size: 1.3rem;   /* texte plus grand */
  color: #222;
  line-height: 1.4;
}

/* Hover effect */
tbody tr:hover {
  background: #fef3f3;
  transition: 0.2s;
}

/* Branding columns */
.brand {
  font-weight: 600;
  color: #c00;
}

.ref {
  font-family: monospace;
  color: #c00;
}

.designation {
  color: #111;
}

/* Action buttons */
.actions {
  text-align: right;
  width: 140px;
}

a.contact-link {
  color: #fff;
  background: #c00;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.2rem;
  display: inline-block;
  transition: 0.2s;
}

a.contact-link:hover {
  background: #e00;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  thead th:nth-child(3), tbody td:nth-child(3) { display: none; }
  .actions { width: 100px; }
  tbody td { font-size: 1.1rem; } /* texte légèrement réduit sur mobile */
  thead th { font-size: 1.3rem; }
}


    /* Modal */
    .modal-backdrop {
      position:fixed;
      inset:0;
      background:rgba(0,0,0,0.45);
      display:flex;
      align-items:center;
      justify-content:center;
      z-index:1000;
    }
    .modal {
      background:#fff;
      width:min(640px,95%);
      border-radius:10px;
      padding:20px;
      box-shadow:0 10px 30px rgba(10,10,30,0.15);
      max-height:90vh;
      overflow:auto;
    }
    .modal h2 { margin-top:0; color:#c00; }
    form { display:grid; gap:10px; }
    label { font-size:0.85rem; display:block; text-align:left; }
    input, textarea {
      width:100%;
      padding:10px;
      border-radius:6px;
      border:1px solid #d8dbe6;
      font-size:1rem;
    }
    textarea { resize:vertical; }
    .form-actions {
      display:flex;
      gap:10px;
      justify-content:flex-end;
      margin-top:8px;
    }
    button.primary {
      background:#c00;
      color:#fff;
      border:none;
      padding:10px 14px;
      border-radius:8px;
      cursor:pointer;
    }
    button.primary:hover { background:#e00; }
    button.ghost {
      background:transparent;
      border:1px solid #ccc;
      padding:10px 12px;
      border-radius:8px;
      cursor:pointer;
    }

    @media (max-width:640px) {
      thead th:nth-child(3), tbody td:nth-child(3) { display:none; }
      .actions { width:90px; }
    }

/* ===== CARD MODERNISÉE MANUTENTION ===== */

.header-card.modern {
  display: flex;
  gap: 40px;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  border-left: 6px solid #c00;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  max-width: 100%;
  margin: 0 auto;
}

.pieces-card {
  max-width: 800px;
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #333;
  line-height: 1.7;
}

.card-title {
  font-size: 28px;
  font-weight: 700;
  color: #c00;
  margin-bottom: 20px;
  border-left: 5px solid #1f3c88;
  padding-left: 12px;
}

.intro {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 16px;
}

.objectif {
  background: #f4f7fb;
  padding: 16px;
  border-left: 4px solid #1f3c88;
  border-radius: 6px;
  margin: 24px 0;
}

.points-cles {
  margin: 24px 0;
}

.points-cles h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #1f3c88;
}

.points-cles ul {
  list-style: none;
  padding: 0;
}

.points-cles li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.points-cles li::before {
  content: "✅";
  position: absolute;
  left: 0;
  color: #2bb673;
  font-weight: bold;
}

.conclusion {
  margin-top: 24px;
  font-size: 15px;
  color: #555;
}


/* IMAGE */
.header-img {
  width: 40%;
  height: auto;             /* ← empêche toute compression */
  aspect-ratio: auto;       /* ← garantit le respect des proportions */
  object-fit: cover;        /* ← évite l’écrasement interne */
  border-radius: 16px;
  border: 4px solid #c00;
  transform: rotate(-2deg);
  box-shadow: 0 20px 30px rgba(0,0,0,0.2);
  transition: 0.25s ease;
}
.header-card.modern img {
  max-width: 100%;
  min-width: 280px;     /* ← empêche l'écrasement quand l’espace manque */
}

.header-img:hover {
  transform: rotate(0deg) scale(1.03);
}

.header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;     /* centrer horizontalement */
  text-align: center;      /* centrer le texte */
  gap: 22px;
}

/* ===== FEATURES ===== */

.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;     /* centre les items */
}

.feature {
  display: flex;
  align-items: center;
  gap: 16px;
justify-content: center; /* centre icône + texte */
}

.feature p {
  margin: 0;
  line-height: 1.45;
  font-size: 1.15rem;
}

/* ICONES MÉTIER */
.icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #fff3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #c00;
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: #c00;
}

/* CONTACT */
.contact-block {
  margin-top: 15px;
width: 50%;
  padding: 18px 22px;
  background: #f7f7ff;
  border-left: 4px solid #c00;
  border-radius: 14px;
}

.contact-block h3 {
  margin: 0 0 10px 0;
  color: #c00;
}

.contact-block p {
  margin: 4px 0;
  font-size: 1.15rem;
}

.contact-block a {
  color: #c00;
  font-weight: bold;
}

/* ===== MOBILE ===== */
@media (max-width: 950px) {
  .header-card.modern {
    flex-direction: column;
    text-align: center;
  }

@media (max-width: 950px) {
  .header-img {
    width: 100%;
    height: auto;
    max-width: 480px;
    margin: 0 auto;
    object-fit: cover;   /* ← évite la compression */
  }
}


  .features {
    margin: 0 auto;
    text-align: left;
    max-width: 380px;
  }
}

/* Footer */
.site-footer {
  margin-top: 50px;
  padding: 25px 10px;
  text-align: center;
  font-size: 1.2rem;
  color: #444;
  background: #fff;
  border-top: 4px solid #c00;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}

.site-footer p {
  margin: 0;
  color: #111;
}

.site-footer strong {
  color: #c00;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: #ffffffe8;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  z-index: 999;
  display: flex;
  align-items: center;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: #ffffffe8;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  z-index: 999;
  display: grid;
  place-items: center;
}

.nav-container {
  width: min(1200px, 92%);
  height: 100%;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* ← clé du centre parfait */
  align-items: center;
}

/* LOGO À GAUCHE */
.nav-left {
  justify-self: start;
}

.nav-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
margin-left:-20%;
}

/* TEXTE AU CENTRE */
.nav-center {
  justify-self: center;
  text-align: center;
margin-right:5%;
}

.nav-tagline {
  font-size: 1.6rem;
  color: #c00000;
  font-weight: 600;
  white-space: nowrap;
}

/* BOUTON À DROITE */
.nav-right {
  justify-self: end;
}

.nav-contact-btn {
  background: #c00000;
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(200,0,0,0.25);
  transition: 0.25s ease;
}
.nav-contact-btn:hover {
  background: #e10000;
}

/* MARGE SOUS NAV */
.hero {
  margin-top: 72px;
}

/* MOBILE */
@media (max-width: 900px) {
  .nav-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }
  .nav-tagline {
    white-space: normal;
    text-align: center;
  }
}
/* CONTENEUR MODAL */
.modal-backdrop-contact {
  position: fixed;
  inset: 0;                     /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0,0,0,0.45); /* fond semi-transparent */
  backdrop-filter: blur(4px);   /* effet flou derrière */
  display: flex;
  align-items: center;          /* centre verticalement */
  justify-content: center;      /* centre horizontalement */
  z-index: 2000;
}

/* MODAL */
.modal-contact {
  background: #fff;
  width: min(420px, 92%);
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  animation: fadeUp 0.35s ease-out;

  /* ← AJOUT */
  position: relative;  /* nécessaire si tu veux positionner des éléments internes */
  max-height: 90vh;    /* empêche le modal de dépasser l’écran */
  overflow-y: auto;    /* scroll si contenu trop long */
}
.modal-close-btn {
  background: #c00000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
}

.modal-close-btn:hover {
  background: #e10000;
}
.modal-contact h2 { margin-top: 0; margin-bottom: 20px; color: #c00000; font-size: 1.7rem; font-weight: 800; text-align: center; } 
/* Contact info blocks */ 
.contact-info-item { margin-bottom: 16px; font-size: 1.15rem; color: #333; } 
.contact-info-item a { color: #c00000; font-weight: 600; text-decoration: none; } 
.contact-info-item a:hover { text-decoration: underline; }
.modal-actions {
  display: flex;            /* transforme en flex container */
  justify-content: center;  /* centre horizontalement le contenu */
  margin-top: 20px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* CONTAINER */
/* CONTAINER */
.pillars-card {
  display: flex;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 40px auto;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* BLOCK */
.pillar {
  flex: 1;
  padding: 44px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* COULEURS */
.pillar.blue       { background: #d9ecff; }
.pillar.yellow     { background: #ffe98f; }
.pillar.lightblue  { background: #dbe8ff; }
.pillar.red        { background: #ff5d57; color: #fff; }

.pillar.red p, 
.pillar.red h3 { color: #fff !important; }

/* ICONES SVG */
.pillar-icon svg {
  width: 70px;
  height: 70px;
  color: #0d2b50;
}

/* SPÉCIFIQUE ÉCLAIR JAUNE */
.pillar.yellow .pillar-icon svg {
  color: #f5c400;
}

/* TITRES */
.pillar h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0d2b50;
}

/* TEXTE */
.pillar p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.45;
  color: #16375f;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .pillars-card {
    flex-direction: column;
  }
}
/* ===== Animation au survol ===== */
.pillar {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.pillar:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}

/* ===== Animation icône ===== */
.pillar-icon svg {
  transition: transform 0.4s ease, color 0.3s ease;
}

.pillar:hover .pillar-icon svg {
  transform: rotate(-10deg) scale(1.1);
}

/* ===== Animation d'entrée progressive ===== */
.pillar {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.pillar:nth-child(1) { animation-delay: 0.1s; }
.pillar:nth-child(2) { animation-delay: 0.3s; }
.pillar:nth-child(3) { animation-delay: 0.5s; }
.pillar:nth-child(4) { animation-delay: 0.7s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.pagination button {
  padding: 10px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
  font-size: 1.2rem;
}

.pagination button.active {
  background: #c00;
  color: #fff;
  border-color: #c00;
}

.pagination button:hover:not(.active) {
  background: #f8f8f8;
}
.search-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 20px auto;
}

.search-container input {
  width: 100%;
  padding: 12px 45px 12px 18px;
  font-size: 1rem;
  border: 2px solid #d1d1d1;
  border-radius: 50px;
  outline: none;
  transition: 0.25s ease;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.search-container input::placeholder {
  color: #888;
}

.search-container input:focus {
  border-color: #007bff;
  box-shadow: 0 3px 10px rgba(0,123,255,0.25);
}

.search-container .search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #777;
  pointer-events: none;
}
.pagination span {
  font-size: 1.2rem;
  color: #444;
  padding: 10px 12px;
}
/* === RESET NAVBAR + FIX BURGER === */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px !important;     /* ← force la hauteur */
  background: #ffffff;
  z-index: 9999;
  display: flex !important;    /* ← impose une seule ligne */
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.nav-container {
  width: min(1200px, 92%);
  height: 100%;
  display: flex !important;     /* ← plus de grid */
  align-items: center !important;
  justify-content: space-between !important;
  overflow: visible !important;
}

/* === NAVBAR FIXE + ALIGNEMENTS === */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px !important;
  background: #ffffff;
  z-index: 9999;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nav-container {
  width: min(1200px, 92%);
  height: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;  /* <-- ajoute ça */
  width: 85%;    
}

/* Bouton téléphone flottant pour mobile */
.phone-btn {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 20px;
  font-size: 2rem;
  background-color: #c00000;
  color: white;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 9999;
}

/* Animation au survol */
.phone-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

/* Afficher seulement sur mobile */
@media (max-width: 1000px) {
  .nav-center,
  .nav-contact-btn {
    display: none !important;
  }
  .phone-btn {
    display: flex;
  }
}


.linkedin-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
}

.featured-article {
  width: 100%;
  margin: 10px auto 20px;
  display: flex;
  justify-content: center;
}

.featured-wrapper {
  display: flex;
  gap: 30px;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  border-left: 6px solid #c00;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  max-width: 1100px;
  width: 95%;
  align-items: center;
}

.featured-img {
  width: 40%;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.featured-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.featured-title {
  font-size: 2.4rem;
  margin: 0;
  color: #111;
}

.featured-desc {
  font-size: 1.3rem;
  line-height: 1.5;
  color: #333;
}

.featured-btn {
  align-self: flex-start;
  padding: 12px 24px;
  background: #c00;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.25s;
}

.featured-btn:hover {
  background: #e00;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 900px) {
  .featured-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .featured-img {
    width: 100%;
  }
  .featured-btn {
    align-self: center;
  }
}


