/* =========================================================
   AEC - améliorations dynamiques (transitions, hover, feedback)
   ========================================================= */

/* =========================================================
   FOOTER AEC — propre, structuré, dynamique
   ========================================================= */
.aec-footer {
    background: linear-gradient(180deg, #0b1a33 0%, #0a1428 100%);
    color: rgba(255,255,255,0.78);
    padding: 60px 0 0;
    margin-top: 0;
    font-size: 14px;
    line-height: 1.65;
}
.aec-footer-grid {
    padding-bottom: 40px;
}
.aec-footer-col {
    margin-bottom: 24px;
}
.aec-footer-logo {
    max-width: 170px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.95);
    padding: 10px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.aec-footer-about {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    line-height: 1.65;
}
.aec-footer-about strong {
    color: #efd078;
    font-weight: 600;
}
.aec-footer-social {
    margin-top: 18px;
    display: flex;
    gap: 8px;
}
.aec-footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.25s ease;
}
.aec-footer-social a:hover {
    background: linear-gradient(135deg, #efd078, #c9a038);
    color: #0b1a33;
    transform: translateY(-3px);
}

.aec-footer-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    position: relative;
}
.aec-footer-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #0a9642, #e2b12d);
}

.aec-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.aec-footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
    color: rgba(255,255,255,0.78);
}
.aec-footer-contact li i {
    flex: 0 0 auto;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(226,177,45,0.15);
    color: #efd078;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-top: 0;
}
/* La pastille fait 30px, la première ligne de texte 13px × 1.5 ≈ 19,5px.
   Ce padding de 5px place le centre de cette première ligne à ~14,75px,
   soit l'axe du cercle (15px). On garde align-items:flex-start pour que
   l'adresse sur deux lignes reste ancrée à l'icône par sa 1re ligne. */
.aec-footer-contact li span,
.aec-footer-contact li a {
    font-size: 13px;
    line-height: 1.5;
    padding-top: 5px;
    min-width: 0;
    word-break: break-word;
}
.aec-footer-contact li a {
    color: rgba(255,255,255,0.85);
    transition: color 0.2s ease;
}
.aec-footer-contact li a:hover {
    color: #efd078;
    text-decoration: none;
}

.aec-footer-news {
    list-style: none;
    padding: 0;
    margin: 0;
}
.aec-footer-news li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}
.aec-footer-news-year {
    flex: 0 0 auto;
    min-width: 48px;
    height: 48px;
    border-radius: 6px;
    background: linear-gradient(135deg, #efd078, #c9a038);
    color: #0b1a33;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.aec-footer-news-body {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}
.aec-footer-news-body strong {
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 600;
}
.aec-footer-news-date {
    color: rgba(255,255,255,0.55);
    font-size: 11.5px;
    margin-top: 2px;
}

.aec-footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.aec-footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}
.aec-footer-bottom strong { color: rgba(255,255,255,0.85); }

/* Bandeau logos logiciels (Afware, E-Billing, ...) */
.aec-footer-softwares {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.aec-footer-softwares-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    align-items: center;
}
.aec-footer-software {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: rgba(255,255,255,0.85);
    transition: all .2s ease;
    min-width: 130px;
    text-decoration: none;
}
.aec-footer-software:hover {
    background: rgba(226,177,45,0.12);
    border-color: rgba(226,177,45,0.4);
    color: #efd078;
    text-decoration: none;
    transform: translateY(-2px);
}
.aec-footer-software img {
    max-height: 48px;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(1.05);
}
.aec-footer-software span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .aec-footer { padding-top: 40px; }
    .aec-footer-bottom .text-right { text-align: left; margin-top: 8px; }
    .aec-footer-softwares-row { gap: 14px; }
    .aec-footer-software { min-width: 110px; padding: 10px 12px; }
    .aec-footer-software img { max-height: 36px; }
}

/* Neutralisation des styles ulockd-footer hérités du template */
.ulockd-footer { display: none; }

/* Bouton Langue : marquage de la langue active dans le dropdown */
.lang-button .dropdown-content a.lang-active {
    background: rgba(10, 150, 66, 0.08);
    font-weight: 600;
    color: #0a9642 !important;
}

/* =========================================================
   HOME - CARTE "INFORMATIQUE" SOUS LA BANNIÈRE
   La rangée qui porte cette carte hérite du template la classe
   .ulockd-mrgn12-150, soit margin-top:-150px. Face aux 50px de
   padding haut de la section, la carte remontait donc de 100px
   et venait chevaucher le bas du carrousel : le texte
   « Notre atout est de vous fournir des outils informatiques… »
   se retrouvait collé à la bannière.
   En annulant la remontée, la carte reprend sa place dans le
   flux et retrouve les 50px de respiration de la section.
   La couche responsive neutralisait déjà ce décalage en dessous
   de 992px — le réglage devient identique à toutes les largeurs.
   ========================================================= */
.ulockd-about.ulockd-pad12650 .ulockd-mrgn12-150 {
    margin-top: 0;
}

/* .about-box2 (style.css) n'a pas de padding latéral — prévu pour laisser
   l'illustration du haut (.ab-thumb) occuper toute la largeur de la carte.
   Le texte et le bouton en héritaient aussi et touchaient les bords. On leur
   donne un padding propre, sans toucher à l'image ni à la pastille d'icône. */
.about-box2 .ab-details {
    padding: 15px 30px 30px;
}

/* Pastille d'icône sans illustration au-dessus.
   .about-icon (style.css) pose margin-top:-30px pour chevaucher le bas de
   l'image de la carte. Quand la carte n'a pas d'image — ou que le fichier
   a disparu —, ce retrait fait remonter la pastille hors du cadre.
   La classe est posée par la vue (views/home/index.ejs). */
.about-box2 .aec-about-icon-seule {
    margin-top: 24px;
}

/* =========================================================
   HOME - SECTION "NOS SERVICES" : alignement de la grille
   Les 7 cartes ont des contenus de longueurs très différentes.
   En flottement Bootstrap 3, chaque carte de la 2e ligne
   s'accrochait à la plus haute de la ligne précédente (effet
   d'escalier). En flex, les cartes d'une même ligne prennent la
   même hauteur et la gouttière verticale devient régulière.
   ========================================================= */
.our-service .aec-services-row {
    display: flex;
    flex-wrap: wrap;
}
/* Bootstrap 3 pose .row::before et .row::after (clearfix, display:table).
   Dans un conteneur flex ou grid, ces pseudo-éléments cessent d'être des
   artifices de nettoyage : ils deviennent de véritables items, occupent
   une place et décalent tout le contenu. À neutraliser partout où l'on
   convertit un .row — mais uniquement dans la portée où la conversion a
   lieu, le clearfix restant nécessaire quand les colonnes flottent. */
.our-service .aec-services-row::before,
.our-service .aec-services-row::after {
    content: none;
}
.our-service .aec-services-row > [class*="col-"] {
    display: flex;
    margin-bottom: 30px;
}
.our-service .aec-services-row .service_box {
    width: 100%;
}

/* =========================================================
   HOME - SECTION "NOTRE PARTICULARITÉ : PÔLE INFORMATIQUE"
   Mise en page et animations d'origine conservées.
   Seule la palette a été reprise : fond clair du site au lieu du
   bleu nuit, vert AEC #0a9642 et or #e2b12d au lieu du doré clair.
   ========================================================= */
.aec-tech-highlight {
    position: relative;
    padding: 80px 0;
    background: #eef3ea;
    color: #4f4f4f;
    overflow: hidden;
}
.aec-tech-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(226,177,45,0.26) 0%, transparent 48%),
        radial-gradient(circle at 85% 75%, rgba(10,150,66,0.24) 0%, transparent 52%),
        linear-gradient(135deg, #f6faf3 0%, #e7efe2 100%);
    pointer-events: none;
}
.aec-tech-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10,150,66,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,150,66,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
}
.aec-tech-highlight .container { position: relative; z-index: 2; }

.aec-tech-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(226,177,45,0.15);
    color: #a8801f;
    border: 1px solid rgba(226,177,45,0.6);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.aec-tech-badge i { margin-right: 6px; }

.aec-tech-content h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 22px;
    color: #333333;
}
.aec-gold {
    background: linear-gradient(135deg, #e2b12d 0%, #a8801f 50%, #e2b12d 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: aec-gold-text 6s ease-in-out infinite;
}
@keyframes aec-gold-text {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}

.aec-tech-lead {
    font-size: 17px;
    line-height: 1.65;
    color: #555555;
    margin: 0 0 16px;
}
.aec-tech-lead strong { color: #0a9642; }
.aec-tech-sub {
    font-size: 15px;
    line-height: 1.65;
    color: #777777;
    margin: 0 0 28px;
}

.aec-tech-stats {
    display: flex;
    gap: 28px;
    margin: 0 0 30px;
    padding: 18px 0;
    border-top: 1px solid #e6e3d9;
    border-bottom: 1px solid #e6e3d9;
}
.aec-tech-stat strong {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: #0a9642;
    line-height: 1;
}
.aec-tech-stat span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999999;
}

.aec-tech-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.aec-tech-btn-ghost {
    background: transparent;
    color: #0a9642;
    border: 2px solid #0a9642;
    padding: 12px 22px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.aec-tech-btn-ghost:hover,
.aec-tech-btn-ghost:focus {
    background: #0a9642;
    border-color: #0a9642;
    color: #ffffff;
}

/* === HOVER amélioré pour ulockd-btn-thm2 ("En savoir plus", "En avoir +", etc.) ===
   La version d'origine du template fait passer #e2b12d → #E7BF2D, c'est imperceptible.
   On force ici un hover plus marqué : vert AEC + texte blanc + lift + ombre. */
.ulockd-btn-thm2 {
    transition: all 0.25s ease;
}
.ulockd-btn-thm2:hover,
.ulockd-btn-thm2:focus,
.ulockd-btn-thm2:active {
    background-color: #0a9642 !important;
    border-color: #0a9642 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(10, 150, 66, 0.3);
}

/* Mockups côté droit : superposés en "z" avec ombres */
.aec-tech-mockups {
    position: relative;
    height: 480px;
    margin-top: 20px;
}
.aec-mockup {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.16), 0 6px 16px rgba(226,177,45,0.18);
    border: 1px solid #e8e5db;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.aec-mockup img {
    display: block;
    width: 100%;
    height: 100%;
    /* object-fit: contain — ces 3 emplacements affichent des logos (carrés
       ou circulaires), pas des captures d'écran larges : "cover" les
       recadrait et zoomait dessus au lieu de les montrer en entier. Le
       padding laisse une marge blanche autour, comme une vignette de logo. */
    object-fit: contain;
    object-position: center;
    padding: 32px;
    box-sizing: border-box;
}
/* Petit dégradé sombre en bas du mockup pour rendre le label lisible
   quel que soit l'image (sans toucher à l'image elle-même). */
.aec-mockup::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 46px;
    background: linear-gradient(to top, rgba(11, 26, 51, .55), rgba(11, 26, 51, 0));
    pointer-events: none;
}
.aec-mockup-label {
    position: absolute;
    bottom: 8px; left: 10px;
    padding: 3px 10px;
    background: #0a9642;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 3px;
    z-index: 2;                    /* passe au-dessus du dégradé */
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.aec-mockup-laptop {
    top: 20px; left: 10px;
    /* Moins large qu'avant (75%→58%) : ce cadre accueille un logo carré,
       pas une capture d'écran large — un ratio proche du carré laisse le
       logo respirer au lieu de le pousser à occuper toute la hauteur. */
    width: 58%;
    height: 230px;
    animation: aec-float-a 6s ease-in-out infinite;
}
.aec-mockup-tablet {
    top: 190px; right: 30px;
    width: 46%;
    height: 210px;
    z-index: 2;
    animation: aec-float-b 7s ease-in-out infinite;
}
.aec-mockup-phone {
    bottom: 10px; left: 50px;
    width: 34%;
    height: 200px;
    z-index: 3;
    animation: aec-float-a 8s ease-in-out infinite 1s;
}
.aec-mockup:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 26px 50px rgba(0,0,0,0.22), 0 10px 24px rgba(226,177,45,0.3);
    z-index: 10;
}
@keyframes aec-float-a {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes aec-float-b {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(12px); }
}

/* Icônes flottantes décoratives */
.aec-mockup-float {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 24px rgba(10,150,66,0.35);
    z-index: 4;
    animation: aec-float-a 5s ease-in-out infinite;
}
.aec-mockup-float-1 { top: 0; right: 60px; }
.aec-mockup-float-2 {
    bottom: 40px; right: 10px;
    background: linear-gradient(135deg, #e2b12d, #c9a038);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(226,177,45,0.35);
    animation-delay: 1.5s;
}

@media (max-width: 991px) {
    .aec-tech-content h2 { font-size: 30px; }
    .aec-tech-mockups { height: 380px; margin-top: 40px; }
}
@media (max-width: 600px) {
    .aec-tech-highlight { padding: 50px 0; }
    .aec-tech-content h2 { font-size: 26px; }
    .aec-tech-stats { flex-direction: column; gap: 14px; }
    .aec-tech-mockups { height: 300px; }
    .aec-mockup-laptop { height: 180px; }
    .aec-mockup-tablet { height: 140px; top: 120px; }
    .aec-mockup-phone { height: 140px; }
}

/* =========================================================
   HOME - SHOWCASE DES 8 LOGICIELS
   ========================================================= */
.aec-software-showcase {
    padding: 70px 0 80px;
    background: #fafaf6;
    position: relative;
}
.aec-software-showcase .ulockd-main-title {
    margin-bottom: 40px;
}
.aec-software-showcase .ulockd-main-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.aec-software-showcase .ulockd-main-title h2::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 70px; height: 3px;
    background: linear-gradient(90deg, #0a9642, #e2b12d);
    border-radius: 2px;
}

/* Grille des logiciels.
   Le repeat(auto-fit, minmax(240px, 1fr)) précédent laissait le navigateur
   décider du nombre de colonnes : dans le .container de 1170px, il en tenait
   quatre de ~262px, et la dernière rangée — une seule carte pour neuf
   logiciels — s'étirait sur toute la largeur. D'où des cartes à la fois
   étroites et de tailles inégales.
   Un nombre de colonnes explicite règle les deux : toutes les cartes ont
   exactement la même largeur, et trois par rangée les portent à ~372px. */
.aec-software-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin: 40px 0 50px;
}
.aec-software-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: all 0.35s ease;
    position: relative;
}
.aec-software-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, #0a9642, #e2b12d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: 2;
}
.aec-software-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #e2b12d;
    text-decoration: none;
    color: inherit;
}
.aec-software-card:hover::after { transform: scaleX(1); }

/* Vignette : hauteur proportionnée à la nouvelle largeur de carte
   (~372px de large pour 190px de haut, soit un peu moins de 2:1). */
.aec-software-thumb {
    height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1a33 0%, #1a2e55 100%);
    position: relative;
}
.aec-software-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,26,51,0.3) 0%, rgba(11,26,51,0.7) 100%);
    transition: opacity 0.3s ease;
}
.aec-software-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.aec-software-card:hover .aec-software-thumb img { transform: scale(1.1); }
.aec-software-card:hover .aec-software-thumb::after { opacity: 0.4; }

.aec-software-info {
    padding: 24px 22px 22px;
    position: relative;
}
.aec-software-icon {
    position: absolute;
    top: -24px; right: 20px;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #efd078, #c9a038);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(201,160,56,0.4);
    transition: transform 0.3s ease;
}
.aec-software-card:hover .aec-software-icon {
    transform: rotate(-10deg) scale(1.1);
}
.aec-software-info h4 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 800;
    color: #0b1a33;
    letter-spacing: 0.5px;
    /* La pastille d'icône déborde en haut à droite de la zone de texte :
       on réserve sa place pour que les noms longs ne passent pas dessous. */
    padding-right: 44px;
}
.aec-software-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.55;
}
.aec-software-arrow {
    display: inline-block;
    margin-top: 12px;
    color: #c9a038;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.25s ease;
}
.aec-software-card:hover .aec-software-arrow {
    transform: translateX(6px);
    color: #0a9642;
}

