body.page-contact #contact-banner {
    background-image: url("../images/banners/bandeau-contact.png");
}
body.page-contact #contact-banner h1 {
    margin: 0 auto;
    max-width: 800px;
}

/* ——— Wrapper & Card ——— */
body.page-contact .contact-wrapper {
    max-width: 700px;
    margin: 3rem auto;
    padding: 0 1rem;
}
body.page-contact .contact-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: slideIn 0.8s ease-out;
    visibility: hidden;
}

/* ========== Champ + Floating label + Icône ========== */
body.page-contact .field {
    position: relative;
    font-weight: 600;
    color: #2a1f68;
}

/* icône à l’intérieur du champ */
body.page-contact .field i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #888;
    pointer-events: none;
}

/* champ texte / textarea */
body.page-contact .field input,
body.page-contact .field textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem; /* réserve 3rem pour l’icône */
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}
body.page-contact .field input:focus,
body.page-contact .field textarea:focus {
    outline: none;
    border-color: #2a1f68;
    box-shadow: 0 0 0 2px rgba(42, 31, 104, 0.15);
}

/* label superposé */
body.page-contact .field label {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 0.25rem;
    color: #2a1f68;
    font-size: 1rem;
    pointer-events: none;
    transition: top 0.2s, font-size 0.2s;
    white-space: nowrap;
}
/* quand focus ou champ rempli → faire « monter » le label */
body.page-contact .field input:focus + label,
body.page-contact .field input:not(:placeholder-shown) + label,
body.page-contact .field textarea:focus + label,
body.page-contact .field textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    font-size: 0.85rem;
}

/* astérisque rouge */
body.page-contact .field label .required {
    color: red;
    margin-left: 0.25rem;
    font-size: 0.9rem;
}

/* ——— Bouton Envoyer ——— */
body.page-contact button[type="submit"] {
    align-self: flex-start;
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s;
}
body.page-contact button[type="submit"]:hover {
    background: #c0392b;
}

/* ——— Message de statut ——— */
body.page-contact .form-status {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: bold;
}

@media (max-width: 480px) {
    body.page-contact .contact-card {
        padding: 1.25rem;
    }
}

/* titre de la carte */
body.page-contact .contact-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #2a1f68;
    margin-bottom: 1.5rem;
}

/* icône dans le titre */
body.page-contact .contact-card-title i {
    font-size: 1.4rem;
    color: #e74c3c;
}

.contact-card-title{
  display:flex;
  align-items:center;
  gap:.75rem;
}

.contact-logo{
  width:144px;     /* 40-50 px : ajuste si besoin */
  opacity:.9;     /* léger “fondu” – passe à 1 si tu veux plein contraste */
  flex-shrink:0;  /* ne rétrécit pas si le texte est long */
  margin-right: 20px;
}

/* -------------------------------------------------- */
/* Sur mobile (< 600 px) on réduit un peu             */
/* -------------------------------------------------- */
@media(max-width:600px){
  .contact-logo{
    width:112px;
	margin:0 auto;
  }

  .contact-card-title{
    justify-content:center;   /* centre le bloc titre */
    text-align:center;
    flex-direction:column;    /* empile logo + texte */
    gap: .5rem;
  }
}