/* ======================================================= 
   🗂️  STRUCTURE GLOBALE – VERT POMME CLAIR
   ======================================================= */

.section {
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    background: #f9fdf7; /* fond ultra léger vert pâle */
    border-radius: 1rem;
    scroll-margin-top: 90px;
}
.section.active { display: block; }
.section:nth-of-type(even) { background: #ffffff; }

.section .container {
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =======================================================
   🏷️  TITRES & INTRODUCTIONS – contrastés
   ======================================================= */

.section h2 {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #223d16; /* vert très foncé (presque noir) */
    text-align: center;
    letter-spacing: .5px;
}
.section h3 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 2rem 0 1.5rem 0.5rem;
    color: #2e5d1a; /* titres renforcés */
    text-align: left;
    letter-spacing: .3px;
}

.section h4 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.5;
    color: #3a731c;
    margin: 1.5rem 0 1.25rem 1rem;
    text-align: left;
    letter-spacing: 0.2px;
}

.intro {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}
.intro br { margin: 1rem 0; }

/* =======================================================
   📝  AVANT-PROPOS 
   ======================================================= */

.avant-propos {
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    border: 2px solid #a8db87;
    border-left: 10px solid #6cbf3c;
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgba(108, 191, 60, 0.06);
    margin-bottom: 2rem;
}

.avant-propos p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin: 1.5rem 2.5rem;
}
/* =======================================================
   📝  TEXTE & LISTES
   ======================================================= */

.text,
.liste-demo li {
    font-size: 1.125rem;
    color: #444;
    text-align: justify;
    align-items: center;
    padding: 0 1rem;
    margin: 1rem 2rem;
}

.text br { margin: .75rem 0; }

.liste-demo {
    list-style-type: disc;
    padding-left: 4rem;
    margin: .75rem 1.5rem;
}

/* style inline */
i       { font-style: italic; }
strong  { font-weight: bold; }


#demo-controle-gestion a {
    color: #2e5d1a;
    font-weight: 600;
    text-decoration: underline;
}
#demo-controle-gestion a:hover {
    color: #6cbf3c;
    text-decoration: none;
}

/* =======================================================
   🧭  ÉTAPES DE LA DÉMONSTRATION POWER BI
   ======================================================= */

.etape {
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    border: 2px solid #a8db87;
    border-left: 10px solid #6cbf3c;
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgba(42, 129, 203, 0.06);
    margin-bottom: 2rem;
}

.etape p {
    font-size: 1.125rem;
    line-height: 1.5;
    color: #333;
    text-align: justify;
    margin: 1rem 2.5rem;
}

.etape code {
    background-color: #f4fcf2;
    color: #155f0e;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

.etape img {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 1.5rem auto;
    border: 1px solid #d3e6f7;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(42, 129, 203, 0.08);
}

.medium-pic { width: 50%}
.small-pic { width: 25%}
.very-small-pic { width: 15%}

.ligne-icones {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.icone-inline {
    width: 1.25rem;
    margin: 0 !important;
    display: inline-block;
    line-height: 1;
}

/* =======================
   STYLE VIDÉO TUTORIEL
   ======================= */
.video {
    /* Taille & responsivité */
    width: 75%;               /* occupe toute la largeur du conteneur */
    max-width: 860px;          /* limite la largeur sur écran large */
    height: auto;              /* conserve le ratio */

    /* Mise en page */
    display: block;            /* évite l’espace sous l’élément */
    margin: 2rem auto;         /* centre la vidéo + marge haut / bas */
    
    /* Esthétique */
    border: 1px solid #a8db87; /* rappel du vert des encadrés de votre tuto */
    border-radius: 10px;       /* angles adoucis */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

    /* Accessibilité */
    outline: none;             /* retire le contour par défaut (optionnel) */
}