/* Footer CTA */
.aec-software-footer {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border: 2px dashed #e2b12d;
    border-radius: 12px;
}
.aec-software-footer p {
    font-size: 16px;
    color: #444;
    margin: 0 0 18px;
}
.aec-software-footer p i {
    color: #e2b12d;
    margin-right: 6px;
}
.aec-software-footer strong { color: #0a9642; }

/* =========================================================
   PLAQUETTE (image unique de présentation, déjà existante)
   ========================================================= */
.aec-software-shot {
    margin: 25px 0 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.aec-software-shot img {
    display: block;
    width: 100%;
    height: auto;
}
.aec-software-shot:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

/* =========================================================
   GALERIE LOGICIEL : image principale + miniatures
   ========================================================= */
.aec-gallery-title {
    margin: 35px 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: #0a9642;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2b12d;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.aec-gallery-title i {
    color: #c9a038;
    margin-right: 4px;
}
.aec-gallery-sub {
    font-size: 12px;
    font-weight: 400;
    color: #888;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
}

.aec-gallery {
    margin: 10px 0 30px;
}

/* En-tête au-dessus du cadre : compteur + légende */
.aec-gallery-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 18px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #0a9642 0%, #0c7d38 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(10,150,66,0.18);
}
.aec-gallery-counter {
    flex: 0 0 auto;
    padding: 5px 12px;
    background: rgba(255,255,255,0.18);
    border-radius: 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-variant-numeric: tabular-nums;
}
.aec-gallery-label {
    flex: 1 1 auto;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.aec-gallery-main {
    margin-bottom: 14px;
}
/* Cadre "fenêtre d'application" — barre de titre avec 3 points */
.aec-gallery-frame {
    position: relative;
    background: #1a2e55;
    border-radius: 10px 10px 8px 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18), 0 6px 20px rgba(10,150,66,0.08);
    transition: box-shadow 0.3s ease;
}
.aec-gallery-frame:hover {
    box-shadow: 0 26px 60px rgba(0,0,0,0.25), 0 10px 26px rgba(226,177,45,0.2);
}
.aec-gallery-dots {
    display: flex;
    gap: 7px;
    padding: 11px 14px;
    background: linear-gradient(135deg, #0b1a33 0%, #1a2e55 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.aec-gallery-dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.aec-gallery-dots span:nth-child(2) { background: #febc2e; }
.aec-gallery-dots span:nth-child(3) { background: #28c840; }

/* Conteneur image à TAILLE FIXE — l'image se centre dedans sans faire monter la page */
.aec-gallery-img-wrap {
    position: relative;
    width: 100%;
    height: 460px;
    background:
        linear-gradient(135deg, #0b1a33 0%, #1a2e55 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.aec-gallery-frame img[data-gallery-main] {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.35s ease;
}
.aec-gallery-frame img[data-gallery-main].is-swapping {
    opacity: 0;
}

@media (max-width: 991px) {
    .aec-gallery-img-wrap { height: 360px; }
}
@media (max-width: 600px) {
    .aec-gallery-img-wrap { height: 240px; }
    .aec-gallery-header { padding: 10px 14px; }
    .aec-gallery-label { font-size: 14px; }
}

/* Miniatures */
.aec-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}
.aec-gallery-thumb {
    padding: 0;
    border: 2px solid #eee;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    display: block;
    text-align: left;
}
.aec-gallery-thumb img {
    display: block;
    width: 100%;
    height: 80px;
    object-fit: cover;
    transition: opacity 0.25s ease;
}
.aec-gallery-thumb span {
    display: block;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    background: #fafaf6;
    border-top: 1px solid #eee;
}
.aec-gallery-thumb:hover {
    border-color: #e2b12d;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.aec-gallery-thumb:hover span { color: #c9a038; }
.aec-gallery-thumb.is-active {
    border-color: #0a9642;
    box-shadow: 0 0 0 3px rgba(10,150,66,0.15);
}
.aec-gallery-thumb.is-active span {
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    color: #fff;
}
.aec-gallery-thumb.is-active::after {
    content: "\f00c";
    font-family: 'FontAwesome';
    position: absolute;
    top: 6px; right: 6px;
    width: 22px; height: 22px;
    line-height: 22px;
    text-align: center;
    background: #0a9642;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
}

/* =========================================================
   HOME - ACTUALITÉS / SÉMINAIRES LOI DE FINANCES
   ========================================================= */
.aec-news {
    padding: 70px 0 80px;
    background: linear-gradient(180deg, #fafaf6 0%, #ffffff 100%);
}
/* En-tête de section : pastille « Rendez-vous annuel », titre « Actualités »
   et chapô sur un même axe vertical.
   Ces trois éléments étaient simplement empilés dans un .text-center. Le
   centrage par text-align dépend de la largeur de chaque boîte en ligne, et
   la pastille porte un margin-right de 5px hérité de la règle générale
   .aec-tag : son axe tombait 2,5px à gauche de celui du titre. En colonne
   flex avec align-items:center, les marges latérales ne décalent plus rien. */
.aec-news-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
/* La marge droite de .aec-tag n'a de sens qu'entre pastilles alignées en
   ligne ; ici elle n'a plus lieu d'être. */
.aec-news-head .aec-tag { margin-right: 0; }

.aec-news-title {
    display: inline-block;
    position: relative;
    font-size: 34px;
    font-weight: 800;
    color: #222;
    margin: 16px 0 14px;
    padding-bottom: 14px;
}
.aec-news-title::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 70px; height: 3px;
    background: linear-gradient(90deg, #0a9642, #e2b12d);
    border-radius: 2px;
}
.aec-news-intro {
    max-width: 780px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.65;
    color: #555;
}
.aec-news-intro strong { color: #0a9642; }

/* Séminaire en vedette : grande carte 2 colonnes */
.aec-news-featured {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 30px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    border: 1px solid #eee;
}
.aec-news-featured-img {
    position: relative;
    min-height: 340px;
    overflow: hidden;
}
.aec-news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.aec-news-featured:hover .aec-news-featured-img img { transform: scale(1.05); }

/* Carte "cover" : fond dégradé + grand numéro d'année (pour éditions sans photo) */
.aec-news-cover {
    background: linear-gradient(135deg, #0a9642 0%, #0c7d38 50%, #0a4625 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.aec-news-cover::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(rgba(226,177,45,0.15) 0%, transparent 70%),
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}
.aec-news-cover .aec-news-featured-year {
    position: relative;
    z-index: 2;
    font-size: 96px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 6px 20px rgba(0,0,0,0.25);
    background: linear-gradient(135deg, #ffffff 0%, #efd078 60%, #c9a038 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}
.aec-news-cover .aec-news-cover-caption {
    position: relative; z-index: 2;
    margin-top: 8px;
    font-size: 15px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.95);
    text-transform: uppercase;
    font-weight: 600;
}
/* :not(.aec-news-cover) : la vue (index.ejs) pose les deux classes sur le
   même conteneur quand l'actualité n'a pas d'image — .aec-news-cover-caption
   affiche alors "Loi de Finances" et .aec-news-featured-year doit rester le
   grand chiffre centré défini plus haut (`.aec-news-cover .aec-news-featured-year`),
   pas ce badge : même spécificité, l'ordre du fichier le faisait gagner et
   affichait un rectangle sombre vide en haut à gauche du visuel vert. */
.aec-news-featured-img:not(.aec-news-cover) .aec-news-featured-year {
    position: absolute;
    top: 18px; left: 18px;
    padding: 8px 16px;
    background: rgba(11,26,51,0.85);
    color: #efd078;
    font-size: 22px;
    font-weight: 800;
    border-radius: 6px;
    backdrop-filter: blur(6px);
    z-index: 3;
}

.aec-news-featured-body {
    padding: 34px 30px;
}
.aec-news-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #0a9642;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 12px;
}
.aec-news-featured-body h3 {
    font-size: 26px;
    font-weight: 800;
    color: #0b1a33;
    margin: 0 0 14px;
    line-height: 1.25;
}
.aec-news-featured-body p {
    font-size: 15px;
    line-height: 1.65;
    color: #555;
    margin: 0 0 18px;
}
.aec-news-featured-body p strong { color: #0a9642; }
.aec-news-featured-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.aec-news-featured-meta li {
    color: #777;
    font-size: 13px;
    font-weight: 500;
}
.aec-news-featured-meta li i {
    color: #c9a038;
    margin-right: 6px;
}

/* Titre historique */
.aec-news-history-title {
    font-size: 20px;
    font-weight: 700;
    color: #0a9642;
    margin: 10px 0 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2b12d;
    display: inline-block;
}

/* Grille historique */
.aec-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}
.aec-news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: all 0.35s ease;
}
.aec-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.12);
    border-color: #e2b12d;
}
.aec-news-card-img {
    position: relative;
    height: 150px;
    overflow: hidden;
}
.aec-news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.aec-news-card:hover .aec-news-card-img img { transform: scale(1.08); }
.aec-news-card-year {
    position: absolute;
    top: 12px; right: 12px;
    padding: 4px 10px;
    background: rgba(11,26,51,0.85);
    color: #efd078;
    font-size: 14px;
    font-weight: 800;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 2;
}
/* Placeholder pour années sans photo */
.aec-news-placeholder {
    background: linear-gradient(135deg, #0a9642 0%, #0c7d38 50%, #064a22 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.aec-news-placeholder::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(rgba(226,177,45,0.12) 0%, transparent 65%),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px;
}
.aec-news-placeholder .aec-news-card-year {
    position: relative;
    top: auto; right: auto;
    background: transparent;
    font-size: 54px;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(135deg, #ffffff 0%, #efd078 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0;
    z-index: 2;
    letter-spacing: -1px;
}

.aec-news-card-body {
    padding: 16px 18px 18px;
}
.aec-news-card-body h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}
.aec-news-card-body p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 10px;
}
.aec-news-card-date {
    font-size: 12px;
    color: #c9a038;
    font-weight: 600;
}
.aec-news-card-date i { margin-right: 4px; }

/* Bande "Pourquoi y assister" */
.aec-news-why {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin: 50px 0 30px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    border: 2px dashed #e2b12d;
}
.aec-news-why-col {
    text-align: center;
    padding: 12px;
}
.aec-news-why-col i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    background: linear-gradient(135deg, #efd078, #c9a038);
    color: #fff;
    border-radius: 50%;
    font-size: 22px;
    margin-bottom: 10px;
}
.aec-news-why-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin: 0 0 6px;
}
.aec-news-why-col p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* CTA fin de section */
.aec-news-cta {
    margin-top: 30px;
    padding: 28px;
    background: linear-gradient(135deg, #0a9642 0%, #0c7d38 100%);
    color: #fff;
    border-radius: 10px;
    text-align: center;
}
.aec-news-cta p {
    font-size: 16px;
    margin: 0 0 16px;
    color: #fff;
}
.aec-news-cta p i { color: #efd078; margin-right: 6px; }
.aec-news-cta p strong { color: #efd078; display: block; margin-bottom: 4px; font-size: 18px; }

@media (max-width: 768px) {
    .aec-news-featured { grid-template-columns: 1fr; }
    .aec-news-featured-img { min-height: 220px; }
    .aec-news-cover .aec-news-featured-year { font-size: 72px; }
    .aec-news-title { font-size: 26px; }
    .aec-news-featured-body h3 { font-size: 22px; }
}

/* ---------------------------------------------------------
   Bloc « Loi de Finances » (séminaire en vedette) sur mobile
   Une fois les deux colonnes empilées, trois réglages pensés
   pour le bureau restaient en vigueur :
   — le min-height:340px de la visuelle, que les hauteurs
     posées plus bas dans la couche responsive ne pouvaient
     pas réduire (min-height l'emporte toujours sur height) ;
   — le gap de 30px de la grille, qui creusait un vide entre
     l'image et le texte alors qu'ils se suivent verticalement ;
   — les 34px/30px de rembourrage du corps de carte, soit 60px
     de largeur perdus sur un écran de 360px.
   Le bouton d'inscription, lui, était plus large que la carte
   sur les écrans les plus étroits.
   --------------------------------------------------------- */
@media (max-width: 991px) {
    .aec-news-featured {
        gap: 0;
        margin-bottom: 34px;
    }
    .aec-news-featured-img {
        min-height: 0;
        height: 230px;
    }
    .aec-news-cover .aec-news-cover-caption {
        font-size: 13px;
        letter-spacing: 2px;
    }
    .aec-news-featured-body { padding: 26px 22px; }
    .aec-news-featured-meta { gap: 10px 18px; }
}
@media (max-width: 575px) {
    .aec-news-featured-img { height: 190px; }
    .aec-news-cover .aec-news-featured-year { font-size: 60px; }
    .aec-news-featured-body { padding: 22px 18px; }
    .aec-news-featured-body h3 { font-size: 19px; line-height: 1.3; }
    .aec-news-featured-body p { font-size: 14px; }
    /* Les trois métadonnées (date, lieu, partenaire) passent en liste :
       côte à côte, elles se coupaient en milieu de mot. */
    .aec-news-featured-meta {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 18px;
    }
    /* Le libellé « S'inscrire à la prochaine édition » ne tient pas sur une
       ligne : bouton pleine largeur, texte centré et coupure autorisée. */
    .aec-news-featured-body .btn {
        display: block;
        width: 100%;
        text-align: center;
        white-space: normal;
        padding: 12px 14px;
        font-size: 14px;
        line-height: 1.35;
    }
}

/* =========================================================
   PAGES À PROPOS — composants communs
   ========================================================= */
.aec-about-intro {
    padding: 50px 0 40px;
}
.aec-about-intro-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: #222;
    margin: 18px 0 22px;
}
/* Chapô et paragraphes suivants de l'introduction (page Notre Vision).
   Le chapô était posé à 18px/#444 et la suite à 15px/#666 : une hiérarchie
   qui suppose un chapô court suivi d'un texte secondaire. Ici les deux
   paragraphes forment une seule prose continue — la première phrase se
   termine même dans le second bloc. Deux corps et deux gris différents s'y
   lisaient comme une erreur de police plutôt que comme une hiérarchie.
   Ils partagent donc la même typographie ; seuls les écarts diffèrent.
   Pour rétablir une hiérarchie, redonner à .aec-about-sub ses propres
   font-size / color. */
.aec-about-lead,
.aec-about-sub {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}
.aec-about-lead { margin: 0 0 16px; }
.aec-about-sub  { margin: 0 0 20px; }
/* Mise en avant verte des passages en gras — elle ne valait que pour le
   chapô, d'où un « département informatique » en gras neutre au paragraphe
   suivant alors que le « AEC » du chapô était vert. */
.aec-about-lead strong,
.aec-about-sub strong { color: #0a9642; }
.aec-about-quote {
    padding: 16px 20px;
    background: #fffaf0;
    border-left: 4px solid #e2b12d;
    font-style: italic;
    color: #555;
    border-radius: 0 6px 6px 0;
    margin-top: 18px;
}
.aec-about-quote i { color: #e2b12d; margin-right: 8px; }
.aec-about-visual {
    padding: 20px;
}
.aec-about-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.aec-section-title-centered {
    position: relative;
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 30px;
    padding-bottom: 14px;
}
.aec-section-title-centered::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: linear-gradient(90deg, #0a9642, #e2b12d);
    border-radius: 2px;
}

/* Mission / Vision / Valeurs */
.aec-mvv {
    padding: 50px 0;
    background: #fafaf6;
}
.aec-mvv-card {
    padding: 36px 26px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #e2b12d;
}
.aec-mvv-card.featured {
    border-top-color: #0a9642;
    transform: translateY(-8px);
}
.aec-mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.aec-mvv-card.featured:hover { transform: translateY(-14px); }
.aec-mvv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #efd078, #c9a038);
    color: #fff;
    font-size: 30px;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(201,160,56,0.3);
}
.aec-mvv-card.featured .aec-mvv-icon {
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    box-shadow: 0 8px 20px rgba(10,150,66,0.3);
}
.aec-mvv-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 14px;
}
.aec-mvv-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* Gros chiffres — même palette que les blocs « Notre particularité »
   de l'accueil (.aec-tech-highlight) et de Nos atouts (.aec-differentiator). */
.aec-about-stats {
    position: relative;
    padding: 50px 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(226,177,45,0.26) 0%, transparent 48%),
        radial-gradient(circle at 85% 75%, rgba(10,150,66,0.24) 0%, transparent 52%),
        linear-gradient(135deg, #f6faf3 0%, #e7efe2 100%);
    color: #4f4f4f;
    overflow: hidden;
}
.aec-about-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10,150,66,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,150,66,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
    pointer-events: none;
}
.aec-about-stats .container { position: relative; z-index: 2; }
.aec-about-stats .aec-section-title-centered {
    color: #333333;
}
.aec-big-stat {
    text-align: center;
    padding: 20px;
}
.aec-big-stat strong {
    display: block;
    font-size: 52px;
    font-weight: 800;
    color: #0a9642;
    line-height: 1;
    margin-bottom: 6px;
}
.aec-big-stat span {
    display: block;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #777777;
}

/* Engagements + Raisons */
.aec-commitments {
    padding: 60px 0;
}
/* Les deux colonnes (checklist à gauche, cartes-raisons à droite) sont de
   simples flottants Bootstrap 3 : leur hauteur suit leur propre contenu,
   et la checklist (souvent plus courte) s'arrête bien avant les cartes.
   align-items:stretch (valeur par défaut d'un flex container) étire les
   deux colonnes à la hauteur de la plus grande, sans rien changer d'autre.
   Restreint à ≥992px (palier où .col-md-6 pose une largeur) : en dessous,
   les colonnes sont des blocs pleine largeur empilés — les passer en flex
   leur donnerait une largeur calculée sur leur contenu (flex-basis:auto)
   au lieu de 100%, rétrécissant et décentrant les colonnes. */
@media (min-width: 992px) {
    .aec-commitments .row {
        display: flex;
        flex-wrap: wrap;
    }
}
.aec-reasons {
    margin-top: 18px;
}
.aec-reason {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
}
.aec-reason:hover {
    border-color: #e2b12d;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transform: translateX(4px);
}
.aec-reason i {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.aec-reason h4 {
    margin: 2px 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}
.aec-reason p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Démarche */
.aec-approach {
    padding: 60px 0;
    background: #fafaf6;
}
.aec-approach-intro {
    font-size: 15px;
    color: #666;
    margin-bottom: 28px;
}
.aec-approach .aec-steps { margin: 0; }

/* CTA */
.aec-about-cta {
    padding: 40px 0 60px;
}

/* ==================== /atouts ==================== */
.aec-atouts-grid {
    padding: 40px 0 20px;
}
/* Hauteurs égales par ligne. Le height:calc(100%…) de .aec-atout-card
   reste sans effet tant que les colonnes flottent (parent en height:auto).
   On passe la rangée en flex, mais uniquement à partir de 992px : en
   dessous, les .col-md-4 n'ont plus de largeur définie et, devenus
   éléments flex, ils se rangeraient côte à côte au lieu de s'empiler. */
@media (min-width: 992px) {
    .aec-atouts-grid .row {
        display: flex;
        flex-wrap: wrap;
    }
    /* Voir la note sur .row::before/::after plus haut : en flex, ces
       pseudo-éléments deviennent des items et décalent les cartes. */
    .aec-atouts-grid .row::before,
    .aec-atouts-grid .row::after {
        content: none;
    }
    .aec-atouts-grid .row > [class*="col-"] {
        display: flex;
    }
    .aec-atouts-grid .aec-atout-card {
        width: 100%;
        height: auto;
    }
}
.aec-atout-card {
    position: relative;
    padding: 34px 26px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    overflow: hidden;
    margin-bottom: 24px;
    height: calc(100% - 24px);
    border: 1px solid #eee;
}
.aec-atout-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0a9642, #e2b12d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.aec-atout-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: #0a9642;
}
.aec-atout-card:hover::before { transform: scaleX(1); }
.aec-atout-number {
    position: absolute;
    top: 16px; right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: #fafaf6;
    line-height: 1;
    z-index: 0;
    transition: color 0.3s ease;
}
.aec-atout-card:hover .aec-atout-number {
    color: rgba(226, 177, 45, 0.18);
}
.aec-atout-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    color: #fff;
    font-size: 24px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}
.aec-atout-card:hover .aec-atout-icon {
    transform: rotate(-6deg) scale(1.08);
}
.aec-atout-card h3 {
    position: relative; z-index: 1;
    font-size: 20px;
    font-weight: 800;
    color: #222;
    margin: 0 0 12px;
}
.aec-atout-card p {
    position: relative; z-index: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}
.aec-atout-card p strong { color: #0a9642; }

/* Différenciateur */
/* Même palette que le bloc « Notre particularité » de l'accueil
   (.aec-tech-highlight) : fond clair teinté vert AEC, halos or/vert,
   grille légère, titres sombres, accents #0a9642 et #e2b12d. */
.aec-differentiator {
    position: relative;
    padding: 60px 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(226,177,45,0.26) 0%, transparent 48%),
        radial-gradient(circle at 85% 75%, rgba(10,150,66,0.24) 0%, transparent 52%),
        linear-gradient(135deg, #f6faf3 0%, #e7efe2 100%);
    color: #4f4f4f;
    overflow: hidden;
}
.aec-differentiator::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10,150,66,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,150,66,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
    pointer-events: none;
}
.aec-differentiator .container { position: relative; z-index: 2; }
.aec-diff-visual {
    padding-right: 30px;
}
.aec-diff-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(226,177,45,0.15);
    color: #a8801f;
    border: 1px solid rgba(226,177,45,0.6);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.aec-diff-visual h2 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: #333333;
}
.aec-diff-lead {
    font-size: 17px;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 18px;
}
.aec-diff-lead strong { color: #0a9642; }
.aec-differentiator .aec-checklist li {
    border-color: rgba(0,0,0,0.08);
    color: #555555;
}
.aec-differentiator .aec-checklist li strong { color: #0a9642; }

/* Credentials */
.aec-credentials {
    padding: 60px 0;
}
.aec-credentials-sub {
    font-size: 15px;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    text-align: center;
}
.aec-credential-card {
    padding: 30px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}
.aec-credential-card:hover {
    border-color: #e2b12d;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.aec-credential-card i {
    font-size: 42px;
    color: #c9a038;
    margin-bottom: 14px;
}
.aec-credential-card h4 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: #0a9642;
}
.aec-credential-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.55;
}

/* Partenaires : flex centré pour que la grille reste élégante
   même quand il y a moins de partenaires (pas de "trou" à droite). */
.aec-partners { padding: 60px 0; background: #fafaf6; }
.aec-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}
.aec-partner {
    flex: 0 0 auto;
    width: 160px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.aec-partner:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.aec-partner img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(80%);
    transition: filter 0.3s ease;
}
.aec-partner:hover img { filter: grayscale(0%); }

/* Bandeau partenaires utilisé sur /career et /contact (logos sur fond clair).
   Flex avec wrap + justify-content:center pour que les logos restants se
   recentrent automatiquement si on en supprime via /admin/partenaires. */
.aec-partners-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 32px;
}
.aec-partners-strip-item {
    flex: 0 0 auto;
    width: 140px;
    text-align: center;
}
.aec-partners-strip-item img {
    max-width: 100%;
    max-height: 70px;
    filter: grayscale(80%);
    opacity: 0.85;
    transition: all 0.3s ease;
}
.aec-partners-strip-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==================== /teamwork ==================== */
.aec-founder {
    padding: 60px 0;
    background: #fafaf6;
}
.aec-founder-photo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(0,0,0,0.15);
}
.aec-founder-photo img {
    width: 100%;
    display: block;
}
.aec-founder-badges {
    position: absolute;
    bottom: 14px; left: 14px; right: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.aec-founder-badges span {
    padding: 6px 12px;
    background: rgba(10,150,66,0.95);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}
.aec-founder-badges span:last-child {
    background: rgba(226,177,45,0.95);
}
.aec-founder-name {
    font-size: 38px;
    font-weight: 700;
    color: #222;
    margin: 14px 0 8px;
}
.aec-founder-name strong { color: #0a9642; }
.aec-founder-title {
    font-size: 15px;
    color: #888;
    font-style: italic;
    margin: 0 0 18px;
}
.aec-founder p { font-size: 15px; line-height: 1.65; color: #444; margin: 0 0 14px; }
.aec-founder p strong { color: #0a9642; }
.aec-founder-signature {
    margin-top: 18px;
    opacity: 0.8;
}
.aec-founder-signature img { max-height: 56px; }

/* Grille équipe */
.aec-team-grid-section { padding: 60px 0; }
.aec-team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}
.aec-team-grid .aec-team-member {
    flex: 0 0 auto;
    width: 220px;
}

/* Grille équipe sur la page d'accueil (section "Nos Experts").
   Flex centré pour que les visages restants se recentrent automatiquement
   si on supprime un membre via /admin/equipe. */
.aec-home-team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px 22px;
    margin-top: 20px;
}
.aec-home-team-card {
    flex: 0 0 auto;
    width: 160px;
    text-align: center;
}
.aec-home-team-card .recent_box2 { margin-bottom: 10px; }
.aec-home-team-card p {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
}
@media(max-width:600px){
    .aec-home-team-card { width: 140px; }
}
.aec-team-member {
    text-align: center;
    padding: 22px 18px 26px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.35s ease;
}
.aec-team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.1);
    border-color: #0a9642;
}
.aec-team-photo {
    width: 140px; height: 140px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.aec-team-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 18%; /* cadrage par défaut pour les 2 premiers */
    transition: transform 0.4s ease;
}
/* Les 3 derniers collaborateurs : cadrage plus haut dans l'image
   (pour que leur visage descende dans le cercle) */
.aec-team-grid .aec-team-member:nth-child(3) .aec-team-photo img,
.aec-team-grid .aec-team-member:nth-child(4) .aec-team-photo img,
.aec-team-grid .aec-team-member:nth-child(5) .aec-team-photo img {
    object-position: center 0%;
}
.aec-team-member:hover .aec-team-photo img {
    transform: scale(1.08);
}
.aec-team-member h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: #222;
}
.aec-team-role {
    color: #0a9642;
    font-weight: 600;
    font-size: 13px;
    margin: 0 0 8px;
    line-height: 1.4;
}
.aec-team-cred {
    color: #777;
    font-size: 12px;
    font-style: italic;
    margin: 0;
    line-height: 1.45;
}

