* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/*body {
    background: #f5f5f7;
}*/

.slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8%;
    opacity: 0;
    transform: scale(1.05);
    transition: all 1s ease;
    background: linear-gradient(135deg, #eef2f3, #ffffff);
}

.slide:nth-child(2) {
    background: linear-gradient(135deg, #dbeafe, #ffffff);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.text {
    max-width: 45%;
    animation: fadeUp 1s ease forwards;
}

.text h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #6e6e73;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn:hover {
    background: #333;
}

.visual img {
    width: 720px;
    max-width: 100%;
    filter: drop-shadow(0 40px 40px rgba(0,0,0,0.15));
    animation: float 4s ease-in-out infinite;
}

.controls {
    position: absolute;
    bottom: 40px;
    right: 60px;
}

.controls span {
    cursor: pointer;
    font-size: 28px;
    margin-left: 20px;
    color: #1d1d1f;
    transition: 0.3s;
}

.controls span:hover {
    opacity: 0.5;
}

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

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */

@media (max-width: 900px) {
    .slide {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .text {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .text h1 {
        font-size: 2.2rem;
    }

    .visual img {
        width: 320px;
    }

    .controls {
        right: 50%;
        transform: translateX(50%);
    }
}

/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.4s ease;
  
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.container {
    /* max-width: 1200px;
    margin: auto;*/
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    transition: 0.3s;
}

.nav a:hover {
    opacity: 0.6;
}


.nav ul { align-items: center; }
.nav ul .lang { display:flex; gap:10px; align-items:center; }

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

    .nav {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: white;
        display: none;
        text-align: center;
        padding: 30px 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav.active {
        display: block;
    }

    .menu-toggle {
        display: block;
    }
}

/* ================= FOOTER PREMIUM ================= */

.footer {
    padding: 60px 5%;
    text-align: center;
    transition: 0.4s ease;
}

/* Container principal en flex */
.footer-container {
    display: flex;
    justify-content: space-between; /* espace entre les blocs */
    align-items: flex-start;        /* alignement vertical haut */
    flex-wrap: wrap;                /* responsive, passe en ligne suivante si trop petit */
    width: 100%;
    text-align: left;
    gap: 20px;                      /* petit espace entre les blocs */
}

/* Chaque bloc du footer */
.footer-container > div,
.footer-container > p,
.footer-container > h3 {
    flex: 1;                        /* tous les blocs prennent une largeur équivalente */
    min-width: 200px;               /* pour mobile, évite que ça devienne trop étroit */
}

.socials {
  margin: 20px 0;
}

.social {
  display: inline-block;
  margin: 0 10px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: #ccc;
  color: #111;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px currentColor;
}

.social.facebook { background: #3b5998; color: white; }
.social.instagram { background: #e1306c; color: white; }
.social.twitter { background: #1da1f2; color: white; }
.social.linkedin { background: #0077b5; color: white; }

.contact {
  margin: 30px 0;
}

.contact a {
  color: inherit;
  text-decoration: underline;
}

.legal {
  font-size: 0.9rem;
  color: #555;
}

.legal a {
  color: inherit;
  text-decoration: underline;
}
.footer h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* Animation statut */

.status-open {
    color: #4CAF50;
    animation: pulseGreen 2s infinite;
}

.status-closed {
    color: #ff4d4d;
    animation: pulseRed 2s infinite;
}

@keyframes pulseGreen {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

@keyframes pulseRed {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Dark mode automatique */

@media (prefers-color-scheme: dark) {
    .footer {
        background: #111;
        color: white;
    }
}

@media (prefers-color-scheme: light) {
    .footer {
        background: #f5f5f7;
        color: #111;
    }
}

/* Optionnel : centrer le h3 sur mobile */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-columns > div {
    flex: 1;
}





/* ===== GLOBAL ===== */
main {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111;
  line-height: 1.6;
}

/* ===== HERO ===== */
.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 120px 10%;
  /*background: linear-gradient(135deg, #f5f5f7, #ffffff);*/
  color: #111;
}

.hero-left h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 1.25rem;
  max-width: 500px;
  margin-bottom: 25px;
  color: #333;
}

.btn-primary {
  padding: 14px 36px;
  border-radius: 12px;
  background: #0071e3;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #005bb5;
}

.hero-right img {
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.hero-right img:hover {
  transform: translateY(-10px);
}

/* TITRES */
.services h2,
.expertise h2 {
  font-weight: 200;
  font-size: 3rem;
  text-align: center;
  color: #111;
  margin-bottom: 80px;
  position: relative;
}

.services h2::before,
.expertise h2::before {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #0071e3, #00d4ff);
  margin: 0 auto 20px;
  border-radius: 2px;
}

/* GRIDS */
.services-grid,
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  padding: 0 5%;
}

/* CARDS */
.service-card,
.expertise-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover,
.expertise-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

/* IMAGES */
.card-image img {
  width: 120px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.service-card:hover .card-image img,
.expertise-card:hover .card-image img {
  transform: rotate(5deg) scale(1.1);
}

/* TEXT */
.card-content h3,
.card-content h4 {
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-content p {
  font-weight: 300;
  font-size: 1rem;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid, .expertise-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 35px;
  }
}

@media (max-width: 768px) {
  .services-grid, .expertise-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== EXPERTISE GRID ===== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 40px;
  padding: 0 10%;
  background: #f8f8f8;
}

.expertise-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.expertise-card img {
  width: 120px;
  margin-bottom: 15px;
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.1);
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  background: #fff;
  padding: 100px 10%;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #111;
}

.cta-section a {
  background: #0071e3;
  color: #fff;
  padding: 16px 40px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cta-section a:hover {
  background: #005bb5;
}

.cta-section img {
  position: absolute;
  right: 80px;
  bottom: 0;
  width: 350px;
  opacity: 0.15;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .hero-left, .hero-right {
    width: 100%;
  }

  .hero-right img {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .services-grid, .expertise-grid {
    grid-template-columns: 1fr;
    padding: 0 5%;
  }

  .cta-section img {
    width: 200px;
    right: 20px;
  }
}

/* TITRES SECTIONS APPLE-LIKE */
.services h2,
.expertise h2 {
  font-weight: 300;          /* léger, épuré */
  font-size: 2.5rem;         /* taille importante mais pas massive */
  line-height: 1.2;          /* aéré */
  text-align: center;
  color: #111;               /* sobre */
  margin-bottom: 60px;       /* espace suffisant avant les cartes */
  letter-spacing: -0.5px;    /* légère condensation pour élégance */
}

@media (max-width: 768px) {
  .services h2,
  .expertise h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
}

.services h2::before,
.expertise h2::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #ccc;
  margin: 0 auto 15px auto;
  border-radius: 1px;
}


/* SECTION TELEPHONIE*/
.it-solutions {
  position: relative;
  background: url('../images/bg-telephony.jpg') center center/cover no-repeat;
  color: white;
  padding: 80px 5% 140px 5%;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.it-solutions .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(52, 58, 130, 0.8), rgba(106, 58, 181, 0.85));
  z-index: 0;
}

.it-solutions .content-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  z-index: 1;
  text-align: center;
}

.it-solutions .label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: #88c9f9;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.it-solutions h2 {
  font-weight: 300;
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.card {
  background: white;
  border-radius: 16px;
  width: 280px;
  padding: 40px 30px;
  box-shadow: 0 18px 30px rgba(0,0,0,0.1);
  color: #222;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(0,0,0,0.15);
}

.card img {
  width: 60px;
  margin-bottom: 25px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.05));
}

.card h3 {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #005bb5;
  margin-bottom: 20px;
}

.card p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

/* Découpe polygonale en bas */
.section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
  display: block;
}

/* Responsive */
@media (max-width: 920px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 90%;
    max-width: 320px;
  }
}


/* SECTION SECURITY */

.security-solutions {
  position: relative;
  background: url('../images/bg-security.webp') center center/cover no-repeat;
  color: white;
  padding: 80px 5% 140px 5%;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.security-solutions .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 27, 61, 0.8), rgba(1, 55, 89, 0.85));
  z-index: 0;
}

