/* Titre texte pour la page "Le Projet" */
.hero-title-text {
    font-family: 'Sunroll', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(4rem, 9vw, 6.5rem); /* plus gros */
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 auto 24px;
    text-align: center;

    background: linear-gradient(135deg, var(--violet), var(--rose), var(--jaune));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    text-shadow:
        0 0 30px rgba(155, 93, 229, 0.7),
        0 0 40px rgba(241, 91, 181, 0.4);

    transform: translateY(20px);
    animation: titleSlide 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* TITRES SECTIONS */
.section-title {
    font-family: 'Sunroll', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin: 0 0 4rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--violet), var(--rose), var(--jaune));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* INTENTIONS GRAPHIQUES */
.projet-intentions {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-deep) 100%);
}

.intention-text {
    max-width: 700px;
    margin: 0 auto 5rem;
    text-align: center;
}

.intention-text p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.intention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.intention-card {
    position: relative;
    background: rgba(7, 10, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.intention-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}

.intention-card:hover::before {
    left: 100%;
}

.intention-card:hover {
    transform: translateY(-12px);
    border-color: var(--glass-border-strong);
    background: rgba(7, 10, 25, 0.9);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(155, 93, 229, 0.6);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px currentColor);
}

.intention-card h3 {
    font-family: 'Sunroll', sans-serif;
    font-size: 1.4rem;
    color: var(--text-main);
    margin: 0 0 0.5rem;
}

.intention-card p {
    font-family: 'Outfit', sans-serif;
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* OBJECTIFS */
.projet-objectifs {
    padding: 120px 0;
    background: var(--bg-main);
    position: relative;
}

.projet-objectifs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
}

.objectifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.objectif-card {
    position: relative;
    background: rgba(5, 5, 9, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.objectif-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(155, 93, 229, 0.3), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.objectif-card:hover::before {
    opacity: 1;
}

.objectif-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--glass-border-strong);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.9),
        0 0 35px rgba(0, 191, 249, 0.7);
}

.objectif-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 25px currentColor);
    transition: all 0.3s ease;
}

.objectif-card:hover .objectif-icon {
    filter: drop-shadow(0 0 35px currentColor) brightness(1.2);
    transform: scale(1.1);
}

.objectif-card h3 {
    font-family: 'Sunroll', sans-serif;
    font-size: 1.3rem;
    color: var(--text-main);
    margin: 0 0 1rem;
}

.objectif-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* BOUTON DÉCOUVRIR */
.decouvrir-btn {
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 3rem;
    background: linear-gradient(135deg, var(--violet), var(--rose));
    color: #050509;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        0 15px 35px rgba(155, 93, 229, 0.6),
        0 0 30px rgba(241, 91, 181, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 25px 50px rgba(155, 93, 229, 0.9),
        0 0 50px rgba(241, 91, 181, 0.9);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .projet-intentions,
    .projet-objectifs {
        padding: 80px 0;
    }
    
    .intention-grid,
    .objectifs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .intention-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 4%;
    }
    
    .intention-card,
    .objectif-card {
        padding: 2rem 1.5rem;
    }
}
