.container-produits {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
.products-tabs {
    padding: 1.5rem 0;
    background: #ffffff;
}

.products-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #dbeafe;
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.5rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    border-radius: 8px;
    flex: 1;
    max-width: inherit;
}

.tab-button:hover {
    color: #1e40af;
    background: rgba(30, 64, 175, 0.1);
}

.tab-button.active {
    color: #ffffff;
    background: linear-gradient(120deg, rgba(10, 70, 110, 0.97) 60%, rgba(12, 85, 135, 0.97) 100%);
    box-shadow: 0 2px 8px rgba(10, 70, 110, 0.3);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.product-showcase {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border-radius: 16px;
    border: 1px solid #dbeafe;
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.08);
}

.product-visual {
    flex: 1;
    max-width: 350px;
}

.product-screenshot {
    width: 100%;
    height: auto;
}
.product-content {
    flex: 1;
    padding: 0 1rem;
}

.product-category {
    display: inline-block;
    background: linear-gradient(120deg, rgba(10, 70, 110, 0.97) 60%, rgba(12, 85, 135, 0.97) 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(10, 70, 110, 0.3);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1d70ad;
    margin-bottom: 0;
    line-height: 1.2;
}

.product-description {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    max-width: 550px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-features li::before {
    content: '✓';
    color: #1d70ad;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(120deg, rgba(10, 70, 110, 0.97) 60%, rgba(12, 85, 135, 0.97) 100%);
    color: white;
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(10, 70, 110, 0.3);
}

.product-cta:hover {
    background: linear-gradient(120deg, rgba(8, 55, 85, 0.97) 60%, rgba(10, 65, 105, 0.97) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 70, 110, 0.4);
    color: white;
}

.product-cta i {
    transition: transform 0.2s ease;
}

.product-cta:hover i {
    transform: translateX(3px);
}
 
/* Grille de fonctionnalités (pages produits) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-category {
    background: var(--background);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.feature-category::after {
    content: "+";
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.8;
    font-weight: 500;
}

.feature-category:hover {
    background: var(--background-alt);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
}

.feature-grid {
    display: none; /* les cards seront affichées dans une modale */
}

.feature-card {
    background: var(--background-alt);
    padding: 0.85rem 1rem;
    border-radius: calc(var(--border-radius) - 2px);
    text-align: left;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card h4 {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.feature-card h4 i {
    margin-right: 0.5rem;
}

.feature-card img {
    width: 46px;
    height: 46px;
    margin-bottom: 0.6rem;
    object-fit: contain;
}

.feature-card i {
    font-size: 46px;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.feature-card h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Modale des fonctionnalités */
.feature-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.feature-modal.open {
    display: flex;
}

.feature-modal-content {
    background: var(--background);
    border-radius: var(--border-radius);
    max-width: 1500px;
    width: 100%;
    margin: 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4);
    padding: 2rem 2.5rem;
    position: relative;
}

.feature-modal-title {
    margin: 0 0 1.5rem 0;
    font-size: 1.6rem;
    color: var(--text-primary);
}

.feature-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.feature-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.feature-modal-grid .feature-card i {
    font-size: 32px !important;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-modal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-category {
        padding: 1.5rem;
    }

    .category-header {
        margin-bottom: 1.5rem;
        gap: 0.75rem;
    }

    .category-header h3 {
        font-size: 1.2rem;
    }

    .category-icon {
        font-size: 1.5rem;
    }

    .feature-modal-content {
        padding: 1.5rem 1.25rem;
        margin: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-showcase {
        gap: 2.5rem;
    }

    .product-title {
        font-size: 1.9rem;
    }

    .product-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .products-container {
        padding: 0 1rem;
    }

    .tabs-navigation {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.25rem;
    }

    .tab-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        max-width: none;
    }

    .product-showcase {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
        text-align: center;
    }

    .product-content {
        padding: 0;
    }

    .product-title {
        font-size: 1.6rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .product-visual {
        max-width: 100%;
    }

    .product-screenshot {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 1.4rem;
    }

    .product-description {
        font-size: 0.85rem;
    }

    .product-features li {
        font-size: 0.85rem;
    }

    .product-cta {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .tab-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Domain badges */
.domain-badge {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid #0f5f96;
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-badge i {
    color: #0f5f96;
    margin-right: 0.4rem;
}

.domain-badge-large {
    border-radius: 16px;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.domain-badge-large i {
    margin-right: 0.5rem;
}

/* === SECTION CAPTURES D'ÉCRAN === */
.screenshots-section {
    background: var(--background-alt);
    padding: 4rem 0;
}

.screenshots-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.screenshot-card {
    background: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
}

.screenshot-image {
    position: relative;
    width: auto;
    height: auto;
    overflow: visible;
    background: transparent;
}

.screenshot-image img {
    width: 100%;
    height: auto;
    max-width: 700px;
    object-fit: contain;
}

.screenshot-info {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .screenshots-section {
        padding: 0rem 0 1.5rem;
    }
    
    .screenshot-image {
        height: 200px;
    }
    
    .screenshot-info {
        padding: 1.5rem;
    }
}

/* === Styles spécifiques DefLab === */

/* Hero DefLab */
.deflab-hero-container {
    max-width: 1400px;
}

.deflab-hero-badge-row {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.deflab-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.deflab-hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 50px;
    font-weight: 600;
    color: #f1f5f9;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.deflab-hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #f1f5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255,255,255,0.3);
    line-height: 1.1;
}

.deflab-hero-subtitle {
    font-size: 1.6rem;
    font-weight: 500;
    color: #cbd5e1;
}

.deflab-hero-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 750px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

.deflab-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.deflab-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    text-decoration: none;
}

.deflab-hero-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(15,23,42,0.4);
}

.deflab-hero-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #f1f5f9;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

/* Section domaines DefLab */
.deflab-domains-section {
    padding: 4rem 0;
    background: var(--background);
}

.deflab-domains-container {
    max-width: 1200px;
}

.deflab-section-header {
    margin-bottom: 3rem;
}

.deflab-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.deflab-section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 auto;
}

.deflab-domains-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Section fonctionnalités DefLab */
.deflab-features-section {
    padding: 4rem 0;
    background: var(--background-alt);
}

/* Section architecture & déploiement DefLab */
.deflab-architecture-section {
    padding: 4rem 0;
}

.deflab-architecture-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    gap: 2rem;
}

.deflab-architecture-card {
    background: linear-gradient(135deg, var(--background) 0%, var(--background-alt) 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deflab-architecture-card-primary {
    border: 2px solid var(--primary-color);
}

.deflab-architecture-card-secondary {
    border: 2px solid var(--secondary-color);
}

.deflab-architecture-card-tertiary {
    border: 2px solid var(--tertiary-color);
}

.deflab-architecture-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.deflab-architecture-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.deflab-architecture-icon-circle-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.deflab-architecture-icon-circle-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
}

.deflab-architecture-icon-circle-tertiary {
    background: linear-gradient(135deg, var(--tertiary-color), var(--primary-color));
}

.deflab-architecture-icon-circle i {
    color: white;
    font-size: 1.2rem;
}

.deflab-architecture-card-title {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.deflab-architecture-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.deflab-architecture-item {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.deflab-architecture-item-icon {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.deflab-architecture-card-primary .deflab-architecture-item-icon {
    color: var(--primary-color);
}

.deflab-architecture-card-secondary .deflab-architecture-item-icon {
    color: var(--secondary-color);
}

.deflab-architecture-card-tertiary .deflab-architecture-item-icon {
    color: var(--tertiary-color);
}

/* CTA final DefLab */
.deflab-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.deflab-cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.deflab-cta-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.deflab-cta-content {
    text-align: center;
}

.deflab-cta-badge-row {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.deflab-cta-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.deflab-cta-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    border-radius: 50px;
    font-weight: 600;
    color: #1e293b;
    border: 2px solid rgba(255,255,255,0.5);
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.deflab-cta-badge i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.deflab-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.deflab-cta-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
