/* ========== VARIABLES SPÉCIFIQUES ========== */
:root {
    --digital-blue: #2D3748;
    --digital-blue-light: #4A5568;
    --digital-orange: #E06C00;
    --digital-orange-light: #F68733;
}

/* ========== HERO SPÉCIFIQUE STRATÉGIE DIGITALE ========== */
.expertise-hero {
    background: linear-gradient(135deg, var(--bleu-nuit) 0%, #2C3E50 100%);
    color: var(--blanc);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.expertise-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(224, 108, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(77, 171, 247, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.expertise-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--orange);
}

.breadcrumb span {
    color: var(--orange);
    font-weight: 600;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--blanc);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 700px;
    margin-bottom: 40px;
}

/* ========== OVERVIEW SECTION ========== */
.expertise-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 60px 0;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--bleu-nuit);
    position: relative;
    padding-bottom: 15px;
}

.overview-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--orange);
}

.overview-content p {
    margin-bottom: 20px;
    color: var(--gris-fonce);
    line-height: 1.8;
}

.overview-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.overview-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.overview-image:hover img {
    transform: scale(1.05);
}

/* ========== SERVICES SECTION ========== */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--blanc);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-left: 4px solid var(--orange);
}

.service-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--bleu-nuit);
}

.service-content p {
    color: var(--gris-fonce);
    line-height: 1.7;
}

/* ========== PROCESS SECTION SPÉCIFIQUE ========== */
.expertise-process {
    background: linear-gradient(135deg, var(--gris-clair) 0%, #e8eff5 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.expertise-process::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(224, 108, 0, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.expertise-process .container {
    position: relative;
    z-index: 2;
}

.process-steps-expertise {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.process-steps-expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--orange), transparent);
    z-index: 1;
}

.process-step-expertise {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step-expertise.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.process-step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(224, 108, 0, 0.3);
    position: relative;
    z-index: 2;
}

.process-step-content {
    background: var(--blanc);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex-grow: 1;
    transition: var(--transition);
}

.process-step-expertise:hover .process-step-content {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.process-step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--bleu-nuit);
}

.process-step-content p {
    color: var(--gris-fonce);
    line-height: 1.7;
}

/* ========== CTA SPÉCIFIQUE ========== */
.expertise-cta {
    background: linear-gradient(135deg, var(--bleu-nuit) 0%, #2C3E50 100%);
    color: var(--blanc);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.expertise-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(224, 108, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(77, 171, 247, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.expertise-cta .container {
    position: relative;
    z-index: 2;
}

.expertise-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--blanc);
}

.expertise-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.expertise-cta .cta-button {
    background-color: var(--orange);
    border-color: var(--orange);
    font-size: 1.1rem;
    padding: 15px 35px;
}

.expertise-cta .cta-button:hover {
    background-color: transparent;
    color: var(--orange);
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablette (768px - 992px) */
@media (max-width: 992px) {
    .expertise-hero {
        padding: 140px 0 80px;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .expertise-overview {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .overview-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .overview-image {
        order: -1;
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }

    .overview-image:hover {
        transform: none;
    }

    .services-list {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-steps-expertise::before {
        left: 30px;
    }

    .process-step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .expertise-hero {
        padding: 120px 0 60px;
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .services-list {
        gap: 20px;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }

    .service-icon {
        margin: 0 auto;
    }

    .process-steps-expertise {
        gap: 30px;
    }

    .process-steps-expertise::before {
        left: 30px;
    }

    .process-step-expertise {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .process-step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .process-step-content {
        padding: 25px 20px;
    }

    .expertise-cta h2 {
        font-size: 2.2rem;
    }

    .expertise-cta p {
        font-size: 1.1rem;
    }
}

/* Très petits écrans (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .overview-content h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .process-steps-expertise::before {
        display: none;
    }

    .process-step-expertise {
        flex-direction: column;
        align-items: center;
    }

    .expertise-cta h2 {
        font-size: 1.8rem;
    }

    .expertise-cta p {
        font-size: 1rem;
    }
}

/* ========== ANIMATIONS SPÉCIFIQUES ========== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-item,
.process-step-expertise {
    animation: fadeInLeft 0.6s ease forwards;
}

/* Délais d'animation pour les étapes */
.process-step-expertise:nth-child(1) {
    animation-delay: 0.1s;
}

.process-step-expertise:nth-child(2) {
    animation-delay: 0.3s;
}

.process-step-expertise:nth-child(3) {
    animation-delay: 0.5s;
}

.process-step-expertise:nth-child(4) {
    animation-delay: 0.7s;
}

.process-step-expertise:nth-child(5) {
    animation-delay: 0.9s;
}

/* Animation pour les services */
.service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.service-item:nth-child(4) {
    animation-delay: 0.4s;
}

.service-item:nth-child(5) {
    animation-delay: 0.5s;
}

/* Effet de brillance sur les icônes */
@keyframes shine {
    0% {
        background-position: -100px;
    }

    100% {
        background-position: 200px;
    }
}

.service-icon {
    background-size: 200% 100%;
    animation: shine 3s infinite linear;
}