/* Contact — styles spécifiques au module du nouveau blog */
.gp-contact-page{
  max-width: 780px;
  margin-inline: auto;
  text-align: left;
}

.gp-contact-page__head{
  text-align: center;
  margin-bottom: 18px;
}

.gp-contact-page__head h1{
  margin: 0 0 12px;
}

.gp-contact-page__head p{
  margin: 8px 0;
  line-height: 1.6;
}

.contact-alert{
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(120, 20, 20, .35);
  border-radius: 14px;
  background: rgba(180, 40, 40, .08);
  color: #5a1717;
  font-weight: 700;
}

.gp-contact-form{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gp-contact-form label{
  font-weight: 700;
  color: #1f1a14;
}

.gp-contact-form input,
.gp-contact-form textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  color: #20160d;
  font: inherit;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.06);
}

.gp-contact-form textarea{
  min-height: 260px;
  resize: vertical;
}

.gp-contact-form input:focus,
.gp-contact-form textarea:focus{
  outline: 2px solid rgba(160, 124, 44, .28);
  border-color: rgba(120, 89, 19, .45);
}

.contact-honeypot{
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rgpd-consent{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.34);
}

.rgpd-consent input[type="checkbox"]{
  width: auto;
  margin-top: 3px;
}

.rgpd-consent label{
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
}

.rgpd-consent a{
  color: inherit;
  text-decoration: underline;
}

.gp-contact-form button,
.retour{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 220px;
  padding: 12px 18px;
  border: 1px solid rgba(0,0,0,.28);
  border-radius: 999px;
  background: rgba(196,183,147,.55);
  color: #2b1d0f;
  font-weight: 800;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

.gp-contact-form button:hover,
.retour:hover,
.gp-contact-form button:focus-visible,
.retour:focus-visible{
  background: rgba(196,183,147,.75);
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0,0,0,.12);
}

.gp-contact-confirmation-wrap{
  max-width: 700px;
}

.confirmation-box{
  text-align: center;
}

.confirmation-box h1{
  margin: 0 0 12px;
}

.confirmation-box p{
  margin: 0 0 18px;
  line-height: 1.7;
}

@media (max-width: 640px){
  .gp-contact-page{
    padding: 18px 14px;
  }

  .gp-contact-form textarea{
    min-height: 220px;
  }

  .gp-contact-form button,
  .retour{
    width: 100%;
    min-width: 0;
  }
}
