/* ===== PAGE CONTACT (contact.html) ===== */

/* Navigation active */
nav ul li a.active {
    color: #2c5530;
    font-weight: bold;
    position: relative;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2c5530;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 30px 0;
}

.privacy-check input {
    margin-top: 3px;
}

.privacy-check label {
    color: #555;
    font-size: 0.9em;
}

.submit-btn {
    background-color: #2c5530;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.contact-info {
    background: #e8f4ea;
    padding: 40px;
    border-radius: 8px;
    height: fit-content;
}

.contact-info h3 {
    color: #2c5530;
    margin-bottom: 25px;
    font-size: 1.3em;
}

.contact-detail {
    margin-bottom: 25px;
}

.contact-detail h4 {
    color: #2c5530;
    margin-bottom: 8px;
    font-size: 1em;
}

.contact-detail p {
    color: #555;
    margin: 0;
}

.contact-note {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    margin-top: 30px;
    font-size: 0.9em;
    color: #666;
}

/* Formulaires */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c5530;
    font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group-full {
    position: relative;
    margin-bottom: 20px;
}

.form-group-full label {
    display: block;
    margin-bottom: 8px;
    color: #2c5530;
    font-weight: bold;
    transition: all 0.3s ease;
    transform-origin: left center;
}

.form-group-full input, .form-group-full select, .form-group-full textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.form-group-full.focused label {
    color: #2c5530;
    transform: translateY(-25px) scale(0.8);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2c5530 !important;
    box-shadow: 0 0 0 2px rgba(44, 85, 48, 0.1);
}