/* 3 pôles */
.aec-team-pillars {
    padding: 60px 0;
    background: #fafaf6;
}
.aec-pillar {
    padding: 30px 24px;
    background: #fff;
    border-radius: 12px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #e2b12d;
}
.aec-pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
    border-top-color: #0a9642;
}
.aec-pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    color: #fff;
    font-size: 26px;
    margin-bottom: 14px;
}
.aec-pillar h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}
.aec-pillar p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Valeurs équipe */
.aec-team-values { padding: 60px 0; }
.aec-team-values-lead {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}
.aec-team-values-lead strong { color: #0a9642; }

/* Horaires + Rejoindre */
.aec-team-bottom {
    padding: 50px 0 70px;
    background: #fafaf6;
}
/* .aec-hours-card et .aec-join-card posent height:100%, mais leurs colonnes
   sont de simples flottants Bootstrap 3 : sans hauteur commune côté parent,
   height:100% n'a rien à quoi s'accrocher et chaque carte garde la hauteur
   de son propre contenu (le texte de "Envie de nous rejoindre ?" dépasse
   largement celui des horaires). Passer la row en flex donne aux deux
   colonnes la même hauteur, et height:100% peut enfin s'appliquer.
   Restreint à ≥992px (palier où .col-md-6 pose une largeur) : en dessous,
   les colonnes n'ont pas de classe .col-xs/.col-sm et sont donc des blocs
   pleine largeur — les passer en flex leur donnerait une largeur calculée
   sur leur contenu (flex-basis:auto) au lieu de 100%, rétrécissant et
   décentrant les cartes une fois empilées. */
@media (min-width: 992px) {
    .aec-team-bottom .row {
        display: flex;
        flex-wrap: wrap;
    }
}
.aec-hours-card {
    padding: 28px;
    background: #fff;
    border-radius: 12px;
    border-left: 5px solid #0a9642;
    height: 100%;
}
.aec-hours-card h3 {
    margin: 0 0 18px;
    font-size: 20px;
    color: #0a9642;
}
.aec-hours-card h3 i { margin-right: 8px; color: #c9a038; }
.aec-hours-card table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}
.aec-hours-card table th,
.aec-hours-card table td {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}
.aec-hours-card table th {
    text-align: left;
    color: #333;
    font-weight: 600;
}
.aec-hours-card table td {
    text-align: right;
    color: #666;
}
.aec-hours-note {
    font-size: 13px;
    color: #666;
    margin: 0;
    font-style: italic;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.aec-hours-note i { color: #e2b12d; margin-right: 6px; }

.aec-join-card {
    padding: 32px;
    background: linear-gradient(135deg, #0a9642 0%, #0c7d38 100%);
    color: #fff;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 14px 30px rgba(10,150,66,0.25);
}
.aec-join-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}
.aec-join-card p {
    color: rgba(255,255,255,0.95);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px;
}
.aec-join-card p strong { color: #efd078; }
.aec-join-card .btn {
    background: #e2b12d;
    color: #0b1a33;
    border: none;
    font-weight: 700;
}
.aec-join-card .btn:hover { background: #efd078; color: #0b1a33; }

@media (max-width: 768px) {
    .aec-about-intro-title { font-size: 26px; }
    .aec-founder-name { font-size: 28px; }
    .aec-diff-visual h2 { font-size: 26px; }
    .aec-big-stat strong { font-size: 38px; }
}

/* ==================== /contact ==================== */
.aec-contact-channels {
    padding: 10px 0 40px;
}
/* .aec-channel pose height:calc(100% - 16px), mais sa colonne est un simple
   flottant Bootstrap 3 sans hauteur commune : sans parent flex, cette
   hauteur n'a rien à quoi s'accrocher et chaque carte garde la hauteur de
   son propre contenu (le texte "Via le formulaire" dépasse les autres).
   Le clearfix du gabarit (:before/:after, display:table) est neutralisé
   pour ne pas devenir un item flex parasite.
   Restreint à ≥768px (palier où .col-sm-6 pose une largeur) : en dessous,
   les colonnes n'ont pas de classe .col-xs et sont donc des blocs pleine
   largeur — les passer en flex leur donnerait une largeur calculée sur
   leur contenu (flex-basis:auto) au lieu de 100%, et les cartes empilées
   se retrouveraient rétrécies et décentrées. Une seule carte par ligne sur
   téléphone, la hauteur commune n'y est de toute façon pas nécessaire. */
@media (min-width: 768px) {
    .aec-contact-channels .row {
        display: flex;
        flex-wrap: wrap;
    }
    .aec-contact-channels .row::before,
    .aec-contact-channels .row::after {
        content: none;
    }
}
.aec-channel {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: calc(100% - 16px);
}
.aec-channel:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
    border-color: #0a9642;
}
.aec-channel i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    color: #fff;
    font-size: 24px;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}
.aec-channel:hover i { transform: rotate(-8deg) scale(1.08); }
.aec-channel h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.aec-channel p {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #0a9642;
}
.aec-channel p a {
    color: inherit;
    text-decoration: none;
}
.aec-channel p a:hover { color: #c9a038; }
.aec-channel small {
    display: block;
    color: #888;
    font-size: 12px;
    font-style: italic;
}

/* ==================== /career ==================== */
.aec-why-join {
    padding: 30px 0 50px;
}
.aec-why-card {
    padding: 26px 22px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 18px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: calc(100% - 18px);
    position: relative;
    overflow: hidden;
}
.aec-why-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0a9642, #e2b12d);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
}
.aec-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
    border-color: #e2b12d;
}
.aec-why-card:hover::before { transform: scaleY(1); }
.aec-why-card i {
    font-size: 32px;
    color: #c9a038;
    margin-bottom: 14px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.aec-why-card:hover i {
    color: #0a9642;
    transform: scale(1.12);
}
.aec-why-card h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}
.aec-why-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.aec-profiles-sought {
    padding: 50px 0;
    background: #fafaf6;
}

/* =========================================================
   FIL D'ARIANE
   ========================================================= */
.aec-breadcrumbs {
    background: #f7f5ee;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    font-size: 13px;
}
.aec-breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.aec-breadcrumbs li {
    display: flex;
    align-items: center;
    color: #777;
}
.aec-breadcrumbs li + li::before {
    content: "\203A"; /* › */
    margin: 0 10px;
    color: #c9a038;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}
.aec-breadcrumbs a {
    color: #0a9642;
    text-decoration: none;
    transition: color 0.2s ease;
}
.aec-breadcrumbs a i {
    margin-right: 4px;
}
.aec-breadcrumbs a:hover {
    color: #c9a038;
    text-decoration: underline;
}
.aec-breadcrumbs span[aria-current="page"] {
    color: #333;
    font-weight: 600;
}

/* =========================================================
   PAGES SERVICES : composants réutilisables (cartes valeurs,
   étapes, CTA, checklists, sidebar contact)
   ========================================================= */

/* Mise en page globale des pages services :
   - Conteneur plus large pour réduire les marges externes
   - Espace franc entre sidebar (gauche) et contenu (droite)
   - Intérieur des sections aéré mais lisible */
.ulockd-service-details {
    padding: 35px 0 50px;
}
.ulockd-service-details > .container {
    max-width: 1320px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}
/* Espace explicite entre la sidebar et le contenu */
@media (min-width: 992px) {
    .ulockd-service-details .col-md-4,
    .ulockd-service-details .col-lg-3 {
        padding-right: 50px;
    }
    .ulockd-service-details .col-md-8,
    .ulockd-service-details .col-lg-9 {
        padding-left: 50px;
        border-left: 1px solid #eee;
    }
}
/* La sidebar remet son padding (on contre le ulockd-pdng0 sur desktop) */
@media (min-width: 992px) {
    .ulockd-service-details .ulockd-pdng0 {
        padding-left: 15px !important;
    }
}
/* Grilles intérieures : gap réduit pour éviter les gros vides */
.ulockd-service-details .aec-value-grid { gap: 14px; margin: 22px 0; }
.ulockd-service-details .aec-steps { gap: 12px; margin: 24px 0; }
.ulockd-service-details .aec-stat-row { gap: 14px; padding: 20px; margin: 22px 0; }
.ulockd-service-details .aec-value-card { padding: 18px; }
.ulockd-service-details .aec-service-hero { padding: 10px 0 28px; }
.ulockd-service-details .aec-section-title { margin: 26px 0 18px; font-size: 24px; }
.ulockd-service-details .aec-cta-card { margin: 30px 0 10px; padding: 26px 28px; }


/* Sidebar logiciels : titre + items avec double ligne (nom + sous-titre) */
.aec-software-nav-title {
    font-size: 14px;
    font-weight: 700;
    color: #0a9642;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2b12d;
}
.aec-service-nav .aec-soft-name {
    display: block;
    font-weight: 700;
    font-size: 14px;
}
.aec-service-nav .aec-soft-tag {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: inherit;
    opacity: 0.7;
    margin-top: 2px;
}
.aec-service-nav .list-group-item.active .aec-soft-tag { opacity: 0.85; }

/* Sidebar service nav : item actif en vert AEC */
.aec-service-nav .list-group-item {
    position: relative;
    padding: 14px 16px;
    font-weight: 500;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: #444;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.aec-service-nav .list-group-item:hover {
    background: #f7f7f7;
    color: #0a9642;
    padding-left: 22px;
}
.aec-service-nav .list-group-item.active {
    background: #0a9642;
    color: #fff;
    border-color: #0a9642;
    padding-left: 32px;
}
/* Le chevron est sorti du flux : les deux <span> de l'item étant en
   display:block, un ::before inline se retrouvait seul sur sa ligne
   au-dessus du nom. Positionné en absolu, il s'aligne sur la 1re
   ligne de texte (même font-size et line-height que .aec-soft-name). */
.aec-service-nav .list-group-item.active::before {
    content: "\f105"; /* fa-angle-right */
    font-family: 'FontAwesome';
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 14px;
    line-height: 1.642;
    opacity: 0.8;
}
/* Pas de décalage supplémentaire au survol de l'item actif,
   sinon le texte glisse sous le chevron resté fixe. */
.aec-service-nav .list-group-item.active:hover {
    padding-left: 32px;
}

/* Bloc contact de la sidebar */
.aec-sidebar-contact {
    margin-top: 20px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 6px;
    border-left: 4px solid #e2b12d;
}
.aec-sidebar-contact h4 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
.aec-sidebar-contact p {
    margin: 6px 0;
    font-size: 14px;
    color: #555;
}
.aec-sidebar-contact p i {
    color: #0a9642;
    width: 18px;
    margin-right: 6px;
}
.aec-btn-outline {
    margin-top: 14px;
    padding: 10px 18px;
    background: transparent;
    border: 2px solid #0a9642;
    color: #0a9642;
    font-weight: 600;
    transition: all 0.25s ease;
}
.aec-btn-outline:hover,
.aec-btn-outline:focus {
    background: #0a9642;
    color: #fff;
}

/* Hero intro d'une page service */
.aec-service-hero {
    padding: 20px 0 40px;
}
.aec-service-hero .lead-intro {
    font-size: 18px;
    line-height: 1.65;
    color: #444;
    margin: 0 0 20px;
}
.aec-service-hero .lead-intro strong { color: #0a9642; }
.aec-service-hero .quote-block {
    padding: 18px 22px;
    margin: 20px 0 28px;
    background: #fffaf0;
    border-left: 4px solid #e2b12d;
    font-style: italic;
    color: #666;
    border-radius: 0 6px 6px 0;
}
.aec-service-hero .quote-block i {
    color: #e2b12d;
    margin-right: 8px;
}

/* Grille de cartes "valeurs / engagements" */
.aec-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 30px 0;
}
.aec-value-card {
    padding: 22px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.aec-value-card::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(226,177,45,0.15) 50%);
    transition: background 0.3s ease;
}
.aec-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.08);
    border-color: #e2b12d;
}
.aec-value-card:hover::after {
    background: linear-gradient(135deg, transparent 50%, rgba(10,150,66,0.2) 50%);
}
.aec-value-card .icon {
    font-size: 38px;
    color: #0a9642;
    margin-bottom: 14px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.aec-value-card:hover .icon {
    transform: scale(1.1) rotate(-5deg);
}
.aec-value-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px;
}
.aec-value-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

