/* CORMACO : formulaire de contact de l'accueil */
#home .cm-form { position: relative; max-width: 760px; margin: 1.3em 0 0; font-size: .9em; }
#home .cm-form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
#home .cm-field { margin: 0 0 16px; }
#home .cm-field label { display: block; margin: 0 0 6px; color: rgba(255, 255, 255, .75); font-size: .8em; font-weight: 400; letter-spacing: .4px; }
#home .cm-field label span { color: rgba(255, 255, 255, .5); font-weight: 300; }
#home .cm-field input, #home .cm-field textarea {
  box-sizing: border-box; width: 100%; padding: 10px 12px; margin: 0;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 2px; background: rgba(13, 28, 27, .55);
  color: #FFF; font: 300 1em/1.5 'Barlow', sans-serif; transition: border-color .2s, background-color .2s;
}
#home .cm-field textarea { min-height: 150px; resize: vertical; }
#home .cm-field input:focus, #home .cm-field textarea:focus { outline: none; border-color: #E1C070; background: rgba(13, 28, 27, .75); }
#home .cm-field [aria-invalid="true"] { border-color: #E59A8C; }
#home .cm-field ::placeholder { color: rgba(255, 255, 255, .4); }
/* Champ piège pour les robots, invisible pour les visiteurs */
#home .cm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#home .cm-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 4px 0 0; }
#home .cm-form button {
  padding: 11px 26px; border: 1px solid #E1C070; border-radius: 2px; background: transparent;
  color: #E1C070; font: 400 .95em 'Barlow', sans-serif; letter-spacing: .5px; cursor: pointer;
  transition: background-color .2s, color .2s;
}
#home .cm-form button:hover, #home .cm-form button:focus-visible { background: #E1C070; color: #0D1C1B; outline: none; }
#home .cm-form button:disabled { opacity: .5; cursor: default; }
#home .cm-form-note { color: rgba(255, 255, 255, .55); font-size: .78em; }
#home .cm-form-status { min-height: 1.5em; margin: 12px 0 0; font-size: .92em; line-height: 1.5; }
#home .cm-form-status.is-err { color: #F2A99B; }
#home .cm-form-status.is-ok { color: #E1C070; }
#home .cm-form-status a { color: #E1C070; }
#home .cm-form.is-sent .cm-form-grid, #home .cm-form.is-sent > .cm-field, #home .cm-form.is-sent .cm-form-foot { display: none; }
@media screen and (max-width: 768px) {
  #home .cm-form-grid { grid-template-columns: 1fr; }
}
