/* fichier : css/section-expertises.css */
/* Section réutilisable des 3 piliers d'expertise avec couleurs différenciées */

/* ===== EXPERTISE SECTION - 3 PILIERS ===== */
.expertise-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #2a2a2a 0%, #1c1c1c 100%);
    color: #f9f9f9;
}

.expertise-container {
    max-width: 1400px;
    margin: 0 auto;
}

.expertise-header {
    text-align: center;
    margin-bottom: 4rem;
}

.expertise-header .section-header {
    text-align: center;
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-header .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white, #f9f9f9);
    margin-bottom: 1.5rem;
    position: relative;
}

.expertise-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #EE7900, transparent);
    border-radius: 2px;
}

.expertise-header .section-description {
    margin-top: 1.5rem;
}

.expertise-header .section-description p {
    color: rgba(249, 249, 249, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* Grille 3 colonnes responsive */
.expertise-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Cartes piliers */
.expertise-bento-card {
    background: rgba(249, 249, 249, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(238, 121, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Ligne décorative en bas de carte */
.expertise-bento-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

/* === COULEURS SPÉCIFIQUES AUX 3 PILIERS === */

/* Pilier 1 - Identité Visuelle (ROUGE) */
.expertise-bento-card.expertise-1 {
    border-color: rgba(208, 129, 127, 0.2);
}

.expertise-bento-card.expertise-1::before {
    background: linear-gradient(135deg, #D0817F 0%, #73363F 100%);
}

.expertise-bento-card.expertise-1:hover {
    border-color: rgba(208, 129, 127, 0.4);
    box-shadow: 0 15px 30px rgba(208, 129, 127, 0.2);
}

.expertise-bento-card.expertise-1 .expertise-icon-3d {
    background: linear-gradient(135deg, #D0817F 0%, #73363F 100%);
}

.expertise-bento-card.expertise-1 .expertise-button {
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
    color: #D0817F;
    border-color: rgba(208, 129, 127, 0.2);
}

.expertise-bento-card.expertise-1 .expertise-button:hover {
    background: linear-gradient(135deg, #D0817F 0%, #73363F 100%);
    color: #1c1c1c;
}

.expertise-bento-card.expertise-1 .expertise-price {
    color: #D0817F;
}

/* Pilier 2 - Communication (ORANGE) */
.expertise-bento-card.expertise-2 {
    border-color: rgba(238, 121, 0, 0.2);
}

.expertise-bento-card.expertise-2::before {
    background: linear-gradient(135deg, #EE7900 0%, #d66a00 100%);
}

.expertise-bento-card.expertise-2:hover {
    border-color: rgba(238, 121, 0, 0.4);
    box-shadow: 0 15px 30px rgba(238, 121, 0, 0.2);
}

.expertise-bento-card.expertise-2 .expertise-icon-3d {
    background: linear-gradient(135deg, #EE7900 0%, #d66a00 100%);
}

.expertise-bento-card.expertise-2 .expertise-button {
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
    color: #EE7900;
    border-color: rgba(238, 121, 0, 0.2);
}

.expertise-bento-card.expertise-2 .expertise-button:hover {
    background: linear-gradient(135deg, #EE7900 0%, #d66a00 100%);
    color: #1c1c1c;
}

.expertise-bento-card.expertise-2 .expertise-price {
    color: #EE7900;
}

/* Pilier 3 - Solutions Web (BLEU) */
.expertise-bento-card.expertise-3 {
    border-color: rgba(82, 188, 238, 0.2);
}

.expertise-bento-card.expertise-3::before {
    background: linear-gradient(135deg, #52BCEE 0%, #2980B9 100%);
}

.expertise-bento-card.expertise-3:hover {
    border-color: rgba(82, 188, 238, 0.4);
    box-shadow: 0 15px 30px rgba(82, 188, 238, 0.2);
}

.expertise-bento-card.expertise-3 .expertise-icon-3d {
    background: linear-gradient(135deg, #52BCEE 0%, #2980B9 100%);
}

.expertise-bento-card.expertise-3 .expertise-button {
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
    color: #52BCEE;
    border-color: rgba(82, 188, 238, 0.2);
}

.expertise-bento-card.expertise-3 .expertise-button:hover {
    background: linear-gradient(135deg, #52BCEE 0%, #2980B9 100%);
    color: #1c1c1c;
}

.expertise-bento-card.expertise-3 .expertise-price {
    color: #52BCEE;
}

/* Effets hover communs */
.expertise-bento-card:hover {
    transform: translateY(-5px);
}

.expertise-bento-card:hover::before {
    width: 60%;
}

/* Icône 3D */
.expertise-icon-3d {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #1c1c1c;
    transition: transform 0.3s ease;
}

.expertise-bento-card:hover .expertise-icon-3d {
    transform: scale(1.05);
}

/* Titre carte */
.expertise-bento-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #f9f9f9;
    font-weight: 700;
}

/* Description */
.expertise-description {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Features (badges) */
.expertise-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.expertise-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: rgba(249, 249, 249, 0.8);
}

/* Icônes check par défaut (orange) */
.expertise-feature-item i {
    color: #EE7900;
    font-size: 0.8rem;
}

/* === COULEURS DES ICÔNES CHECK PAR PILIER === */

/* Pilier 1 - Identité Visuelle (ROUGE) */
.expertise-bento-card.expertise-1 .expertise-feature-item i {
    color: #D0817F;
}

/* Pilier 2 - Communication (ORANGE) */
.expertise-bento-card.expertise-2 .expertise-feature-item i {
    color: #EE7900;
}

/* Pilier 3 - Solutions Web (BLEU) */
.expertise-bento-card.expertise-3 .expertise-feature-item i {
    color: #52BCEE;
}

/* Section CTA + Prix */
.expertise-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.expertise-button {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid;
}

.expertise-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.expertise-price {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

/* CTA global */
.expertise-global-cta {
    text-align: center;
    margin-top: 3rem;
}

.cta-button-expertise {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #EE7900 0%, #ff8800 100%);
    color: #1c1c1c;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button-expertise:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(238, 121, 0, 0.4);
    text-decoration: none;
}

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

@media (max-width: 1024px) {
    .expertise-bento-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .expertise-section {
        padding: 4rem 1rem;
    }
    
	.expertise-header .section-title {
		font-size: 2.2rem;
	}

	.expertise-header .section-description p {
		font-size: 1rem;
	}
    
    .expertise-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-bento-card {
        padding: 2rem;
    }
    
    .expertise-icon-3d {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .expertise-bento-card h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .expertise-bento-card {
        padding: 1.5rem;
    }
    
    .expertise-bento-card h3 {
        font-size: 1.5rem;
    }
    
    .expertise-icon-3d {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cta-button-expertise {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .expertise-section {
        background: white !important;
        color: black !important;
        padding: 2rem 0;
    }
    
    .expertise-bento-card {
        border-color: #ccc !important;
        background: #f5f5f5 !important;
        page-break-inside: avoid;
    }
    
    .expertise-icon-3d {
        background: #333 !important;
        color: white !important;
    }
}