/* ========================================
   CSS pour le site institutionnel Balafenn
   Respecte la charte graphique d'origine
   ======================================== */

/* Section Produits */
.products-section {
    padding: 80px 0;
    background: var(--gris-clair);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bleu-nuit), var(--dore));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--dore);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.product-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--bleu-nuit);
    font-family: var(--font-titre);
}

.product-tagline {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 12px;
    font-style: italic;
}

.product-target {
    font-size: 16px;
    font-weight: 600;
    color: var(--dore);
    margin-bottom: 16px;
}

.product-description {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 24px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.feature-tag {
    font-size: 14px;
    color: var(--vert);
    font-weight: 500;
}

.product-cta {
    font-size: 16px;
    font-weight: 600;
    color: var(--dore);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.product-card:hover .product-cta {
    gap: 12px;
}

/* Section Services */
.services-section {
    padding: 80px 0;
    background: white;
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    text-align: center;
    padding: 30px;
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
}

.service-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--bleu-nuit);
    font-family: var(--font-titre);
}

.service-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gris-secondaire);
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* Section Valeurs */
.values-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bleu-nuit) 0%, #0d1829 100%);
    color: white;
}

.values-section .section-header h2,
.values-section .section-header .section-subtitle {
    color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.value-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Section Institutionnel */
.hero-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--bleu-nuit) 0%, #0d1829 100%);
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    font-family: var(--font-titre);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Style pour le nom du produit dans le header */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--dore);
    padding: 4px 12px;
    background: rgba(215, 174, 84, 0.15);
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .services-content,
    .values-grid {
        grid-template-columns: 1fr;
    }
}
