
/* ========== CORRECTIONS MOBILE ONLY (NE TOUCHE PAS AU DESKTOP) ========== */
@media (max-width: 768px) {
  body {
    padding: 0 12px;
    font-size: 15px;
    line-height: 1.5;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .row, .container, .section, .bloc, .content, .columns, .col {
    display: block !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 10px 0;
  }

  header, nav, footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  button, .btn, .cta, .contact-button {
    width: 100%;
    font-size: 16px !important;
    margin: 10px 0;
  }

  h1, h2, h3 {
    font-size: 20px !important;
    line-height: 1.4 !important;
  }

  p {
    font-size: 15px;
    line-height: 1.5;
  }

  .carousel, .carousel-inner, .carousel-item {
    overflow-x: scroll !important;
    white-space: nowrap;
  }

  .carousel-item > * {
    display: inline-block;
    vertical-align: top;
  }

  /* Empêcher débordement horizontal */
  html, body {
    overflow-x: hidden;
  }

  /* Bouton retour haut ajusté mobile */
  #scroll-top {
    bottom: 20px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .bloc-arguments, .expertise-row {
    display: flex;
    flex-direction: column !important;
    gap: 20px;
    align-items: stretch !important;
    width: 100%;
  }

  .bloc-arguments .card, .expertise-row .card {
    width: 100% !important;
    max-width: 100%;
  }

  .bloc-arguments .card p, .expertise-row .card p {
    font-size: 4vw;
    text-align: left;
  }

  .bloc-arguments .card h3, .expertise-row .card h3 {
    font-size: 5vw;
    text-align: left;
  }

  .cta, .btn, button {
    width: 100%;
    font-size: 1rem;
    padding: 1em;
  }

  #chatbot-container {
    width: 90vw !important;
    right: 5vw !important;
    bottom: 20px !important;
    max-width: 360px;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .menu-icon {
    display: block;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    margin-right: 20px;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #002744;
    padding: 1rem;
  }

  #menu-toggle:checked + .menu-icon + nav {
    display: flex;
  }

  nav a {
    padding: 0.5rem 0;
    font-size: 1.2rem;
  }
}

.solution-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