.security-solutions .content-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  z-index: 1;
  text-align: center;
}

.security-solutions .label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: #6ac4f0;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.security-solutions h2 {
  font-weight: 300;
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.security-solutions .cards-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.security-solutions .card {
  background: white;
  border-radius: 16px;
  width: 280px;
  padding: 40px 30px;
  box-shadow: 0 18px 30px rgba(0,0,0,0.1);
  color: #222;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-solutions .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(0,0,0,0.15);
}

.security-solutions .card img {
  width: 60px;
  margin-bottom: 25px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.05));
}

.security-solutions .card h3 {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #007bbf;
  margin-bottom: 20px;
}

.security-solutions .card p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

/* Découpe polygonale en bas */
.security-solutions .section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
  display: block;
}

/* Responsive */
@media (max-width: 920px) {
  .security-solutions .cards-container {
    flex-direction: column;
    align-items: center;
  }
  .security-solutions .card {
    width: 90%;
    max-width: 320px;
  }
}

/* SECTION INFORMATIQUE*/
.it-solutions-informatique {
  position: relative;
  background: url('../images/bg-informatique.png') center center/cover no-repeat;
  color: white;
  padding: 80px 5% 140px 5%;  
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.it-solutions-informatique .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 40, 70, 0.8), rgba(32, 75, 115, 0.85));
  z-index: 0;
}

