:root {
    --bg-color: #FAF7F2;
    --text-color: #4A5844;
    --accent-color: #C98667;
    --accent-hover: #b37255;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Nunito', sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    text-align: center;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.subtitle {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: italic;
    color: var(--accent-color);
}

footer {
    padding: 20px;
}

.contact-link {
    background: none;
    border: none;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.contact-link:hover {
    opacity: 1;
}

/* Modale de Contact */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(74, 88, 68, 0.4);
    backdrop-filter: blur(3px);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: left;
}

.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

h2 {
    font-family: var(--font-heading);
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1cec7;
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
    font-family: var(--font-body);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.captcha-img {
    margin-bottom: 10px;
    cursor: pointer;
    background: #fff;
    border: 1px dashed #d1cec7;
    border-radius: 4px;
    text-align: center;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--text-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #384233;
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.feedback {
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: none;
}
.feedback.error { color: #d9534f; display: block; }
.feedback.success { color: #5cb85c; display: block; }
