/* ============================================
   STYLES COMMUNS - TOUTES LES PAGES
   ============================================ */

:root {
    --fond: #F0F8F8;
    --vert: #91C2B5;
    --vert-dark: #6B9A8D;
    --violet: #8B7B9E;
    --violet-light: rgba(139, 123, 158, 0.15);
    --turquoise-logo: #9BCAD1;
    --noir: #1a1a1a;
    --blanc: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--noir);
    line-height: 1.6;
    background: var(--fond);
}

/* Bandeau blanc en haut */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: var(--blanc);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    margin-left: calc(5% + 200px);
}

.logo-img-small {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text-small {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    display: flex;
    gap: 0.15rem;
}

.logo-isabelle {
    color: var(--violet);
}

.logo-godiveau {
    color: var(--turquoise-logo);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--noir);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--vert);
    transition: width 0.3s;
}

/* Filet violet au survol pour Illustrations et Peinture */
.nav-links li:nth-child(1) a::after,
.nav-links li:nth-child(3) a::after {
    background: var(--violet); /* Pour Illustrations et Peinture au survol */
}
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 100px 5% 80px;
    background: var(--fond);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: 2rem;
}

/* Logo grand */
.hero-logo-big {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
}

.hero-logo-big img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Texte en dessous du logo */
.hero-roles {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.role-violet {
    color: var(--violet);
}

.role-vert {
    color: var(--vert-dark);
}

.separator {
    color: var(--vert);
    margin: 0 0.4em;
}

/* Texte d'intro sur 3 lignes - CORRECTION ICI */
.intro {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 0;
    font-weight: 300;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    /* Pas de max-width = pleine largeur */
}

/* Espace de 70 pixels */
.spacer-70 {
    height: 70px;
}

/* Cartes */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.activity-card {
    aspect-ratio: 1;
    background: var(--blanc);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 0 0 20px 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

/* Survol violet pour 1er et 3ème */
.activity-card:nth-child(1):hover,
.activity-card:nth-child(3):hover {
    background: var(--blanc);
    border-color: var(--violet);
    box-shadow: 0 15px 40px rgba(139, 123, 158, 0.2);
    transform: translateY(-5px);
}

/* Survol vert pour 2ème et 4ème */
.activity-card:nth-child(2):hover,
.activity-card:nth-child(4):hover {
    background: var(--blanc);
    border-color: var(--vert);
    box-shadow: 0 15px 40px rgba(145,194,181,0.15);
    transform: translateY(-5px);
}

/* Clic/focus violet pour 1er et 3ème */
.activity-card:nth-child(1):active,
.activity-card:nth-child(1):focus,
.activity-card:nth-child(3):active,
.activity-card:nth-child(3):focus {
    background: var(--blanc);
    border: 2px solid var(--violet);
    box-shadow: 0 0 0 4px var(--violet-light);
    transform: translateY(-5px);
    outline: none;
}

/* Clic/focus vert pour 2ème et 4ème */
.activity-card:nth-child(2):active,
.activity-card:nth-child(2):focus,
.activity-card:nth-child(4):active,
.activity-card:nth-child(4):focus {
    background: var(--blanc);
    border: 2px solid var(--vert);
    box-shadow: 0 0 0 4px rgba(145, 194, 181, 0.2);
    transform: translateY(-5px);
    outline: none;
}

.activity-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--noir);
    margin-bottom: 0.5rem;
    font-weight: 400;
    line-height: 1.3;
}

.activity-subtitle {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.03em;
    font-weight: 300;
    line-height: 1.4;
}

/* En construction sous les pavés */
.en-construction {
    display: inline-block;
    background: var(--violet);
    color: white;
    padding: 0.6rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 25px;
}

@media (max-width: 968px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-logo-big {
        width: 120px;
        height: 120px;
    }
    
    .nav-links {
        display: none;
    }
    
    .logo-container {
        margin-left: 5%;
    }
    
    .spacer-70 {
        height: 70px;
    }
}