* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* :root {
    --primary: #4a7c8c;
    --primary-dark: #36606d;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-secondary: #f9fafb;
    --border: #e5e7eb;
    --accent: #5a8c9c;
} */

:root {
    --primary: #c0392b;        /* rouge principal */
    --primary-dark: #962d22;   /* rouge foncé au hover */
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-secondary: #f5f5f5;
    --border: #e0e0e0;
    --accent: #e74c3c;         /* rouge clair pour les accents */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 8px;
    display: flex;
    gap: 4px;
}

.language-toggle a {
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.language-toggle a:hover {
    background: var(--bg-secondary);
}

.language-toggle a.active {
    background: var(--primary);
    color: white;
}

/* header {
    background: linear-gradient(135deg, #4a7c8c 0%, #6b9aaa 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
} */

header {
    background: linear-gradient(135deg, #888888 0%, #aaaaaa 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    margin: 0 auto 30px;
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    object-fit: cover;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.3em;
    opacity: 0.95;
    font-weight: 400;
    margin-bottom: 30px;
}

.credentials {
    font-size: 1em;
    opacity: 0.9;
    line-height: 1.8;
}

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

.contact-bar {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin: -40px auto 60px;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--primary);
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: var(--primary);
}

.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: var(--text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 30px;
    background: var(--primary);
    border-radius: 2px;
}

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

.link-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text);
    display: block;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

.link-card-title {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-card-url {
    color: var(--text-light);
    font-size: 0.9em;
    word-break: break-all;
}

.external-icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

footer {
    background: var(--bg-secondary);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid var(--border);
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1.1em;
    }

    .contact-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

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

    .language-toggle {
        top: 10px;
        right: 10px;
    }

    .form-row {
        flex-direction: column;
    }
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 124, 140, 0.1);
}

.dropzone {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.dropzone:hover,
.dropzone.drag-over {
    border-color: var(--primary);
    background: rgba(74, 124, 140, 0.05);
}

.upload-icon {
    width: 48px;
    height: 48px;
    fill: var(--primary);
    margin-bottom: 16px;
}

.dropzone-text {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.dropzone-subtext {
    color: var(--text-light);
    font-size: 0.9em;
}

.file-list {
    margin-top: 16px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 8px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-icon {
    width: 32px;
    height: 32px;
    fill: var(--primary);
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 500;
    color: var(--text);
}

.file-size {
    font-size: 0.85em;
    color: var(--text-light);
}

.remove-file {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.remove-file:hover {
    color: #dc2626;
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 140, 0.3);
}

.submit-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
    fill: white;
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    display: block !important;;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block !important;;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.doc-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.doc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.doc-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    fill: var(--primary);
    margin-top: 4px;
}

.doc-content {
    flex: 1;
}

.doc-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 1.02em;
}

.doc-desc {
    color: var(--text-light);
    font-size: 0.95em;
    line-height: 1.4;
}
