/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #1e5ba8 0%, #164380 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="white" opacity="0.05"/></svg>');
    background-size: 200px 200px;
    opacity: 0.1;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.about-hero p {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container principal */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Sections */
.about-section {
    margin-bottom: 4rem;
    animation: fadeIn 0.6s ease-out;
}

.about-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e5ba8;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #d4a658;
    display: inline-block;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.25rem;
}

.about-text strong {
    color: #1e5ba8;
    font-weight: 600;
}

/* Liste des valeurs */
.values-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 0.75rem;
    border-left: 4px solid #1e5ba8;
    transition: all 0.3s ease;
}

.values-list li:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(30, 91, 168, 0.15);
    transform: translateX(8px);
}

.values-list i {
    color: #1e5ba8;
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.values-list strong {
    color: #1e5ba8;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.values-list div {
    flex: 1;
    line-height: 1.6;
    color: #4a5568;
}

/* Grille pour les cartes */
.about-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-card:hover {
    box-shadow: 0 8px 24px rgba(30, 91, 168, 0.2);
    transform: translateY(-5px);
}

.about-card h3 {
    color: #1e5ba8;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-card h3 i {
    font-size: 1.5rem;
    color: #d4a658;
}

.about-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.about-card i.fa-map-marker-alt,
.about-card i.fa-phone {
    color: #1e5ba8;
    margin-right: 0.5rem;
    width: 20px;
}

/* Section Call to Action */
.cta-section {
    background: linear-gradient(135deg, #1e5ba8 0%, #164380 100%);
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-section h2 {
    color: white;
    border-bottom-color: #d4a658;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background: white;
    color: #1e5ba8;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    color: #164380;
}

.btn-hero i {
    font-size: 1.25rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        padding: 3rem 0;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1.05rem;
    }

    .about-container {
        padding: 2rem 1rem;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .values-list li {
        flex-direction: column;
        gap: 1rem;
    }

    .values-list i {
        font-size: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Styles supplémentaires pour l'accessibilité */
.about-section:focus-within h2 {
    outline: 2px solid #1e5ba8;
    outline-offset: 4px;
}

/* Animation au scroll */
.about-section {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.about-section:nth-child(1) {
    animation-delay: 0.1s;
}

.about-section:nth-child(2) {
    animation-delay: 0.2s;
}

.about-section:nth-child(3) {
    animation-delay: 0.3s;
}

.about-section:nth-child(4) {
    animation-delay: 0.4s;
}

/* Effet de survol sur les icônes FontAwesome */
.values-list i,
.about-card h3 i {
    transition: transform 0.3s ease;
}

.values-list li:hover i,
.about-card:hover h3 i {
    transform: scale(1.15);
}