@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sean+Slab:wght@400;800&display=swap');

@font-face {
  font-family: 'Sean Slab Narrow';
  src: url('../fonts/seanslab-normalblack-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

body.contact-page {
    background-color: #ffffff;
    font-family: 'Sean Slab', serif;
    color: #1c1c1c;
}

h1 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

/* Bloc d'informations et formulaire */
.contact-details-block,
.contact-form-wrapper {
    background-color: #f8f9fa !important;
    border: 1px solid #eaeaea;
}

.info-content p {
    font-family: 'Sean Slab Narrow', sans-serif;
    font-size: 1.05rem;
    color: #495057;
}

/* Style des champs de formulaire avec effet Floating Label */
.contact-form .form-group {
    position: relative;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 18px 12px 6px 12px;
    border: 1px solid #dee2e6 !important;
    font-size: 1rem;
    font-family: 'Sean Slab Narrow', sans-serif;
    background-color: #fff !important;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #000 !important;
    outline: none;
}

.contact-form label {
    position: absolute;
    top: 14px;
    left: 12px;
    color: #6c757d;
    transition: all 0.2s ease-in-out;
    pointer-events: none;
    font-size: 0.95rem;
    font-family: 'Sean Slab Narrow', sans-serif;
}

/* Animation du label au focus ou remplissage */
.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:not(:placeholder-shown) + label {
    transform: translateY(-8px);
    font-size: 0.75rem;
    color: #adb5bd;
}

.contact-map {
    border-radius: 0;
    filter: grayscale(20%);
}

/* Bouton d'envoi */
.contact-form .submit-btn {
    background-color: #000;
    color: #fff;
    border: none;
    font-family: 'Sean Slab', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
    background-color: #333 !important;
}