/* ==================== Contact Page Styles ==================== */

.page-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    background: linear-gradient(135deg,
            rgba(30, 59, 138, 0) 0%,
            rgba(15, 23, 42, 0) 100%);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Formulaire */
.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-header p {
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 61, 92, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

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

/* File upload */
.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border: 2px dashed var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    background: var(--bg-light);
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: rgba(26, 61, 92, 0.05);
}

.file-upload-label input[type="file"] {
    display: none;
}

.file-upload-text {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.file-upload-info {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.file-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.file-item-remove {
    color: #ef4444;
    cursor: pointer;
    font-weight: 600;
}

/* Checkbox */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Form actions */
.form-actions {
    margin-top: 1rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.info-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.info-card.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-card.highlight h3 {
    color: var(--secondary-color);
}

.info-content {
    line-height: 1.8;
}

.info-content p {
    margin-bottom: 0.75rem;
}

.info-content p:last-child {
    margin-bottom: 0;
}

.info-content a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-fast);
}

.info-content a:hover {
    color: var(--secondary-color);
}

.info-card.highlight .info-content {
    color: rgba(255, 255, 255, 0.9);
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-card.highlight .text-muted {
    color: rgba(255, 255, 255, 0.7);
}

.btn-callback {
    width: 100%;
    margin-top: 1rem;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-callback:hover {
    background: var(--secondary-dark);
}

/* Locations Section */
.locations-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.location-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.location-address p {
    line-height: 1.8;
    color: var(--text-dark);
}

.location-address strong {
    color: var(--primary-color);
}

.location-map {
    margin-top: 1rem;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Quick FAQ */
.quick-faq {
    padding: 4rem 0;
    background: var(--bg-light);
}

.quick-faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.faq-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .location-card {
        padding: 1.5rem;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }
}