/* Styles spécifiques à la page Qui Sommes-Nous */

/* En-tête de la page */
.about-header {
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.6)), url('images/about-banner.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    margin-top: 80px;
}

.about-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.about-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--gold);
}

.about-header p {
    font-size: 1.1rem;
    max-width: 700px;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Sections communes */
.about-section {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-section:nth-child(even) {
    background-color: var(--cream);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    color: var(--rich-black);
    margin-bottom: 0.8rem;
    text-align: center;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--mid-gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

/* Section Histoire */
.history-section .section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-text h2 {
    text-align: left;
    padding-bottom: 1rem;
    margin-bottom: 0.8rem;
}

.section-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.section-text .section-subtitle {
    text-align: left;
    margin: 0 0 1.5rem 0;
}

.text-content p {
    margin-bottom: 1.2rem;
    color: var(--mid-gray);
    line-height: 1.7;
}

.section-image {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.section-image:hover img {
    transform: scale(1.03);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: var(--gold);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--gold);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 3px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    top: 10px;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    transform: rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    top: 10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    transform: rotate(45deg);
}

.timeline-date {
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--rich-black);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--mid-gray);
    line-height: 1.6;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 3px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.2);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--rich-black);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--mid-gray);
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background-color: var(--white);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(212, 175, 55, 0.2);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--rich-black);
    margin-bottom: 0.3rem;
}

.member-role {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.member-info p {
    color: var(--mid-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Certifications Section */
.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 2rem 0;
}

.logo-item {
    flex: 0 0 160px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(1) opacity(0.7);
    transition: all 0.3s ease;
}

.logo-item:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Testimonials Section */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-container {
    overflow: hidden;
    position: relative;
    height: 300px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.testimonial.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    flex: 1;
}

.testimonial-text p {
    color: var(--mid-gray);
    line-height: 1.8;
    font-size: 1.1rem;
    font-style: italic;
}

.testimonial-author {
    margin-top: 1.5rem;
    text-align: right;
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--rich-black);
    font-weight: 500;
}

.author-title {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 400;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--mid-gray);
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

/* CTA Section */
.about-cta {
    padding: 5rem 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.6)), url('images/cta-background.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background-color: var(--gold);
    color: var(--white);
}

.cta-btn.primary:hover {
    background-color: var(--white);
    color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.cta-btn.secondary:hover {
    background-color: var(--white);
    color: var(--rich-black);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Bouton retour en haut de page */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--dark-gold);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animation lors du chargement */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .history-section .section-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section-text {
        order: 2;
    }
    
    .section-image {
        order: 1;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .about-header h1 {
        font-size: 2.2rem;
    }
    
    .about-header {
        height: 250px;
    }
    
    .about-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .testimonial-text p {
        font-size: 1rem;
    }
    
    .testimonial-container {
        height: 350px;
    }
}

@media screen and (max-width: 576px) {
    .about-header h1 {
        font-size: 1.8rem;
    }
    
    .about-header p {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 3rem 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .logos-grid {
        gap: 2rem;
    }
    
    .logo-item {
        flex: 0 0 120px;
        height: 60px;
    }
    
    .testimonial-container {
        height: 400px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-btn {
        width: 100%;
    }
}


.social-icons svg {
    width: 24px;
    height: 24px;
    fill: #000; /* couleur normale */
    transition: fill 0.3s;
  }
  
  .social-icons a:hover svg {
    fill: #E1306C; /* couleur officielle Instagram au hover */
  }

  .social-icons svg {
    width: 24px;
    height: 24px;
    fill: #000; /* Couleur normale */
    transition: fill 0.3s;
  }
  
  .social-icons a:hover svg {
    fill: #1877F2; /* Bleu officiel Facebook au survol */
  }
  

  .social-icons svg {
    width: 24px;
    height: 24px;
    fill: #000; /* Couleur normale */
    transition: fill 0.3s;
  }
  
  .social-icons a:hover svg {
    fill: #E60023; /* Couleur officielle Pinterest au hover */
  }
  
  .social-icons svg {
    width: 24px;
    height: 24px;
    fill: #000; /* ou blanc #fff selon ton design */
    transition: fill 0.3s;
  }
  
  .social-icons a:hover svg {
    fill: #69C9D0; /* couleur officielle TikTok ou autre couleur au survol */
  }
  