/* Section "démarche" : étapes numérotées horizontales */
.aec-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin: 30px 0;
    counter-reset: aec-step;
}
.aec-step {
    position: relative;
    padding: 28px 18px 18px;
    background: linear-gradient(180deg, #fff 0%, #f9f7f0 100%);
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
    counter-increment: aec-step;
    transition: transform 0.3s ease;
}
.aec-step::before {
    content: counter(aec-step);
    position: absolute;
    top: -16px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 40px;
    line-height: 38px;
    text-align: center;
    background: linear-gradient(135deg, #efd078, #c9a038);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(201, 160, 56, 0.4);
}
.aec-step:hover {
    transform: translateY(-4px);
}
.aec-step h5 {
    font-size: 15px;
    font-weight: 700;
    color: #0a9642;
    margin: 12px 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.aec-step p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Checklist avec icônes */
.aec-checklist {
    list-style: none;
    padding: 0;
    margin: 22px 0;
}
.aec-checklist li {
    position: relative;
    padding: 10px 0 10px 36px;
    font-size: 15px;
    color: #444;
    line-height: 1.5;
    border-bottom: 1px dashed #eee;
}
.aec-checklist li:last-child { border-bottom: none; }
.aec-checklist li::before {
    content: "\f00c"; /* fa-check */
    font-family: 'FontAwesome';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 24px; height: 24px;
    line-height: 24px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    border-radius: 50%;
    font-size: 11px;
}

/* Boîte d'appel à l'action */
.aec-cta-card {
    margin: 40px 0 10px;
    padding: 32px 30px;
    background: linear-gradient(135deg, #0a9642 0%, #0c7d38 100%);
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(10, 150, 66, 0.2);
}
.aec-cta-card h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}
.aec-cta-card p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    margin: 0;
}
.aec-cta-card .aec-cta-btn {
    padding: 14px 28px;
    background: #e2b12d;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 14px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.aec-cta-card .aec-cta-btn:hover {
    background: #fff;
    color: #0a9642;
    transform: translateY(-2px);
}
.aec-cta-card .aec-cta-btn i { margin-left: 8px; }

/* Titre de section interne avec barre dorée */
.aec-section-title {
    position: relative;
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin: 30px 0 22px;
    padding-bottom: 14px;
}
.aec-section-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e2b12d, #c9a038);
    border-radius: 2px;
}
.aec-section-subtitle {
    font-size: 15px;
    color: #777;
    margin: -10px 0 22px;
    font-style: italic;
}

/* Bloc de chiffres clés */
.aec-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 24px;
    background: #fafaf6;
    border-radius: 10px;
    border: 1px dashed #e2b12d;
}
.aec-stat {
    text-align: center;
}
.aec-stat-value {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: #0a9642;
    line-height: 1;
}
/* Mot long sans occasion de couper (ex. "Amortissements") : réduit pour
   tenir dans la colonne sans chevaucher la suivante. Classe posée par le
   gabarit (content-page.ejs) selon la longueur de la valeur. */
