/* ======================================
   STYLES - PAGE À PROPOS
   ====================================== */

/* About Intro */
.about-intro {
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text h2 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    text-align: justify;
}

.about-text p:last-of-type {
    margin-bottom: 1.5rem;
}

.subtitle-about {
    color: #f97316;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem !important;
}

.about-cta {
    margin-top: 1.5rem;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #3b82f6 0%, #f97316 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* Experience Timeline */
.experience {
    background-color: #f9fafb;
}

.timeline {
    margin-top: 3rem;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #3b82f6;
    transform: translateX(-1px);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    width: calc(50% - 2rem);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    width: calc(50% - 2rem);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: #1e3a8a;
    border: 4px solid #f9fafb;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content h3 {
    color: #1e3a8a;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.timeline-date {
    color: #f97316;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content .justify-p {
    color: #666;
    margin: 0;
    text-align: justify;
}

/* Skills Detailed */
.skills-detailed {
    background-color: #ffffff;
}

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

.skill-group {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.75rem;
}

.skill-group h3 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.progress {
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #f97316);
    border-radius: 2rem;
    transition: width 0.6s ease;
}

/* Skills Section */
.skills-detailed {
    background-color: #ffffff;
    padding: 3rem 0;
}

.skills-detailed h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.skills-grid-detailed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.skill-name {
    color: #1f2937;
    font-weight: 600;
    font-size: 1rem;
}

.skill-level {
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 1rem;
}

.level-expert {
    background-color: #dc2626;
    color: #ffffff;
}

.level-avance {
    background-color: #f97316;
    color: #ffffff;
}

.level-intermediaire {
    background-color: #3b82f6;
    color: #ffffff;
}

/* CV Section */
.cv-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 2rem 0;
}

.cv-section h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.75rem;
}

.cv-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.cv-image {
    display: flex;
    justify-content: center;
}

.cv-image-display {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.cv-download {
    text-align: left;
}

.cv-download h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.cv-download p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cv-section .btn {
    background-color: #ffffff;
    color: #1e3a8a;
}

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

    .cv-download {
        text-align: center;
    }
}

/* Values Section */
.values {
    background-color: #f9fafb;
}

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

.value-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: #666;
    margin: 0;
}

/* Contact CTA */
.contact-cta {
    background-color: #ffffff;
    text-align: center;
    padding: 3rem 0;
}

.contact-cta h2 {
    color: #1e3a8a;
}

.contact-cta > p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-method {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid #f97316;
}

.contact-method span {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-method p {
    font-weight: 600;
    color: #1e3a8a;
    margin: 0;
}

/* Contact Form Page */
.contact-page {
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-wrapper h2 {
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.contact-form {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.75rem;
}

.contact-info h2 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.info-card {
    background-color: #f9fafb;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid #3b82f6;
    text-align: left;
}

.info-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.info-card h3 {
    color: #1e3a8a;
    margin: 0.5rem 0;
}

.info-card p {
    margin: 0.25rem 0;
    color: #666;
}

.info-note {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

.info-card a {
    color: #3b82f6;
    font-weight: 600;
}

.quick-facts {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
    border-left: 4px solid #10b981;
}

.quick-facts h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.quick-facts ul {
    list-style: none;
}

.quick-facts li {
    padding: 0.5rem 0;
    color: #666;
}

.quick-facts li::before {
    content: '✓ ';
    color: #10b981;
    font-weight: 700;
    margin-right: 0.5rem;
}

.contact-faq {
    background-color: #f9fafb;
}

/* Form Confidence Message */
.form-confidence {
    margin-top: 1rem;
    text-align: center;
    color: #10b981;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Form Introduction */
.form-intro {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    text-align: center;
    border-left: 4px solid #3b82f6;
}

.form-intro h2 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-intro p {
    color: #4b5563;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact FAQ */
.contact-faq {
    padding: 3rem 0;
}

.contact-faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #f97316;
}

.faq-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    text-align: justify;
}

.faq-item strong {
    color: #1f2937;
}

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

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
    }

    .skills-grid-detailed {
        grid-template-columns: 1fr;
    }

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

    .contact-methods {
        grid-template-columns: 1fr;
    }
}