.it-solutions-informatique .content-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  z-index: 1;
  text-align: center;
}

.it-solutions-informatique .label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: #7ec1f7;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.it-solutions-informatique h2 {
  font-weight: 300;
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.it-solutions-informatique .cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.it-solutions-informatique .card {
  background: white;
  border-radius: 16px;
  width: 260px;
  padding: 40px 30px;
  box-shadow: 0 18px 30px rgba(0,0,0,0.1);
  color: #222;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.it-solutions-informatique .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(0,0,0,0.15);
}

.it-solutions-informatique .card img {
  width: 60px;
  margin-bottom: 25px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.05));
}

.it-solutions-informatique .card h3 {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #1a5dbf;
  margin-bottom: 20px;
}

.it-solutions-informatique .card p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

/* Découpe polygonale en bas */
.it-solutions-informatique .section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
  display: block;
}

/* Responsive */
@media (max-width: 920px) {
  .it-solutions-informatique .cards-container {
    flex-direction: column;
    align-items: center;
  }
  .it-solutions-informatique .card {
    width: 90%;
    max-width: 320px;
  }
}


/* LOGO DES PARTENAIRES */
.partners-logos {
  max-width: 1200px;
  margin: 40px auto 80px;
  /*background: white;
  padding: 30px 5%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);*/
  text-align: center;
  position: relative;
  z-index: 2;
}

.partners-logos h4 {
  font-weight: 600;
  color: #111;
  margin-bottom: 25px;
  font-size: 1.3rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.partners-logos .logos-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  align-items: center;
}

.partners-logos img {
  height: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.partners-logos img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

/* Responsive */
@media (max-width: 600px) {
  .partners-logos .logos-container {
    gap: 30px;
  }
  .partners-logos img {
    height: 40px;
  }
}






/* APRES SLIDER ET AVANT LE FOOTER*/

.apple-style-section {
  /*max-width: 1200px;*/
  width: 100%;
  margin: 60px auto;
  padding: 60px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #111;
 
}

.apple-style-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 40px;
  
}

.apple-style-section .text-content {
  flex: 1 1 400px;
  max-width: 550px;
}

.apple-style-section .text-content h2 {
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.apple-style-section .text-content p {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 35px;
  color: #444;
}

.apple-style-section .btn-primary,
.apple-style-section .btn-secondary {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.apple-style-section .btn-primary {
  background-color: #0071e3;
  color: white;
  border: none;
}

.apple-style-section .btn-primary:hover {
  background-color: #005bb5;
}

.apple-style-section .btn-secondary {
  border: 2px solid #0071e3;
  color: #0071e3;
  background: transparent;
}

.apple-style-section .btn-secondary:hover {
  background-color: #0071e3;
  color: white;
}

.apple-style-section .image-content {
  flex: 1 1 450px;
  max-width: 550px;
  text-align: center;
}

.apple-style-section .image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.apple-style-section.bottom-section.reverse-layout {
  flex-direction: row-reverse;
}

/* Responsive */

@media (max-width: 900px) {
  .apple-style-section {
    padding: 40px 5%;
    margin: 40px auto;
  }
  .apple-style-section .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .apple-style-section .text-content,
  .apple-style-section .image-content {
    max-width: 100%;
  }
}

/* RTL LANGUE ARABE*/
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .navbar {
  flex-direction: row-reverse;
}




.lang {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lang a.lang-switch{
  display: inline-flex;
  align-items: center;
  gap: 8px;                 /* espace entre texte et drapeau */
  text-decoration: none;
  opacity: .85;
}

.lang a.lang-switch:hover{
  opacity: 1;
}

/* Drapeaux en images (PNG/SVG) */
.flag{
  width: 18px;              /* taille du drapeau */
  height: 18px;
  display: inline-block;
  background-size: cover;   /* ou contain si tu préfères */
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 3px;       /* léger arrondi (optionnel) */
}

/* Remplace les chemins par tes vrais fichiers */
.flag-fr { background-image: url("../images/fr.png"); }
.flag-en { background-image: url("../images/en.png"); }
.flag-ar { background-image: url("../images/ar.png"); } /* ex: Maroc */




:root { --header-h: 80px; } /* fallback */

@media (max-width: 900px) {
  /* meilleur comportement sur mobile (barre d’adresse iOS/Android) */
  .slider {
    height: 100vh;
   /* height: 100svh;*/
  }

  /* pousse le contenu du slide sous le header fixed */
  .slide {
    padding-top: calc(8% + var(--header-h));
  }
}

/* Evite que le contenu commence derrière le header fixed */
body { padding-top: var(--header-h); }

/* Le slider reste plein écran "utile" (viewport - header) */
.slider {
  height: calc(100vh - var(--header-h));
  /*height: calc(100vh - var(--header-h)); /* mieux sur mobile */
}