/* ============================================
   PAGE À PROPOS - Styles dédiés
   ============================================ */

/* ============= TIMELINE HISTOIRE ============= */

.history-timeline {
    position: relative;
    padding: var(--space-xl) 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
}

/* Ligne verticale entre les items */
.timeline-item::before {
    content: "";
    position: absolute;
    left: 60px;
    top: 40px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--bleu-clair), var(--turquoise));
}

.timeline-item:last-child::before {
    display: none;
}

/* Année avec badge circulaire */
.timeline-year {
    text-align: center;
    font-size: var(--text-3xl);
    color: var(--bleu-clair);
    font-weight: 700;
    font-family: var(--font-titres);
    position: relative;
    z-index: 1;
}

.timeline-year::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--bleu-clair);
    border: 4px solid var(--blanc);
    border-radius: var(--radius-round);
    box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.2);
}

/* Contenu timeline */
.timeline-content {
    background-color: var(--blanc);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normale);
    border-left: 3px solid transparent;
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
    border-left-color: var(--bleu-clair);
}

.timeline-content h3 {
    font-size: var(--text-xl);
    color: var(--texte-principal);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.timeline-content p {
    color: var(--texte-secondaire);
    line-height: 1.8;
    margin: 0;
}

/* ============= MISSION QUOTE ============= */

.mission-quote {
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border-left: 6px solid var(--bleu-clair);
    box-shadow:
        0 20px 60px rgba(79, 195, 247, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Guillemets décoratifs */
.mission-quote::before {
    content: "\201C";
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 80px;
    color: var(--bleu-clair);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.mission-quote p {
    font-size: var(--text-xl);
    color: var(--texte-principal);
    line-height: 1.8;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ============= APPROCHE UNIQUE ============= */

.approach-text h3 {
    font-size: var(--text-xl);
    color: var(--bleu-clair);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.approach-text h3:first-of-type {
    margin-top: 0;
}

.approach-text p {
    font-size: var(--text-lg);
    color: var(--texte-secondaire);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.approach-text ul {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.approach-text ul li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--texte-secondaire);
    line-height: 1.8;
}

.approach-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--vert-doux);
    font-weight: bold;
    font-size: var(--text-lg);
}

/* ============= VALEURS ============= */

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
    line-height: 1;
}

.card-feature h3 {
    font-size: var(--text-xl);
    color: var(--texte-principal);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.card-feature p {
    color: var(--texte-secondaire);
    line-height: 1.6;
    margin: 0;
}

/* ============= PARTENAIRES ============= */

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

.partner-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normale);
    border: 1px solid rgba(79, 195, 247, 0.1);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(79, 195, 247, 0.3);
}

.partner-card h4 {
    color: var(--bleu-clair);
    font-size: var(--text-xl);
    margin-bottom: 1rem;
    font-weight: 600;
}

.partner-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-card ul li {
    padding: 0.5rem 0;
    line-height: 1.6;
    color: var(--texte-secondaire);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-card ul li:last-child {
    border-bottom: none;
}

/* ============= IMAGE ELEVATED (si pas déjà global) ============= */

.image-elevated {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(79, 195, 247, 0.1);
    transition: all 0.4s ease;
}

.image-elevated:hover {
    transform: scale(1.02) translateY(-6px);
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(79, 195, 247, 0.2);
}

/* ============= RESPONSIVE ============= */

/* Tablette */
@media (max-width: 1024px) {
    .timeline-item {
        grid-template-columns: 100px 1fr;
        gap: var(--space-lg);
    }

    .timeline-item::before {
        left: 50px;
    }

    .timeline-year {
        font-size: var(--text-2xl);
    }

    .layout-50-50 {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Mobile */
@media (max-width: 767px) {

    /* Timeline mobile - Une seule colonne */
    .timeline-item {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .timeline-item::before {
        display: none;
    }

    .timeline-year::after {
        display: none;
    }

    .timeline-year {
        text-align: left;
        font-size: var(--text-2xl);
    }

    .timeline-content {
        padding: var(--space-lg);
    }

    .timeline-content:hover {
        transform: translateX(0);
    }

    /* Mission quote mobile */
    .mission-quote {
        padding: var(--space-lg);
    }

    .mission-quote::before {
        font-size: 60px;
        top: -10px;
        left: 10px;
    }

    .mission-quote p {
        font-size: var(--text-lg);
    }

    /* Valeurs en colonne unique */
    .grid-4 {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    /* Layout 50/50 en colonne */
    .layout-50-50 {
        gap: var(--space-lg);
    }

    .approach-text h3 {
        font-size: var(--text-lg);
    }

    .approach-text p {
        font-size: var(--text-base);
    }
}

@media (max-width: 480px) {
    .history-timeline {
        padding: var(--space-md) 0;
    }

    .timeline-item {
        margin-bottom: var(--space-xl);
    }

    .timeline-year {
        font-size: var(--text-xl);
    }

    .timeline-content h3 {
        font-size: var(--text-lg);
    }

    .mission-quote {
        padding: 1rem;
        border-left-width: 4px;
    }

    .mission-quote::before {
        font-size: 50px;
        top: -5px;
        left: 5px;
    }

    .mission-quote p {
        font-size: var(--text-base);
    }

    .partner-card {
        padding: 1.5rem;
    }
}

/* ============= ANIMATIONS SUBTILES ============= */

@keyframes fadeInTimeline {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item {
    animation: fadeInTimeline 0.6s ease-out;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Pulse subtil sur les badges timeline */
@keyframes pulseBadge {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(79, 195, 247, 0.1);
    }
}

.timeline-year::after {
    animation: pulseBadge 3s ease-in-out infinite;
}

/* ============================================
   SECTION CREDENTIALS - À AJOUTER À 11-apropos.css
   ============================================ */

.credentials-banner {
    background: rgba(79, 195, 247, 0.05);
    border: 1px solid rgba(79, 195, 247, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.credentials-label {
    font-size: 0.85rem;
    color: var(--texte-secondaire);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-md);
}

.credentials-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm) var(--space-lg);
}

.credentials-list span {
    color: var(--texte-principal);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0 var(--space-sm);
}

.credentials-list span:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: calc(var(--space-sm) * -1);
    color: var(--bleu-clair);
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .credentials-banner {
        padding: var(--space-md) var(--space-lg);
    }

    .credentials-label {
        font-size: 0.8rem;
    }

    .credentials-list {
        gap: var(--space-xs) var(--space-md);
    }

    .credentials-list span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .credentials-banner {
        padding: var(--space-md);
    }

    .credentials-list {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .credentials-list span::after {
        display: none;
    }
}