/* Section DEFI - Projet Individual */
/* Fichier: user/themes/regard-sur/css/projet-individual-01-defi.css */

/* ===== SECTION DEFI ===== */

.defi-hero-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: stretch;
    margin: 3rem 0 5rem 0;
    padding: 2rem 0;
}

.defi-intro-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

.defi-client-context {
    font-size: 1.3rem;
    font-weight: 600;
    color: #EE7900;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.defi-intro-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.defi-intro-image {
    position: relative;
    min-height: 350px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(42, 42, 42, 0.5);
    border: 1px solid rgba(238, 121, 0, 0.1);
}

.defi-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.defi-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #EE7900;
    opacity: 0.6;
    text-align: center;
    padding: 2rem;
}

.defi-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.defi-section-separator {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 4rem 0;
    opacity: 0.4;
}

.defi-separator-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #EE7900, transparent);
}

.defi-separator-content {
    flex-shrink: 0;
}

.defi-separator-titre {
    font-size: 0.9rem;
    color: #EE7900;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.defi-separator-dots {
    display: flex;
    gap: 0.5rem;
}

.defi-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EE7900;
}

.defi-grids {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.defi-grid {
    background: rgba(42, 42, 42, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(238, 121, 0, 0.1);
}

.defi-grid:hover {
    transform: translateY(-5px);
    border-color: rgba(238, 121, 0, 0.2);
}

.defi-problematiques {
    border-color: rgba(239, 68, 68, 0.2);
}

.defi-problematiques:hover {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1);
}

.defi-objectifs {
    border-color: rgba(238, 121, 0, 0.2);
}

.defi-objectifs:hover {
    border-color: rgba(238, 121, 0, 0.3);
    box-shadow: 0 10px 30px rgba(238, 121, 0, 0.1);
}

.defi-grid h3 {
    margin: 0 0 2rem 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.defi-problematiques h3 {
    color: #ef4444;
}

.defi-objectifs h3 {
    color: #EE7900;
}

.defi-grid h3 i {
    font-size: 2rem;
}

.defi-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.defi-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(28, 28, 28, 0.2);
}

.defi-item:hover {
    background: rgba(28, 28, 28, 0.4);
    transform: translateY(-2px);
}

.defi-item i {
    margin-top: 0.2rem;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.defi-problematiques .defi-item i {
    color: #ef4444;
}

.defi-objectifs .defi-item i {
    color: #EE7900;
}

.defi-item-text {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #f9f9f9;
    opacity: 0.9;
}

/* ===== RESPONSIVE - SECTION DÃ‰FI ===== */

/* Responsive - Tablette */
@media (max-width: 1024px) {
    .defi-hero-intro {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .defi-intro-image {
        order: -1;
        min-height: 300px;
    }
    
    .defi-grids {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .defi-hero-intro {
        gap: 2rem;
        margin: 2rem 0 4rem 0;
    }
    
    .defi-intro-image {
        min-height: 250px;
    }
    
    .defi-grid {
        padding: 2rem;
    }
    
    .defi-section-separator {
        margin: 3rem 0;
    }
}