.aec-stat-value.aec-stat-value-long {
    font-size: 20px;
}
.aec-stat-label {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Callout "Prestations sur mesure" — point clé visible sur chaque page service */
.aec-custom-callout {
    margin: 28px 0 34px;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    background:
        linear-gradient(135deg, rgba(10,150,66,0.04) 0%, rgba(226,177,45,0.08) 100%),
        #fff;
    border: 2px dashed #e2b12d;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.aec-custom-callout::before {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #0a9642 0%, #e2b12d 100%);
}
.aec-custom-callout-icon {
    flex: 0 0 auto;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #efd078 0%, #c9a038 50%, #8d6a17 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 22px rgba(201,160,56,0.35);
    animation: aec-callout-pulse 2.8s ease-in-out infinite;
}
@keyframes aec-callout-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 22px rgba(201,160,56,0.35); }
    50%      { transform: scale(1.08); box-shadow: 0 10px 30px rgba(201,160,56,0.55); }
}
.aec-custom-callout-body {
    flex: 1 1 260px;
    min-width: 0;
}
.aec-custom-callout-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #0a9642;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 8px;
}
.aec-custom-callout h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #0a9642;
}
.aec-custom-callout p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.55;
}
.aec-custom-callout p strong { color: #222; }
.aec-custom-callout-btn {
    flex: 0 0 auto;
    padding: 12px 22px;
    background: #0a9642;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.aec-custom-callout-btn:hover,
.aec-custom-callout-btn:focus {
    background: #e2b12d;
    color: #fff;
    transform: translateY(-2px);
}
.aec-custom-callout-btn i { margin-left: 6px; }

/* Version compacte dans la sidebar */
.aec-sidebar-custom {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #0a9642 0%, #0c7d38 100%);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.aec-sidebar-custom::before {
    content: "";
    position: absolute;
    top: -20px; right: -20px;
    width: 70px; height: 70px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.aec-sidebar-custom i {
    font-size: 24px;
    color: #e2b12d;
    margin-bottom: 8px;
    display: inline-block;
}
.aec-sidebar-custom strong {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.aec-sidebar-custom p {
    font-size: 13px;
    margin: 0 0 10px;
    opacity: 0.95;
}
.aec-sidebar-custom a {
    display: inline-block;
    padding: 7px 16px;
    background: #e2b12d;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.2s ease;
}
.aec-sidebar-custom a:hover {
    background: #fff;
    color: #0a9642;
}

/* =========================================================
   FAQ : accordéon natif <details>/<summary>
   ========================================================= */
.aec-faq {
    margin: 40px 0 10px;
}
.aec-faq-header {
    margin-bottom: 22px;
}
.aec-faq-header h2 {
    position: relative;
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
    padding-bottom: 12px;
}
.aec-faq-header h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0a9642, #e2b12d);
    border-radius: 2px;
}
.aec-faq-header p {
    color: #666;
    font-size: 14px;
    margin: 12px 0 0;
    font-style: italic;
}

.aec-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.aec-faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.aec-faq-item[open] {
    border-color: #0a9642;
    box-shadow: 0 6px 18px rgba(10,150,66,0.08);
}
.aec-faq-item summary {
    list-style: none;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    transition: background 0.2s ease;
}
.aec-faq-item summary::-webkit-details-marker { display: none; }
.aec-faq-item summary:hover { background: #fafaf6; }
.aec-faq-item[open] summary { background: #fafaf6; }

.aec-faq-q {
    flex: 1;
    font-weight: 600;
    color: #222;
    font-size: 15px;
    line-height: 1.4;
}
.aec-faq-toggle {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.aec-faq-item[open] .aec-faq-toggle {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #e2b12d, #c9a038);
}

.aec-faq-a {
    padding: 0 20px 18px;
    color: #555;
    font-size: 14px;
    line-height: 1.65;
    animation: aec-faq-open 0.3s ease;
}
@keyframes aec-faq-open {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SERVICES LIÉS (bas de page)
   ========================================================= */
.aec-related-services {
    padding: 50px 0 60px;
    background: #fafaf6;
    border-top: 1px solid #eee;
}
.aec-related-services > .container {
    max-width: 1320px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}
.aec-related-header {
    text-align: center;
    margin-bottom: 30px;
}
.aec-related-header h2 {
    position: relative;
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
    padding-bottom: 12px;
}
.aec-related-header h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0a9642, #e2b12d);
    border-radius: 2px;
}
.aec-related-header p {
    color: #666;
    font-size: 15px;
    margin: 0;
}
.aec-related-header strong { color: #0a9642; }

.aec-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.aec-related-card {
    display: block;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}
.aec-related-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0a9642, #e2b12d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.aec-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.1);
    border-color: #0a9642;
    text-decoration: none;
    color: inherit;
}
.aec-related-card:hover::before { transform: scaleX(1); }

.aec-related-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(10,150,66,0.1), rgba(226,177,45,0.15));
    color: #0a9642;
    border-radius: 50%;
    font-size: 26px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}
.aec-related-card:hover .icon {
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    color: #fff;
    transform: rotate(-8deg) scale(1.08);
}
.aec-related-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
}
.aec-related-card:hover h4 { color: #0a9642; }
.aec-related-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.55;
    margin: 0 0 12px;
}
.aec-related-arrow {
    display: inline-block;
    color: #c9a038;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.25s ease;
}
.aec-related-card:hover .aec-related-arrow {
    transform: translateX(6px);
    color: #0a9642;
}

/* Tag coloré (badges) */
.aec-tag {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 5px 5px 0;
    background: rgba(10, 150, 66, 0.1);
    color: #0a9642;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.aec-tag.gold {
    background: rgba(226, 177, 45, 0.15);
    color: #8d6a17;
}



/* =========================================================
   0. BANNIÈRE DE PAGE (titre + sous-titre, vert AEC)
   Injectée automatiquement par le layout sur toutes les pages
   sauf l'accueil. Sert de "hero" pour les pages internes.
   ========================================================= */
.aec-page-banner {
    padding: 70px 0 55px;
    /* Palette or du logo AEC : jaune-or clair -> or chaud -> bronze profond */
    background: linear-gradient(135deg,
        #efd078 0%,
        #c9a038 25%,
        #6b4614 50%,
        #c9a038 75%,
        #efd078 100%);
    background-size: 300% 300%;
    animation: aec-gold-shift 14s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}
@keyframes aec-gold-shift {
    0%   { background-position:   0%   50%; }
    50%  { background-position: 100%   50%; }
    100% { background-position:   0%   50%; }
}
.aec-page-banner::before {
    /* Motif décoratif subtil en fond */
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.6;
    pointer-events: none;
}
.aec-page-banner::after {
    /* Sheen : reflet lumineux qui traverse la bannière périodiquement */
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent 20%,
        rgba(255,255,255,0.22) 50%,
        transparent 80%
    );
    transform: skewX(-18deg);
    pointer-events: none;
    animation: aec-gold-sheen 9s ease-in-out infinite;
}
@keyframes aec-gold-sheen {
    0%   { left: -60%; opacity: 0; }
    15%  { opacity: 1; }
    45%  { left: 120%; opacity: 0.8; }
    60%  { left: 140%; opacity: 0; }
    100% { left: 140%; opacity: 0; }
}
.aec-page-banner .container { position: relative; z-index: 1; }
.aec-page-banner h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.15;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18);
    animation: aec-fade-down 0.7s ease both;
}
.aec-page-banner h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ffffff;
    margin: 14px auto 0;
    border-radius: 2px;
    animation: aec-scale-x 0.9s ease 0.35s both;
    transform-origin: center;
}
.aec-page-banner p {
    color: rgba(255,255,255,0.95);
    font-size: 17px;
    font-weight: 300;
    margin: 18px auto 0;
    max-width: 680px;
    animation: aec-fade-up 0.8s ease 0.25s both;
}
@media (max-width: 600px) {
    .aec-page-banner { padding: 48px 0 40px; }
    .aec-page-banner h1 { font-size: 28px; }
    .aec-page-banner p { font-size: 14px; }
}
@keyframes aec-fade-down {
    from { opacity: 0; transform: translateY(-15px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes aec-fade-up {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes aec-scale-x {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* =========================================================
   1. HERO SLIDER (pogoSlider) — plein écran, texte cascadé,
      pagination, flèches, barre de progression
   ========================================================= */

.ulockd-home-slider { position: relative; }

/* On laisse le plugin pogoSlider calculer la taille des slides via
   preserveTargetSize (défini dans script.js). On ne force PAS de hauteur. */

/* Le conteneur couvre toute la slide mais transparent —
   l'image reste intacte, aucun assombrissement global */
.pogoSlider-slide .lbox-caption {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;       /* centrage vertical */
    justify-content: center;
    padding: 0;
    background: none;
}

/* Bande noire sobre pleine largeur — simple et discrète */
.pogoSlider-slide .lbox-details {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 32px 48px;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
}

.pogoSlider-slide .lbox-details h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 14px;
    color: #fff;
    background: transparent !important;
}

.pogoSlider-slide .lbox-details h2 {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 22px 0;
    padding: 0;
    width: auto;
    max-width: none;
    background: transparent !important;
    text-align: center !important;
    display: block;
}
.pogoSlider-slide .lbox-details h1 {
    text-align: center !important;
    margin-left: 0;
    margin-right: 0;
    width: auto;
    display: block;
}

.pogoSlider-slide .lbox-details p,
.pogoSlider-slide .lbox-details span {
    background: transparent !important;
    background-color: transparent !important;
}

.pogoSlider-slide .lbox-details .btn {
    margin: 0 4px;
}

.pogoSlider-slide .lbox-details h1,
.pogoSlider-slide .lbox-details h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-shadow: none;
}
.pogoSlider-slide .lbox-details .btn {
    display: inline-block;
}
.pogoSlider-slide .lbox-details {
    max-width: 720px;
    color: #fff;
}
/* preserveTargetSize (script.js) fige la bannière sur un ratio 1000×300 —
   pertinent pour un écran large, beaucoup trop plat en portrait téléphone
   (ex. 390px de large ne laisse qu'une centaine de pixels de haut). Les
   tailles ci-dessous ne conviennent donc qu'à partir de la largeur où la
   bannière retrouve assez de hauteur pour les loger : elles étaient
   auparavant posées sans condition, après les paliers ≤768/≤600px du
   dessous, et les emportaient donc aussi sur téléphone (même spécificité,
   déclarées plus tard) — d'où un titre et un sous-titre bien trop grands
   pour la hauteur réelle de la bannière mobile, débordant sur les flèches
   et le bouton. */
@media (min-width: 769px) {
    .pogoSlider-slide .lbox-details h1 {
        font-size: 48px;
        line-height: 1.15;
        font-weight: 700;
        margin: 0 0 18px;
        text-shadow: 0 2px 14px rgba(0,0,0,0.45);
    }
    .pogoSlider-slide .lbox-details h2 {
        font-size: 20px;
        font-weight: 400;
        margin: 0 0 28px;
        line-height: 1.5;
        opacity: 0.95;
        text-shadow: 0 1px 8px rgba(0,0,0,0.5);
    }
    .pogoSlider-slide .lbox-details .btn {
        margin-right: 10px;
        padding: 14px 28px;
        font-size: 15px;
        letter-spacing: 0.5px;
        border-radius: 2px;
    }
}
/* ≤768px : bannière basse (ratio figé par preserveTargetSize), tout est
   resserré pour tenir dans sa hauteur — padding, marges et interlignes
   réduits en plus des tailles de police. */
@media (max-width: 768px) {
    .pogoSlider-slide .lbox-details { padding: 14px 16px; }
    .pogoSlider-slide .lbox-details h1 { font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
    .pogoSlider-slide .lbox-details h2 { font-size: 13px; line-height: 1.35; margin: 0 0 10px; }
    .pogoSlider-slide .lbox-details .btn { margin: 0 3px; padding: 8px 16px; font-size: 12px; }
}
@media (max-width: 600px) {
    .pogoSlider-slide .lbox-details { padding: 10px 14px; }
    .pogoSlider-slide .lbox-details h1 { font-size: 18px; margin-bottom: 6px; }
    .pogoSlider-slide .lbox-details h2 { font-size: 12px; margin-bottom: 8px; }
    .pogoSlider-slide .lbox-details .btn { padding: 6px 14px; font-size: 11px; }
}
@media (max-width: 400px) {
    .pogoSlider-slide .lbox-details h1 { font-size: 16px; }
    .pogoSlider-slide .lbox-details h2 { font-size: 11px; }
}

/* Texte des slides toujours visible (pas d'animation d'entrée qui
   dépend d'une classe .active que pogoSlider ne pose pas toujours) */
.pogoSlider-slide .lbox-details h1,
.pogoSlider-slide .lbox-details h2 {
    color: #fff;
}

/* Puces de pagination */
.pogoSlider-nav {
    position: absolute;
    bottom: 22px;
    left: 0; right: 0;
    text-align: center;
    z-index: 5;
}
.pogoSlider-nav-btn {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.25s ease;
    text-indent: -9999px;
    overflow: hidden;
}
.pogoSlider-nav-btn:hover { background: rgba(255,255,255,0.75); }
.pogoSlider-nav-btn--selected {
    background: #e2b12d !important;
    border-color: #e2b12d !important;
    width: 32px;
    border-radius: 6px;
}

/* Flèches prev / next */
.pogoSlider-dir-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s ease;
    text-indent: -9999px;
    overflow: hidden;
}
.pogoSlider-dir-btn:hover {
    background: #e2b12d;
    border-color: #e2b12d;
}
.pogoSlider-dir-btn--prev { left: 25px; }
.pogoSlider-dir-btn--next { right: 25px; }
.pogoSlider-dir-btn::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}
.pogoSlider-dir-btn--prev::after {
    transform: translate(-30%, -50%) rotate(-135deg);
}
.pogoSlider-dir-btn--next::after {
    transform: translate(-70%, -50%) rotate(45deg);
}
@media (max-width: 600px) {
    .pogoSlider-dir-btn { width: 40px; height: 40px; }
    .pogoSlider-dir-btn--prev { left: 8px; }
    .pogoSlider-dir-btn--next { right: 8px; }
}

/* Barre de progression */
.pogoSlider-progressBar {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: rgba(255,255,255,0.15);
    width: 100%;
    z-index: 5;
}
.pogoSlider-progressBar-duration {
    display: block;
    height: 100%;
    background: #e2b12d;
    width: 0;
}

/* Swipe zone mobile */
.pogoSlider { touch-action: pan-y; }


/* WOW.js : masquer les éléments avant animation */
.wow { visibility: hidden; }
.wow.animated { visibility: visible; }

/* ---------- Cartes : hover ---------- */
.service_box,
.icon_box,
.recent_box2,
.blog_post2,
.about-box2 {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.service_box:hover,
.icon_box:hover,
.blog_post2:hover,
.about-box2:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Icônes de service : rotation au hover */
.service_box .icon,
.icon_box .icon {
    transition: transform 0.4s ease, color 0.3s ease;
    display: inline-block;
}
.service_box:hover .icon {
    transform: rotateY(360deg) scale(1.15);
}

/* ---------- Équipe : images zoom + overlay ---------- */
.recent_box2 img {
    transition: transform 0.5s ease;
}
.recent_box2:hover img {
    transform: scale(1.06);
}
.recent_box2 .rb2_content ul.icon li a {
    transition: transform 0.25s ease, background-color 0.25s ease;
}
.recent_box2 .rb2_content ul.icon li a:hover {
    transform: translateY(-3px);
}

/* ---------- Header : ombre au scroll ---------- */
.main-header-nav {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.main-header-nav.aec-scrolled {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

/* ---------- Partenaires : grayscale -> couleur ---------- */
.partner img,
.ulockd-divider-thumb img,
.ulockd-partner-thumb img {
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: grayscale(85%) opacity(0.75);
}
.partner img:hover,
.ulockd-divider-thumb img:hover,
.ulockd-partner-thumb img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

/* ---------- Boutons : légère élévation ---------- */
.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover:not([disabled]) {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}
.btn[disabled],
button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* ---------- Formulaires : feedback AJAX ---------- */
.messages .alert {
    padding: 12px 18px;
    margin-bottom: 18px;
    border-radius: 4px;
    font-weight: 500;
    animation: aec-slideDown 0.35s ease;
}
.messages .alert i {
    margin-right: 8px;
}
.messages .alert-success {
    background: #e7f7ea;
    color: #1f6f3f;
    border: 1px solid #bde5c7;
}
.messages .alert-danger {
    background: #fbeaea;
    color: #8a2020;
    border: 1px solid #f1bcbc;
}
@keyframes aec-slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Champs : focus plus marqué */
.form-control {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(226, 177, 45, 0.18);
    border-color: #e2b12d;
}

/* ---------- Chevrons de dropdown : masqués (menu plus propre) ---------- */
nav.navbar.bootsnav ul.nav > li.dropdown > a.dropdown-toggle::after,
nav.navbar.bootsnav ul.nav ul.dropdown-menu > li.dropdown > a.dropdown-toggle::after {
    content: none !important;
    display: none !important;
}

/* ---------- Liens de navigation : soulignement animé ---------- */
.nav.navbar-nav > li > a {
    position: relative;
    transition: color 0.2s ease;
}
.nav.navbar-nav > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 12px;
    width: 0;
    height: 2px;
    background: #e2b12d;
    transition: width 0.3s ease, left 0.3s ease;
}
.nav.navbar-nav > li > a:hover::after,
.nav.navbar-nav > li.active > a::after,
.nav.navbar-nav > li.open > a::after {
    width: 30px;
    left: calc(50% - 15px);
}

/* ---------- Bouton « Revenir en haut » ----------
   Pastille ronde discrète en vert AEC. Reprend et neutralise le style
   du template (carré à grosse bordure or, 30px) : chargée après
   style.css, à spécificité égale, sans !important.
   Centrage par line-height et non flex : jQuery fadeIn/fadeOut pilote
   la propriété display, un display:flex serait écrasé. */
.scrollToHome {
    width: 46px;
    height: 46px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #0a9642;
    color: #ffffff;
    font-size: 18px;
    line-height: 46px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.16);
    opacity: 0.9;
    transition: background-color 0.25s ease, transform 0.25s ease,
                box-shadow 0.25s ease, opacity 0.25s ease;
}
.scrollToHome:hover,
.scrollToHome:focus {
    background-color: #0c7d38;
    color: #ffffff;
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(10,150,66,0.30);
}

/* ---------- Blog / actualités : thumb au hover ---------- */
.blog_post2 img,
.media-left img {
    transition: transform 0.4s ease, filter 0.3s ease;
}
.blog_post2:hover img {
    transform: scale(1.04);
}

/* =========================================================
   2. COMPTEURS (.icon_box) — animation au scroll, pulse icône
   ========================================================= */
.icon_box {
    padding: 28px 20px;
    border-radius: 8px;
    background: transparent;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    position: relative;
}
.icon_box:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.icon_box .icon {
    font-size: 56px;
    line-height: 1;
    color: #e2b12d !important;
    transition: transform 0.45s ease;
    margin-right: 20px;
}
.icon_box:hover .icon {
    transform: scale(1.15) rotate(-8deg);
}

/* Titre */
.icon_box .ib_details h3 {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 10px;
}

/* Grand chiffre + symbole alignés */
.icon_box .ib_details ul.list-inline {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: baseline;
}
.icon_box .ib_details ul.list-inline > li {
    padding: 0;
    line-height: 1;
}
.icon_box .ib_details .timer {
    font-size: 48px;
    font-weight: 700;
    color: #e2b12d;
    line-height: 1;
    display: inline-block;
    min-width: 1ch;
}
.icon_box .ib_details ul.list-inline > li:nth-child(2) {
    font-size: 34px;
    font-weight: 700;
    color: #e2b12d;
    margin-left: 4px;
}

/* Animation d'apparition au scroll : ligne colorée qui se trace sous le titre */
.icon_box .ib_details h3::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #e2b12d;
    margin-top: 6px;
    transition: width 0.6s ease 0.3s;
}
.icon_box.aec-counter-animated .ib_details h3::after {
    width: 40px;
}

/* Pulse de l'icône quand le compteur entre en vue */
.icon_box.aec-counter-animated .icon {
    animation: aec-icon-pulse 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes aec-icon-pulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.3) rotate(-6deg); }
    70%  { transform: scale(0.95) rotate(3deg); }
    100% { transform: scale(1); }
}

/* ---------- Spinner du bouton d'envoi ---------- */
button i.fa-spinner {
    margin-right: 6px;
}

/* ---------- Petites améliorations de rythme ---------- */
section {
    /* empêche les débordements qui cassent les animations */
    overflow-x: hidden;
}

/* =========================================================
   FORMULAIRE CARRIÈRE — mise en forme moderne
   ========================================================= */
.aec-career-form-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f4f6f9 0%, #ffffff 100%);
}

.aec-career-form {
    background: #fff;
    border-radius: 14px;
    padding: 36px 40px;
    box-shadow: 0 20px 50px -20px rgba(11, 26, 51, 0.18), 0 4px 12px rgba(11, 26, 51, 0.05);
    border: 1px solid #e4e7eb;
}

.aec-career-form-head {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f3f4f6;
}
.aec-career-form-head i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    color: #fff;
    font-size: 22px;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px -6px rgba(10, 150, 66, 0.4);
}
.aec-career-form-head h3 {
    margin: 0 0 8px;
    color: #0b1a33;
    font-size: 22px;
    font-weight: 700;
}
.aec-career-form-head p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.aec-career-form .aec-field {
    margin-bottom: 18px;
    position: relative;
}
.aec-career-form .aec-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}
.aec-career-form .aec-required {
    color: #dc2626;
    font-weight: 700;
}

.aec-career-form .aec-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .aec-career-form .aec-field-row { grid-template-columns: 1fr; }
    .aec-career-form { padding: 24px 20px; }
}

.aec-career-form .aec-input-wrap {
    position: relative;
}
.aec-career-form .aec-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s;
}
.aec-career-form input[type="text"],
.aec-career-form input[type="email"],
.aec-career-form select,
.aec-career-form textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    font-size: 14px;
    color: #0b1a33;
    background: #f9fafb;
    border: 1.5px solid #e4e7eb;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.2s;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    height: 46px;
}
.aec-career-form textarea {
    height: auto;
    padding: 14px 16px;
    resize: vertical;
    line-height: 1.55;
}
.aec-career-form input:hover,
.aec-career-form select:hover,
.aec-career-form textarea:hover {
    border-color: #d1d5db;
    background: #fff;
}
.aec-career-form input:focus,
.aec-career-form select:focus,
.aec-career-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: #0a9642;
    box-shadow: 0 0 0 4px rgba(10, 150, 66, 0.12);
}
.aec-career-form input:focus ~ .aec-input-icon,
.aec-career-form .aec-input-wrap:focus-within .aec-input-icon {
    color: #0a9642;
}
.aec-career-form input:invalid:not(:placeholder-shown),
.aec-career-form select:invalid:not(:focus) {
    /* on évite d'alarmer dès le chargement : seulement après une saisie */
}
.aec-career-form input:user-invalid,
.aec-career-form select:user-invalid,
.aec-career-form textarea:user-invalid {
    border-color: #dc2626;
    background: #fef2f2;
}

/* =========================================================
   RETOURS DE VALIDATION SERVEUR
   :user-invalid ci-dessus ne rend compte que des contraintes HTML du
   navigateur. Les refus qui viennent du serveur (adresse dont le domaine
   n'existe pas, faute de frappe sur un fournisseur connu, injection
   d'en-tête) n'ont aucun équivalent côté navigateur : c'est le script qui
   pose .aec-champ-invalide et insère le motif exact renvoyé en réponse 422.
   ========================================================= */
.aec-career-form .aec-champ-invalide,
.aec-career-form input.aec-champ-invalide,
.aec-career-form select.aec-champ-invalide,
.aec-career-form textarea.aec-champ-invalide {
    border-color: #dc2626;
    background: #fef2f2;
}
.aec-erreur-champ {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #b91c1c;
}
.aec-erreur-champ i { margin-right: 5px; }

/* Bandeau récapitulatif, créé par le script s'il n'existe pas dans le
   gabarit. Volontairement sobre : le détail est sous chaque champ. */
.aec-career-form .messages { margin-bottom: 16px; }
.aec-career-form .messages:empty { display: none; }
.aec-career-form .messages.alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid transparent;
}
.aec-career-form .messages.alert-success {
    color: #065f46;
    background: #ecfdf5;
    border-color: #a7f3d0;
}
.aec-career-form .messages.alert-danger {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}
.aec-career-form .messages i { margin-right: 6px; }

