/* =========================================================
   Holding ACS — thème du site public
   Couleurs reprises de la maquette d'origine :
   bleu marine #091E3E / #061429, bleu titre #031257,
   dégradé de marque #43ace2 → #2c4293, vert #1F9982.
   ========================================================= */

:root {
    --acs-navy: #091E3E;
    --acs-navy-900: #061429;
    --acs-ink: #031257;
    --acs-blue: #2277bf;
    --acs-blue-light: #43ace2;
    --acs-blue-dark: #2c4293;
    --acs-teal: #1F9982;
    --acs-teal-dark: #17806d;
    --acs-brand-gradient: linear-gradient(to right top, #43ace2, #2d92d2, #2277bf, #245dab, #2c4293);

    --acs-bg: #f4f6f9;
    --acs-surface: #ffffff;
    --acs-border: #e1e6ee;
    --acs-text: #1d2433;
    --acs-muted: #5d6778;

    --acs-radius: 8px;
    --acs-radius-sm: 6px;
    --acs-shadow: 0 1px 2px rgba(9, 30, 62, .06), 0 4px 14px rgba(9, 30, 62, .06);
    --acs-header-h: 52px;

    --acs-font: "Cairo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --acs-font-ar: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;

    --bs-primary: #2277bf;
    --bs-primary-rgb: 34, 119, 191;
    --bs-link-color: #2277bf;
    --bs-link-color-rgb: 34, 119, 191;
    --bs-link-hover-color: #031257;
    --bs-link-hover-color-rgb: 3, 18, 87;
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--acs-header-h) + 16px); }
body.acs {
    font-family: var(--acs-font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--acs-text);
    background: var(--acs-surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.is-rtl { font-family: var(--acs-font-ar); }
h1, h2, h3, h4, h5, h6 { color: var(--acs-ink); font-weight: 700; line-height: 1.3; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
a:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--acs-blue-light); outline-offset: 2px; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: var(--acs-radius-sm); }

/* ---------- Boutons ---------- */
.btn { font-weight: 500; border-radius: var(--acs-radius-sm); padding: .6rem 1.25rem; }
.btn-acs { background: var(--acs-blue); border: 1px solid var(--acs-blue); color: #fff; }
.btn-acs:hover, .btn-acs:focus { background: var(--acs-blue-dark); border-color: var(--acs-blue-dark); color: #fff; }
.btn-acs-teal { background: var(--acs-teal); border: 1px solid var(--acs-teal); color: #fff; }
.btn-acs-teal:hover, .btn-acs-teal:focus { background: var(--acs-teal-dark); border-color: var(--acs-teal-dark); color: #fff; }
.btn-acs-outline { background: transparent; border: 1px solid var(--acs-blue); color: var(--acs-blue); }
.btn-acs-outline:hover { background: var(--acs-blue); color: #fff; }
.btn-acs-light { background: #fff; border: 1px solid #fff; color: var(--acs-navy); }
.btn-acs-light:hover { background: transparent; color: #fff; }

.link-more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--acs-blue); }
.link-more i { font-size: .8em; transition: transform .2s; }
.link-more:hover { color: var(--acs-ink); }
.link-more:hover i { transform: translateX(3px); }
.is-rtl .link-more i { transform: scaleX(-1); }
.is-rtl .link-more:hover i { transform: scaleX(-1) translateX(3px); }

/* ---------- Barre supérieure ---------- */
.acs-topbar { background: var(--acs-navy); color: rgba(255,255,255,.82); font-size: .84rem; }
.acs-topbar .container-xxl { min-height: 42px; }
.acs-topbar__info { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; }
.acs-topbar__info li { display: flex; align-items: center; gap: .5rem; }
.acs-topbar__info i { color: var(--acs-blue-light); font-size: .8rem; }
.acs-topbar a { color: inherit; }
.acs-topbar a:hover { color: #fff; }

.acs-social { display: flex; gap: .5rem; }
.acs-social a {
    width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; font-size: .85rem;
    transition: background .2s, border-color .2s;
}
.acs-social a:hover { background: var(--acs-blue); border-color: var(--acs-blue); color: #fff; }
.acs-social--dark a { border-color: var(--acs-border); color: var(--acs-navy); }
.acs-social--dark a:hover { color: #fff; }

/* ---------- En-tête : identité (logo + nom) ---------- */
.acs-masthead { background: #fff; border-bottom: 1px solid var(--acs-border); position: relative; z-index: 1031; }
.acs-masthead > .container-xxl { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 96px; }
.acs-brand { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.acs-brand__logo { height: 72px; width: auto; flex-shrink: 0; }
.acs-brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.acs-brand__sub { color: var(--acs-ink); font-weight: 700; font-size: 1.05rem; }
.is-ltr .acs-brand__sub { font-family: var(--acs-font); font-size: .95rem; letter-spacing: .01em; }
.acs-brand__name {
    font-family: var(--acs-font); font-weight: 800; font-size: 1.6rem; letter-spacing: .02em; white-space: nowrap;
    background: var(--acs-brand-gradient); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--acs-blue);
}
.acs-masthead .dropdown-menu { border: 1px solid var(--acs-border); box-shadow: 0 12px 28px rgba(9, 30, 62, .12); font-size: .93rem; }
.acs-masthead .dropdown-item.active, .acs-masthead .dropdown-item:active { background: var(--acs-blue); color: #fff; }

/* ---------- Barre de navigation (bleu marine) ---------- */
.acs-header { z-index: 1030; transition: box-shadow .2s; }
.acs-navbar { background: var(--acs-navy); }
.acs-masthead.is-scrolled { box-shadow: 0 2px 12px rgba(9, 30, 62, .1); }
.acs-header.is-scrolled { box-shadow: 0 4px 14px rgba(9, 30, 62, .25); }
.acs-header .navbar { padding: 0; min-height: 52px; }
.acs-header .navbar > .container-xxl { flex-wrap: nowrap; }

.acs-menu { gap: .1rem; align-items: stretch; width: 100%; }
.acs-menu > .nav-item { display: flex; }
.acs-menu > .nav-item > .nav-link {
    position: relative; display: flex; align-items: center; gap: .3rem;
    padding: 0 .95rem; min-height: 52px;
    font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.88); white-space: nowrap; transition: background .2s, color .2s;
}
.is-rtl .acs-menu > .nav-item > .nav-link { font-size: 1rem; font-weight: 600; }
.acs-menu > .nav-item > .nav-link::after { border-top-width: .3em; margin-inline-start: .15rem; }
.acs-menu > .nav-item > .nav-link::before {
    content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px;
    background: var(--acs-teal); transform: scaleX(0); transition: transform .25s ease;
}
.acs-menu > .nav-item > .nav-link:hover,
.acs-menu > .nav-item > .nav-link.show,
.acs-menu > .nav-item > .nav-link.active { color: #fff; background: rgba(255,255,255,.08); }
.acs-menu > .nav-item > .nav-link:hover::before,
.acs-menu > .nav-item > .nav-link.show::before,
.acs-menu > .nav-item > .nav-link.active::before { transform: scaleX(1); }

/* Animation d'ouverture des menus : fondu + léger glissement */
@media (min-width: 1200px) {
    .acs-menu .dropdown-menu {
        display: block; opacity: 0; visibility: hidden; pointer-events: none;
        transform: translateY(12px);
        transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    }
    .acs-menu .dropdown-menu.show {
        opacity: 1; visibility: visible; pointer-events: auto; transform: none;
        transition: opacity .25s ease, transform .25s ease, visibility 0s;
    }
}

.acs-header .dropdown-menu {
    border: 1px solid var(--acs-border); border-radius: 0 0 var(--acs-radius) var(--acs-radius);
    box-shadow: 0 12px 28px rgba(9, 30, 62, .12); padding: .4rem 0; margin-top: 0; min-width: 240px;
    font-size: .93rem;
}
.acs-header .dropdown-item { padding: .55rem 1.1rem; color: var(--acs-text); white-space: normal; }
.acs-header .dropdown-item:hover, .acs-header .dropdown-item:focus { background: #eef4fb; color: var(--acs-blue); }
.acs-header .dropdown-item.active, .acs-header .dropdown-item:active { background: var(--acs-blue); color: #fff; }

/* Méga-menu Filières */
.acs-header .acs-mega {
    width: 100%; inset-inline: 0; border-radius: 0; border-inline: 0; padding: 1.5rem 0 1.75rem;
    background: #eef3f9; border-top: 3px solid var(--acs-teal);
}
.acs-mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.acs-mega__col { background: #fff; border: 1px solid #dde5ef; border-radius: var(--acs-radius); padding: .85rem .9rem .95rem; }
.acs-mega__title {
    display: flex; align-items: center; gap: .5rem; margin-bottom: .65rem;
    font-weight: 700; color: var(--acs-ink); font-size: .9rem; line-height: 1.35;
}
.acs-mega__title::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--acs-teal); flex-shrink: 0; }
.acs-mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.acs-mega__item {
    display: flex; flex-direction: column; align-items: center; gap: .4rem; height: 100%; padding: .55rem .4rem;
    border: 1px solid transparent; border-radius: var(--acs-radius-sm); text-align: center;
    color: var(--acs-text); font-size: .85rem; font-weight: 500; transition: background .15s, color .15s, border-color .15s;
}
.acs-mega__item:hover, .acs-mega__item:focus { background: #eef3f9; border-color: #d6e1ee; color: var(--acs-blue); }
.acs-mega__logo {
    width: 72px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
    padding: .3rem; background: #fff; border: 1px solid var(--acs-border); border-radius: 4px;
}
.acs-mega__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.acs-mega__name { line-height: 1.3; }
.acs-menu .nav-link:focus:not(:focus-visible) { outline: none; }

/* Position explicite : le menu s'ouvre toujours sous la barre de navigation */
.acs-menu .dropdown-menu { top: 100%; margin-top: 0; }
.acs-menu .dropdown-menu:not(.acs-mega) { inset-inline-start: 0; inset-inline-end: auto; }
.acs-menu .acs-mega { top: 100%; left: 0; right: 0; }
.acs-header .navbar { position: relative; }

.acs-header__tools { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.acs-lang {
    display: inline-flex; align-items: center; gap: .45rem; height: 38px; padding: 0 .75rem;
    background: #fff; border: 1px solid var(--acs-border); border-radius: var(--acs-radius-sm);
    font-size: .88rem; font-weight: 500; color: var(--acs-text);
}
.acs-lang:hover { border-color: var(--acs-blue); color: var(--acs-blue); }
.acs-lang .fa-chevron-down { font-size: .65rem; opacity: .6; }
.acs-lang .fi { border-radius: 2px; }
.acs-burger {
    width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--acs-navy); color: #fff; border: 0; border-radius: var(--acs-radius-sm); font-size: 1.1rem;
}

/* ---------- Menu mobile ---------- */
.acs-offcanvas { width: min(340px, 88vw); }
.acs-offcanvas .offcanvas-header { border-bottom: 1px solid var(--acs-border); }
.acs-offcanvas .acs-brand__logo { height: 44px; }
.acs-offcanvas .acs-brand__name { font-size: 1.2rem; }
.acs-mnav { margin: 0 -1rem; }
.acs-mnav > li { border-bottom: 1px solid var(--acs-border); }
.acs-mnav__link {
    display: flex; width: 100%; align-items: center; justify-content: space-between;
    padding: .85rem 1rem; background: none; border: 0; text-align: start;
    font-weight: 600; font-size: 1rem; color: var(--acs-text);
}
.acs-mnav__link.active, .acs-mnav__link:hover { color: var(--acs-blue); }
.acs-mnav__toggle i { font-size: .75rem; transition: transform .2s; }
.acs-mnav__toggle:not(.collapsed) i { transform: rotate(180deg); }
.acs-mnav__sub { background: var(--acs-bg); padding: .35rem 0 .6rem; }
.acs-mnav__sub a { display: block; padding: .45rem 1.75rem; color: var(--acs-muted); font-size: .95rem; }
.acs-mnav__sub a:hover { color: var(--acs-blue); }
.acs-mnav__group { margin: .6rem 1.25rem .15rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--acs-teal); }
.acs-mnav__langs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.acs-mnav__langs a {
    display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem;
    border: 1px solid var(--acs-border); border-radius: var(--acs-radius-sm); color: var(--acs-text); font-size: .88rem;
}
.acs-mnav__langs a.active { border-color: var(--acs-blue); color: var(--acs-blue); background: #eef4fb; }
.acs-mnav__contact li { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-size: .92rem; }
.acs-mnav__contact i { color: var(--acs-teal); width: 16px; }
.acs-mnav__contact a { color: var(--acs-text); }

/* ---------- Sections génériques ---------- */
.acs-section { padding: 4.5rem 0; }
.acs-section--tight { padding: 3rem 0; }
.acs-section--alt { background: var(--acs-bg); }
.section-head { max-width: 760px; margin-bottom: 2.25rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .6rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acs-teal);
}
.is-rtl .section-eyebrow { letter-spacing: 0; font-size: .9rem; }
.section-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--acs-teal); }
.section-head--center .section-eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--acs-teal); }
.section-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.15rem); margin-bottom: .6rem; }
.section-lead { color: var(--acs-muted); font-size: 1.05rem; margin: 0; }
.section-foot { margin-top: 2.25rem; text-align: center; }

/* ---------- Bandeau de page intérieure ---------- */
.page-hero { position: relative; background: var(--acs-navy); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,30,62,.92) 0%, rgba(9,30,62,.55) 100%); }
.is-rtl .page-hero::after { background: linear-gradient(270deg, rgba(9,30,62,.92) 0%, rgba(9,30,62,.55) 100%); }
.page-hero .container-xxl { position: relative; z-index: 1; padding-top: 3.25rem; padding-bottom: 3.25rem; }
.page-hero__title { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); margin: 0; max-width: 900px; }
.page-hero__sub { color: rgba(255,255,255,.8); margin: .6rem 0 0; max-width: 760px; }
.page-hero .breadcrumb { margin-bottom: .75rem; font-size: .88rem; --bs-breadcrumb-divider-color: rgba(255,255,255,.5); --bs-breadcrumb-item-active-color: rgba(255,255,255,.85); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.75); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero__bar { position: absolute; inset-inline-start: 0; bottom: 0; z-index: 1; width: 120px; height: 4px; background: var(--acs-teal); }

/* ---------- Texte riche (contenu Voyager / TinyMCE / Word) ---------- */
.rich-text { color: var(--acs-text); font-size: 1.02rem; line-height: 1.85; overflow-wrap: anywhere; }
.rich-text p, .rich-text li, .rich-text span, .rich-text font, .rich-text div {
    font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; background: transparent !important;
}
.rich-text p { margin-bottom: 1rem; text-align: justify; }
.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4 { font-size: 1.2rem; margin: 1.5rem 0 .75rem; font-family: inherit !important; }
.rich-text ul, .rich-text ol { padding-inline-start: 1.3rem; margin-bottom: 1rem; }
.rich-text ul li { list-style: disc; }
.rich-text li { margin-bottom: .35rem; }
.rich-text img { border-radius: var(--acs-radius); height: auto !important; }
.rich-text table { width: 100% !important; display: block; overflow-x: auto; border-collapse: collapse; margin-bottom: 1rem; }
.rich-text td, .rich-text th { border: 1px solid var(--acs-border); padding: .5rem .75rem; }
.rich-text a { text-decoration: underline; }
.rich-text > :last-child { margin-bottom: 0; }
.MsoNormal { background: none !important; }

/* ---------- Mise en page texte + image ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split__media { position: sticky; top: calc(var(--acs-header-h) + 1.5rem); }
.figure-acs { margin: 0; }
.figure-acs img { width: 100%; border-radius: var(--acs-radius); display: block; background: var(--acs-bg); }
.figure-acs figcaption { margin-top: .75rem; font-size: .92rem; color: var(--acs-muted); text-align: center; }
.doc-title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--acs-border); }
.meta-line { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--acs-muted); font-size: .9rem; margin-bottom: 1.25rem; }
.meta-line i { color: var(--acs-teal); margin-inline-end: .35rem; }

/* ---------- Accueil : hero ---------- */
.home-hero { position: relative; background: var(--acs-navy); }
.home-hero .carousel-item { background: var(--acs-navy); }
.hero-slide { --hero-cut: 90px; display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); min-height: 520px; }
.hero-slide__media { position: relative; overflow: hidden; background: #0d2447; }
.hero-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Panneau texte : coupe en biais sur la photo + liseré vert le long de la coupe */
.hero-slide__panel {
    position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center;
    margin-inline-start: calc(var(--hero-cut) * -1);
    padding: 3rem 3rem 4.5rem; padding-inline-start: calc(var(--hero-cut) + 1.75rem);
    color: #fff; background: var(--acs-teal);
    clip-path: polygon(var(--hero-cut) 0, 100% 0, 100% 100%, 0 100%);
}
.is-rtl .hero-slide__panel { clip-path: polygon(0 0, calc(100% - var(--hero-cut)) 0, 100% 100%, 0 100%); }
.hero-slide__panel::before {
    content: ""; position: absolute; inset: 0;
    /* Dégradé bleu marine → vert du logo, posé sur l'image de fond du slider */
    background:
        linear-gradient(165deg, rgba(9, 30, 62, .9) 0%, rgba(12, 62, 86, .84) 40%, rgba(22, 118, 110, .82) 72%, rgba(31, 153, 130, .88) 100%),
        var(--hero-bg, none) center / cover no-repeat, var(--acs-navy);
    /* décalé de 6px : laisse apparaître un liseré vert le long de la coupe */
    clip-path: polygon(calc(var(--hero-cut) + 6px) 0, 100% 0, 100% 100%, 6px 100%);
}
.is-rtl .hero-slide__panel::before { clip-path: polygon(0 0, calc(100% - var(--hero-cut) - 6px) 0, calc(100% - 6px) 100%, 0 100%); }
.hero-slide__panel > * { position: relative; }
.hero-badge {
    align-self: flex-start; display: inline-block; margin-bottom: 1.1rem; padding: .3rem .85rem;
    background: var(--acs-teal); color: #fff; font-size: .85rem; font-weight: 600; border-radius: 4px;
}
.hero-slide__title { color: #fff; font-size: clamp(1.3rem, 1rem + 1.1vw, 1.95rem); line-height: 1.35; margin-bottom: 1rem; }
.hero-slide__text { color: rgba(255,255,255,.82); margin-bottom: 1.5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-slide__date { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1.25rem; }
.hero-slide__date i { margin-inline-end: .4rem; }
.hero-slide--full { display: block; position: relative; min-height: 520px; }
.hero-slide--full .hero-slide__media { position: absolute; inset: 0; }
.hero-slide--full .hero-slide__panel { background: linear-gradient(0deg, rgba(9,30,62,.85), rgba(9,30,62,.1)); min-height: 520px; justify-content: flex-end; margin: 0; padding: 3rem 3.5rem 4.5rem; clip-path: none; }
.hero-slide--full .hero-slide__panel::before { display: none; }
.home-hero .carousel-indicators { margin-bottom: 1.5rem; justify-content: flex-end; margin-inline: 3.5rem; }
.home-hero .carousel-indicators [data-bs-target] { width: 28px; height: 3px; border: 0; background: #fff; opacity: .4; }
.home-hero .carousel-indicators .active { opacity: 1; background: var(--acs-teal); }
.hero-ctrl { display: flex; gap: .5rem; position: absolute; bottom: 1.25rem; inset-inline-start: 1.25rem; z-index: 3; }
.hero-ctrl button {
    width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--acs-navy);
    display: inline-flex; align-items: center; justify-content: center;
}
.hero-ctrl button:hover { background: #fff; }
.is-rtl .hero-ctrl i { transform: scaleX(-1); }

/* ---------- Accueil : logos des filiales ---------- */
.logo-strip { background: linear-gradient(180deg, #fff 0%, #f5f8fb 100%); border-bottom: 1px solid var(--acs-border); padding: 1.4rem 0; }
.logo-strip__inner { display: flex; align-items: center; gap: 1.5rem; }
.logo-strip__label {
    flex-shrink: 0; display: flex; align-items: center; gap: .75rem; padding-inline-end: 1.5rem;
    border-inline-end: 2px solid var(--acs-border);
}
.logo-strip__num {
    width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px;
    background: linear-gradient(135deg, var(--acs-blue), var(--acs-teal)); color: #fff; font-weight: 800; font-size: 1.35rem;
    box-shadow: 0 8px 18px rgba(31,153,130,.25);
}
.logo-strip__text { color: var(--acs-ink); font-weight: 700; font-size: 1.05rem; line-height: 1.25; max-width: 7.5rem; }

/* Défilement continu, pause au survol, bords estompés */
.logo-marquee {
    position: relative; flex: 1; min-width: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-marquee__track { display: flex; gap: 1rem; width: max-content; padding: .5rem 0; animation: logo-scroll var(--marquee-duration, 40s) linear infinite; }
.is-rtl .logo-marquee__track { animation-name: logo-scroll-rtl; }
.logo-marquee:hover .logo-marquee__track, .logo-marquee:focus-within .logo-marquee__track { animation-play-state: paused; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - .5rem)); } }
@keyframes logo-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(calc(50% + .5rem)); } }

.logo-strip__item {
    position: relative; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
    width: 150px; height: 104px; padding: .8rem .8rem .55rem;
    background: #fff; border: 1px solid var(--acs-border); border-radius: 14px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.logo-strip__item img { height: 52px; max-width: 110px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s ease, opacity .3s ease, transform .3s ease; }
.logo-strip__name { font-size: .75rem; font-weight: 700; color: var(--acs-muted); letter-spacing: .02em; white-space: nowrap; transition: color .3s ease; }
.logo-strip__item::after {
    content: ""; position: absolute; inset-inline: 22%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0;
    background: var(--acs-teal); transform: scaleX(0); transition: transform .3s ease;
}
.logo-strip__item:hover, .logo-strip__item:focus-visible { transform: translateY(-4px); border-color: rgba(31,153,130,.45); box-shadow: 0 12px 24px rgba(9,30,62,.1); }
.logo-strip__item:hover img, .logo-strip__item:focus-visible img { filter: none; opacity: 1; transform: scale(1.06); }
.logo-strip__item:hover .logo-strip__name { color: var(--acs-teal); }
.logo-strip__item:hover::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
    .logo-marquee__track { animation-duration: calc(var(--marquee-duration, 40s) * 3); }
}

/* ---------- Accueil : présentation + vidéo ---------- */
.about-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.about-home__text { font-size: 1.05rem; }
.about-home__lead { color: var(--acs-text); line-height: 1.9; margin: 0; }

/* Section « À propos » de l'accueil : fond dégradé doux + cadre décoratif */
.about-section {
    position: relative; overflow: hidden;
    background:
        radial-gradient(ellipse 60% 70% at 100% 0%, rgba(67, 172, 226, .14), transparent 70%),
        radial-gradient(ellipse 55% 65% at 0% 100%, rgba(31, 153, 130, .16), transparent 70%),
        linear-gradient(180deg, #f7fafd 0%, #eef5f8 100%);
}
.about-section::after {
    content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
    border: 50px solid rgba(34, 119, 191, .05); pointer-events: none;
}
.about-section__dots {
    position: absolute; inset-inline-start: 2%; top: 3.5rem; width: 150px; height: 110px; pointer-events: none;
    background-image: radial-gradient(rgba(31, 153, 130, .35) 1.6px, transparent 1.6px); background-size: 14px 14px;
}
.about-section .container-xxl { position: relative; z-index: 1; }
.about-home { align-items: center; }
.about-home__text .section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); }
.about-facts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.about-facts li {
    display: flex; align-items: center; gap: .7rem; padding: .6rem 1.1rem .6rem .7rem;
    background: #fff; border: 1px solid #dfe8f1; border-radius: 12px; box-shadow: 0 6px 18px rgba(9, 30, 62, .06);
}
.is-rtl .about-facts li { padding: .6rem .7rem .6rem 1.1rem; }
.about-facts__ico {
    width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px;
    background: linear-gradient(135deg, var(--acs-blue), var(--acs-teal)); color: #fff; font-size: .95rem;
}
.about-facts strong { font-size: 1.5rem; line-height: 1; color: var(--acs-ink); }
.about-facts li > span:last-child { color: var(--acs-muted); font-weight: 600; font-size: .95rem; }
.about-home__btn { margin-top: 1.75rem; display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.5rem; border-radius: 999px; }
.is-rtl .about-home__btn i { transform: scaleX(-1); }

.about-home__media { position: relative; padding: 0 0 1.5rem; padding-inline-start: 1.5rem; }
.about-frame { position: relative; margin: 0; }
.about-frame::before {
    content: ""; position: absolute; z-index: 0; inset: 1.5rem; inset-inline-start: -1.5rem; inset-block-start: 1.5rem; bottom: -1.5rem;
    border-radius: 16px; background: linear-gradient(135deg, var(--acs-blue-light), var(--acs-teal));
}
.about-frame img { position: relative; z-index: 1; display: block; width: 100%; border-radius: 16px; box-shadow: 0 18px 40px rgba(9, 30, 62, .18); }
.about-home__media .video-card { position: relative; z-index: 1; border-radius: 16px; box-shadow: 0 18px 40px rgba(9, 30, 62, .15); }
.rich-text p:empty { display: none; }
.video-card { background: #fff; border: 1px solid var(--acs-border); border-radius: var(--acs-radius); overflow: hidden; }
.video-card__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__title { padding: .85rem 1rem; margin: 0; font-size: .98rem; font-weight: 600; color: var(--acs-ink); border-bottom: 1px solid var(--acs-border); }
.video-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; padding: .75rem; }
.video-list button { position: relative; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-list button img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-list button.active { border-color: var(--acs-teal); }
.video-list button.active img, .video-list button:hover img { opacity: 1; }

/* ---------- Cartes filières (animées) ---------- */
.filiere-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.filiere-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--acs-border);
    border-radius: 16px; overflow: hidden; box-shadow: 0 2px 6px rgba(9,30,62,.04);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.filiere-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(9,30,62,.14); border-color: rgba(31,153,130,.45); }
.filiere-card__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--acs-navy); }
.filiere-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.filiere-card__img::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(9,30,62,.9) 0%, rgba(9,30,62,.35) 45%, rgba(9,30,62,0) 70%);
    transition: background .4s ease;
}
.filiere-card:hover .filiere-card__img img { transform: scale(1.08); }
.filiere-card:hover .filiere-card__img::after { background: linear-gradient(0deg, rgba(9,30,62,.92) 0%, rgba(19,122,112,.55) 55%, rgba(31,153,130,.15) 100%); }
.filiere-card__title {
    position: absolute; z-index: 1; inset-inline: 1.1rem; bottom: .95rem; margin: 0;
    color: #fff; font-size: 1.12rem; line-height: 1.35; text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.filiere-card__title::after {
    content: ""; display: block; width: 34px; height: 3px; margin-top: .5rem; border-radius: 3px; background: var(--acs-teal);
    transition: width .4s ease;
}
.filiere-card:hover .filiere-card__title::after { width: 70px; }
.filiere-card__count {
    position: absolute; z-index: 1; top: .8rem; inset-inline-end: .8rem; display: inline-flex; align-items: center; gap: .4rem;
    padding: .25rem .65rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--acs-ink); font-weight: 700; font-size: .85rem;
}
.filiere-card__count i { color: var(--acs-teal); font-size: .8rem; }
.filiere-card__body { padding: 1rem 1.1rem 1.15rem; flex: 1; display: flex; flex-direction: column; }
.filiere-card__logos { display: flex; flex-wrap: wrap; gap: .6rem; }
.filiere-card__logos a { display: flex; flex-direction: column; align-items: center; gap: .3rem; width: 76px; color: var(--acs-muted); font-size: .72rem; font-weight: 600; text-align: center; }
.filiere-card__logo {
    width: 76px; height: 56px; display: flex; align-items: center; justify-content: center; padding: .35rem;
    border: 1px solid var(--acs-border); border-radius: 10px; background: #fff;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.filiere-card__logos a:hover { color: var(--acs-blue); }
.filiere-card__logos a:hover .filiere-card__logo { transform: translateY(-3px); border-color: var(--acs-teal); box-shadow: 0 8px 16px rgba(31,153,130,.18); }
.filiere-card__logos img { max-height: 100%; max-width: 100%; object-fit: contain; }
.filiere-card__name { line-height: 1.2; overflow-wrap: anywhere; }

/* Apparition au défilement (générique) */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
    transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
.filiere-card.reveal.is-in:hover { transform: translateY(-6px); }

/* ---------- Chiffres clés (animés) ---------- */
.stats-band {
    position: relative; overflow: hidden; color: #fff; padding: 4rem 0;
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 18px),
        linear-gradient(120deg, var(--acs-navy) 0%, #0c3f5c 45%, #137a70 80%, var(--acs-teal) 100%);
}
.stats-band::after {
    content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; inset-inline-end: -140px; bottom: -220px;
    border: 60px solid rgba(255,255,255,.05); pointer-events: none;
}
.stats-band .container-xxl { position: relative; z-index: 1; }
.stats-band__head { text-align: center; margin-bottom: 2.25rem; }
.stats-band__head .section-eyebrow { color: #7fd8c6; }
.stats-band__head .section-eyebrow::before, .stats-band__head .section-eyebrow::after { content: ""; width: 28px; height: 2px; background: #7fd8c6; }
.stats-band__title { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; }
.stat {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
    padding: 1.5rem 1.5rem 1.4rem; border-radius: 16px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    opacity: 0; transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease, background .3s ease, border-color .3s ease;
    transition-delay: var(--stat-delay, 0ms);
}
.stats-band.is-visible .stat { opacity: 1; transform: none; }
.stats-band.is-visible .stat:hover { background: rgba(255,255,255,.12); border-color: rgba(127,216,198,.55); transform: translateY(-4px); }
.stat__ico {
    width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .6rem;
    border-radius: 14px; background: linear-gradient(135deg, var(--acs-blue-light), var(--acs-teal)); color: #fff; font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.stat__num { font-size: clamp(2.3rem, 1.8rem + 1.8vw, 3.2rem); font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat__label { color: rgba(255,255,255,.85); font-size: 1rem; font-weight: 600; }
.stat__bar { display: block; width: 100%; height: 4px; margin-top: .9rem; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.stat__bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--acs-blue-light), #7fd8c6); transition: width 1.6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--stat-delay, 0ms); }
.is-rtl .stat__bar span { margin-inline-start: 0; }
.stats-band.is-visible .stat__bar span { width: calc(var(--stat-ratio, 1) * 100%); }
@media (max-width: 767.98px) {
    .stats-band { padding: 3rem 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .stat { padding: 1.1rem; }
    .stat__ico { width: 42px; height: 42px; font-size: 1rem; }
}

/* ---------- Cartes actualités / médias / opportunités ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.card-grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.news-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--acs-border); border-radius: var(--acs-radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.news-card:hover { box-shadow: var(--acs-shadow); border-color: #cfd8e5; }
.news-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--acs-bg); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.25rem; }
.news-card__date { font-size: .85rem; color: var(--acs-muted); margin-bottom: .5rem; }
.news-card__date i { color: var(--acs-teal); margin-inline-end: .35rem; }
.news-card__title { font-size: 1.05rem; line-height: 1.45; margin-bottom: .6rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__title a { color: var(--acs-ink); }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card__title a:hover { color: var(--acs-blue); }
.news-card__text { color: var(--acs-muted); font-size: .93rem; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .link-more { margin-top: auto; font-size: .92rem; }
.news-card__tag { position: absolute; top: .75rem; inset-inline-start: .75rem; z-index: 1; padding: .2rem .6rem; background: var(--acs-navy); color: #fff; font-size: .78rem; border-radius: 4px; }

/* ---------- Largeur du contenu ----------
   Bootstrap (_containers.scss) fixe .container-xxl à une largeur en pixels par point de rupture
   (1140 / 1320px), ce qui laisse de grands vides sur les écrans larges.
   On impose 90 % de la largeur de l'écran sur tout le site ; sous 768px on garde la pleine largeur
   (les marges intérieures de 12px suffisent sur mobile). */
.container-xxl { max-width: 90% !important; }
@media (max-width: 767.98px) { .container-xxl { max-width: 100% !important; } }

/* ---------- Barre de filtres ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--acs-border); }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip {
    padding: .45rem 1rem; border: 1px solid var(--acs-border); border-radius: 999px; background: #fff;
    font-size: .9rem; font-weight: 500; color: var(--acs-text); text-decoration: none; display: inline-block;
}
.filter-chip:hover { border-color: var(--acs-blue); color: var(--acs-blue); }
.filter-chip.active { background: var(--acs-navy); border-color: var(--acs-navy); color: #fff; }
.filter-select { width: auto; min-width: 220px; max-width: 100%; border-color: var(--acs-border); }
.filter-empty { padding: 3rem 1rem; text-align: center; color: var(--acs-muted); }

/* ---------- Pagination ---------- */
.acs-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--acs-border); color: var(--acs-muted); font-size: .92rem; }
.acs-pager .pagination { margin: 0; flex-wrap: wrap; }
.acs-pager .page-link { color: var(--acs-navy); border-color: var(--acs-border); }
.acs-pager .page-item.active .page-link { background: var(--acs-navy); border-color: var(--acs-navy); color: #fff; }
.acs-pager nav > div:first-child { display: none; } /* résumé "Showing x to y" du paginator Bootstrap 5 */
.acs-pager nav .d-sm-flex { display: flex !important; }
.acs-pager nav .d-sm-flex > div:first-child { display: none; }

/* ---------- Newsletter ---------- */
.newsletter { background: #eaf4f2; color: var(--acs-text); padding: 3rem 0; border-top: 1px solid #d3e7e3; }
.newsletter__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; align-items: center; }
.newsletter__title { color: var(--acs-ink); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); margin: 0; line-height: 1.5; }
.newsletter__title i { color: var(--acs-teal); margin-inline-end: .6rem; }
.newsletter__form { display: flex; gap: .5rem; }
.newsletter__form .form-control { height: 50px; border: 1px solid #cfd6e1; border-radius: var(--acs-radius-sm); padding-inline: 1rem; }
.newsletter__form .btn { height: 50px; white-space: nowrap; padding-inline: 1.5rem; }

/* ---------- Filiale ---------- */
.filiale-hero { position: relative; background: var(--acs-navy); color: #fff; overflow: hidden; }
.filiale-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .3; }
.filiale-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,30,62,.95) 0%, rgba(9,30,62,.55) 100%); }
.filiale-hero .container-xxl { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.5rem; padding-top: 3rem; padding-bottom: 3rem; }
.filiale-hero__logo { flex-shrink: 0; width: 112px; height: 112px; padding: .75rem; background: #fff; border-radius: var(--acs-radius); display: flex; align-items: center; justify-content: center; }
.filiale-hero__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.filiale-hero__name { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem); margin: .35rem 0; }
.filiale-hero__meta { color: rgba(255,255,255,.8); margin: 0; font-size: .95rem; }
.filiale-hero__meta i { color: var(--acs-teal); margin-inline-end: .4rem; }
.filiale-hero .acs-social { margin-top: 1rem; }
.filiale-nav { position: sticky; top: var(--acs-header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--acs-border); }
.filiale-nav ul { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.filiale-nav ul::-webkit-scrollbar { display: none; }
.filiale-nav a { display: block; padding: .9rem 1rem; white-space: nowrap; color: var(--acs-muted); font-weight: 500; font-size: .93rem; border-bottom: 2px solid transparent; }
.filiale-nav a:hover { color: var(--acs-blue); border-bottom-color: var(--acs-blue); }
.product-card { display: block; background: #fff; border: 1px solid var(--acs-border); border-radius: var(--acs-radius); overflow: hidden; color: var(--acs-text); height: 100%; }
.product-card__img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 1rem; background: #fff; }
.product-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card__title { padding: .75rem 1rem; margin: 0; font-size: .95rem; font-weight: 600; text-align: center; border-top: 1px solid var(--acs-border); color: var(--acs-ink); }
.product-card:hover { border-color: var(--acs-blue-light); }
.contact-block { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); border: 1px solid var(--acs-border); border-radius: var(--acs-radius); overflow: hidden; background: #fff; }
.contact-block__map { min-height: 360px; background: var(--acs-bg); }
.contact-block__map iframe { width: 100% !important; height: 100% !important; min-height: 360px; border: 0; display: block; }
.contact-block__info { padding: 2rem; background: var(--acs-navy); color: #fff; }
.contact-block__info h2 { color: #fff; font-size: 1.25rem; margin-bottom: 1.5rem; }

/* Liste d'infos de contact (filiale + page contact) */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: .85rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-list li:last-child { border-bottom: 0; }
.info-list i { flex-shrink: 0; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--acs-blue-light); }
.info-list small { display: block; color: rgba(255,255,255,.6); font-size: .8rem; }
.info-list a, .info-list span { color: #fff; overflow-wrap: anywhere; }

/* ---------- Page contact ---------- */
.contact-page { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.panel { background: #fff; border: 1px solid var(--acs-border); border-radius: var(--acs-radius); padding: 2rem; }
.panel__title { font-size: 1.3rem; margin-bottom: .35rem; }
.panel__lead { color: var(--acs-muted); margin-bottom: 1.5rem; }
.form-label { font-weight: 500; font-size: .92rem; color: var(--acs-text); margin-bottom: .35rem; }
.form-control, .form-select { border-color: #cfd6e1; border-radius: var(--acs-radius-sm); padding: .65rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--acs-blue); box-shadow: 0 0 0 .2rem rgba(34,119,191,.15); }
.captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.captcha-row__img img { height: 46px; border-radius: var(--acs-radius-sm); border: 1px solid var(--acs-border); }
.captcha-row .btn { height: 46px; width: 46px; padding: 0; }
.captcha-row .form-control { max-width: 200px; }
.map-frame { border-radius: var(--acs-radius); overflow: hidden; border: 1px solid var(--acs-border); aspect-ratio: 16 / 9; background: var(--acs-bg); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Présentation ---------- */
.org-chart { background: #fff; border: 1px solid var(--acs-border); border-radius: var(--acs-radius); padding: 1rem; overflow-x: auto; }
.org-chart img { min-width: 720px; width: 100%; display: block; margin: 0 auto; }
.pres-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pres-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--acs-radius); }
.pres-gallery img:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* ---------- Mot du PDG ---------- */
.pdg-section {
    position: relative; overflow: hidden;
    background:
        radial-gradient(ellipse 50% 60% at 0% 0%, rgba(31, 153, 130, .12), transparent 70%),
        radial-gradient(ellipse 50% 60% at 100% 100%, rgba(67, 172, 226, .12), transparent 70%),
        linear-gradient(180deg, #f7fafd 0%, #eef5f8 100%);
}
.pdg-section .container-xxl { position: relative; z-index: 1; }
.pdg-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: start; }

.pdg-portrait { position: sticky; top: calc(var(--acs-header-h) + 1.5rem); }
.pdg-portrait__frame { position: relative; margin: 0; padding-inline-start: 1.25rem; padding-bottom: 1.25rem; }
.pdg-portrait__frame::before {
    content: ""; position: absolute; top: 1.25rem; bottom: 0; inset-inline-start: 0; inset-inline-end: 1.25rem;
    border-radius: 20px; background: linear-gradient(145deg, var(--acs-blue-light), var(--acs-teal));
}
.pdg-portrait__frame img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 50px rgba(9, 30, 62, .22); }
.pdg-portrait__card {
    position: relative; z-index: 2; display: flex; align-items: center; gap: .9rem; margin: -2.5rem 1.5rem 0; margin-inline-start: 2.75rem;
    padding: 1rem 1.2rem; border-radius: 14px; background: #fff; box-shadow: 0 14px 30px rgba(9, 30, 62, .14);
    border-inline-start: 4px solid var(--acs-teal);
}
.pdg-portrait__icon {
    flex-shrink: 0; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px;
    background: var(--acs-navy); color: #7fd8c6; font-size: 1.15rem;
}
.pdg-portrait__role { margin: 0; font-weight: 800; color: var(--acs-ink); font-size: 1.02rem; line-height: 1.35; }
.pdg-portrait__org { margin: 0; font-weight: 800; font-size: .85rem; letter-spacing: .08em; background: var(--acs-brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.pdg-letter {
    position: relative; padding: 3rem 3rem 2.5rem; border-radius: 20px; background: #fff;
    border: 1px solid #e3eaf2; box-shadow: 0 20px 50px rgba(9, 30, 62, .08);
}
.pdg-letter::before {
    content: ""; position: absolute; top: 2.5rem; bottom: 2.5rem; inset-inline-start: 0; width: 4px; border-radius: 4px;
    background: linear-gradient(180deg, var(--acs-blue-light), var(--acs-teal));
}
.pdg-letter__quote {
    position: absolute; top: -1.6rem; inset-inline-end: 2.5rem; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
    border-radius: 18px; background: linear-gradient(135deg, var(--acs-blue), var(--acs-teal)); color: #fff; font-size: 1.6rem;
    box-shadow: 0 14px 28px rgba(31, 153, 130, .3);
}
.is-ltr .pdg-letter__quote i { transform: scaleX(-1); }
.pdg-letter__text { font-size: 1.08rem; line-height: 2; color: #2a3243; margin-top: .75rem; }
.pdg-letter__text > p:first-child, .pdg-letter__text > p:first-child * {
    font-size: 1.35rem !important; font-weight: 800; color: var(--acs-ink); margin-bottom: 1.25rem;
}
.pdg-letter__text > p:nth-child(2) {
    font-size: 1.14rem !important; color: var(--acs-ink); padding: 1.1rem 1.35rem; border-radius: 12px;
    background: linear-gradient(135deg, rgba(67,172,226,.08), rgba(31,153,130,.1)) !important; border-inline-start: 3px solid var(--acs-teal);
}
.pdg-letter__text > p:nth-child(2) * { font-size: inherit !important; }
.pdg-letter__sign { display: flex; align-items: center; gap: 1rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px dashed #d5dfea; }
.pdg-letter__line { width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--acs-blue-light), var(--acs-teal)); }
.pdg-letter__sign-role { margin: 0; font-weight: 800; color: var(--acs-ink); font-size: 1.1rem; }
.pdg-letter__sign-org { margin: 0; color: var(--acs-muted); font-size: .92rem; }

@media (max-width: 991.98px) {
    .pdg-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .pdg-portrait { position: static; max-width: 460px; margin-inline: auto; width: 100%; }
    .pdg-letter { padding: 2.5rem 1.5rem 2rem; }
    .pdg-letter__quote { width: 52px; height: 52px; font-size: 1.3rem; inset-inline-end: 1.5rem; }
}

/* ---------- Mission ---------- */
.mission-block { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; padding: 3rem 0; border-bottom: 1px solid var(--acs-border); }
.mission-block:last-child { border-bottom: 0; }
.mission-block--reverse .mission-block__media { order: -1; }
.mission-block--solo { grid-template-columns: 1fr; }
.mission-block__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--acs-radius); }

/* ---------- Opportunité (détail) ---------- */
.post-gallery .carousel-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--acs-bg); border-radius: var(--acs-radius); }
.post-gallery .carousel-control-prev, .post-gallery .carousel-control-next { width: 44px; height: 44px; top: 50%; transform: translateY(-50%); background: rgba(9,30,62,.7); border-radius: 50%; opacity: 1; margin-inline: .75rem; }

/* ---------- Visionneuse ---------- */
.acs-lightbox .modal-content { background: transparent; border: 0; align-items: center; }
.acs-lightbox img { max-height: 82vh; width: auto; max-width: 100%; border-radius: var(--acs-radius-sm); background: #fff; }
.acs-lightbox .btn-close { position: absolute; top: -2.25rem; inset-inline-end: 0; opacity: 1; }
.acs-lightbox__caption { color: #fff; margin: .75rem 0 0; text-align: center; }
.zoomable { position: relative; display: block; }
.zoomable::after {
    content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: .6rem; inset-inline-end: .6rem;
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
    background: rgba(9,30,62,.75); color: #fff; font-size: .85rem; opacity: 0; transition: opacity .2s;
}
.zoomable:hover::after, .zoomable:focus::after { opacity: 1; }

/* ---------- Pied de page ---------- */
.acs-footer { position: relative; background: var(--acs-navy); color: rgba(255,255,255,.72); font-size: .93rem; }
.acs-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--acs-blue-dark), var(--acs-blue-light) 45%, var(--acs-teal)); }
.acs-footer a { color: rgba(255,255,255,.72); transition: color .2s; }
.acs-footer a:hover { color: #fff; }

.acs-footer__top { border-bottom: 1px solid rgba(255,255,255,.08); }
.acs-footer__top .container-xxl { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 2rem; padding-bottom: 2rem; }
.acs-footer__brand { display: flex; align-items: center; gap: 1rem; }
.acs-footer__brand img { width: 64px; height: auto; background: #fff; border-radius: var(--acs-radius-sm); padding: .3rem; }
.acs-footer__name { margin: 0; color: #fff; font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; }
.acs-footer__tagline { margin: 0; font-size: .9rem; color: rgba(255,255,255,.6); }
.acs-footer .acs-social a { width: 40px; height: 40px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.acs-footer .acs-social a:hover { background: var(--acs-teal); border-color: var(--acs-teal); }

.acs-footer__main { padding-top: 2.75rem; padding-bottom: 2.75rem; }
.acs-footer__grid { display: grid; grid-template-columns: 1.15fr 1fr .9fr 1.35fr; gap: 2.5rem; }
.acs-footer__title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .55rem; }
.acs-footer__title::before { content: ""; width: 4px; height: 1.05em; border-radius: 2px; background: var(--acs-teal); }
.acs-footer__contact li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .85rem; line-height: 1.55; }
.acs-footer__ico {
    flex-shrink: 0; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px; background: rgba(31,153,130,.14); color: #3fc0a6; font-size: .85rem;
}
.acs-footer__contact li > :last-child { padding-top: .35rem; overflow-wrap: anywhere; }
.acs-footer__links li { margin-bottom: .55rem; }
.acs-footer__links a { display: inline-flex; align-items: center; gap: .45rem; }
.acs-footer__links a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background .2s; }
.acs-footer__links a:hover::before { background: var(--acs-teal); }
.acs-footer__links--cols { columns: 2; column-gap: 1rem; }
.acs-footer__links--cols li { break-inside: avoid; }

/* Carte de localisation */
.acs-footer__map { border-radius: var(--acs-radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #0d2447; }
.acs-footer__map iframe { display: block; width: 100%; height: 190px; border: 0; }
.acs-footer__map-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .85rem; background: rgba(255,255,255,.05); font-size: .85rem; }
.acs-footer__map-bar > span { display: flex; gap: .45rem; align-items: flex-start; min-width: 0; }
.acs-footer__map-bar > span i { color: #3fc0a6; margin-top: .25rem; }
.acs-footer__map-btn {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem;
    border-radius: 999px; background: var(--acs-teal); color: #fff !important; font-weight: 600; font-size: .82rem; white-space: nowrap;
}
.acs-footer__map-btn:hover { background: var(--acs-teal-dark); }

.acs-footer__bottom { background: var(--acs-navy-900); padding: 1rem 0; font-size: .85rem; color: rgba(255,255,255,.55); }
.acs-footer__bottom .container-xxl { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.acs-visits { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.acs-visits i { color: var(--acs-teal); }
.acs-visits strong { color: #fff; }

@media (max-width: 1199.98px) { .acs-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) {
    .acs-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .acs-footer__top .container-xxl { flex-direction: column; align-items: flex-start; }
    .acs-footer__bottom .container-xxl { flex-direction: column; text-align: center; }
}

/* ---------- Divers ---------- */
.acs-top {
    position: fixed; bottom: 1.25rem; inset-inline-end: 1.25rem; z-index: 1020; width: 44px; height: 44px;
    border: 0; border-radius: var(--acs-radius-sm); background: var(--acs-navy); color: #fff;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.acs-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.acs-top:hover { background: var(--acs-blue); }
.acs-toast { border: 0; border-inline-start: 4px solid var(--acs-teal); box-shadow: var(--acs-shadow); }
.acs-toast--warning { border-inline-start-color: #d98b0b; }
.acs-toast .toast-body { display: flex; gap: .6rem; align-items: center; }
.acs-toast--success i { color: var(--acs-teal); }
.acs-toast--warning i { color: #d98b0b; }

/* Fenêtre de consentement */
.consent-modal .modal-content { border: 0; border-radius: var(--acs-radius); }
.consent-modal .modal-header { border-bottom: 3px solid var(--acs-teal); }
.consent-modal .modal-title { font-size: 1.05rem; color: var(--acs-ink); }
.consent-modal h3 { font-size: .98rem; margin: 1rem 0 .35rem; }
.consent-modal p { color: var(--acs-muted); font-size: .93rem; margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1399.98px) {
    .acs-menu > .nav-item > .nav-link { padding: 0 .7rem; font-size: .92rem; }
}

@media (max-width: 1199.98px) {
    :root { --acs-header-h: 76px; }
    .acs-masthead { position: sticky; top: 0; }
    .acs-masthead > .container-xxl { min-height: 76px; }
    .acs-brand__logo { height: 56px; }
    .acs-brand__sub { font-size: .92rem; }
    .acs-brand__name { font-size: 1.35rem; }
    .hero-slide { --hero-cut: 60px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); min-height: 440px; }
    .hero-slide__panel { padding: 2.5rem 2rem 4rem; padding-inline-start: calc(var(--hero-cut) + 1.25rem); }
}

@media (max-width: 991.98px) {
    .acs-section { padding: 3.25rem 0; }
    .split, .split--even, .about-home, .contact-page, .mission-block, .newsletter__inner { grid-template-columns: 1fr; gap: 2rem; }
    .about-home__media { padding-inline-start: 1rem; padding-bottom: 1rem; }
    .about-frame::before { inset-inline-start: -1rem; bottom: -1rem; }
    .about-section__dots, .about-section::after { display: none; }
    .split__media { position: static; order: -1; }
    .mission-block--reverse .mission-block__media { order: 0; }
    .contact-block { grid-template-columns: 1fr; }
    .contact-block__map, .contact-block__map iframe { min-height: 280px; }

    .hero-slide { grid-template-columns: 1fr; min-height: 0; }
    .hero-slide__media { position: relative; aspect-ratio: 16 / 9; }
    .hero-slide__panel, .is-rtl .hero-slide__panel { margin: 0; padding: 1.75rem 1.25rem 4.25rem; min-height: 0; clip-path: none; border-top: 4px solid var(--acs-teal); }
    .hero-slide__panel::before, .is-rtl .hero-slide__panel::before { clip-path: none; }
    .hero-slide--full { min-height: 0; }
    .hero-slide--full .hero-slide__media { position: relative; }
    .hero-slide--full .hero-slide__panel { min-height: 0; background: var(--acs-navy); }
    .home-hero .carousel-indicators { margin-inline: 1.25rem; margin-bottom: 1.6rem; }

}

@media (max-width: 767.98px) {
    :root { --acs-header-h: 66px; }
    body.acs { font-size: .97rem; }
    .acs-masthead > .container-xxl { min-height: 66px; gap: .5rem; }
    .acs-brand { gap: .55rem; }
    .acs-brand__logo { height: 46px; }
    .acs-brand__sub { font-size: .72rem; font-weight: 600; white-space: normal; }
    .acs-brand__name { font-size: 1.1rem; }
    .acs-lang { padding: 0 .55rem; }
    .acs-lang__label { display: none; }
    .page-hero .container-xxl { padding-top: 2.25rem; padding-bottom: 2.25rem; }
    .page-hero .breadcrumb-item.active { display: none; }
    .section-head { margin-bottom: 1.5rem; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; margin-inline: -.75rem; padding-inline: .75rem; }
    .filter-chips::-webkit-scrollbar { display: none; }
    .filter-chip { flex-shrink: 0; }
    .filter-select { width: 100%; }
    .newsletter__form { flex-direction: column; }
    .newsletter__form .btn { width: 100%; }
    .filiale-hero .container-xxl { flex-direction: column; align-items: flex-start; padding-top: 2rem; padding-bottom: 2rem; }
    .filiale-hero__logo { width: 88px; height: 88px; }
    .panel { padding: 1.25rem; }
    .contact-block__info { padding: 1.5rem; }
    .video-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .acs-pager { flex-direction: column; }
    .rich-text p { text-align: start; }
}

@media (max-width: 575.98px) {
    .logo-strip { padding: 1rem 0; }
    .logo-strip__label { display: none; }
    .logo-strip__item { width: 118px; height: 88px; }
    .logo-strip__item img { height: 42px; max-width: 90px; filter: none; opacity: 1; }
    .card-grid, .card-grid--4 { grid-template-columns: 1fr; }
    .filiere-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .filiere-card__img { aspect-ratio: 4 / 3; }
    .filiere-card__body { padding: .65rem; }
    .filiere-card__title { font-size: .9rem; inset-inline: .65rem; bottom: .6rem; }
    .filiere-card__count { top: .5rem; inset-inline-end: .5rem; font-size: .75rem; padding: .15rem .5rem; }
    .filiere-card__logos { gap: .4rem; }
    .filiere-card__logos a { width: 56px; }
    .filiere-card__logo { width: 56px; height: 42px; }
    .filiere-card__name { display: none; }
    .card-grid--home > :nth-child(n+4) { display: none; }
    .hero-slide__media { aspect-ratio: 4 / 3; }
    .hero-slide__text { -webkit-line-clamp: 2; }
    .pres-gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

@media print {
    .acs-topbar, .acs-header, .acs-footer, .acs-top, .newsletter { display: none !important; }
}

/* Grille produits (filiale) */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
@media (max-width: 575.98px) { .product-grid { grid-template-columns: 1fr 1fr; gap: .75rem; } }

/* ---------- Écran de chargement ---------- */
.acs-loader {
    position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
    background: #fff; transition: opacity .45s ease, visibility 0s linear .45s;
}
.is-loaded .acs-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.acs-loader__box { position: relative; width: 112px; height: 112px; display: flex; align-items: center; justify-content: center; }
.acs-loader__ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 3px solid #e3eaf3; border-top-color: var(--acs-blue); border-right-color: var(--acs-teal);
    animation: acs-spin 1s linear infinite;
}
.acs-loader__logo { width: 64px; height: 64px; object-fit: contain; }
.acs-loader__name {
    margin: 0; font-family: var(--acs-font); font-weight: 800; font-size: 1.15rem; letter-spacing: .08em;
    background: var(--acs-brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--acs-blue);
}
.acs-loader__bar { position: relative; width: 140px; height: 3px; background: #e3eaf3; border-radius: 3px; overflow: hidden; }
.acs-loader__bar span { position: absolute; top: 0; bottom: 0; width: 40%; background: var(--acs-teal); border-radius: 3px; animation: acs-bar 1.2s ease-in-out infinite; }
@keyframes acs-spin { to { transform: rotate(360deg); } }
@keyframes acs-bar { 0% { left: -40%; } 100% { left: 100%; } }
