/* ===========================================================================
   Page « Les recommandations d'EXPOBETON au Forum économique Angola–RDC »
   Feuille dédiée à forum-angola-rdc.php, préfixée .far- pour n'interférer
   avec aucune règle du thème.
   Charte reprise de css/expobeton-custom.css : police Archivo, bleu
   #112bb5, marine #0a1a6b, rouge #c22439, or #fdbd1b, bleu clair #3da8e0.
   Responsive : 1 colonne < 576 px, 2 colonnes dès 576 px, 3 dès 992 px,
   4 dès 1200 px pour les grilles de cartes.
   =========================================================================== */

:root {
    --far-bleu: #112bb5;
    --far-marine: #0a1a6b;
    --far-ciel: #3da8e0;
    --far-rouge: #c22439;
    --far-or: #fdbd1b;
    --far-encre: #1a1a2e;
    --far-gris: #5a5f77;
    --far-fond: #f5f7fb;
    --far-fond2: #eaf0fb;
}

/* ------------------------------------------------------------------ hero */
.far-hero {
    background: linear-gradient(135deg, var(--far-marine) 0%, #101a4e 45%, var(--far-bleu) 100%);
    color: #fff;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

/* Motif discret : bandes obliques, clin d'œil au losange du logo */
.far-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 420px;
    height: 420px;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 10px, transparent 10px 22px);
    transform: rotate(45deg);
    pointer-events: none;
}

.far-fil a {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    text-decoration: none;
    letter-spacing: .4px;
}

.far-fil a:hover {
    color: #fff;
}

.far-fil .far-fil-point {
    color: rgba(255, 255, 255, .45);
    margin: 0 8px;
    font-size: 13px;
}

.far-fil .far-fil-actuel {
    color: var(--far-or);
    font-size: 13px;
    letter-spacing: .4px;
}

.far-sourcil {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--far-or);
    margin: 22px 0 14px;
}

.far-titre {
    font-family: 'Archivo', sans-serif;
    color: #fff !important;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 800;
    margin: 0 0 16px;
    max-width: 900px;
}

.far-soustitre {
    color: rgba(255, 255, 255, .86) !important;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 34px;
    max-width: 780px;
}

/* Trois repères clés, empilés sur mobile */
.far-reperes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    position: relative;
    z-index: 1;
}

.far-repere {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-left: 3px solid var(--far-or);
    border-radius: 6px;
    padding: 14px 18px;
}

.far-repere dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
    margin-bottom: 5px;
}

.far-repere dd {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

/* -------------------------------------------------------------- sommaire */
.far-sommaire {
    background: #fff;
    padding: 56px 0 20px;
}

.far-sommaire-grille {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.far-sommaire-grille li {
    display: flex;
}

.far-sommaire-grille a {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--far-fond);
    border: 1px solid #e3e8f4;
    border-radius: 8px;
    padding: 15px 16px;
    text-decoration: none;
    color: var(--far-encre);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.far-sommaire-grille a:hover {
    transform: translateY(-3px);
    border-color: var(--far-bleu);
    box-shadow: 0 12px 26px rgba(17, 43, 181, .14);
    color: var(--far-bleu);
}

.far-sommaire-num {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--far-bleu);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

/* --------------------------------------------------------------- sections */
.far-section {
    padding: 60px 0;
}

.far-section--alt {
    background: var(--far-fond);
}

.far-entete {
    margin-bottom: 34px;
}

.far-numero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--far-rouge);
    margin-bottom: 10px;
}

.far-numero::before {
    content: "";
    width: 34px;
    height: 3px;
    background: var(--far-rouge);
    display: inline-block;
}

.far-section h2 {
    font-family: 'Archivo', sans-serif;
    color: var(--far-bleu);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 14px;
}

.far-section h3 {
    font-family: 'Archivo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--far-encre);
    margin: 0 0 18px;
    padding-left: 14px;
    border-left: 4px solid var(--far-bleu);
    line-height: 1.3;
}

