/* ==========================================================================
   contact.css : page Contact v2 (maquette storybook, aout 2026).
   Prefixe .cmt-. Charge par cgi-bin/contact.pl avec ?v= (cache 11 mois).
   ========================================================================== */

.cmt-contact {
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
  color: #1F2328;
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}
.cmt-contact *, .cmt-contact *::before, .cmt-contact *::after { box-sizing: border-box; }

.cmt-crumb { padding: 11px 28px; font-size: 12px; color: #98A1A8; border-bottom: 1px solid #F1F3F5; }
.cmt-crumb a { color: #6E767E; text-decoration: none; }
.cmt-crumb a:hover { color: #D9640A; }
.cmt-crumb b { color: #1F2328; font-weight: 500; }

.cmt-cols {
  display: grid; grid-template-columns: 360px minmax(0, 1fr);
  gap: 22px; padding: 22px 28px 8px; align-items: start;
}

.cmt-cocard { border: 1px solid #E8EBEE; border-radius: 14px; padding: 18px; background: #fff; }
.cmt-cocard .cap {
  display: flex; align-items: center; gap: 7px; font-size: 11.5px;
  letter-spacing: .05em; text-transform: uppercase; color: #98A1A8; margin-bottom: 12px;
}
.cmt-cocard .cap svg { color: #98A1A8; }
.cmt-intro { font-size: 12.5px; color: #6E767E; margin: 0 0 12px; line-height: 1.6; }

/* coordonnees */
.cmt-coline { display: flex; gap: 11px; align-items: baseline; padding: 7px 0; font-size: 13px; color: #1F2328; line-height: 1.55; }
.cmt-coline > svg { flex: none; color: #E8720C; transform: translateY(2px); }
.cmt-coline a { color: #1F2328; text-decoration: none; }
.cmt-coline a:hover { color: #D9640A; }
.cmt-map {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; border: 1px dashed #DFE3E7; border-radius: 12px; background: #FAFBFC;
  min-height: 130px; color: #98A1A8; font-size: 12.5px;
  text-decoration: none !important; transition: background .15s ease;
}
.cmt-map:hover { background: #F4F5F7; color: #D9640A; }

/* formulaire */
#cmt-form { margin: 0; }
.cmt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.cmt-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cmt-field.full { grid-column: 1 / -1; }
.cmt-field label { font-size: 11.5px; font-weight: 600; color: #4B5157; margin: 0; text-transform: none; }
.cmt-field label i { font-style: normal; color: #B3342C; }
#cmt-form .cmt-field input {
  width: 100%; height: 42px; min-height: 0 !important;
  border: 1px solid #DFE3E7 !important; border-radius: 9px !important;
  padding: 0 12px !important; font-size: 13px; color: #1F2328;
  background: #fff; font-family: inherit; box-shadow: none !important;
}
#cmt-form .cmt-field textarea {
  width: 100%; min-height: 110px !important;
  border: 1px solid #DFE3E7 !important; border-radius: 9px !important;
  padding: 10px 12px !important; font-size: 13px; color: #1F2328;
  background: #fff; font-family: inherit; box-shadow: none !important;
}
#cmt-form .cmt-field input::placeholder, #cmt-form .cmt-field textarea::placeholder { color: #A6ADB3; }
#cmt-form .cmt-field input:focus, #cmt-form .cmt-field textarea:focus {
  outline: 2px solid #F0B27D; outline-offset: 0; border-color: #E8720C !important;
}
.cmt-captcha { margin: 14px 0 0; min-height: 78px; }
.cmt-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #E8720C; color: #fff; font-size: 14.5px; font-weight: 600;
  border-radius: 10px; height: 46px; cursor: pointer; border: none;
  width: 100%; max-width: 320px; margin-top: 4px; font-family: inherit;
  text-transform: none; transition: background .2s ease;
}
.cmt-cta:hover { background: #C95F06; }

/* encart revendeur */
.cmt-notice {
  margin: 20px 28px 0; display: flex; justify-content: center; gap: 8px;
  background: #FBF3E2; border: 1px solid #EBD9B4; color: #8F5E08;
  font-size: 12.5px; border-radius: 10px; padding: 11px 14px; text-align: center; line-height: 1.5;
}
.cmt-notice b { color: #6E3A0C; }
.cmt-notice a { color: #8F5E08; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.cmt-notice a:hover { color: #6E3A0C; }

/* equipe */
.cmt-team { padding: 24px 28px 34px; }
.cmt-team h2 { font-size: 18px; font-weight: 650; margin: 0 0 14px; text-transform: none; color: #1F2328; }
.cmt-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cmt-teamcard {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid #E8EBEE; border-radius: 12px; padding: 14px; background: #fff;
}
.cmt-teamcard .av {
  width: 44px; height: 44px; border-radius: 50%; background: #F3D9BD; color: #8A4B12;
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  flex: none; overflow: hidden;
}
.cmt-teamcard .av img { width: 100%; height: 100%; object-fit: cover; }
.cmt-teamcard > div { min-width: 0; }
.cmt-teamcard b { display: block; font-size: 13.5px; font-weight: 650; }
.cmt-teamcard .lg { display: block; font-size: 11.5px; color: #6E767E; margin-top: 3px; overflow-wrap: anywhere; }
.cmt-teamcard .lg a { color: inherit; text-decoration: none; }
.cmt-teamcard .lg a:hover { color: #D9640A; }
.cmt-teamcard .lg img { width: 15px; height: auto; vertical-align: -2px; }
.cmt-teamcard .wa { margin-left: auto; color: #3E7A2C; flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cmt-team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .cmt-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cmt-crumb, .cmt-cols, .cmt-team { padding-left: 15px; padding-right: 15px; }
  .cmt-notice { margin-left: 15px; margin-right: 15px; }
  .cmt-grid { grid-template-columns: 1fr; }
  .cmt-team-grid { grid-template-columns: 1fr; }
  .cmt-cta { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cmt-contact * { transition: none !important; }
}
