/* Reset de base */
* {
  margin: 00;
  padding: 0;
  box-sizing: border-box;
}
img { max-width: 100%; height: auto; }

/* Bloc logo centré */
.logo-centre {
  display: flex;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 8px;
}

.logo-centre .brand-logo {
  max-width: clamp(200px, 22vw, 320px);
}


body {
    margin: 0;
    padding:0;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f7f7f7;
  color: #ffffff;
  padding-bottom: 50px;
  margin: 0;
  padding: 0;
}

header {
  background-color: #f5f5f7;
  color: white;
  padding: 8px 0;
  text-align: center;
}

header h1 {
  margin-bottom: 10px;
  font-size: 2em;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #38bdf8;
}

section {
  padding: 50px 20px;
  max-width: 2000px;
  margin: auto;
}

h2 {
  margin-bottom: 15px;
  color: #111827;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background-color: #111827;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #1e293b;
}


/* Navbar structure équilibrée */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background-color: #f5f5f7;
  border-bottom: 1px solid #f5f5f7; 
  position: sticky;
  top: 0;
  z-index: 1000;
  height: auto;
  min-height: 60px;
}

/* Côtés gauche et droit */
.nav-side {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-side.left img {
  height: 60px;
}

/* Centre parfaitement */
.nav-center {
  flex: 2;
  display: flex;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links li a {
  color: #111111;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  padding: 6px 8px;
}
.nav-links li a:focus {
  outline: none;
}
.nav-links li a:hover {
  color: #f5f5f7;
}
/* Bannière style Apple */
.hero {
  background-color: #f5f5f7;
  padding: 80px 20px;
  text-align: center;
  box-shadow: inset 0 -1px 0 #e5e5ea; /* fine ligne en bas */
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #ffffff; /* gris anthracite Apple */
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 400;
}

/* Mise à jour de la police globale */
body {
  background-color: #f5f5f7;
  color: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  white-space: nowrap;         /* ← empêche de couper les liens sur 2 lignes */
  overflow: hidden;
  flex-wrap: nowrap;
}

.nav-links li a {
  color: #000000;
  text-decoration: none;
  font-weight: 400;             /* ← plus léger, plus Apple-style */
  font-size: 0.85rem;
  padding: 4px 6px;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.navbar {
  flex-wrap: nowrap;
  overflow: hidden;
  
}

.hero-dark {
  background-image: url('fond\ banniere.png'); /* à remplacer par ton image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.hero-dark .overlay {
  background-color: rgba(0, 0, 0, 0); /* effet sombre */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: (#ffffff);
  padding: 0 20px;
}

.hero-content h1 {
    color: (#ffffff);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  
}

.hero-content p {
    color: (#e0e0e0);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-content .icon {
  margin-right: 8px;
  font-size: 1.3rem;
  color: #f5f5f7;
}

.cta {
  display: inline-block;
  padding: 12px 25px;
  background-color: #f5f5f7;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.cta:hover {
  background-color: #f5f5f7;
}
#services-grid {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

#services-grid h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #111;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 par ligne */
  gap: 30px;
}

.card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 20px;
  height: 400px; /* ← hauteur verticale */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.card h3 {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #1a1a1a;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 20px;
  height: 400px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.secteur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.secteur-item {
  background-color: #fff;
  border-radius: 16px;
  padding: 0%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: 0.3s;
  text-align: center;
}

.secteur-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.secteur-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.secteur-item h3 {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #111;
}



.banner-secteurs{
  background: url("banniere\ alarme.png");
  height: 286px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.banner-overlay {
  background: rgba(0, 0, 0, 0); /* filtre sombre pour lisibilité */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  max-width: 100vw;
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.2rem;
  opacity: 0.95;
}
.banner-video {
  background: url("banniere\ video\ 2.png");
  height: 286px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.banner-overlay {
  background: rgba(0, 0, 0, 0); /* filtre sombre pour lisibilité */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  max-width: 100vw;
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.2rem;
  opacity: 0.95;
}


.banner-controle {
  background: url("banniere\ controle.png");
  height: 286px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.banner-overlay {
  background: rgba(0, 0, 0, 0); /* filtre sombre pour lisibilité */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  max-width: 100vw;
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.2rem;
  opacity: 0.95;
}



.banner-portique {
  background: url("banniere\ portique.png");
  height: 286px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.banner-overlay {
  background: rgba(0, 0, 0, 0); /* filtre sombre pour lisibilité */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  max-width: 100vw;
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.2rem;
  opacity: 0.95;
}



.banner-propos {
  background: url("banniere\ propos.png");
  height: 286px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.banner-overlay {
  background: rgba(0, 0, 0, 0); /* filtre sombre pour lisibilité */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  max-width: 100vw;
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.2rem;
  opacity: 0.95;
}




.banner-secteur {
  background: url("banniere\ secteur.png");
  height: 286px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.banner-overlay {
  background: rgba(0, 0, 0, 0); /* filtre sombre pour lisibilité */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  max-width: 100vw;
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.2rem;
  opacity: 0.95;
}


.banner-contact {
  background: url("banniere\ contact.png");
  height: 286px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.banner-overlay {
  background: rgba(0, 0, 0, 0); /* filtre sombre pour lisibilité */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  max-width: 100vw;
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.2rem;
  opacity: 0.95;
}


body, html {
  margin: 0;
  padding: 0;
}
.intro-secteur {
  text-align: center;
  max-width: 850px;
  margin: 50px auto 20px auto;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}




.intro-alarm {
  text-align: center;
  padding: 80px 20px 40px;
}

.intro-alarm h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  color: #111;
}

.intro-alarm p {
  font-size: 1.2rem;
  color: #444;
  max-width: 700px;
  margin: auto;
}

.alarm-bloc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 100px;            
  padding: 0 2vw;        
  max-width: 1600px;
  margin: 100px auto;
}

.alarm-bloc.reverse {
  flex-direction: row-reverse;
}

.alarm-img {
  flex: 1;
  max-width: 45%;
}

.alarm-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.alarm-text {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.alarm-text h3 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #111;
}

.alarm-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
}



.alarm-cta {
  text-align: center;
  padding: 60px 20px;
  background-color: #f5f5f7;
}

.alarm-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #111;
}

.alarm-cta p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333;
}

.alarm-cta .cta {
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 8px;
  background-color: #111;
  color: white;
  text-decoration: none;
}
/* CTA rectangle bas de page */
.cta-section {
  background-color: #111111;
  color: white;
  border-radius: 20px;
  padding: 60px 30px;
  text-align: center;
  max-width: 1000px;
  margin: 80px auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(50px);
}

.cta-section.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #f5f5f7;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-white {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ffffff;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-white:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
}

.cta-section {
  background-color: #111111;
  color: white;
  border-radius: 20px;
  padding: 60px 30px;
  text-align: center;
  max-width: 1000px;
  margin: 80px auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  opacity: 0;
  transform: translateY(50px);
  will-change: opacity,transforme;
}

.cta-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-container h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.cta-container p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-white {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ffffff;
  color: #000000;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-white:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
}
/* Animation glissante vers le haut */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.secteur-bloc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 100px;
  padding: 0 2vw;
  max-width: 1600px;
  margin: 100px auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.secteur-bloc.reverse {
  flex-direction: row-reverse;
}

.secteur-img {
  flex: 1;
  max-width: 40%;
}

.secteur-img img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.secteur-texte {
  flex: 1;
  max-width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.secteur-texte h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #111;
}

.secteur-texte p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #444;
}


.cta-mini {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #929292;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-mini:hover {
  background-color: #333;
}
.separator {
  width:1000px;
  height: 2px;
  background-color: #030303;
  margin: 60px auto 30px auto;
  border: none;
  border-radius: 1px;
}


@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.why-choose {
  width: 95vw; /* ou même 100vw si tu veux full écran */
  margin: 60px auto;
  padding: 80px 0;
  background-color: #111; /* noir direct sur ce bloc */
  border-radius: 20px;
}

}

.why-choose h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #111;
  text-align: center; 
}

.why-grid {
  display: flex;
  justify-content:center;
  flex-wrap: wrap;
  gap:150px;
 
}

.why-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  flex: 1 1 22%;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.why-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #111;
}

.why-card p {
  font-size: 1rem;
  color: #444;
}

 
.why-container {
  background-color: #111;
  border-radius: 20px;
  padding: 60px 50px;
  max-width: 95%; /* ← au lieu de 1200px */
  margin: auto;
  text-align: center;
  color: white;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}


.why-container h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: rgb(255, 255, 255);
}



.why-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  flex: 1 1 22%;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  color: black;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.why-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #111;
}

.why-card p {
  font-size: 1rem;
  color: #444;
}



.why-card img {
  width: auto;
  max-width: 4000px;
  height: auto;
  max-height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
}

.footer {
  background-color: #111;
  color: white;
  padding: 30px 20px 10px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo img {
  height: 40px;
}

.footer-links {
  width: 100%;
  margin-bottom: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 600px;
  margin: auto;
}

.footer-grid a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-grid a:hover {
  color: #38bdf8;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #aaa;
}
.footer-socials {

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* espace entre logos */
  margin-top: 10px;
  padding-top: 10px;
 }

 .footer-socials img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
 }

  .footer-socials img:hover {
  transform: scale(1.1);
}
.mobile-menu {
  display: none;
}

/* Smartphones et tablettes en mode portrait */
@media (max-width: 768px) {


  .secteur-bloc,
  .secteur-bloc.reverse,
  .alarm-bloc,
  .alarm-bloc.reverse {
    flex-direction: column !important;
    text-align: center;
    gap: 40px;
  }

  .secteur-img,
  .alarm-img,
  .secteur-texte,
  .alarm-text {
    max-width: 100%;
    flex: none;
  }

  .secteur-texte,
  .alarm-text {
    padding: 0 20px;
  }
  
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }

 .nav-center {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-side.left {
    justify-content: flex-start;
  }

  .nav-side.right {
    justify-content: flex-end;
    display: flex;
    flex: 1;
  }

  .burger {
    display: block;
    color: #000;
    font-size: 2rem;
    cursor: pointer;
  }

  .mobile-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 9999;
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-menu ul {
    display: flex;
    flex-direction: column; /* Met les liens en colonne */
    align-items: flex-start; /* Aligne à gauche dans le menu */
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .mobile-menu li {
    margin: 0;
    width: 100%;
  }

  .mobile-menu a {
       color: #000;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    width: 100%;
    padding: 10px 5px;
    border-bottom: 1px solid #ddd;
  }
    .mobile-menu a:hover {
    background-color: #f5f5f7;
  }
.navbar {
  z-index: 9999;
}

@media (max-width: 768px) {
  .contact-info-row {
    justify-content: center;
    text-align: center;
  }

  .contact-info-row div {
    margin: 0 auto; /* centre les cartes */
  }
}
.footer-socials {

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* espace entre les logos */
  margin-top: 60px;
 }

 .footer-socials img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
 }

  .footer-socials img:hover {
  transform: scale(1.1);
}

}
/* Grille spéciale pour "Ils nous ont fait confiance" */
.why-grid-trust {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 colonnes fixes */
  gap: 20px; /* espace entre les carrés */
  justify-items: center; /* centre horizontalement chaque carré */
}

.why-grid-trust .why-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  color: black;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%; /* occupe la colonne */
  max-width: 200px; /* limite pour éviter qu'ils soient trop gros */
}

