/* Hero */
.contact-hero {
    position: relative;
    text-align: center;
    padding: 100px 10% 60px;
    background: #fff;
}

.contact-hero h1 {
    font-family: 'Chivo', sans-serif;
    font-size: 2.5rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #555;
    margin-top: 15px;
}

/* Décorations */
.hero-left, .hero-right {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.hero-left {
    top: 30px;
    left: 0;
}

.hero-right {
    top: 0; /* collé à la navbar */
    right: 0;
}

.hero-left img, .hero-right img {
    max-width: 30vw;
    height: auto;
    opacity: 0.8;
    display: block;
}


/* Formulaire */
.contact-main {
    display: flex;
    justify-content: center;
    padding: 60px 10%;
    background: #fff;
}

.contact-form {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
}

.contact-form button {
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #f5a8c7;
    background: #fff;
    color: #111;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #f5a8c7;
    color: #fff;
}

/* Messages */
.success {
    color: green;
    font-weight: 500;
}

.error {
    color: red;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-left, .hero-right {
        display: none;
    }

    .contact-hero {
        padding: 80px 5% 40px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }

    .contact-form button {
        font-size: 1rem;
    }
}
