/* 0211-nuit-ea-p1 — affichage multilangue, devis/contact, textes longs */
html{overflow-x:clip;max-width:100%}
body{overflow-x:clip;max-width:100%}

/* Allemand / japonais / chinois : coupures propres */
html[lang="de"] body,
html[lang="de"] .hd-nav a,
html[lang="de"] .drop-menu a,
html[lang="de"] .eda h1,
html[lang="de"] .eda h2,
html[lang="de"] .ec-contact h1,
html[lang="de"] label{
  hyphens:auto;
  -webkit-hyphens:auto;
  overflow-wrap:break-word;
  word-break:normal;
}
html[lang="ja"] body,
html[lang="zh"] body,
html[lang="ja"] .eda,
html[lang="zh"] .eda,
html[lang="ja"] .ec-contact,
html[lang="zh"] .ec-contact,
html[lang="ja"] .drop-menu a,
html[lang="zh"] .drop-menu a,
html[lang="ja"] label,
html[lang="zh"] label{
  line-break:strict;
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Boutons header : une ligne, pas de wrap moche */
a.btn-rdv-hd,
a.btn-devis-hd,
.ea-panel-cta a.btn-rdv-hd,
.ea-panel-cta a.btn-devis-hd{
  white-space:nowrap!important;
  max-width:100%;
}

/* Bouton RDV page : compact, décollé de l'adresse */
a.btn-rdv-page,
.ea-devis-bas a.btn-rdv-page,
.ec-4bis > a.btn-rdv-page{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:auto!important;
  max-width:max-content;
  margin-top:22px!important;
  height:35px!important;
  min-height:35px!important;
  padding:0 16px!important;
  white-space:nowrap;
  box-sizing:border-box;
}
.eda a.eda-devis__btn-rdv{
  white-space:nowrap;
  max-width:max-content;
}

/* Emails longs : pas de débordement */
.ec-coords a[href^="mailto:"],
.eda-devis__coords a[href^="mailto:"],
footer.cbs-foot a[href^="mailto:"]{
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Champs formulaire : même hauteur, alignés */
.cp-form input[type="text"],
.cp-form input[type="email"],
.cp-form input[type="tel"],
.cp-form select,
.eda-devis__form input[type="text"],
.eda-devis__form input[type="email"],
.eda-devis__form input[type="tel"]{
  min-height:44px;
  height:44px;
  box-sizing:border-box;
  width:100%;
}
.cp-form label,
.eda-devis__form label{
  overflow-wrap:break-word;
}

/* Grille contact/devis : moins de vide vertical excessif */
.ec-contact{
  align-items:start;
}
.ec-4bis{
  margin-bottom:0;
}
@media (min-width:900px){
  .ec-contact{
    gap:28px 40px;
  }
}
@media (max-width:899px){
  .ec-contact .cp-form{
    margin-top:8px;
  }
  a.btn-rdv-page{
    margin-bottom:4px;
  }
}

/* Cartes produits : titres longs */
.eda-range__card h3,
.ep-card h3,
.prod-card h3,
.e-pq__card h3{
  overflow-wrap:break-word;
  hyphens:auto;
}

/* Empêche scroll horizontal résiduel sur menus */
.drop-menu{
  max-width:min(360px, calc(100vw - 24px));
}
.drop-menu a{
  overflow-wrap:break-word;
  white-space:normal;
}