.why-grid-trust .why-card img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* Responsive : sur mobile, 2 par ligne */
@media (max-width: 768px) {
  .why-grid-trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive : sur très petit écran, 1 par ligne */
@media (max-width: 480px) {
  .why-grid-trust {
    grid-template-columns: 1fr;
  }
}
/* --- BANNIÈRES "Pourquoi..." et "Ils nous ont fait confiance" --- */
/* 1) Le titre au-dessus, sur fond clair, et moins d'air autour */
.why-choose{
  background: transparent;      /* avant: #111 -> on enlève */
  padding: 24px 0;              /* avant: 80px 0 -> plus compact */
  margin: 40px auto;
}

.why-choose h2{
  margin: 0 0 16px;
  text-align: center;
  color: #111;                  /* lisible sur le fond clair */
}

/* 2) Seul le conteneur intérieur est noir et avec moins de padding */
.why-container{
  background: #111;
  border-radius: 20px;
  padding: 30px 24px;           /* avant: 60px 50px */
  max-width: 1200px;            /* au lieu de 95% si c'était trop large */
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

/* 3) Grille des logos (inchangée, juste rappel utile) */
.why-grid-trust{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-items: center;
}
.why-grid-trust .why-card{ flex: initial; width: 100%; max-width: 200px; }
.why-grid-trust .why-card img{ max-height: 60px; width: auto; object-fit: contain; }

/* Responsive */
@media (max-width: 1024px){
  .why-grid-trust{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .why-grid-trust{ grid-template-columns: 1fr; }
}
/* === BANNIÈRES quasi plein écran === */
.why-choose{
  padding: 24px 0;
  margin: 40px auto;
}
.why-choose h2{
  margin: 0 0 16px;
  text-align: center;
  color: #111;
}
.why-container{
  background: #111;
  border-radius: 20px;
  padding: 30px 24px;
  /* largeur presque full screen avec petite marge de 2vw de chaque côté */
  width: calc(100vw - 4vw);
  max-width: none;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

/* === "Pourquoi nous faire confiance" : 4 cartes sur une rangée === */
.why-grid{
    justify-content: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap:20px;                 /* avant tu avais 150px -> ça forçait le retour à la ligne */
  justify-items: center;
  margin-inline: auto;
}
.why-grid .why-card{
  width: 100%;
  min-width: 0;              /* écrase min-width:200px global */
  max-width: 300px;           /* écrase max-width:240px global */
}

/* Responsive : passe à 2 puis 1 colonne si l'écran rétrécit */
@media (max-width: 1024px){
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .why-grid{ grid-template-columns: 1fr; }
}

/* La grille logos (5 en ligne) reste comme avant */
.why-grid-trust{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-items: center;
}
.why-grid-trust .why-card{ width:100%; max-width:300px; }
/* Centrer une grille de 3 cartes dans une bannière .why-choose */
.why-grid.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 320px));
  justify-content: center;   /* ← centre le bloc des 3 colonnes */
  gap: 150px;
}

/* Pour que les cartes ne s’étirent pas trop */
.why-grid.grid-3 .why-card {
  width: 100%;
  max-width: 320px;
}

/* Responsive */
@media (max-width: 1024px) {
  .why-grid.grid-3 { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 560px) {
  .why-grid.grid-3 { grid-template-columns: 1fr; }
}
/* === Gaps unifiés pour 3 et 4 cartes === */
:root{
  --gap-desktop: 100px;   /* écart entre cartes sur grand écran */
  --gap-mobile: 16px;    /* écart entre cartes sur mobile */
}

.why-grid,                /* 4 cartes */
.why-grid.grid-3,         /* 3 cartes */
.why-grid-trust{          /* logos clients */
  gap: var(--gap-desktop);
}

/* Mobile : même grille et même gap pour les deux bannières */
@media (max-width: 768px){
  .why-grid,
  .why-grid.grid-3,
  .why-grid-trust{
    grid-template-columns: repeat(2, 1fr);  /* 2 colonnes partout */
    gap: var(--gap-mobile);                 /* même espace entre cartes */
  }
}
@media (max-width: 480px){
  .why-grid,
  .why-grid.grid-3,
  .why-grid-trust{
    grid-template-columns: 1fr;             /* 1 colonne partout */
    gap: var(--gap-mobile);
  }
}

/* Sécurité : aucune marge parasite sur les cartes */
.why-grid .why-card,
.why-grid.grid-3 .why-card,
.why-grid-trust .why-card{
  margin: 0;
}
/* Desktop/Laptop : on cache le bouton burger et le menu mobile */
@media (min-width: 1024px) {
  #burger { display: none !important; }
  .mobile-menu { display: none !important; }
}