.far-chapeau {
    font-size: 16px;
    line-height: 1.8;
    color: var(--far-gris);
    max-width: 860px;
    margin: 0 0 26px;
}

.far-chapeau strong {
    color: var(--far-encre);
}

/* bandeau chiffres clés */
.far-stats {
    background: var(--far-marine);
    border-radius: 10px;
    padding: 30px 18px;
    margin: 34px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

.far-stat {
    text-align: center;
    padding: 6px 12px;
    border-right: 1px solid rgba(255, 255, 255, .16);
}

.far-stat:last-child {
    border-right: 0;
}

.far-stat b {
    display: block;
    font-size: 38px;
    font-weight: 800;
    color: var(--far-ciel);
    line-height: 1.1;
    letter-spacing: -.5px;
}

.far-stat span {
    display: block;
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    margin-top: 6px;
    line-height: 1.4;
}

/* citation « mission » */
.far-mission {
    background: #fff;
    border: 1px solid #e3e8f4;
    border-left: 5px solid var(--far-bleu);
    border-radius: 8px;
    padding: 28px 30px;
    margin-top: 34px;
    box-shadow: 0 10px 30px rgba(16, 26, 78, .06);
}

.far-mission p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--far-encre);
    font-style: italic;
    margin: 0;
}

/* ------------------------------------------------------------- les cartes */
.far-grille {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .far-grille {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .far-grille {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .far-grille--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* carte recommandation numérotée */
.far-carte {
    background: #fff;
    border: 1px solid #e3e8f4;
    border-radius: 8px;
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.far-carte:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(16, 26, 78, .12);
}

.far-carte-num {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: #c9cfdd;
    letter-spacing: -1px;
}

.far-carte-barre {
    width: 46px;
    height: 4px;
    background: var(--far-ciel);
    border-radius: 2px;
    margin: 10px 0 14px;
}

.far-carte p {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--far-encre);
    margin: 0;
}

/* infrastructures prioritaires : damier bleu / marine comme la brochure */
.far-infra {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .far-infra {
        grid-template-columns: repeat(2, 1fr);
    }
}

.far-infra-item {
    border-radius: 8px;
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #fff;
}

.far-infra-item:nth-child(odd) {
    background: var(--far-ciel);
}

.far-infra-item:nth-child(even) {
    background: var(--far-marine);
}

.far-infra-item b {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    opacity: .85;
    flex: 0 0 auto;
}

.far-infra-texte strong {
    display: block;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 4px;
}

.far-infra-texte span {
    display: block;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .82);
}

/* listes à puces */
.far-liste {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}

.far-liste li {
    position: relative;
    padding: 9px 0 9px 30px;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--far-gris);
    border-bottom: 1px dashed #e3e8f4;
}

.far-liste li:last-child {
    border-bottom: 0;
}

.far-liste li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 17px;
    width: 9px;
    height: 9px;
    background: var(--far-bleu);
    transform: rotate(45deg);
}

.far-liste li strong {
    color: var(--far-encre);
}

/* cartes mesures économiques */
.far-mesure {
    background: var(--far-marine);
    border-radius: 8px;
    padding: 24px 22px;
    color: #fff;
}

.far-mesure h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--far-or);
    margin: 0 0 10px;
}

.far-mesure p {
    color: rgba(255, 255, 255, .92);
    font-size: 15.5px;
    line-height: 1.65;
    margin: 0;
}

/* encadré « triangle de l'avenir » */
.far-triangle {
    background: linear-gradient(120deg, var(--far-fond2) 0%, #fff 100%);
    border: 1px solid #dbe3f6;
    border-radius: 10px;
    padding: 28px 30px;
    margin-top: 30px;
}

.far-triangle-axe {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .6px;
    color: var(--far-bleu);
    text-transform: uppercase;
    margin: 0 0 12px;
}

.far-triangle p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--far-gris);
    margin: 0;
}

