/* =========================================
   STYLE SPÉCIFIQUE DES PAGES PROJETS
========================================= */

.project-main {
    padding-top: 100px; /* Laisse de l'espace pour ne pas cacher le contenu sous le header fixe */
}

/* --- HERO SECTION (100% TYPO) --- */
.project-hero-header {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
}

.project-hero-header h1 {
    /* Taille adaptative (clamp) pour ne pas sortir de l'écran */
    font-size: clamp(3rem, 10vw, 8rem); 
    line-height: 0.9;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    /* Coupe le mot si l'écran est vraiment trop petit */
    word-wrap: break-word; 
    overflow-wrap: break-word;
}

.project-hero-header .tagline {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: clamp(1rem, 3vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-top: 20px;
}

/* --- DISPOSITION ASYMÉTRIQUE (2 COLONNES) --- */
.project-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Moitié Titre / Moitié Texte */
    gap: 60px;
    align-items: center; /* Centre verticalement le texte par rapport au titre */
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 5%;
}

/* LE SECRET : min-width: 0 empêche un mot long de faire exploser la grille */
.split-title, .split-text {
    min-width: 0;
}

.split-title h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem); 
    line-height: 1.1;
    margin: 0;
    border-left: 5px solid var(--primary-color);
    padding-left: 25px;
    text-align: left;
    /* Sécurité pour empêcher un mot très long de déformer la colonne */
    word-wrap: break-word; 
    overflow-wrap: break-word;
    hyphens: auto;
}

.split-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 25px;
    text-align: left;
}

/* --- LE GROS BOUTON CTA --- */
.cta-container {
    text-align: center;
    padding: 60px 0;
}

.big-cta {
    display: inline-block;
    padding: 25px 50px;
    background-color: var(--primary-color);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.big-cta:hover {
    transform: scale(1.1);
    background-color: transparent;
    border-color: var(--primary-color);
    box-shadow: 0 0 40px rgba(142, 114, 164, 0.4);
}

/* --- GRILLE DES COMPÉTENCES (ANALYSE) --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 100px 5%;
}

.skill-card {
    background: rgba(255,255,255,0.03);
    padding: 30px; /* Espace optimisé pour laisser respirer le texte */
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.skill-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    /* Taille adaptative pour que le mot "ENTREPRENDRE" rentre parfaitement */
    font-size: clamp(1.2rem, 2.5vw, 1.5rem); 
    /* Empêche le débordement de la boîte si la carte se rétrécit trop */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.skill-card p {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* --- RESPONSIVE POUR MOBILE --- */
@media (max-width: 900px) {
    .project-split-layout {
        /* Sur téléphone, on passe en 1 seule colonne (titre au-dessus du texte) */
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-hero-header {
        height: 40vh;
    }
}