/**
 * CEEXDI Connect - Theme Premium (Style 2)
 * Basé sur le nouveau design fourni
 */

.theme-premium {
    --primary-blue: #0A4DA2;
    --dark-blue: #002D62;
    --accent-green: #8BC34A;
    --text-color: #172B4D;
    --bg-light: #F8FAFC;

    /* Surcharge des variables globales pour l'harmonie */
    --bleu: #0A4DA2;
    --bleu-clair: #2196F3;
    --vert: #0D47A1; 
    --vert-clair: #1976D2;
    --orange: #1565C0; 
    --orange-clair: #1E88E5;
    --ombre: 0 3px 15px rgba(10, 77, 162, 0.12);
    --ombre-vert: 0 3px 12px rgba(10, 77, 162, 0.2);
    --gradient-theme: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

body.theme-premium {
    background: url('../images/FondBleu.jpg') no-repeat center center fixed;
    background-size: cover;
    background-color: var(--bg-light);
}

/* Header Style 2 */
.theme-premium .navbar {
    background: linear-gradient(to right, #0A4DA2, #002D62);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Liens de la barre principale uniquement */
.theme-premium .navbar-menu > .nav-link, 
.theme-premium .nav-dropdown-toggle {
    color: rgba(255, 255, 255, 0.9) !important;
    display: flex;
    align-items: center;
}

/* Correction Sous-menus (ils doivent rester lisibles sur fond blanc) */
.theme-premium .nav-dropdown-menu {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: none;
}

.theme-premium .nav-dropdown-menu .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
}

.theme-premium .nav-dropdown-menu .nav-link:hover,
.theme-premium .nav-dropdown-menu .nav-link.active {
    background: #f1f5f9;
    color: var(--primary-blue) !important;
}

.theme-premium .nav-link:hover,
.theme-premium .nav-dropdown-toggle:hover {
    color: #fff !important;
}

.theme-premium .nav-link::after,
.theme-premium .nav-dropdown-toggle::after {
    background: var(--accent-green);
}

.theme-premium .nav-separator {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 992px) {
	.theme-premium .navbar-menu {
		background: linear-gradient(to right, #0A4DA2, #002D62) !important;
	}

    .theme-premium .navbar-menu .nav-link {
        color: white !important;
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    }

    .theme-premium .navbar-menu .nav-dropdown-menu .nav-link {
        color: var(--text-color) !important;
    }
}

.theme-premium .nav-link-primary {
    background: #76B922 !important; /* Vert plus proche de la capture */
    color: #fff !important;
    border-radius: 8px;
    padding: 0.7rem 1.4rem;
    box-shadow: none !important;
}

.theme-premium .nav-link-secondary {
    background: #004AAD !important; /* Bleu plus proche de la capture */
    color: #fff !important;
    border-radius: 8px;
    padding: 0.7rem 1.4rem;
    box-shadow: none !important;
}

/* Home Hero Style 2 - Premium */
.theme-premium .home-hero {
    display: grid;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-color: rgba(10, 77, 162, 0.2);
}

.theme-premium .hero-title {
    color: #002D62;
}

.theme-premium .hero-badge {
    background: var(--bleu);
    color: #fff;
    border: none;
}

/* Transform Presentation Section into New Hero */
.theme-premium #presentation {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    width: 100%;
}

.theme-premium #presentation > * {
    position: relative;
    z-index: 1;
}

.theme-premium #presentation .section-eyebrow {
    display: none;
}

.theme-premium #presentation .section-h2 {
    font-size: 2rem;
    color: var(--bleu);
    margin-bottom: 2.5rem;
    max-width: 800px;
    font-weight: 800;
}

.theme-premium #presentation .section-h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 8px;
    background: #76B922;
    border-radius: 4px;
    margin-top: 1.5rem;
}

.theme-premium #presentation .section-intro {
    font-size: 1.3rem;
    color: #334155;
    max-width: 600px;
    margin-bottom: 5rem;
}

/* About Cards Style 2 */
.theme-premium .about-cards {
    gap: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1300px;
    margin: 0 auto;
}

.theme-premium .about-card {
    border: none !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border-radius: 30px;
    padding: 3.5rem 2.5rem;
    background: #fff;
    transition: all 0.4s ease;
    border-bottom: 10px solid transparent !important;
}

.theme-premium .about-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.1);
}

.theme-premium .about-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

/* Wave patterns at the bottom of cards like in the capture */
.theme-premium .about-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f1f5f9" fill-opacity="0.5" d="M0,160L48,176C96,192,192,224,288,229.3C384,235,480,213,576,181.3C672,149,768,107,864,106.7C960,107,1056,149,1152,154.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    border-radius: 0 0 30px 30px;
}

/* Specific Card Styles */
.theme-premium .vision-card .about-card-icon { background: #eff6ff; color: #0A4DA2; }
.theme-premium .vision-card { border-bottom: 10px solid #0A4DA2 !important; }

.theme-premium .mission-card .about-card-icon { background: #e0f2fe; color: #0284c7; }
.theme-premium .mission-card { border-bottom: 10px solid #0284c7 !important; }

.theme-premium .engagement-card .about-card-icon { background: #fff7ed; color: #F39C12; }
.theme-premium .engagement-card { border-bottom: 10px solid #F39C12 !important; }

.theme-premium .about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #002D62;
    font-weight: 800;
    position: relative;
    padding-bottom: 0.8rem;
}

.theme-premium .about-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    border-radius: 2px;
}

.theme-premium .vision-card h3::after { background: #0A4DA2; }
.theme-premium .mission-card h3::after { background: #8BC34A; }
.theme-premium .engagement-card h3::after { background: #F39C12; }

/* Nos Solutions Section Style 2 */

.theme-premium .home-section-alt {
    background: linear-gradient(135deg, #002D62 0%, #001a3d 100%);
    color: #fff;
    border: none;
    padding: 8rem 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    border-radius: 0;
}

.theme-premium .home-section-alt .section-eyebrow {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 800;
}

.theme-premium .home-section-alt .section-h2 {
    color: #fff;
    font-size: 2.8rem;
}

.theme-premium .home-section-alt .section-intro {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.theme-premium .services-grid-real {
    gap: 1.5rem;
}

.theme-premium .service-real-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
}

.theme-premium .service-real-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.theme-premium .service-real-card strong {
    color: #fff;
    font-size: 1.1rem;
}

.theme-premium .service-real-card p {
    color: rgba(255, 255, 255, 0.7);
}

.theme-premium .src-icon { color: var(--bleu); }

/* --- Spécificités Pages Présentation & Contacts --- */
.theme-premium .hero-header,
.theme-premium .contact-info-card,
.theme-premium .bg-premium-gradient {
    background: var(--gradient-theme) !important;
}

.theme-premium .alert-premium {
    background: #f1f5f9;
    border-left-color: var(--bleu);
}

.theme-premium .final-quote {
    background: var(--bleu);
    border-bottom-color: var(--bleu-clair);
}

.theme-premium .src-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Style Switcher UI */
.style-switcher-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s;
    border: 2px solid #0A4DA2;
}

.style-switcher-btn .material-icons {
    font-size: 28px;
    color: #0A4DA2;
}

.style-switcher-btn:hover {
    transform: rotate(30deg) scale(1.1);
}

.theme-premium .style-switcher-btn {
    background: #0A4DA2;
    border-color: #fff;
}

.theme-premium .style-switcher-btn .material-icons {
    color: #fff;
}