/* --------------------------------------------------------------- tableau */
.far-table-wrap {
    background: #fff;
    border: 1px solid #e3e8f4;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 34px;
}

.far-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15.5px;
}

.far-table caption {
    text-align: left;
    padding: 16px 18px 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--far-gris);
    caption-side: top;
    border-bottom: 1px solid #eef1f8;
    background: #fff;
}

.far-table thead th {
    background: var(--far-bleu);
    color: #fff;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .4px;
    padding: 14px 18px;
}

.far-table tbody td {
    padding: 15px 18px;
    border-top: 1px solid #eef1f8;
    color: var(--far-gris);
    vertical-align: top;
}

.far-table tbody tr:nth-child(even) {
    background: var(--far-fond);
}

.far-table tbody td:first-child {
    font-weight: 800;
    color: var(--far-bleu);
    white-space: nowrap;
}

/* version empilée sous 768 px : chaque ligne devient une fiche */
@media (max-width: 767px) {
    .far-table thead {
        display: none;
    }

    .far-table,
    .far-table tbody,
    .far-table tr,
    .far-table td {
        display: block;
        width: 100%;
    }

    .far-table tr {
        padding: 12px 16px;
        border-top: 1px solid #eef1f8;
    }

    .far-table tbody td {
        border: 0;
        padding: 3px 0;
        white-space: normal;
    }

    .far-table tbody td:first-child {
        font-size: 20px;
    }

    .far-table tbody td::before {
        content: attr(data-etiquette);
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: var(--far-gris);
        margin-bottom: 2px;
    }

    .far-table tbody td:first-child::before {
        display: none;
    }
}

/* statut actuel : encadré d'avertissement neutre */
.far-statut {
    background: #fff8e6;
    border: 1px solid #f3df9f;
    border-left: 5px solid var(--far-or);
    border-radius: 8px;
    padding: 26px 28px;
}

.far-statut h3 {
    border: 0;
    padding: 0;
    margin-bottom: 10px;
    color: var(--far-marine);
}

.far-statut p {
    font-size: 16px;
    line-height: 1.8;
    color: #5d4f24;
    margin: 0;
}

/* ------------------------------------------------------ barre d'actions */
.far-actions {
    padding: 0 0 70px;
    background: var(--far-fond);
}

.far-actions-boite {
    background: #fff;
    border: 1px solid #e3e8f4;
    border-radius: 10px;
    padding: 26px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.far-actions-boite p {
    margin: 0;
    font-size: 15.5px;
    color: var(--far-gris);
    max-width: 620px;
}

.far-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.far-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--far-bleu);
    color: #fff !important;
    border-radius: 30px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.far-btn:hover {
    background: var(--far-marine);
    transform: translateY(-2px);
    color: #fff;
}

.far-btn--secondaire {
    background: #fff;
    color: var(--far-bleu) !important;
    border: 1px solid var(--far-bleu);
}

.far-btn--secondaire:hover {
    background: var(--far-fond2);
    color: var(--far-bleu) !important;
}

/* ---------------------------------------------------------------- global */
.far-main {
    display: block;
}

/* Le thème masque les .wow tant que WOW.js n'a pas animé : on garde son
   fonctionnement, mais sans JS les blocs doivent rester lisibles. */
.no-js .far-section .wow {
    visibility: visible !important;
    animation: none !important;
}

@media (max-width: 575px) {
    .far-hero {
        padding: 46px 0 44px;
    }

    .far-titre {
        font-size: 26px;
    }

    .far-soustitre {
        font-size: 15.5px;
    }

    .far-section {
        padding: 44px 0;
    }

    .far-section h2 {
        font-size: 23px;
    }

    .far-stat {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
        padding-bottom: 14px;
        margin-bottom: 14px;
    }

    .far-stat:last-child {
        border-bottom: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .far-stat b {
        font-size: 32px;
    }

    .far-mission,
    .far-triangle,
    .far-statut {
        padding: 22px 20px;
    }
}
