@media (min-width: 901px) {

  /* NAVIGATION */
  nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Afficher les liens du header */
  nav .links {
    display: flex;
    gap: 2rem;
  }

  nav .links a {
    color: var(--texte);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    font-family: "Agrandir grand light", sans-serif;
    transition: color 0.3s ease;
  }

  nav .links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--mauverose);
    transition: width 0.3s ease;
  }

  nav .links a:hover {
    color: #3a2a4b;
  }

  nav .links a:hover::after {
    width: 100%;
  }

  /* Afficher le bouton CTA */
  nav .cta-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    background: var(--mauverose);
    border: 1px solid var(--mauverose);
    color: var(--clair);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    /* <-- ajouter ici */
  }

  nav .cta-btn:hover {
    background-color: var(--clair);
    color: var(--mauverose);
  }

  /* Masquer le burger */
  .menu-toggle {
    display: none;
  }

  /* Overlay desktop : taille des liens et CTA */
  .overlay-content a {
    font-size: 2rem;
  }

  .overlay-content .cta-btn {
    font-size: 1.2rem;
  }

  /* Logo desktop */
  nav .logo {
    gap: 0.75rem;
    font-size: 1.25rem;
  }

  nav .logo span {
    font-size: 1.5rem;
  }

  nav .logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
}

/* =========================
   STYLES POUR TABLETTES ET DESKTOP
========================= */

@media (min-width: 901px) {

  /* statistiques */
  .statistique {
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .statistique div h2 {
    font-size: 2.5rem;
  }

  .statistique div span {
    font-size: 2rem;
  }

  .statistique div .chiffre img {
    width: 24px;
    height: 24px;
  }

  /* connect */
  .connect {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }

  /* image */
  .image {
    flex: 1 1 40%;
    min-width: 300px;
  }

  .image img {
    max-height: 700px;
  }

  /* info */
  .info {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10rem;
  }

  .titrefooter {
    padding: 3rem;
    gap: 2rem;
    align-items: flex-start;
  }

  .info h1 {
    font-size: 3.5rem;
    text-align: left;
  }

  .info h3 {
    font-size: 1.7rem;
  }

  /* logo + contacts */
  .logo-contact {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3rem;
  }

  .logo-contact img {
    width: 8rem;
    height: 8rem;
  }

  .social {
    flex-direction: column;
    align-items: flex-end;
    height: 10rem;
    justify-content: center;
    gap: 1rem;
  }

  .reseaux {
    gap: 2rem;
  }

  /* conditions */
  .conditions {
    flex-direction: row;
    justify-content: space-around;
    padding: 0 6rem;
  }

  .header-footer {
    flex-direction: row;
    /* éléments alignés horizontalement */
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    /* padding original sur desktop */
    font-size: 0.85rem;
    /* taille originale du texte */
    text-align: left;
  }
}

/* =========================
   HERO SECTION
========================= */

@media (min-width: 768px) {
  .hero {
    max-width: 1400px;
    margin: auto;
    height: 100vh;
    grid-template-columns: 6fr 6fr;
    /* deux colonnes sur desktop */
    align-items: center;
    padding: 2rem;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .hero .buttons {
    flex-direction: row;
    /* boutons côte à côte */
    gap: 1rem;
  }

  .hero .btn {
    width: auto;
    /* largeur automatique */
    padding: 0.6rem 2rem;
    /* padding ajusté */
    font-size: 1.2rem;
    /* taille de police augmentée */
  }

  .hero .follow {
    justify-content: flex-start;
    /* alignement à gauche */
  }

  .image-hero {
    flex-direction: column;
    /* peut rester centré */
    align-items: flex-start;
    gap: 3rem;
  }
}

@media (min-width: 768px) {
  .hero2 {
    min-height: 100vh;
    flex-direction: row;
    padding: 4rem 2rem;
  }

  .hero2 .container-hero2 {
    max-width: 1100px;
    text-align: center;
  }

  .hero2 h2 {
    font-size: 2.5rem;
  }

  .hero2 p {
    max-width: 700px;
    margin-bottom: 3rem;
  }

  .services {
    flex-direction: row;
    /* cartes en ligne */
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .service-card {
    width: calc(50% - 1rem);
    /* deux cartes par ligne sur desktop */
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }

  .service-card i {
    font-size: 2rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }

  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(127, 113, 142, 0.25);
  }

  .bubbles .bubble {
    opacity: 0.15;
    /* bulles plus visibles sur desktop */
  }

  .bubble:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: 100px;
  }

  .bubble:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 80px;
    left: 10%;
  }

  .bubble:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 60px;
  }
}

/*==========================
   LAPTOP SCREEN
==========================*/

.laptop-screen {
  width: 100%;
  max-width: 1200px;
  height: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.laptop-screen img {
  width: 100%;
  height: 60%;
  display: block;
  object-fit: contain;
}

.screenoverflow {
  position: absolute;
  width: 57.5%;
  height: 61%;
  right: 20.5%;
  background-color: #3a2a4b;
  overflow: hidden;
}

/* Conteneur des cartes */
.image-hero {
  position: absolute;
  top: 10%;
  left: 0%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Carte empilée initialement (version mini) */
.case-card {
  position: absolute;
  width: 80%;
  /* beaucoup plus petite largeur */
  height: auto;
  /* ajuste la hauteur automatiquement */
  background: var(--clair);
  padding: 0.4rem;
  /* padding réduit */
  border-radius: 0.6rem;
  /* coins plus petits */
  font-size: 0.65rem;
  /* texte global réduit */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12),
    0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translate(50%, 50%) rotate(0deg);
  opacity: 0;
  transition: all 1s ease-in-out;
  z-index: 100;
}

/* Carte empilée mais décalée */
.case-card.show {
  opacity: 1;
}

.case-card.show:first-child {
  top: 5%;
  /* plus vers le haut */
  transform: translateX(10%) rotate(5deg);
  /* penchée à droite */
}

.case-card.show:last-child {
  top: 40%;
  /* descend beaucoup plus bas */
  transform: translateX(10%) rotate(-5deg);
  /* penchée à gauche */
}


/* Contenu plus petit */
.case-card h3 {
  margin: 0;
  font-weight: 600;
  font-size: 0.75rem;
  /* titre réduit */
  color: var(--texte);
}

.case-card p {
  color: var(--grisbeige);
  font-size: 0.6rem;
  /* texte plus petit */
  margin-top: 0.25rem;
}

.case-card .tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
  margin-top: 0.3rem;
}

.case-card .tags div {
  background: #f5f5f5;
  padding: 2px 4px;
  border-radius: 6px;
  font-size: 0.55rem;
  /* tags minuscules */
  color: var(--texte);
}

.case-card .footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  /* footer plus petit */
  font-weight: 500;
  color: var(--grisbeige);
}