/* =========================================================
   NOTIFICATION « VERSION ANGLAISE »
   La coquille du toast (fond dégradé, filet or, barre de progression)
   vient de aec-admin-alerts.css ; seul son contenu est mis en forme ici.
   Trois niveaux de lecture — titre, explication, action — là où le
   message précédent tenait en une phrase avec un lien souligné au milieu.
   ========================================================= */
.aec-toast-langue {
    display: flex;
    flex-direction: column;
    /* Ligne de base plus aérée que celle du toast générique : ce message
       compte quatre lignes de texte, pas une. */
    line-height: 1.5;
}
.aec-toast-langue-titre {
    font-size: 14.5px;
    font-weight: 700;
    color: #0b1a33;
    letter-spacing: 0.1px;
    margin-bottom: 4px;
}
.aec-toast-langue-texte {
    margin: 0 0 12px;
    font-size: 13px;
    color: #5d6365;
}
/* Bouton plein plutôt que lien souligné : c'est l'action attendue, elle
   doit se distinguer du texte au premier regard et offrir une cible
   confortable au doigt. */
.aec-toast-langue-lien {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 50px;
    background: #0a9642;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.aec-toast-langue-lien:hover,
.aec-toast-langue-lien:focus {
    background: #0c7d38;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -4px rgba(10, 150, 66, 0.45);
}
.aec-toast-langue-lien i {
    font-size: 11px;
    transition: transform 0.2s ease;
}
.aec-toast-langue-lien:hover i { transform: translateX(3px); }
/* Rappel en français, discret : le Cameroun est bilingue et le visiteur
   peut lire les deux, mais l'anglais reste le message principal puisque
   c'est ce qu'il vient de demander. */
.aec-toast-langue-fr {
    margin-top: 11px;
    padding-top: 9px;
    border-top: 1px solid rgba(201, 160, 56, 0.28);
    font-size: 11.5px;
    font-style: italic;
    color: #9aa0a2;
}

/* =========================================================
   CHAMP DE VÉRIFICATION ANTI-ROBOT
   Trois éléments sur une ligne : l'énoncé, la réponse, le bouton de
   renouvellement. Sur téléphone l'énoncé passe au-dessus, sinon il ne
   reste plus que deux ou trois caractères de large pour la réponse.
   ========================================================= */
.aec-career-form .aec-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.aec-career-form .aec-captcha-question {
    flex: 0 0 auto;
    padding: 11px 14px;
    background: #f3f4f6;
    border: 1.5px dashed #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #0b1a33;
    /* La question ne se sélectionne pas d'un glissement : gêne à peine le
       visiteur, et évite le copier-coller machinal vers un traducteur. */
    user-select: none;
    -webkit-user-select: none;
    white-space: nowrap;
}
.aec-career-form .aec-captcha-input {
    flex: 1 1 140px;
    min-width: 120px;
}
.aec-career-form .aec-captcha-refresh {
    flex: 0 0 auto;
    /* Cible tactile de 44px, recommandation iOS et Android. */
    width: 44px;
    height: 44px;
    border: 1.5px solid #e4e7eb;
    border-radius: 8px;
    background: #f9fafb;
    color: #6b7280;
    font-size: 15px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.aec-career-form .aec-captcha-refresh:hover {
    color: #0a9642;
    border-color: #0a9642;
    background: #fff;
}
.aec-career-form .aec-captcha-refresh.est-en-cours i {
    animation: aec-captcha-tourne 0.8s linear infinite;
}
@keyframes aec-captcha-tourne {
    to { transform: rotate(360deg); }
}
.aec-career-form .aec-captcha-aide {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    color: #9ca3af;
}

@media (max-width: 575px) {
    /* L'énoncé prend toute la largeur : « Combien font quatorze − 6 ? » ne
       tient pas à côté d'un champ de saisie sur un écran de 360px. */
    .aec-career-form .aec-captcha-question {
        flex: 1 1 100%;
        white-space: normal;
        text-align: center;
    }
}

/* Select : chevron custom */
.aec-career-form .aec-input-wrap-select::after {
    content: "\f078"; /* fa-chevron-down */
    font-family: "FontAwesome";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 11px;
    pointer-events: none;
}
.aec-career-form select { padding-right: 38px; }

/* Zone d'upload de CV */
.aec-career-form .aec-file-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 22px 16px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.aec-career-form .aec-file-drop:hover {
    border-color: #0a9642;
    background: rgba(10, 150, 66, 0.04);
}
.aec-career-form .aec-file-drop i {
    font-size: 28px;
    color: #0a9642;
}
.aec-career-form .aec-file-drop .aec-file-drop-text {
    font-size: 14px;
    color: #0b1a33;
    font-weight: 600;
    word-break: break-all;
}
.aec-career-form .aec-file-drop small {
    color: #9ca3af;
    font-size: 12px;
}
.aec-career-form .aec-file-drop.has-file {
    border-color: #0a9642;
    background: rgba(10, 150, 66, 0.06);
}
.aec-career-form .aec-file-drop.has-file i::before {
    content: "\f00c"; /* fa-check */
}

/* Bouton d'envoi */
.aec-career-form .aec-career-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #0a9642, #0c7d38);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    box-shadow: 0 10px 20px -8px rgba(10, 150, 66, 0.5);
}
.aec-career-form .aec-career-submit:hover,
.aec-career-form .aec-career-submit:focus {
    background: linear-gradient(135deg, #0c7d38, #0a6630);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(10, 150, 66, 0.55);
}
.aec-career-form .aec-career-submit:active { transform: translateY(0); }

.aec-career-form .aec-career-disclaimer {
    text-align: center;
    margin: 14px 0 0;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
}
.aec-career-form .aec-career-disclaimer i {
    color: #0a9642;
    margin-right: 4px;
}

/* =========================================================
   FORMULAIRE CONTACT — réutilise les styles aec-career-form
   et ajoute la colonne latérale "coordonnées + map"
   ========================================================= */
.aec-contact-form-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f4f6f9 0%, #ffffff 100%);
}
.aec-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 900px) {
    .aec-contact-grid { grid-template-columns: 1fr; gap: 20px; }
}
.aec-contact-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.aec-contact-side-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 26px;
    box-shadow: 0 14px 30px -16px rgba(11, 26, 51, 0.15), 0 2px 8px rgba(11, 26, 51, 0.04);
    border: 1px solid #e4e7eb;
}
.aec-contact-side-card h3 {
    margin: 0 0 18px;
    color: #0b1a33;
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}
.aec-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed #f3f4f6;
}
.aec-contact-line:last-child { border-bottom: 0; padding-bottom: 0; }
.aec-contact-line > i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 150, 66, 0.1);
    color: #0a9642;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.aec-contact-line > div {
    flex: 1;
    min-width: 0;
}
.aec-contact-line strong {
    display: block;
    color: #6b7280;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 600;
}
.aec-contact-line a,
.aec-contact-line span {
    color: #0b1a33;
    font-size: 14px;
    font-weight: 500;
    word-break: break-word;
}
.aec-contact-line a:hover { color: #0a9642; text-decoration: none; }
.aec-contact-map {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 30px -16px rgba(11, 26, 51, 0.15);
    background: #f9fafb;
    aspect-ratio: 4 / 3;
}
.aec-contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
@supports not (aspect-ratio: 4/3) {
    .aec-contact-map { height: 340px; }
}
.aec-contact-form-card { margin: 0; }


/* =========================================================================
   COUCHE RESPONSIVE GLOBALE — AEC
   Règles pour tablette (≤ 991 px) et téléphone (≤ 575 px).
   À garder en dernier pour bénéficier de la cascade.
   ========================================================================= */

/* ---------- TABLETTE & EN-DESSOUS (≤ 991 px) ---------- */
@media (max-width: 991px) {

    /* Bannière de page : titre plus petit */
    .aec-page-banner h1 { font-size: 28px; line-height: 1.2; }
    .aec-page-banner p { font-size: 14px; }
    .aec-page-banner { padding: 36px 0 28px; }

    /* Accueil — bloc Africaine d'Expertise Comptable */
    .ulockd-about.ulockd-pad12650 .about-box { margin-bottom: 24px; }
    .ulockd-about.ulockd-pad12650 .about-box2 { margin-top: 0; }

    /* Accueil — cartes « Nos services » : deux marges se cumulaient.
       Le template pose margin-bottom:50px !important sous chaque .service_box
       (responsive.css, palier 991px), et la colonne de la grille flex en
       ajoute 30 : près de 80px entre deux cartes empilées, quand l'espace
       intérieur d'une carte n'en fait que 30. On neutralise celle du
       template et on confie l'écart à la seule colonne. */
    .our-service .aec-services-row > [class*="col-"] { margin-bottom: 20px; }
    .our-service .aec-services-row .service_box { margin-bottom: 0 !important; }

    /* Accueil — Notre particularité : visuel sous le texte */
    .aec-tech-highlight .col-md-6 + .col-md-6 { margin-top: 30px; }
    .aec-tech-mockups { height: 380px; margin-top: 10px; }
    .aec-tech-content h2 { font-size: 26px; line-height: 1.25; }
    .aec-tech-lead { font-size: 15px; }
    .aec-tech-stats { gap: 18px; flex-wrap: wrap; }
    .aec-tech-stat { min-width: 100px; }
    .aec-tech-ctas { flex-direction: column; gap: 10px; }
    .aec-tech-ctas .btn { width: 100%; text-align: center; }

    /* Showcase logiciels : 2 cartes par ligne */
    .aec-software-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px; }
    .aec-software-thumb { height: 160px; }
    .aec-software-info { padding: 22px 18px 18px; }
    .aec-software-info h4 { font-size: 17px; }
    .aec-software-footer { text-align: center; }

    /* News : empile featured (image + body).
       La hauteur de la visuelle et le reste du bloc « Loi de Finances » sont
       réglés plus haut, dans la section ACTUALITÉS — inutile de la redéfinir
       ici, où elle divergeait déjà (240 contre 230px). */
    .aec-news-featured { grid-template-columns: 1fr !important; }
    .aec-news-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .aec-news-why { grid-template-columns: repeat(2, 1fr) !important; }
    .aec-news-title { font-size: 26px; }

    /* Ourvision — Mission/Vision/Valeurs : empile */
    .aec-mvv .col-md-4 { margin-bottom: 18px; }
    .aec-mvv-card { padding: 22px 20px; }

    /* Ourvision — Engagements + Raisons */
    .aec-commitments .col-md-6 + .col-md-6 { margin-top: 30px; }

    /* Ourvision — Démarche en 4 étapes */
    .aec-steps { flex-wrap: wrap; gap: 20px; }
    .aec-step { flex: 1 1 calc(50% - 10px); min-width: 220px; }

    /* Ourvision/Atouts — Intro hero */
    .aec-about-intro-title { font-size: 28px; line-height: 1.25; }
    /* Même corps pour les deux : voir la note sur .aec-about-lead/.aec-about-sub. */
    .aec-about-lead,
    .aec-about-sub { font-size: 15px; }
    .aec-about-visual { margin-top: 24px; text-align: center; }
    .aec-about-visual img { max-width: 320px; }

    /* Atouts — cartes piliers */
    .aec-atouts-grid .col-md-4,
    .aec-atouts-grid .col-md-4.col-md-offset-2 { margin-left: 0; margin-bottom: 18px; }
    .aec-atout-card { min-height: auto; }

    /* Atouts — Différenciateur */
    .aec-differentiator .col-md-6 + .col-md-6 { margin-top: 24px; }
    .aec-differentiator h2 { font-size: 24px; }

    /* Teamwork — Fondateur */
    .aec-founder .col-md-4 { margin-bottom: 24px; text-align: center; }
    .aec-founder-photo { max-width: 280px; margin: 0 auto; }
    .aec-founder-name { font-size: 24px; }

    /* Teamwork — Piliers, valeurs, horaires */
    .aec-team-pillars .col-md-4 { margin-bottom: 20px; }
    .aec-team-values .col-md-5 + .col-md-7 { margin-top: 20px; }
    .aec-team-bottom .col-md-6 + .col-md-6 { margin-top: 20px; }

    /* Career — Pourquoi nous rejoindre */
    .aec-why-join .col-md-4 { margin-bottom: 18px; }
    .aec-why-card { padding: 22px 18px; }

    /* Métiers : chaque métier et ses prestations s'empilent en pleine largeur.
       Leur ORDRE, lui, ne se règle pas ici mais dans views/home/metiers.ejs :
       une rangée sur deux y écrivait les prestations avant le métier et
       rétablissait la position à l'écran avec col-md-push-5/col-md-pull-7,
       deux classes qui n'existent qu'au-dessus de 992px. Les neutraliser
       depuis la CSS ne pouvait donc rien changer — l'ordre du code restait
       inversé. Le gabarit n'écrit plus qu'un seul ordre, et ces deux classes
       ont disparu de la page. */
    .our-service .col-md-5,
    .our-service .col-md-7 { float: none; width: 100%; padding: 0 15px; }
    .our-service .row.ulockd-mrgn1240 .about-box,
    .our-service .row .about-box { margin-bottom: 18px; }
    .our-service .service_box { margin-bottom: 30px; }
    .our-service .title-bottom { font-size: 24px; }

    /* CTA cards en bas de page */
    .aec-cta-card { flex-direction: column; text-align: center; gap: 16px; padding: 28px 24px; }
    .aec-cta-card h3 { font-size: 20px; }
    .aec-cta-btn { width: 100%; max-width: 320px; justify-content: center; }

    /* Footer : empile les 3 colonnes */
    .aec-footer-grid > .col-md-4 { margin-bottom: 28px; }
    .aec-footer-grid > .col-md-4:last-child { margin-bottom: 0; }
    .aec-footer-logo { max-width: 160px; }

    /* Bandeau header : centré sur petit écran */
    .header-top .col-md-6,
    .header-top .col-md-3 { text-align: center; margin-bottom: 6px; }
    .header-top .welcm-ht.text-right { text-align: center; }
    .header-top ul.list-inline { display: inline-flex; flex-wrap: wrap; justify-content: center; }
}

/* ---------- TÉLÉPHONE (≤ 575 px) ---------- */
@media (max-width: 575px) {

    .aec-page-banner h1 { font-size: 22px; }
    .aec-page-banner p { font-size: 13px; }

    /* Une carte par ligne, sur toute la largeur disponible.
       Le max-width:360px la laissait plus étroite que le reste du contenu
       sur les téléphones de 390 à 430px de large, avec deux bandes vides
       de part et d'autre — l'inverse de l'effet recherché. */
    .aec-software-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .aec-software-card { max-width: none; margin: 0; }
    .aec-software-thumb { height: 175px; }
    .aec-software-info h4 { font-size: 18px; }

    .aec-news-grid { grid-template-columns: 1fr !important; }
    .aec-news-why { grid-template-columns: 1fr !important; }
    .aec-news-title { font-size: 22px; }
    .aec-news-intro { font-size: 14px; }

    .aec-step { flex: 1 1 100%; min-width: 0; }

    /* Stats AEC en chiffres : 2 par ligne au lieu de 4 */
    .aec-about-stats .row > [class*="col-"] { width: 50%; margin-bottom: 16px; }
    .aec-big-stat strong { font-size: 28px; }
    .aec-big-stat span { font-size: 12px; }

    .aec-about-intro-title { font-size: 22px; }
    .aec-section-title-centered { font-size: 22px; }
    .aec-section-title { font-size: 22px; }
    .aec-founder-name { font-size: 20px; }
    .aec-tech-content h2 { font-size: 22px; }
    .aec-tech-stats { gap: 12px; justify-content: center; }
    .aec-tech-stat { min-width: 90px; text-align: center; }

    .aec-tech-mockups { height: 300px; }
    .aec-mockup-laptop { width: 80%; }
    .aec-mockup-tablet { width: 50%; right: 0; }
    .aec-mockup-phone { width: 35%; bottom: 0; }

    .our-service .about-box .icon { font-size: 48px !important; }
    .our-service .title-bottom { font-size: 20px; }
    .our-service .service_box ul.list-unstyled { line-height: 1.8 !important; font-size: 14px; }

    .aec-mvv-card,
    .aec-atout-card,
    .aec-why-card,
    .aec-credential-card,
    .aec-channel { padding: 20px 16px; }
    .aec-mvv-card h3,
    .aec-credential-card h4 { font-size: 17px; }

    .aec-cta-card { padding: 22px 18px; }
    .aec-cta-card h3 { font-size: 18px; }
    .aec-cta-card p { font-size: 13px; }

    .aec-footer-logo { max-width: 140px; }
    .aec-footer-about, .aec-footer-contact li { font-size: 13px; }

    .header-top { padding: 8px 0; font-size: 12px; }
    .header-top .ulockd-welcntxt { font-size: 12px; }

    .ulockd-btn-thm2,
    .btn-lg { font-size: 14px; padding: 10px 18px; }

    .aec-channel i { font-size: 28px; }
    .aec-channel h4 { font-size: 16px; }

    /* Carte d'équipe accueil : 2 par ligne sur très petit */
    .aec-home-team-card { width: calc(50% - 12px); max-width: 160px; }
}

