/* -- DESIGN SYSTEM CLICASSOCIATION (MODERNE BENTO) -- */
:root {
    --primary-purple: #6f42c1;
    --anthracite: #333d47;
    --soft-gray: #f8f9fa;
    --bs-primary: #6f42c1;
    --bs-primary-rgb: 111, 66, 193;
    --bs-link-color: #6f42c1;
    --border-soft: #e2e8f0;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: var(--anthracite);
    background-color: #fdfdfd;
    padding-top: 80px !important; /* Compense la navbar fixée */
    overflow-y: auto !important;
    min-height: 100vh;
}

/* --- Typographie --- */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.03em;
}
.hero-title {
    font-size: 3.2rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}
.text-gradient-purple {
    background: linear-gradient(45deg, #6f42c1, #a445f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-purple { color: var(--primary-purple) !important; }
.bg-purple { background-color: var(--primary-purple) !important; }
.bg-purple-subtle { background-color: rgba(111, 66, 193, 0.1) !important; color: var(--primary-purple); }
.border-purple-subtle { border-color: rgba(111, 66, 193, 0.2) !important; }
.hover-purple:hover { color: var(--primary-purple) !important; }

/* --- Logos --- */
.logo-clic, .logo-association {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}
.logo-clic { color: var(--anthracite); }
.logo-association { color: var(--anthracite); }
.logo-association::first-letter { color: var(--primary-purple); }
.logo-dot { color: var(--primary-purple); font-weight: 900; font-size: 1.8rem; }

/* --- Boutons System --- */
.btn-primary {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
}
.btn-primary:hover, .btn-primary:active {
    background-color: #5a32a3 !important;
    border-color: #5a32a3 !important;
}
.shadow-purple { box-shadow: 0 10px 25px -5px rgba(111, 66, 193, 0.4); transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover.shadow-purple { transform: translateY(-2px); box-shadow: 0 15px 35px -5px rgba(111, 66, 193, 0.5); }

/* Inscription / Login Navbar */
.btn-creer {
    background: var(--primary-purple); color: white;
    border-radius: 50px; padding: 10px 30px; font-weight: 600; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; height: 46px; border: none;
}
.btn-creer:hover { background: #5a32a3; color: white; }

.btn-login {
    color: var(--primary-purple); text-decoration: none; font-weight: 600; padding: 10px 24px;
    border-radius: 50px; border: 1px solid var(--border-soft);
    display: inline-flex; align-items: center; justify-content: center; height: 46px; transition: all 0.2s;
}
.btn-login:hover { background-color: var(--soft-gray); border-color: #ddd; }

/* --- Navbar Glassmorphism --- */
.modern-nav {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}
.modern-nav .nav-link { color: #4a5568 !important; transition: color 0.2s; }
.modern-nav .nav-link:hover { color: var(--primary-purple) !important; }

/* --- Bento Grid Cards --- */
.bento-card {
    border-radius: 24px;
    background: #ffffff;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}
.icon-box { width: 54px; height: 54px; transition: transform 0.2s; }
.bento-card:hover .icon-box { transform: scale(1.1) rotate(-5deg); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); }

/* --- Helpers & Backgrounds --- */
.hero-bg-wrapper { overflow: hidden; position: relative; }
.modern-price-tag {
    background: #f8fafc; color: #0f172a; padding: 8px 20px; border-radius: 50px; font-size: 1.4rem; font-weight: 800; border: 1px solid #e2e8f0;
}
.py-7 { padding-top: 6rem; padding-bottom: 6rem; }
.pb-7 { padding-bottom: 6rem; }
.tracking-wide { letter-spacing: 0.1em; }
.form-wrapper form { position: relative; z-index: 10; } /* Assure la cliquabilité du form */

/* Couleurs Subtle (si BS 5.3 n'est pas chargé) */
.bg-success-subtle { background-color: #d4edda; color: #155724; }
.bg-warning-subtle { background-color: #fff3cd; color: #856404; }
.bg-info-subtle { background-color: #d1ecf1; color: #0c5460; }
.bg-dark { background-color: #1a202c !important; }

/* --- Mockup du site dans le Hero --- */
.modern-mockup { border-radius: 20px !important; border: 1px solid rgba(0,0,0,0.08); background: white; max-width: 580px; width: 100%; transform: perspective(1000px) rotateY(-2deg); }
.window-header { background: #f8f9fa; padding: 10px; border-bottom: 1px solid #eee; }
* --- Visual Stack --- */
.visual-stack {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.window-mockup {
    background: white;
    border-radius: 18px;
    border: 1px solid #eee;
    position: absolute;
    overflow: hidden;
}
	/* Ajustement mobile */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 20px 0;
        text-align: center;
    }
    .d-flex {
        width: 100%;
        padding-bottom: 20px;
    }
    .btn-creer, .btn-login {
        width: 100%;
        text-align: center;
    }
}

.visual-stack {
    padding-left: 2rem; /* Espace entre ton texte de gauche et le mockup */
}

.window-mockup {
    max-width: 580px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
    position: relative;
    /* Optionnel : légère rotation pour le dynamisme */
    transform: perspective(1000px) rotateY(-2deg);
}				 
.iframe-container {
    height: 300px; /* Taille de la fenêtre d'affichage */
    position: relative;
    overflow: hidden;
    background: #fff;
}

.iframe-container iframe {
    width: 1280px; 
    height: 1400px;
    border: none;
    position: absolute;
    
    /* AJUSTEMENT ICI : */
    /* On remonte le site de 120px pour supprimer l'espace vide du haut */
    top: -160px; 
    left: 0;
    
    /* On garde le scale pour la largeur */
    transform: scale(0.453); 
    transform-origin: top left;
    
    pointer-events: none;
}
.made-with-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    z-index: 25;
    border: 1px solid #eee;
}

/* --- Radio Boutons pour Modal Démo --- */
.demo-img-selector { transition: all 0.2s ease-in-out; border: 2px solid transparent; }
.btn-check:checked + label img.demo-img-selector { border: 3px solid var(--primary-purple) !important; box-shadow: 0 0 10px rgba(111, 66, 193, 0.3); transform: scale(1.05); }
.color-selector-dot { width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: all 0.2s ease; border: 3px solid transparent; display: inline-block; }
.color-selector-dot:hover { transform: scale(1.1); }
.btn-check:checked + .color-selector-dot { border-color: #fdfdfd; box-shadow: 0 0 0 3px #000; transform: scale(1.2); }

/* --- Bouton Messenger --- */
.messenger-btn {
    position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px;
    background: linear-gradient(135deg, #00c6ff, #0078ff); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0, 120, 255, 0.4);
    z-index: 9999; transition: transform 0.3s ease;
}
.messenger-btn:hover { transform: scale(1.1); }

/* Ajustement Mobile */
@media (max-width: 991px) {
    .navbar-nav { padding: 20px 0; text-align: center; }
    .btn-creer, .btn-login { width: 100%; text-align: center; }
}