/* CSS Style Common Voice landing page pour COLAF */
/* --- Réinitialisation et styles de base --- */
:root {
    --primary-color: #0060df;
    --background-color: #f4f7fc;
    --text-color: #333;
    --light-text-color: #666;
    --card-background: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    padding: 2rem;
}

/* --- Conteneurs et mise en page --- */
header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

main {
    max-width: 900px;
    margin: 0 auto;
}

.steps-container {
    background-color: var(--card-background);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.steps-container h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* --- Styles des étapes --- */
.step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--light-text-color);
    margin-bottom: 1rem;
}

.congrats {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 3rem;
    font-size: 1.2rem;
}


/* --- Images --- */
.step-content img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 1rem; 
}


/* --- Boutons --- */
.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.step-content .button {
    display: block;
    width: fit-content;
    margin: 1.5rem auto;
}

.button:hover {
    background-color: #004cb3;
    transform: translateY(-2px);
}

/* --- Section "En savoir plus" --- */
.more-info {
    margin-top: 3rem;
}

details {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

summary {
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
}

.details-content {
    margin-top: 1.5rem;
}

.details-content p {
    margin-bottom: 1rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    header h1 {
        font-size: 2rem;
    }
    
    .steps-container {
        padding: 1.5rem;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}


/* --- Partenaires (Logos) --- */
.partners {
    max-width: 900px;
    margin: 4rem auto 2rem auto;
    text-align: center;
}

.partners h2 {
    font-size: 1.5rem;
    color: var(--light-text-color);
    margin-bottom: 2rem;
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.logos-container img {
    max-height: 60px; /* Uniformise la hauteur des logos */
    max-width: 150px; /* Empêche les logos larges de prendre trop de place */
    /* filter: grayscale(100%); */
   /* opacity: 0.7;*/
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logos-container img:hover {
    filter: grayscale(0%);
    opacity: 1;
}