/* ---------- ADMIN — retiré, voir public/css/aec-admin.css ----------
   Deux blocs de règles .admin-* figuraient ici. Ils n'ont jamais rien
   produit : views/admin-layout.ejs ne charge pas aec-dynamic.css. Cette
   feuille n'est liée que depuis views/layout.ejs, celui du site public.
   Le masquage des colonnes 5 et suivantes des tableaux, en particulier,
   aurait escamoté l'objet et le message sur la page Messages — sans effet
   réel, mais trompeur à la lecture.
   Tout ce qui concerne l'administration est désormais dans
   public/css/aec-admin.css, chargé par admin-layout.ejs.
   ------------------------------------------------------------------ */

/* =========================================================
   BANNIÈRE DE PAGE (bandeau or) — compacité sur téléphone
   Placé en fin de fichier à dessein : deux blocs plus haut
   (max-width 600px puis max-width 768px) ciblent déjà cette
   bannière, et c'est le dernier déclaré qui l'emporte à
   spécificité égale. Ces règles doivent donc venir après eux.
   ========================================================= */
@media (max-width: 600px) {
    .aec-page-banner { padding: 26px 0 22px; }
    .aec-page-banner h1 {
        font-size: 22px;
        letter-spacing: 1px;
        line-height: 1.2;
        margin-bottom: 0;
    }
    /* Trait sous le titre : plus court et moins espacé */
    .aec-page-banner h1::after {
        width: 44px;
        margin: 10px auto 0;
    }
    .aec-page-banner p {
        font-size: 13.5px;
        line-height: 1.5;
        margin-top: 10px;
    }
}
@media (max-width: 380px) {
    .aec-page-banner { padding: 20px 0 18px; }
    .aec-page-banner h1 { font-size: 19px; letter-spacing: 0.5px; }
    .aec-page-banner p { font-size: 13px; margin-top: 8px; }
}

/* =========================================================
   BARRE VERTE D'UTILITAIRES (.header-top) — masquée sur téléphone
   ET SUR TABLETTE
   Ses colonnes sont en col-md-* : sous 992px elles s'empilent en
   pleine largeur et la barre se déplie sur trois rangées (contacts,
   réseaux sociaux, bouton Langue).
   Le template ne masque que .header-top.style1 (responsive.css:335) ;
   la nôtre porte la classe style2, d'où sa persistance.
   Seuil 991px et non 767px : le seuil précédent était justifié par la
   borne « téléphone » de Bootstrap 3, supposée être celle où le menu
   bascule en hamburger. C'est inexact — bootsnav bascule à 992px
   (bootsnav.css:993), et les colonnes de la barre s'empilent à cette
   même borne. Entre 768 et 991px la barre mesurait donc 161px de haut,
   mesurés au navigateur sur une tablette de 768px : un tiers d'écran
   consommé avant le logo.
   Téléphone, horaires et réseaux sociaux restent accessibles dans le
   pied de page, sur la page Contact et dans le pied du tiroir de menu.
   ========================================================= */
@media (max-width: 991px) {
    .header-top { display: none; }
}

/* =========================================================
   BOUTON HAMBURGER — ancré à gauche sur mobile et tablette
   bootsnav.css (importé par style.css:20) centre tout l'en-tête
   sous 992px (.navbar-header { text-align: center }) et compense
   la largeur du bouton par un margin-right: -200px sur le toggle.
   Ce bricolage le fait dériver vers le centre au lieu de le
   laisser au bord. On le sort du flux et on l'ancre à gauche :
   le logo, lui, reste centré comme avant.
   Même borne que bootsnav (992px) pour ne pas laisser de trou à
   la largeur exacte de bascule. Chargé après style.css, donc
   l'emporte à spécificité égale sans !important.
   ========================================================= */
