/* Contact Form Styles */

.contact-header {
    background: var(--taupe);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.contact-header__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-header__surtitre {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 16px;
}

.contact-header__titre {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.contact-header__description {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.contact-messages {
    margin-bottom: 40px;
}

.contact-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.contact-message--success {
    background: #f0f9f0;
    border: 1px solid #4caf50;
    color: #2e7d32 !important;
}

.contact-message--error {
    background: #fff5f5;
    border: 1px solid #f44336;
    color: #c62828 !important;
}

.contact-message__icon {
    font-size: 18px;
    font-weight: bold;
    color: inherit;
}

.contact-message__content p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: inherit !important;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Formulaire */
.contact-form {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-section {
    margin-bottom: 40px;
}

.contact-section:last-of-type {
    margin-bottom: 0;
}

.contact-section__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--brun);
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--taupe);
}

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

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--brun);
    margin-bottom: 8px;
}

.contact-input,
.contact-textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--taupe);
    box-shadow: 0 0 0 3px rgba(201, 160, 122, 0.1);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #999;
}

.contact-input--error,
.contact-textarea--error {
    border-color: #f44336;
    background-color: #fff5f5;
}

.contact-input--error:focus,
.contact-textarea--error:focus {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.contact-error {
    margin-top: 4px;
}

.contact-error p {
    color: #f44336;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.contact-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.contact-actions {
    text-align: center;
    margin-top: 40px;
}

.contact-submit {
    background: var(--taupe);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-submit:hover {
    background: var(--taupe-fonce);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 160, 122, 0.3);
}

.contact-mention {
    font-size: 14px;
    color: #666;
    margin-top: 16px;
    margin-bottom: 0;
}

/* Informations de contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info__card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--brun);
    margin-bottom: 20px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-info__item:last-child {
    margin-bottom: 0;
}

.contact-info__icon {
    font-size: 20px;
    width: 24px;
    flex-shrink: 0;
}

.contact-info__content {
    flex: 1;
}

.contact-info__label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
}

.contact-info__value {
    font-size: 16px;
    color: var(--brun);
    text-decoration: none;
    line-height: 1.4;
}

.contact-info__value:hover {
    color: var(--taupe);
}

.contact-info__description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-header {
        padding: 60px 0 40px;
        padding-top: 100px; /* Compensation pour navigation fixe */
    }

    .contact-header__inner {
        padding: 0 20px;
    }

    .contact-header__surtitre {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .contact-header__titre {
        font-size: 28px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .contact-header__description {
        font-size: 16px;
        padding: 0 10px;
    }

    .contact-container {
        padding: 40px 16px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-info__card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .contact-header {
        padding: 40px 0 30px;
        padding-top: 90px; /* Compensation pour navigation fixe sur très petits écrans */
    }

    .contact-header__inner {
        padding: 0 16px;
    }

    .contact-header__surtitre {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .contact-header__titre {
        font-size: 24px;
        margin-bottom: 16px;
        line-height: 1.1;
    }

    .contact-header__description {
        font-size: 14px;
        line-height: 1.5;
        padding: 0 5px;
    }

    .contact-container {
        padding: 30px 12px;
    }

    .contact-form {
        padding: 24px 16px;
    }

    .contact-section__title {
        font-size: 18px;
    }
}