/*
 Theme Name: Perso
 Description: Thème personnalisé - Page À propos
 Version: 1.0.0
*/

/* ===========================================
   VARIABLES ET RÉINITIALISATION
   =========================================== */

:root {
    --primary-color: #CA9724;
    --primary-hover: #b88620;
    --black: #1a1a1a;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --text-color: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.15);
    --font-family: 'Arial', sans-serif;
}

/* ===========================================
   HERO SECTION MODERNISÉE
   =========================================== */

.about-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
    line-height: 1.1;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 60px;
    text-align: center;
    font-family: var(--font-family);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.hero-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Statistiques Hero */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===========================================
   SECTION NOTRE HISTOIRE
   =========================================== */

.story-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    align-items: start;
}

.story-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 50px;
}

.mission-vision {
    display: grid;
    gap: 30px;
}

.mission-card,
.vision-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
}

.mission-card p,
.vision-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Timeline */
.story-timeline {
    position: relative;
    padding-left: 40px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: -40px;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 2;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 35px;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

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

.values-section {
    padding: 100px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
}

.value-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===========================================
   SECTION TÉMOIGNAGES
   =========================================== */

.testimonials-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.stars .fa-star {
    color: #ffd700;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    left: -15px;
    top: -20px;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-author {
    text-align: center;
}

.author-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 5px;
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===========================================
   SECTION CTA
   =========================================== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-content {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 0 40px;
    }

    .hero-content,
    .story-content,
    .values-grid,
    .testimonials-grid {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 60px;
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .values-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 60px 0 30px;
    }

    .hero-content,
    .story-content,
    .values-grid,
    .testimonials-grid {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        margin-top: 40px;
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .feature-card {
        padding: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .story-intro {
        font-size: 1.1rem;
    }

    .mission-card,
    .vision-card {
        padding: 30px 20px;
    }

    .timeline-content {
        padding: 20px;
    }

    .value-card,
    .testimonial-card {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }
}

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

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.stat-number.animated {
    animation: countUp 1s ease-out;
}

/* ===========================================
   SUPPRESSION DES ANCIENS STYLES
   =========================================== */

.title-section,
.text-section,
.elements-section {
    display: none;
}