* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

:root {
    --bg: #f2f5f3;
    --header-border: #009cde;
}

body {
    background: #f2f6fb;
    color: #0a2540;
    line-height: 1.5;
}

strong {
    color:#009cde;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.intro-text {
    margin-top: 5px;    /* espace au-dessus de la section */
}

/* Titre */
h1 {
    text-align: center;
    font-size: 2.2rem;
    color: #0a2540;
    text-transform: uppercase;
}

 h2.major {
    text-align: center;
    border-top: 5px solid var(--header-border); /* ligne horizontale au-dessus */
    margin: 1em 0 1.1em;                         /* marge haut / bas */
    position: relative;
    text-transform: uppercase;
    
}

h2.major span {
    background: var(--bg);     /* recouvre la ligne derrière le texte */
    position: relative;
    top: -0.75em;              /* remonte le texte pour “casser” la ligne */
    padding: 0 1.25em;         /* espace horizontal autour du texte */
    color: #009cde;
}

/* Boutons langue */
.language-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary { background: #009cde; color: white; text-decoration: none; font-weight: 600;}
.btn.secondary { background: #193782; color: white; text-decoration: none; }

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.btn-primary-moodle {
    background-color: #193782;
    border-color: #193782;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    border: 1px solid;
    padding: .625rem 1.25rem;
    line-height: 1.5;
    border-radius: .25rem;
    position: relative;
    text-transform: none;
    transition: all 0.15s ease;
    letter-spacing: .025em;
    font-size: .875rem;
    will-change: transform;
    color:white;
    box-shadow: none !important;
    text-decoration: none;
    max-width: 350px;
    
}

.btn-secondary-moodle {    
    background-color: #009cde;
    border-color: #009cde;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    border: 1px solid;
    padding: .625rem 1.25rem;
    line-height: 1.5;
    border-radius: .25rem;
    position: relative;
    text-transform: none;
    transition: all 0.15s ease;
    letter-spacing: .025em;
    font-size: .875rem;
    will-change: transform;
    color:white;
    box-shadow: none !important;
        text-decoration: none;
        max-width: 350px;
    
}

/* Cards */
.card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card h2 { 
  color: #009cde; 
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-align: center;
}

/* Profils */
.profiles {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;   /* empêche le retour à la ligne en desktop */
}

.profile-card {
    flex: 0 0 50%;       /* 2 colonnes strictes */
    margin-top: -30px;
}

.profile-card .btn {
    display: block;            /* permet le centrage propre */
    margin: 0 auto 10px auto;  /* centre horizontalement */
    max-width: 350px;          /* largeur maximale demandée */
    width: 100%;               /* prend la largeur dispo jusqu’au max */
    text-align: center;
}

.profile-card ul { padding-left: 20px; }
.profile-card li { margin-bottom: 6px; }

/* Texte standard */
.text-section {
    padding: 20px;
    background: none;
}

.text-section h2 {
    margin-bottom: 10px;
    color: #0a2540;
}

.text-section p, .text-section ul {
    margin-bottom: 10px;
}

.text-section ul { padding-left: 20px; }

/* Support card */
.support-card {
    margin-top: 12px;
    text-align: center;
    border-style: solid;
    border-width: 5px;
    border-color: #193782;
}

/* Documentation en deux colonnes */
.documentation-card .doc-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    position: relative; /* nécessaire pour le pseudo-élément si on l’utilise */
}


.documentation-card .column {
    flex: 1 1 250px;
    position: relative;
}

.documentation-card .column ul {
    padding-left: 20px;
}

.documentation-card .column li {
    margin-bottom: 6px;
}

/* Barre verticale entre les colonnes */
.documentation-card .doc-columns::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;              /* barre centrée horizontalement */
    width: 2px;             /* largeur de la barre */
    background-color: #dfeaf7; /* gris clair */
    transform: translateX(-50%); /* centrer exactement la barre */
}

/* Listes avec coches vertes */
ul.checklist {
    list-style: none; /* supprime les puces classiques */
    padding-left: 1.5em; /* espace pour l'icône */
}

ul.checklist li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 25px; /* espace pour l'icône */
}

/* Coche verte */
ul.checklist li::before {
    content: "✔"; /* symbole de coche */
    position: absolute;
    left: 0;
    top: 0;
    color: #009cde; /* vert */
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.2;
}

/* Responsive : empilement des colonnes supprime la barre */
@media (max-width: 768px) {
    .documentation-card .doc-columns {
        flex-direction: column;
    }

    .documentation-card .doc-columns::before {
        display: none;
    }

    h1 { font-size: 1.8rem; }
    .profiles { 
        flex-direction: column; 
    }

     .profiles {
        flex-direction: column;
    }

    .profile-card {
        flex: 1 1 100%;
        margin-top: 0;
    }
}

