/* ===== STYLES SPÉCIFIQUES AUX PAGES INTERNES (VERSION MISE À JOUR) ===== */

/* Header pour les pages internes - Conservé en clair pour le contraste */
.hero--small {
    min-height: 40vh;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #e0c3fc, #8ec5fc);
    position: relative;
    overflow: hidden;
}
.hero--small::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
                      radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px);
    background-size: 550px 550px;
    animation: twinkle-pages 10s linear infinite;
    opacity: 0.5;
}
@keyframes twinkle-pages { from { background-position: 0 0, 40px 60px; } to { background-position: -550px 0, -310px 60px; } }

.hero--small .hero__title { 
    color: var(--gray-900); 
    font-size: clamp(2rem, 5vw, 2.8rem); 
    z-index: 1; 
}
.hero--small .hero__subtitle { 
    color: var(--gray-700); 
    z-index: 1; 
    max-width: 600px; 
    padding: 0 1rem; 
    font-size: 1.1rem;
}

/* =========================================== */
/* ===== STYLES ADAPTÉS POUR FONDS SOMBRES ===== */
/* =========================================== */


/* Styles pour about.html */
.about-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: var(--spacing-2xl); 
}
.about-item { text-align: center; }
.about-item h3 { 
    font-size: 1.25rem; 
    color: var(--white);
    margin-bottom: var(--spacing-sm); 
}

.values-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: var(--spacing-xl); 
}
.value-card { 
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3); /* Gold border */
    padding: var(--spacing-xl); 
    border-radius: var(--radius-xl); 
    box-shadow: var(--shadow-md); 
    text-align: center; 
    border-top: 4px solid transparent; 
    transition: all var(--transition-normal); 
}
.value-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4); /* Gold glow */
    border-top-color: var(--primary-color);
}
.value-icon { 
    font-size: 2.5rem; 
    margin-bottom: var(--spacing-md); 
    color: var(--primary-color);
}
.value-card h4 { 
    color: var(--primary-color);
    font-size: 1.125rem; 
    font-weight: 600; 
    margin-bottom: var(--spacing-sm); 
}

.value-card__verb {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color); /* MODIFICATION ICI */
    margin-bottom: var(--spacing-md);
}
/* Styles pour histoire.html */
/* =========================================== */
/* STYLES CORRIGÉS POUR LA TIMELINE AVEC IMAGES */
/* =========================================== */
.timeline { 
    position: relative; 
    max-width: 900px; 
    margin: var(--spacing-2xl) auto; 
}
.timeline::before { 
    content: ''; 
    position: absolute; 
    left: 50%; 
    top: 0; 
    bottom: 0; 
    width: 4px; 
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%); 
    border-radius: 2px; 
}
.timeline__item { 
    position: relative; 
    margin-bottom: var(--spacing-3xl); 
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    width: 100%;
}
.timeline__item:nth-child(even) { 
    flex-direction: row-reverse; 
}
.timeline__marker { 
    position: absolute; 
    left: 50%; 
    top: 20px; 
    transform: translateX(-50%); 
    width: 24px; 
    height: 24px; 
    background: var(--warm-white);
    border: 4px solid var(--primary-color);
    border-radius: 50%; 
    z-index: 2; 
}
.timeline__content, .timeline__image {
    width: 45%;
}
.timeline__content { 
    padding: var(--spacing-xl); 
    background: #1f2937;
    border-radius: var(--radius-xl); 
    box-shadow: var(--shadow-lg); 
    transition: all var(--transition-normal); 
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.timeline__content:hover { 
    transform: translateY(-6px); 
    box-shadow: var(--shadow-xl);
}
.timeline__title { 
    font-size: 1.25rem; 
    font-weight: 600; 
    color: var(--primary-color);
    margin-bottom: var(--spacing-md); 
}
.timeline__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.timeline__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Styles pour evenements.html */
.events-list { 
    display: flex; 
    flex-direction: column; 
    gap: var(--spacing-2xl); 
    max-width: 800px; 
    margin: 0 auto; 
}
.event-card { 
    display: flex; 
    gap: var(--spacing-xl); 
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3); /* Gold border */
    padding: var(--spacing-xl); 
    border-radius: var(--radius-xl); 
    box-shadow: var(--shadow-md); 
    border-left: 5px solid var(--primary-color); /* Gold accent */
}
.event-card:hover {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5); /* Gold glow */
}
.event-card__date { 
    text-align: center; 
    color: var(--primary-color); /* Gold date */
    flex-shrink: 0; 
}
.event-card__day { 
    font-size: 2.5rem; 
    font-weight: 700; 
    display: block; 
    line-height: 1; 
}
.event-card__month { 
    font-size: 1rem; 
    font-weight: 600; 
    display: block; 
    text-transform: uppercase;
}
.event-card__title { 
    font-size: 1.5rem; 
    font-weight: 600; 
    color: var(--white);
    margin-bottom: 0.5rem; 
}
.event-card__location { 
    font-style: italic; 
    color: var(--gray-300);
    margin-bottom: var(--spacing-md); 
}


/* Styles pour therapies.html */
.therapy-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: var(--spacing-2xl); 
    max-width: 800px; 
    margin: 0 auto; 
}
.therapy-card { 
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3); /* Gold border */
    padding: var(--spacing-2xl); 
    border-radius: var(--radius-xl); 
    box-shadow: var(--shadow-md); 
    transition: var(--transition-normal); 
    border-left: 5px solid var(--accent-color); 
}
.therapy-card:hover { 
    transform: translateY(-5px) scale(1.02); 
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5); /* Gold glow */
}
.therapy-card__title { 
    font-size: 1.5rem; 
    color: var(--accent-color);
    margin-bottom: var(--spacing-md); 
}


/* Pages Don & Adhésion */
.text-content { max-width: 700px; margin: 0 auto; line-height: 1.8; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); margin-top: 2rem; }
.benefit-card { 
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xl); 
    border-radius: var(--radius-lg); 
    text-align: center; 
    border: 1px solid rgba(245, 158, 11, 0.5);
 }
.benefit-card__percentage { font-size: 3rem; font-weight: 800; color: var(--primary-color); }
.btn--large { padding: var(--spacing-lg) var(--spacing-2xl); font-size: 1.1rem; }

/* Responsive pour pages internes */
@media (max-width: 768px) {
    .timeline::before { left: 12px; }
    .timeline__item { flex-direction: row !important; }
    .timeline__marker { left: 12px; }
    .timeline__content { width: calc(100% - 60px); margin-left: 48px; }
    .event-card { flex-direction: column; align-items: flex-start; }
}
