/* ============================================================
   ACCORDEON.CSS — Styles dédiés à la page Accordéon SMS
   ============================================================ */

/* Fond général */
body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}

/* Conteneur principal */
.container {
    max-width: 1100px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);

    /* IMPORTANT : pousse le contenu au-dessus du sommaire */
    margin-bottom: 120px !important;
}

/* Titres principaux */
h1 {
    color: #2a6f2a;
    font-size: 38px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

/* ============================================================
   ACCORDÉON — Personnalisation
   ============================================================ */

.accordion-button {
    background-color: #e8f3e8;
    color: #2a6f2a;

    font-family: Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.80em !important;
    line-height: 1.2;

    border: none;
    padding-top: 10px;
    padding-bottom: 10px;
}

.accordion-button:hover {
    background-color: #dcecdc;
    color: #245a24;
}

.accordion-button:not(.collapsed) {
    background-color: #2a6f2a;
    color: white;
    font-weight: 500 !important;
}

/* Corps */
.accordion-body {
    background: #ffffff;
    border-left: 4px solid #2a6f2a;
    padding: 20px;
    font-size: 1.05em;
    line-height: 1.5;
}

.accordion-body img {
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Boutons */
.btn-accordeon {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #2a6f2a;
    background-color: #e8f3e8;
    color: #2a6f2a;
    font-weight: bold;
    transition: 0.2s;
}

.btn-accordeon:hover {
    background-color: #2a6f2a;
    color: white;
}

.btn-accordeon i {
    margin-right: 6px;
}

/* ============================================================
   VERSION MOBILE — titres encore plus petits sur GSM
   ============================================================ */
@media (max-width: 768px) {
    .accordion-button {
        font-size: 0.60em !important;
        line-height: 1.1 !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        font-weight: 500 !important;
    }
}

/* ============================================================
   TITRE PRINCIPAL AVEC LOGOS
   ============================================================ */

.title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

/* LOGOS — version correcte */
.title-logo {
    max-height: 60px;   /* empêche l'explosion */
    width: auto;
    cursor: default;     /* enlève la petite main */
}

/* Titres */
.title-text h1 {
    color: #2a6f2a;
    font-size: 32px;
    margin: 0;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
}

/* Version mobile */
@media (max-width: 768px) {

    .title-row {
        flex-direction: column;
        gap: 10px;
    }

    .title-logo {
        max-height: 40px !important;  /* logos petits sur GSM */
    }

    .title-text h1 {
        font-size: 26px;
    }
}

/* ============================================================
   ICONES DES TITRES D'ACCORDÉON
   ============================================================ */
/*
   Cette section gère les petites icônes que tu vas placer
   à droite des titres de l'accordéon.

   - Elles sont stockées dans /www/img/icons/
   - Elles doivent être petites, lisibles, et alignées verticalement
   - Elles s'adaptent automatiquement sur GSM
*/

.icon-service {
    height: 22px;          /* taille standard PC */
    width: auto;
    margin-left: 8px;      /* espace entre le texte et l’icône */
    vertical-align: middle;
    opacity: 0.85;         /* léger adoucissement visuel */
}

/* Version mobile : icônes légèrement plus petites */
@media (max-width: 768px) {
    .icon-service {
        height: 18px;
        margin-left: 6px;
    }
}
