
/* =========================================
   CARREZ CONSEIL - RESPONSIVE GLOBAL
   PC : design actuel conserve
   ========================================= */

/* TABLETTE : 768px a 1024px */
@media screen and (min-width: 768px) and (max-width: 1024px) {

  /* Images */
  .elementor img {
    max-width: 100%;
    height: auto;
  }

  /* Conteneurs Elementor */
  .elementor-section,
  .elementor-container {
    max-width: 100%;
  }

  /* Formulaires */
  .wpcf7 input:not([type="checkbox"]):not([type="radio"]),
  .wpcf7 select,
  .wpcf7 textarea {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* MOBILE : jusqu'a 767px */
@media screen and (max-width: 767px) {

  /* Images */
  .elementor img {
    max-width: 100%;
    height: auto;
  }

  /* Titres */
  .elementor-widget-heading h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .elementor-widget-heading h2 {
    font-size: 23px;
    line-height: 1.35;
  }

  .elementor-widget-heading h3 {
    font-size: 20px;
    line-height: 1.4;
  }

  /* Texte */
  .elementor-widget-text-editor {
    overflow-wrap: break-word;
  }

  /* Formulaires Contact Form 7 */
  .wpcf7 input:not([type="checkbox"]):not([type="radio"]),
  .wpcf7 select,
  .wpcf7 textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Boutons */
  .elementor-button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  /* Colonnes classiques Elementor */
  .elementor-column {
    min-width: 0;
  }

  /* Eviter les textes trop larges */
  .elementor-widget-container {
    min-width: 0;
    overflow-wrap: break-word;
  }

  /* Tableaux */
  .elementor-widget-container table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}
