/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root{
  --primary: #FF6634; /* ton orange */
  --text: #111;
  --muted: #666;
  --bg: #fff;
  --radius: 10px;
}

*{ -webkit-box-sizing: border-box; box-sizing: border-box; }
body{
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: var(--text);
}

.contact-page{
  padding: 24px;
}

.contact-card{
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg);
  font-size: 1.275em;
}

.contact-title{
    text-align: center;
    font-size:2.5em;
    margin: 0 0 18px;
    font-weight: 800;
}

.alert{
  padding: 12px 14px;
  border-radius: var(--radius);
  margin: 0 0 14px;
  font-weight: 700;
}
.alert.success{ background: #e9f8ee; color:#146c2e; }
.alert.error{ background: #fdeaea; color:#8a1c1c; }

.contact-form{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 18px;
}

.grid-2{
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 22px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.field label{
  display: block;
  margin: 0 0 8px;
  font-size: 1.175em;
  font-weight: 800;
  color: #111;
}

.field input,
.field select,
.field textarea{
  width: 100%;
  padding: 16px 14px;
  font-size: 1.375em;
  border-radius: 0;                 /* look “rectangulaire” comme ton screen */
  border: 1.5px solid rgba(255,102,52,.55);
  outline: none;
  background: #fff;
  color: #111;
}

.field textarea{ resize: vertical; min-height: 220px; }

.field input::-webkit-input-placeholder, .field textarea::-webkit-input-placeholder{
  color: #777;
}

.field input::-moz-placeholder, .field textarea::-moz-placeholder{
  color: #777;
}

.field input:-ms-input-placeholder, .field textarea:-ms-input-placeholder{
  color: #777;
}

.field input::-ms-input-placeholder, .field textarea::-ms-input-placeholder{
  color: #777;
}

.field input::placeholder,
.field textarea::placeholder{
  color: #777;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: var(--primary);
  -webkit-box-shadow: 0 0 0 3px rgba(255,102,52,.18);
          box-shadow: 0 0 0 3px rgba(255,102,52,.18);
}

.actions{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding-top: 6px;
}

.btn-submit{
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 22px;
  font-size: 1.375em;
  font-weight: 800;
  cursor: pointer;
}

.btn-submit:hover{
  -webkit-filter: brightness(0.95);
          filter: brightness(0.95);
}
.rappel-contact{
  margin-top:15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap:60px;
}
.rappel-contact p{
  font-size : 1.375em;
  color : var(--primary);
}
.rappel-contact p i{
  font-size : 1.8em;
}
.rappel-contact a{
  text-decoration: none;
  color:var(--color-primary);
}
.rappel-contact a:visited{
  text-decoration: none;
  color:var(--color-primary);
}
.rgpd-wrap{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;   /* top align */
  gap: 10px;
}

.rgpd-wrap input[type="checkbox"]{
  margin-top: 4px;           /* aligne visuellement avec la première ligne */
  width: 18px;
  height: 18px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 18px;
          flex: 0 0 18px;
  cursor: pointer;
}

.rgpd-wrap label{
  line-height: 1.35;
  cursor: pointer;           /* clic sur le texte = coche */
}
.rgpd-wrap a{
  text-decoration: none;
  color:var(--primary);
}
/* Bloc alerte (base) */
.alert{
  border-radius: 14px;
  padding: 16px 18px;
  margin: 14px 0 18px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* Erreur */
.alert-error,
.alert.error{
  background: #fff1f1;
  border: 1px solid #f4b8b8;
  color: #7a1010;
  position: relative;
  padding-left: 52px; /* place pour l’icône */
}

/* Icône à gauche (sans image) */
.alert-error::before,
.alert.error::before{
  content: "!";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: -ms-grid;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: #ff5a5a;
  color: #fff;
}

/* Titre du message */
.alert-title{
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
}

/* Liste d’erreurs */
.alert-list{
  margin: 0;
  padding-left: 18px; /* garde une indentation légère */
  display: -ms-grid;
  display: grid;
  gap: 6px;
  font-weight: 600;
}

/* Puces plus discrètes */
.alert-list li{
  line-height: 1.25;
}
/* champ en erreur */
.field.has-error input,
.field.has-error select,
.field.has-error textarea{
  border: 2px solid #e23b3b !important;
  outline: none;
  -webkit-box-shadow: 0 0 0 3px rgba(226, 59, 59, 0.15);
          box-shadow: 0 0 0 3px rgba(226, 59, 59, 0.15);
}

/* message sous le champ */
.field-error{
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #b31212;
}
/* Responsive */
@media (max-width: 1161px){
  .contact-page{ padding: 16px; }
  .grid-2{ -ms-grid-columns: 1fr; grid-template-columns: 1fr; }
  .field label{ font-size: 1.275em; }
  .field input, .field select, .field textarea{ font-size: 1.275em; }
  .btn-submit{ width: 100%; }
  .actions{ -webkit-box-pack: stretch; -ms-flex-pack: stretch; justify-content: stretch; }
  .rappel-contact{display: none;}
  .alert-error,
  .alert.error{
    padding: 14px 14px 14px 48px;
  }
  .alert-title{
    font-size: 16px;
  }
}