@media (max-width: 992px) {
    nav.navbar.bootsnav .navbar-header { position: relative; }
    nav.navbar.bootsnav .navbar-toggle {
        position: absolute;
        /* Mesuré à x=0 avec left:0 — le bouton touchait le bord de
           l'écran. 15px l'aligne sur la gouttière du .container et sur
           le bord gauche du panneau de menu. */
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        float: none;
        margin: 0;
        /* Cible tactile d'au moins 44px, recommandation iOS et Android */
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* =========================================================
   MENU MOBILE — liste alignée à gauche et pas vertical compact
   Deux causes au rendu « flottant » :
   1. nav.navbar.bootsnav.menu-style1 ul.nav li a { padding: 30px 15px }
      est déclaré hors media query dans style.css:407. Sa spécificité
      (0,4,4) écrase le padding: 10px 0 que bootsnav prévoit en mode
      mobile : chaque entrée fait ~74px de haut, texte renfoncé de 15px.
   2. .navbar-nav ajoute 30px de padding compensés par margin: 0 -15px,
      soit 15px nets, qui s'additionnent au renfoncement ci-dessus.
   On rétablit un alignement à gauche franc et un pas vertical utilisable.
   ========================================================= */
@media (max-width: 992px) {
    nav.navbar.bootsnav .navbar-collapse,
    nav.navbar.bootsnav .navbar-nav,
    nav.navbar.bootsnav .navbar-nav > li,
    nav.navbar.bootsnav .navbar-nav > li > a,
    nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu > li > a {
        text-align: left;
    }

    /* Gouttière unique de 15px, alignée sur celle du .container */
    nav.navbar.bootsnav .navbar-nav {
        padding-left: 15px;
        padding-right: 15px;
        margin: 0;
    }

    /* Même spécificité (0,4,4) que la règle de style.css, mais déclarée
       après : l'emporte sans !important. */
    nav.navbar.bootsnav.menu-style1 ul.nav > li > a {
        padding: 13px 0;
    }
    /* Sous-menus : retrait discret pour marquer la hiérarchie,
       au lieu des 15px hérités du mode bureau. */
    nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu {
        padding-left: 14px !important;
    }
    nav.navbar.bootsnav.menu-style1 ul.nav li.dropdown ul.dropdown-menu > li > a {
        padding: 11px 0;
        font-weight: 500;
    }

    /* La gouttière du <ul> devient inutile une fois le panneau réduit. */
    nav.navbar.bootsnav .navbar-collapse .navbar-nav {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =========================================================
   TIROIR DE GAUCHE (≤ 992 px)
   Le panneau était un accordéon DANS LE FLUX de l'en-tête.
   Mesuré au navigateur sur 390px : à l'ouverture, .main-header-nav
   — fixe, blanche, z-index 1000 — passait de 58px à 340px de haut
   sur TOUTE la largeur, alors que la liste n'en occupait que 281.
   D'où l'aplat blanc qui recouvrait le haut de la page, menu à
   gauche et vide blanc à droite.
   On sort donc le panneau du flux : position fixed, pleine hauteur,
   glissant depuis la gauche par-dessus un voile. L'en-tête garde
   ses 58px quel que soit l'état du menu.
   L'ouverture n'est plus pilotée par le plugin collapse de Bootstrap
   (data-toggle retiré du gabarit) mais par la classe .aec-nav-open
   que pose aec-dynamic.js : la hauteur animée en ligne par Bootstrap
   entrait en conflit avec une hauteur plein écran, et sa temporisation
   de 350ms retardait d'autant le glissement.
   ========================================================= */
@media (max-width: 992px) {

    /* !important : bootsnav pose display:none!important sur .collapse
       et display:block!important sur .collapse.in (bootsnav.css:1027).
       Même spécificité (0,3,2), mais déclaré ici après : l'emporte.
       Le tiroir reste donc affiché en permanence et c'est la
       translation qui le sort de l'écran — condition d'un glissement. */
    nav.navbar.bootsnav .navbar-collapse,
    nav.navbar.bootsnav .navbar-collapse.collapse,
    nav.navbar.bootsnav .navbar-collapse.collapse.in {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 84%;
        max-width: 320px;
        /* !important sur la hauteur et le débordement : Bootstrap impose
           height:auto!important et overflow:visible!important à
           .navbar-collapse.collapse dès 768px (bootstrap.min.css, media
           min-width:768px). Sans cela, entre 768 et 992px le tiroir se
           réduisait à la hauteur de son contenu — 424px sur 1024 mesurés,
           soit une carte blanche flottante au lieu d'un panneau pleine
           hauteur — et son contenu ne pouvait plus défiler. */
        height: 100% !important;
        /* dvh : sur Safari iOS et Chrome Android, 100vh dépasse la zone
           visible de la hauteur de la barre d'URL. Repli en 100% au-dessus
           pour les navigateurs qui ignorent l'unité. */
        height: 100dvh !important;
        /* Neutralise nav.bootsnav.no-full .navbar-collapse{max-height:350px}
           (bootsnav.css:1022), qui tronquerait le tiroir à mi-hauteur. */
        max-height: none !important;
        margin: 0;
        padding: 0;
        background: #ffffff;
        border-right: 1px solid #e8e8e8;
        box-shadow: 4px 0 28px rgba(0, 0, 0, 0.18);
        overflow-x: hidden;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        /* Empêche le défilement de se propager à la page derrière le tiroir. */
        overscroll-behavior: contain;
        z-index: 1100;
        transform: translateX(-100%);
        visibility: hidden;
        /* La visibilité ne bascule qu'à la fin de la sortie : sinon le tiroir
           disparaîtrait d'un coup au lieu de glisser. */
        transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s linear 0.26s;
    }
    nav.navbar.bootsnav .navbar-collapse.aec-nav-open {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Voile : frère du tiroir dans le contexte d'empilement de
       .main-header-nav, d'où un z-index inférieur suffisant. */
    .aec-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(17, 24, 20, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.26s ease, visibility 0s linear 0.26s;
        z-index: 1090;
    }
    body.aec-nav-open .aec-nav-overlay {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.26s ease;
    }

    /* Blocage du défilement de la page pendant l'ouverture.
       position:fixed plutôt que le seul overflow:hidden, que Safari iOS
       ignore sur <body>. Le décalage vertical est compensé par le top
       négatif posé en JS, puis restitué à la fermeture. */
    body.aec-nav-open {
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
        overflow: hidden;
    }

    /* --- En-tête du tiroir : logo + fermeture --- */
    .aec-nav-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        border-bottom: 1px solid #ededed;
        background: #fbfbfb;
    }
    .aec-nav-drawer-logo img {
        max-height: 38px;
        width: auto;
    }
    .aec-nav-close {
        border: none;
        background: transparent;
        color: #6f6f6f;
        font-size: 20px;
        line-height: 1;
        /* Cible tactile de 44px, recommandation iOS et Android. */
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }
    .aec-nav-close:active { background: #efefef; }

    /* --- Entrées du menu --- */
    nav.navbar.bootsnav .navbar-collapse .navbar-nav {
        padding: 6px 0 0;
        margin: 0;
    }
    /* Même spécificité (0,4,4) que style.css:407, déclarée après. */
    nav.navbar.bootsnav.menu-style1 ul.nav > li > a {
        padding: 13px 16px;
        font-size: 15px;
        color: #33383a;
        /* Le liseré gauche matérialise la page courante sans décaler
           le texte : il est transparent tant que l'entrée est inactive. */
        border-left: 3px solid transparent;
    }
    nav.navbar.bootsnav ul.nav > li.active > a,
    nav.navbar.bootsnav ul.nav > li > a.active {
        border-left-color: #0a9642;
        background: rgba(10, 150, 66, 0.07);
        color: #0a9642;
        font-weight: 600;
    }
    nav.navbar.bootsnav ul.nav > li > a:active {
        background: rgba(10, 150, 66, 0.05);
    }
    /* Le soulignement doré animé (aec-dynamic.css:3434) est pensé pour un
       menu horizontal : centré sous le libellé, il flottait ici au milieu
       d'une entrée pleine largeur, à droite du texte. Le liseré vert à
       gauche joue déjà ce rôle dans le tiroir. */
    .nav.navbar-nav > li > a::after { content: none; }
    /* Le chevron de bootsnav (::before, f105/f107) est collé au texte par
       un float:right sans marge : on l'écarte du bord du tiroir. */
    nav.navbar.bootsnav li.dropdown a.dropdown-toggle:before {
        margin-right: 2px;
        color: #9aa0a2;
        transition: transform 0.2s ease;
    }

    /* --- Sous-menus : rail vertical pour marquer la hiérarchie --- */
    nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu {
        padding: 0 0 0 16px !important;
        margin-left: 16px !important;
        border-left: 2px solid #ececec !important;
        background: #fcfcfc;
    }
    nav.navbar.bootsnav.menu-style1 ul.nav li.dropdown ul.dropdown-menu > li > a {
        padding: 10px 12px 10px 0;
        font-size: 14px;
        font-weight: 500;
        border-bottom: none;
        color: #5d6365;
    }

    /* --- Pied du tiroir : coordonnées --- */
    .aec-nav-drawer-foot {
        padding: 16px;
        margin-top: 8px;
        border-top: 1px solid #ededed;
        background: #fbfbfb;
        font-size: 13px;
        line-height: 1.5;
    }
    .aec-nav-drawer-foot a,
    .aec-nav-drawer-foot span {
        display: block;
        margin-bottom: 8px;
        color: #5d6365;
        /* Adresses e-mail longues : coupe plutôt que d'élargir le tiroir. */
        overflow-wrap: break-word;
    }
    .aec-nav-drawer-foot a:last-child,
    .aec-nav-drawer-foot span:last-child { margin-bottom: 0; }
    .aec-nav-drawer-foot i {
        width: 18px;
        color: #0a9642;
    }

    /* Icône du bouton : pilotée par l'état réel du tiroir.
       bootsnav permute les classes fa-bars/fa-times de son côté
       (bootsnav.js:328) ; ces règles (0,2,1) l'emportent sur .fa-bars:before
       (0,1,0) dans les deux sens et évitent tout désaccord entre l'icône
       affichée et l'état du menu. */
    body:not(.aec-nav-open) nav.bootsnav .navbar-toggle .fa:before {
        content: "\f0c9";
    }
    body.aec-nav-open nav.bootsnav .navbar-toggle .fa:before {
        content: "\f00d";
    }
}

/* Au-delà de 992px le menu redevient une barre horizontale :
   ni tiroir, ni voile, ni en-tête/pied de tiroir. */
@media (min-width: 993px) {
    .aec-nav-overlay,
    .aec-nav-drawer-head,
    .aec-nav-drawer-foot { display: none; }
}

/* =========================================================
   PAGES DE DÉTAIL (logiciels / services / métiers / migration)
   ORDRE DES COLONNES SUR MOBILE ET TABLETTE
   Dans content-page.ejs comme dans migration.ejs, la colonne de
   gauche (sidebar) précède le contenu dans le DOM. Les colonnes
   étant en col-md-* (actives seulement à partir de 992px), elles
   s'empilent en dessous : le visiteur reçoit d'abord la liste de
   navigation, les boutons de brochure, le bloc contact et l'encart
   « Besoin sur mesure » — soit un écran entier — avant le moindre
   contenu de la page. On inverse l'ordre visuel sans toucher au
   DOM (l'ordre de lecture reste correct pour les lecteurs d'écran,
   la sidebar restant une navigation secondaire).
   Deux parents sont ciblés : .row dans content-page.ejs, et
   .container directement dans migration.ejs qui n'a pas de .row.
   ========================================================= */
@media (max-width: 991px) {
    .ulockd-service-details .row,
    .ulockd-service-details > .container {
        display: flex;
        flex-direction: column;
    }
    /* Voir la note sur .row::before/::after plus haut. */
    .ulockd-service-details .row::before,
    .ulockd-service-details .row::after,
    .ulockd-service-details > .container::before,
    .ulockd-service-details > .container::after {
        content: none;
    }
    .ulockd-service-details .col-md-8.col-lg-9  { order: 1; }
    .ulockd-service-details .col-md-4.col-lg-3  { order: 2; margin-top: 30px; }
}

/* =========================================================
   RYTHME VERTICAL DES SECTIONS SUR TÉLÉPHONE
   22 sections publiques portent entre 50px et 80px de padding
   vertical, valeurs pensées pour le bureau et jamais réduites en
   dessous. Cumulées, elles produisent de longues zones vides entre
   les blocs. Ramenées à 34-40px, l'enchaînement reste aéré sans
   obliger à faire défiler du vide.
   ========================================================= */
@media (max-width: 767px) {
    .aec-about-intro        { padding: 34px 0 26px; }
    .aec-mvv,
    .aec-about-stats,
    .aec-commitments,
    .aec-approach,
    .aec-differentiator,
    .aec-credentials,
    .aec-partners,
    .aec-founder,
    .aec-team-grid-section,
    .aec-team-pillars,
    .aec-team-values,
    .aec-profiles-sought,
    .aec-career-form-section,
    .aec-contact-form-section { padding: 36px 0; }
    .aec-team-bottom        { padding: 34px 0 40px; }
    .aec-tech-highlight     { padding: 40px 0; }
    .aec-software-showcase,
    .aec-news               { padding: 40px 0 44px; }
    .ulockd-service-details { padding: 24px 0 36px; }
    .aec-footer             { padding: 40px 0 0; }

    /* Encarts encore trop rembourrés une fois la largeur réduite */
    .aec-custom-callout { padding: 20px 18px; gap: 14px; }
    .aec-stat-row       { padding: 18px 16px; }
    .aec-value-grid,
    .aec-stat-row       { margin: 22px 0; }

    /* Filet de sécurité contre le défilement horizontal : logos et
       visuels sans classe .img-responsive dans les grilles partenaires. */
    .aec-partner img,
    .aec-partners-strip-item img { max-width: 100%; height: auto; }
}

/* =========================================================
   PARALLAXE — désactivée sur mobile
   .parallax force background-attachment: fixed (style.css:4857).
   Safari iOS ne gère pas cette valeur : il calque l'image sur le
   viewport, ce qui la fait apparaître démesurément zoomée et mal
   cadrée. Plusieurs navigateurs Android la rendent saccadée. On
   repasse en scroll sous 992px : l'image reste, l'effet disparaît.
   Concerne notamment le bandeau partenaires de /contact.
   ========================================================= */
@media (max-width: 991px) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* =========================================================
   TEXTES JUSTIFIÉS — sections marquées .aec-justify
   La césure automatique est indispensable ici : sur une colonne
   étroite de téléphone, un texte justifié sans césure creuse de
   larges blancs entre les mots. Elle s'appuie sur lang="fr" du
   gabarit — sans cet attribut, aucun navigateur ne coupe.
   Les titres et les cartes centrées ne sont pas concernés.
   ========================================================= */
.aec-justify p,
.aec-justify .aec-checklist li,
.aec-justify .aec-reason p,
.aec-justify .aec-step p,
/* Réponse de FAQ : c'est un <div>, pas un <p>, d'où sa mention explicite. */
.aec-justify .aec-faq-a {
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
/* Ces éléments restent alignés à gauche : une citation justifiée se
   lit mal, et un intitulé court n'a pas de quoi se justifier. */
.aec-justify .aec-about-quote,
.aec-justify h2,
.aec-justify h3,
.aec-justify h4,
.aec-justify h5 {
    text-align: left;
    hyphens: manual;
}
/* Description en tête des pages logiciel (.lead-intro) : reste justifiée,
   mais sans coupure de mots au tiret — demande explicite, malgré les blancs
   que la justification sans césure peut creuser sur colonne étroite (cf.
   note plus haut). */
.aec-justify .aec-service-hero .lead-intro {
    hyphens: manual;
    -webkit-hyphens: manual;
    -ms-hyphens: manual;
}

/* Le titre de chaque étape (.aec-step h5) hérite lui aussi de la règle
   ci-dessus : .aec-justify h5 le repasse en aligné à gauche alors que la
   carte est centrée (numéro en pastille, largeur variable selon le texte),
   d'où des titres décalés sur deux lignes. */
.aec-justify .aec-step h5 {
    text-align: center;
}

/* Pages de détail (services, logiciels, métiers) : deux blocs sont centrés
   par construction et le resteraient à moitié si l'on justifiait leur
   paragraphe — titre centré au-dessus, texte justifié en dessous.
   Les cartes « Comment ça marche » portent leur numéro en pastille centrée
   (.aec-step, text-align:center), et l'encart d'appel à l'action passe en
   colonne centrée sous 991px.
   inherit et non une valeur fixe : le paragraphe reprend ainsi l'alignement
   de sa carte, centré pour .aec-step à toute largeur, mais à gauche pour
   .aec-cta-card sur ordinateur où elle reste une rangée horizontale.
   Même spécificité (0,3,1) que les règles ci-dessus, déclarées après :
   l'emportent sans !important. */
.ulockd-service-details .aec-justify .aec-step p,
.ulockd-service-details .aec-justify .aec-cta-card p {
    text-align: inherit;
    hyphens: manual;
}

/* =========================================================
   « AEC EN CHIFFRES » — grille structurée sur téléphone
   Les quatre valeurs sont de natures différentes : trois nombres
   (13, 8, 100%) et un mot long (SYSCOHADA). Affichées à la même
   taille sans délimitation, elles se lisaient comme un bloc
   indistinct. On les pose en cartes de hauteur égale, deux par
   ligne, et on borne la taille du texte pour que le mot long
   tienne dans sa carte au lieu de la déformer.
   ========================================================= */
@media (max-width: 767px) {
    .aec-about-stats .aec-stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-left: 0;
        margin-right: 0;
    }
    /* Sans ceci, le ::before du clearfix Bootstrap occupe la première
       cellule : les quatre valeurs se répartissaient alors sur trois
       lignes, la première poussée en deuxième colonne. */
    .aec-about-stats .aec-stats-row::before,
    .aec-about-stats .aec-stats-row::after {
        content: none;
    }
    /* !important : une règle à ≤575px impose width:50% aux colonnes. */
    .aec-about-stats .aec-stats-row > [class*="col-"] {
        width: 100% !important;
        float: none;
        padding: 0;
        margin: 0;
    }
    .aec-about-stats .aec-stats-row .aec-big-stat {
        height: 100%;
        padding: 16px 10px;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(10, 150, 66, 0.18);
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .aec-about-stats .aec-stats-row .aec-big-stat strong {
        font-size: clamp(20px, 6.5vw, 30px);
        line-height: 1.1;
        margin-bottom: 6px;
    }
    /* Valeurs longues (« SYSCOHADA ») : corps réduit pour tenir sur une
       seule ligne dans une demi-colonne. Sur un écran de 360px, la
       cellule offre 139px utiles ; 4,6vw y place le mot à ~110px.
       La classe est posée au rendu selon la longueur de la valeur. */
    .aec-about-stats .aec-stats-row .aec-big-stat strong.aec-stat-long {
        font-size: clamp(13px, 4.6vw, 22px);
        letter-spacing: -0.2px;
    }
    .aec-about-stats .aec-stats-row .aec-big-stat span {
        font-size: 11px;
        letter-spacing: 0.6px;
        line-height: 1.35;
    }
}

/* =========================================================
   DÉBORDEMENT HORIZONTAL DE 6px SUR TOUTES LES PAGES (≥768px)
   Mesuré au navigateur : scrollWidth 774 pour un écran de 768.
   La barre de navigation imbrique deux .container (layout.ejs:92 et 94).
   Bootstrap donne une largeur fixe au .container — 750px à partir de
   768px — et l'applique aussi à celui de l'intérieur, qui démarre
   pourtant après les 15px de padding du parent : 24 + 750 = 774.
   Le body porte overflow-x:hidden, ce qui masquait le défaut au lieu de
   le signaler. Seul ce cas d'imbrication existe dans les vues.
   ========================================================= */
.main-header-nav .container .container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* =========================================================
   .ulockd-pdng60 — padding sur les quatre côtés (style.css:1421)
   Le retrait des marges latérales doit couvrir toute la plage où le
   .container a une largeur fixe, soit jusqu'à 991px : à 768px, les 60px
   de padding poussaient le .container de 750px à 810px, débordant de
   42px sur /metiers. Au-delà de 991px la largeur disponible suffit.
   ========================================================= */
@media (max-width: 991px) {
    .ulockd-pdng60 { padding: 40px 0; }
}

/* =========================================================
   PAGE « NOS MÉTIERS » SUR TÉLÉPHONE — marges et débordements
   .ulockd-pdng60 (style.css:1421) applique padding:60px sur les
   QUATRE côtés. Sur un écran de 375px, 120px partaient donc en
   marges latérales, auxquelles s'ajoutaient les 15px du .container
   et les 15px des colonnes : ~195px de contenu utile seulement.
   ========================================================= */
@media (max-width: 767px) {

    /* Le .service_box des métiers ne contient aucune icône en position
       absolue, contrairement aux cartes de services de l'accueil : les
       90px de padding gauche du template n'y servaient à rien. Le
       sélecteur cible col-md-7, propre à cette page, pour ne pas
       toucher aux cartes de l'accueil. */
    .our-service .col-md-7 .service_box {
        padding: 22px 16px;
    }
    .our-service .col-md-7 .service_box h4 {
        margin-top: 0;
        font-size: 17px;
    }
    .our-service .service_box ul.list-unstyled {
        line-height: 1.7 !important;  /* neutralise le style inline 2.2 */
        font-size: 14px;
        margin-bottom: 0;
    }

    /* Les libellés longs (intitulés fiscaux, noms de logiciels) sortaient
       de la carte, aucune césure n'étant autorisée. */
    .our-service .service_box,
    .our-service .about-box {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .our-service .about-box .icon {
        font-size: 48px !important;   /* neutralise le style inline 64px */
        margin-bottom: 12px !important;
    }
    .our-service .title-bottom { font-size: 21px; }
}

/* Bouton Langue rapatrié dans le tiroir de menu sur téléphone et tablette.
   Sélecteur en .nav > li.aec-nav-lang et non .aec-nav-lang seul :
   Bootstrap déclare .nav > li { display: block } (spécificité 0,1,1),
   qui l'emporterait sinon sur un simple .aec-nav-lang (0,1,0).
   Seuil aligné sur celui de .header-top ci-dessus : la barre verte qui
   porte ce bouton étant désormais masquée jusqu'à 991px, s'en tenir à
   767px l'aurait fait disparaître entre 768 et 991px. */
.nav > li.aec-nav-lang { display: none; }

@media (max-width: 991px) {
    .nav > li.aec-nav-lang {
        display: block;
        border-top: 1px solid rgba(0,0,0,0.08);
        margin-top: 6px;
    }
    .nav > li.aec-nav-lang > a .fa-globe {
        margin-right: 8px;
        color: #0a9642;
    }
    .nav > li.aec-nav-lang .lang-active {
        font-weight: 600;
        color: #0a9642;
    }
}

/* =========================================================
   SLOGAN DU BANDEAU VERT — devenu un lien
   Le libellé (« Renseignez-vous gratuitement ») invite à une
   action ; il pointe désormais vers la destination réglée dans
   /admin/parametres. La barre étant verte, le lien reste blanc :
   c'est le soulignement au survol qui signale qu'il est cliquable.
   ========================================================= */
.header-top .aec-slogan-link,
.header-top .aec-slogan-link:visited {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 1px;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.header-top .aec-slogan-link:hover,
.header-top .aec-slogan-link:focus {
    color: #fff;
    text-decoration: none;
    border-bottom-color: #efd078;
}

/* =========================================================
   TIROIR DE MENU — LISIBILITÉ SUR TÉLÉPHONE
   Complète la section « TIROIR DE GAUCHE » plus haut, qui pose
   la géométrie du panneau. Ici, ce qui se passe à l'intérieur.
   ========================================================= */
@media (max-width: 992px) {

    /* L'en-tête reste visible pendant le défilement : avec neuf logiciels
       et sept services dépliés, la liste dépasse largement la hauteur de
       l'écran et le bouton de fermeture sortait du champ. */
    .aec-nav-drawer-head {
        position: sticky;
        top: 0;
        z-index: 2;
    }

    /* Sous-titres des logiciels (« — Gestion des régules », etc.) : utiles
       dans la barre horizontale du bureau, ils doublent la hauteur de chaque
       entrée dans un tiroir de 320px et noient le nom du produit. */
    nav.navbar.bootsnav .navbar-collapse ul.dropdown-menu small { display: none; }

    /* Chevron des entrées dépliantes : orienté vers le bas au repos,
       retourné quand le sous-menu est ouvert. bootsnav pose la classe
       « on » sur le <li> au moment du dépliage. */
    nav.navbar.bootsnav li.dropdown.on > a.dropdown-toggle:before {
        transform: rotate(180deg);
        display: inline-block;
    }
    nav.navbar.bootsnav li.dropdown.on > a.dropdown-toggle {
        color: #0a9642;
        background: rgba(10, 150, 66, 0.05);
    }

    /* Sous-menu long (logiciels, services) : plafonné et défilant sur place,
       pour que la liste de premier niveau ne soit pas repoussée hors écran. */
    nav.navbar.bootsnav .navbar-collapse ul.dropdown-menu {
        max-height: 46vh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Action principale du pied de tiroir : appeler. */
    .aec-nav-cta {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 12px !important;
        padding: 12px 14px;
        border-radius: 8px;
        background: linear-gradient(135deg, #0a9642, #0c7d38);
        color: #fff !important;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 0.3px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(10, 150, 66, 0.28);
    }
    .aec-nav-cta:hover,
    .aec-nav-cta:focus { color: #fff !important; text-decoration: none; }
    .aec-nav-cta i { color: #fff !important; width: auto; }
}

/* =========================================================
   PIED DE PAGE — COMPACITÉ ET REPLI SUR TÉLÉPHONE
   Empilées, les trois colonnes donnaient un pied de page de
   plus d'un écran et demi : logo, présentation, réseaux,
   adresse, téléphone, e-mail, puis deux actualités avec leur
   pastille d'année, avant le copyright.
   Deux mesures : un rythme resserré (rembourrages, tailles),
   et le repli des colonnes 2 et 3 derrière leur titre, devenu
   un bouton. Le repli est posé par aec-dynamic.js ; sans
   JavaScript, tout reste déplié et lisible.
   ========================================================= */
@media (max-width: 767px) {
    .aec-footer { padding-top: 32px; }
    .aec-footer-grid { padding-bottom: 18px; }
    .aec-footer-col { margin-bottom: 14px; }
    .aec-footer-logo { max-width: 128px; margin-bottom: 12px; padding: 8px 10px; }
    .aec-footer-about { font-size: 12.5px; line-height: 1.55; margin-bottom: 0; }
    .aec-footer-social { margin-top: 14px; gap: 10px; }
    .aec-footer-social a { width: 34px; height: 34px; }

    /* Titre repliable : la zone de frappe couvre toute la largeur, et le
       chevron indique l'état. Le trait doré sous le titre disparaît — il
       marquait une colonne, pas une ligne d'accordéon. */
    .aec-footer-title[data-aec-footer-toggle] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        margin: 0;
        padding: 13px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.09);
        border-left: 0; border-right: 0; border-bottom: 0;
        background: none;
        color: #fff;
        text-align: left;
        cursor: pointer;
    }
    .aec-footer-title[data-aec-footer-toggle]::after { display: none; }
    .aec-footer-title[data-aec-footer-toggle]::before {
        content: "\f107";              /* chevron bas (FontAwesome 4) */
        font-family: FontAwesome;
        font-size: 15px;
        font-weight: 400;
        color: #efd078;
        transition: transform 0.2s ease;
        order: 2;
    }
    .aec-footer-title[aria-expanded="true"]::before { transform: rotate(180deg); }

    /* Le panneau n'est replié que si le script a pu poser l'attribut :
       sans JavaScript, [hidden] n'apparaît jamais et le contenu reste là. */
    .aec-footer-panel[hidden] { display: none; }
    .aec-footer-panel { padding: 4px 0 12px; }

    .aec-footer-contact li { margin-bottom: 11px; }
    .aec-footer-news li { margin-bottom: 11px; }
    .aec-footer-news-year { min-width: 42px; height: 42px; font-size: 12px; }

    .aec-footer-bottom { padding: 14px 0; }
    .aec-footer-bottom p { font-size: 11.5px; line-height: 1.5; }
}
