/* ══════════════════════════════════════════════════════════
   SOLGEN — compléments de style
   Chargé APRÈS main.css et la feuille de la page.
   Ce fichier n'est jamais régénéré : il est copié tel quel.
   ══════════════════════════════════════════════════════════ */

/* ── Titre en dégradé (remplace les styles écrits dans le HTML,
      pour que le client ne voie jamais de code dans la gestion) ── */
.txt-grad{
  background:linear-gradient(to left,#4DBF5E 0%,#2E8B3A 45%,#1A5C28 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;display:inline;
}
[dir="rtl"] .txt-grad{
  background:linear-gradient(to right,#4DBF5E 0%,#2E8B3A 45%,#1A5C28 100%);
  -webkit-background-clip:text;background-clip:text;
}

/* ── Logo cliquable ── */
a.brand-logo{text-decoration:none;color:inherit;display:flex;align-items:center;gap:12px}

/* ── Barre de navigation : zone droite ── */
.nav-right{display:flex;align-items:center;gap:12px}

/* ── Bouton hamburger ── */
.burger{display:none;flex-direction:column;gap:5px;background:none;border:none;
  cursor:pointer;padding:6px}
.burger span{display:block;width:22px;height:2px;background:#0D1B2A;border-radius:2px;
  transition:transform .3s,opacity .3s}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ── Menu mobile : masqué par défaut, quelle que soit la page ── */
.mobile-nav{
  display:none !important;
  flex-direction:column;background:#fff;
  border-bottom:1px solid #DDE8EF;box-shadow:0 8px 24px rgba(13,27,42,.09);
  position:fixed;top:68px;left:0;right:0;z-index:90;padding:6px 0;
}
.mobile-nav.open{display:flex !important}
.mobile-nav a{padding:13px 22px;font-size:.9rem;font-weight:600;color:#334155;
  text-decoration:none;border-bottom:1px solid #f1f5f9}
.mobile-nav a:last-child{border-bottom:none}
.mobile-nav a:hover{background:#f7f9fb;color:#2E8B3A}

@media(max-width:900px){
  .nav-links{display:none}
  .burger{display:flex}
}

/* ── Animation du bouton « Nous contacter » ── */
@keyframes solgenPulse{
  0%{box-shadow:0 0 0 0 rgba(46,139,58,.45)}
  70%{box-shadow:0 0 0 16px rgba(46,139,58,0)}
  100%{box-shadow:0 0 0 0 rgba(46,139,58,0)}
}
.btn-pulse{animation:solgenPulse 2.2s infinite;transition:transform .25s}
.btn-pulse:hover{transform:translateY(-2px) scale(1.03);animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.btn-pulse{animation:none}}

/* ── Notifications du formulaire ── */
.site-toast{position:fixed;bottom:24px;right:24px;z-index:9999;display:flex;
  align-items:center;gap:10px;max-width:340px;padding:13px 18px;border-radius:12px;
  background:#fff;font-size:.85rem;font-weight:600;color:#0D1B2A;
  box-shadow:0 8px 32px rgba(13,27,42,.16);opacity:0;transform:translateY(12px);
  transition:opacity .3s,transform .3s}
.site-toast.show{opacity:1;transform:none}
.st-ok{border-left:4px solid #16a34a} .st-ok i{color:#16a34a}
.st-err{border-left:4px solid #dc2626} .st-err i{color:#dc2626}
[dir="rtl"] .site-toast{right:auto;left:24px}

/* ══════════════════════════════════════════════════════════
   Pied de page
   ══════════════════════════════════════════════════════════ */
footer{background:#0A1A28;padding:44px 0 26px}

.foot-top{display:flex;align-items:center;justify-content:space-between;gap:28px;
  flex-wrap:wrap;padding-bottom:26px;border-bottom:1px solid rgba(255,255,255,.08)}

.foot-brand{display:flex;align-items:center;flex-shrink:0}
.foot-brand img{height:68px !important;width:auto !important;max-width:320px;display:block}

.foot-nav{display:flex;align-items:center;gap:26px;flex-wrap:wrap;flex:1;
  justify-content:center}
.foot-nav a{font-size:.86rem;font-weight:500;color:rgba(255,255,255,.82);
  text-decoration:none;transition:color .2s;white-space:nowrap}
.foot-nav a:hover{color:#4DBF5E}

.foot-right{display:flex;align-items:center;gap:12px;flex-shrink:0}
.foot-lang{display:flex;background:rgba(255,255,255,.08);border-radius:100px;padding:3px}
.foot-lang .fnr-lb{border:none;background:transparent;color:rgba(255,255,255,.65);
  font-family:inherit;font-size:.76rem;font-weight:700;padding:6px 15px;
  border-radius:100px;cursor:pointer;transition:background .2s,color .2s}
.foot-lang .fnr-lb.on{background:#2E8B3A;color:#fff}

.foot-socials{display:flex;gap:8px}
.foot-soc{width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.75);
  font-size:.85rem;text-decoration:none;transition:background .2s,color .2s}
.foot-soc:hover{background:#2E8B3A;color:#fff}

.foot-contacts{display:flex;align-items:center;justify-content:space-between;gap:24px;
  flex-wrap:wrap;padding:22px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.foot-ci{display:flex;align-items:center;gap:11px;font-size:.85rem;
  color:rgba(255,255,255,.82)}
.foot-ci i{color:rgba(255,255,255,.45);font-size:.95rem;flex-shrink:0}
.foot-ci a{color:inherit;text-decoration:none;transition:color .2s}
.foot-ci a:hover{color:#4DBF5E}

.foot-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;
  flex-wrap:wrap;padding-top:20px;font-size:.8rem;color:rgba(255,255,255,.42)}

@media(max-width:980px){
  .foot-top{justify-content:center;text-align:center}
  .foot-nav{order:3;width:100%;justify-content:center;gap:18px}
  .foot-contacts{justify-content:center;gap:16px}
}
@media(max-width:640px){
  footer{padding:32px 0 20px}
  .foot-nav{gap:14px}
  .foot-nav a{font-size:.8rem}
  .foot-contacts{flex-direction:column;align-items:flex-start;gap:12px}
  .foot-bottom{flex-direction:column;align-items:flex-start;gap:6px}
}

/* ══════════════════════════════════════════════════════════
   Bloc localisation (page contact)
   Le texte est incrusté dans la photo : on ne place ici que le
   bouton, positionné plus bas pour ne pas toucher ce texte.
   ══════════════════════════════════════════════════════════ */
.tlmecen-overlay{
  display:flex !important;flex-direction:column;justify-content:flex-end;
  align-items:flex-start;padding:0 0 26px 32px !important;
}
.btn-maps-tl{display:inline-flex;align-items:center;gap:8px;padding:11px 22px;
  border:1.5px solid rgba(255,255,255,.4);border-radius:100px;color:#fff;
  font-size:.82rem;font-weight:600;background:rgba(255,255,255,.14);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  text-decoration:none;transition:background .2s,border-color .2s,transform .2s}
.btn-maps-tl:hover{background:rgba(255,255,255,.26);
  border-color:rgba(255,255,255,.7);transform:translateY(-1px)}
@media(max-width:640px){
  .tlmecen-overlay{padding:0 0 18px 18px !important}
}
[dir="rtl"] .tlmecen-overlay{align-items:flex-end;padding:0 32px 26px 0 !important}

/* ── Typographie française : éviter les coupures disgracieuses ── */
p,.hero-desc,.ch-desc,.form-desc{text-wrap:pretty}

/* ══════════════════════════════════════════════════════════
   1. IMAGES RESPONSIVES — règle générale
   ══════════════════════════════════════════════════════════ */
img{max-width:100%;height:auto}
.tlmecen-img,.gal-card-img,.about-gallery img,.vp-wrap img{max-width:none}

/* ══════════════════════════════════════════════════════════
   2. ARABE — police et respiration
   ══════════════════════════════════════════════════════════ */
body.is-ar{font-family:'Noto Kufi Arabic','Cairo','Plus Jakarta Sans',sans-serif}
body.is-ar h1,body.is-ar h2,body.is-ar h3,body.is-ar h4,body.is-ar h5{
  font-family:'Noto Kufi Arabic','Cairo',sans-serif;letter-spacing:0;line-height:1.55}
body.is-ar p,body.is-ar li,body.is-ar .hero-desc,body.is-ar .coord-val{line-height:2}
body.is-ar .card-title,body.is-ar .dom-card-title,body.is-ar .agr-card-name{line-height:1.7}

/* Les retours à la ligne du français restent visibles : les masquer
   collait les mots arabes les uns aux autres. */
body.is-ar br{display:inline}
/* Filet de sécurité : jamais deux mots soudés */
body.is-ar h1,body.is-ar h2,body.is-ar h3,body.is-ar p,body.is-ar li,
body.is-ar span,body.is-ar div,body.is-ar a{word-spacing:.06em}

/* Le logo et la marque restent en écriture latine */
body.is-ar .logo-text h1,body.is-ar .fl-name,body.is-ar .sb-n{
  font-family:'Plus Jakarta Sans',sans-serif}

/* Chiffres, téléphones et emails toujours de gauche à droite */
html[dir="rtl"] .stat-value,html[dir="rtl"] .stat-val,html[dir="rtl"] .dsb-val,
html[dir="rtl"] .hsr-val,html[dir="rtl"] .hpl-stat-val,
html[dir="rtl"] .card-number-inline,html[dir="rtl"] .sc-num,
html[dir="rtl"] .dom-card-num,html[dir="rtl"] .cl-ap-card-num,
html[dir="rtl"] [href^="tel:"],html[dir="rtl"] [href^="mailto:"]{
  direction:ltr;unicode-bidi:embed;display:inline-block}

/* ══════════════════════════════════════════════════════════
   3. RTL — bascule générale
   ══════════════════════════════════════════════════════════ */
html[dir="rtl"] body{direction:rtl;text-align:right}

html[dir="rtl"] .brand-logo,html[dir="rtl"] .foot-brand,
html[dir="rtl"] .lang-switcher,html[dir="rtl"] .foot-lang{direction:ltr}
html[dir="rtl"] .logo-text{text-align:left}

/* Tout conteneur en grille ou en ligne suit le sens de lecture */
html[dir="rtl"] .container,html[dir="rtl"] section,
html[dir="rtl"] [class*="-grid"],html[dir="rtl"] [class*="-row"],
html[dir="rtl"] [class*="-wrap"],html[dir="rtl"] [class*="-inner"],
html[dir="rtl"] [class*="-layout"],html[dir="rtl"] [class*="-col"]{direction:rtl}

html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] h4,
html[dir="rtl"] h5,html[dir="rtl"] p,html[dir="rtl"] li,html[dir="rtl"] label,
html[dir="rtl"] .section-subtitle,html[dir="rtl"] .coord-label,
html[dir="rtl"] .coord-val,html[dir="rtl"] .contact-item-text,
html[dir="rtl"] .card-content,html[dir="rtl"] .hero-desc{text-align:right}

/* NOTE IMPORTANTE
   Avec direction:rtl, un conteneur flex inverse DÉJÀ l'ordre visuel
   de ses enfants. Ajouter flex-direction:row-reverse annulerait cette
   inversion et ramènerait le bloc en lecture gauche-droite.
   On ne force donc l'inversion nulle part : on laisse direction:rtl agir. */
html[dir="rtl"] .hero-features,html[dir="rtl"] .hero-btns,
html[dir="rtl"] .feature-item,html[dir="rtl"] .hero-feat,
html[dir="rtl"] .stat-item,html[dir="rtl"] .coord-item,
html[dir="rtl"] .contact-item,html[dir="rtl"] .foot-ci,
html[dir="rtl"] .about-pt,html[dir="rtl"] .hist-point,
html[dir="rtl"] .gh-pill,html[dir="rtl"] .dom-hero-pill,
html[dir="rtl"] .accreditation-list li,html[dir="rtl"] .card-list li,
html[dir="rtl"] .valeur,html[dir="rtl"] .eng-card,
html[dir="rtl"] .cl-ap-card-top,html[dir="rtl"] .hsr-card,
html[dir="rtl"] .gal-cta,html[dir="rtl"] .cta-band-left,
html[dir="rtl"] .service-card,
html[dir="rtl"] .btn-cta,html[dir="rtl"] .btn-primary,html[dir="rtl"] .btn-send,
html[dir="rtl"] .btn-outline,html[dir="rtl"] .btn-savoir,html[dir="rtl"] .link-all,
html[dir="rtl"] .sc-link,html[dir="rtl"] .dom-card-link,html[dir="rtl"] .btn-maps-tl,
html[dir="rtl"] .btn-gal-cta,html[dir="rtl"] .btn-cta-dom,html[dir="rtl"] .btn-cta-band{
  flex-direction:row;direction:rtl}

/* Les icônes des blocs de coordonnées passent bien à droite */
html[dir="rtl"] .coord-item,html[dir="rtl"] .contact-item,
html[dir="rtl"] .coord-items,html[dir="rtl"] .contact-list{direction:rtl}
html[dir="rtl"] .coord-item > div,html[dir="rtl"] .contact-item-text{text-align:right}

/* Flèches retournées */
html[dir="rtl"] .fa-arrow-right,html[dir="rtl"] .link-arrow{transform:scaleX(-1)}

/* Listes : puces à droite */
html[dir="rtl"] ul,html[dir="rtl"] ol{
  padding-right:0;padding-left:0;list-style-position:inside}
html[dir="rtl"] .accreditation-list,
html[dir="rtl"] .accreditation-list li{
  direction:rtl;text-align:right;list-style-position:inside;
  padding-right:0;padding-left:0;margin-right:0}
html[dir="rtl"] .accreditation-list li::marker{unicode-bidi:isolate}
html[dir="rtl"] .card-list li,html[dir="rtl"] .dom-card-list li{
  padding-right:14px;padding-left:0}
html[dir="rtl"] .card-list li::before,html[dir="rtl"] .dom-card-list li::before{
  right:0;left:auto}

/* Traits et barres décoratives */
html[dir="rtl"] .section-green-bar{margin-left:10px;margin-right:0}
html[dir="rtl"] .dir-sig-line,html[dir="rtl"] .hpl-dir-line,
html[dir="rtl"] .about-gallery-line,html[dir="rtl"] .hero-badge-line{
  margin-right:0;margin-left:auto}
html[dir="rtl"] .sc-bar,html[dir="rtl"] .dom-card-bar{left:auto;right:0}
html[dir="rtl"] .sc-icon-wrap,html[dir="rtl"] .dom-card-icon-wrap{left:auto;right:20px}

/* ══════════════════════════════════════════════════════════
   4. ACCUEIL — corrections ciblées
   ══════════════════════════════════════════════════════════ */
/* Bandeau des chiffres : la séparation passe de l'autre côté */
html[dir="rtl"] .stat-item{
  border-right:none;border-left:1px solid var(--border-color,#dde8ef);
  padding-right:0;padding-left:20px}
html[dir="rtl"] .stat-item:last-child{border-left:none}

/* Icônes des 6 domaines : elles touchaient le bord de leur cadre */
.card-icon-col{padding:18px 16px !important}
html[dir="rtl"] .service-card{flex-direction:row;direction:rtl}
html[dir="rtl"] .card-icon-col{padding:18px 16px !important}

/* Section « À propos » : le texte touchait la photo */
.about-2col,.about-grid{gap:48px}
html[dir="rtl"] .about-2col,html[dir="rtl"] .about-grid{direction:rtl}
html[dir="rtl"] .about-text,html[dir="rtl"] .about-content{padding-right:0}
@media(min-width:901px){
  .about-2col > *,.about-grid > *{min-width:0}
}

/* Bloc de contact de la page d'accueil */
html[dir="rtl"] .contact-cta-section .container,
html[dir="rtl"] .contact-cta-grid,
html[dir="rtl"] .contact-cta-left,
html[dir="rtl"] .contact-cta-right{direction:rtl;text-align:right}

/* Bouton du bandeau : texte centré dans les deux langues */
.btn-cta{justify-content:center}

/* ══════════════════════════════════════════════════════════
   5. À PROPOS — bandeau identique dans les deux langues
   ══════════════════════════════════════════════════════════ */
/* En arabe, le bloc de texte se place tout seul à droite : aucune marge
   automatique, sinon il repart vers le centre. Le fondu de la photo et le
   filigrane basculent de l'autre côté pour obtenir l'exact miroir. */
html[dir="rtl"] .aph-left{
  padding:64px 40px 64px 56px;
  background:linear-gradient(to left,#fff 0%,#fff 75%,rgba(255,255,255,0) 100%)}
html[dir="rtl"] .aph-bg{
  -webkit-mask-image:linear-gradient(to right,black 0%,black 40%,rgba(0,0,0,.5) 65%,transparent 100%);
  mask-image:linear-gradient(to right,black 0%,black 40%,rgba(0,0,0,.5) 65%,transparent 100%)}
html[dir="rtl"] .aph-bg::after{
  background:linear-gradient(to right,rgba(10,22,40,.18) 0%,
             rgba(10,22,40,.05) 60%,transparent 100%)}
html[dir="rtl"] .aph-brand{left:28px;right:auto;text-align:left}
html[dir="rtl"] .aph-line{left:0;right:auto}

/* ══════════════════════════════════════════════════════════
   6. DOMAINES — texte lisible par-dessus la photo
   ══════════════════════════════════════════════════════════ */
html[dir="rtl"] .dom-hero-content{
  padding:64px 40px 64px 48px}
/* la citation suit la photo : en bas à gauche quand l'image passe à gauche */
html[dir="rtl"] .dom-hero-quote{right:auto;left:32px;text-align:left}
html[dir="rtl"] .dom-hero-bg{transform:scaleX(-1)}
/* Sécurité : même par-dessus l'image, le texte reste lisible */
.dom-hero-h1,.dom-hero-desc{text-shadow:0 1px 2px rgba(255,255,255,.85)}
/* Les mots en dégradé ont un texte transparent : une ombre blanche se verrait
   À TRAVERS les lettres et donnerait ce vert délavé. On la retire sur eux. */
.dom-hero-h1 em > span,
.aph-h1 em > span,
.gh-h1 em > span,
.ch-h1 > span > span,
.map-h3 span,
.cta-h2 span,
.txt-grad,
.hero-grad-text{text-shadow:none !important}
.dom-hero-desc{color:#334155}
/* Les pastilles ne doivent jamais rogner leur texte */
.dom-hero-pill,.gh-pill,.hero-feat{
  white-space:normal;line-height:1.5;padding:8px 14px;height:auto;min-height:0}
.dom-hero-pills{gap:10px}

/* ══════════════════════════════════════════════════════════
   7. CONTACT — bandeau, coordonnées, carte
   ══════════════════════════════════════════════════════════ */
/* Le dégradé du bandeau change de côté selon la langue */
html[dir="rtl"] .contact-hero,
html[dir="rtl"] .ct-hero,
html[dir="rtl"] .contact-main-grid,
html[dir="rtl"] .map-grid,
html[dir="rtl"] .coord-items,
html[dir="rtl"] .form-card{direction:rtl;text-align:right}
html[dir="rtl"] .ch-bg,html[dir="rtl"] .ct-hero-photo{transform:scaleX(-1)}
html[dir="rtl"] .coord-icon{margin-left:0}

/* Photo de la localisation : on remonte l'image pour dégager
   le bas du cadre, afin que la carte d'Algérie reste visible
   et que le bouton ne touche plus le texte de la photo. */
.map-right-photo{min-height:360px}
.tlmecen-img{object-fit:cover;object-position:center 22%}
.tlmecen-overlay{padding:0 0 24px 32px !important}
html[dir="rtl"] .tlmecen-overlay{padding:0 32px 24px 0 !important;align-items:flex-end}

@media(max-width:900px){
  .map-right-photo{min-height:300px}
  .tlmecen-img{object-position:center 18%}
}
@media(max-width:640px){
  .map-right-photo{min-height:240px}
  .tlmecen-img{object-position:center 15%}
  .tlmecen-overlay{padding:0 0 16px 16px !important}
  html[dir="rtl"] .tlmecen-overlay{padding:0 16px 16px 0 !important}
  .btn-maps-tl{padding:9px 16px;font-size:.76rem}
}

/* Formulaire */
html[dir="rtl"] .fg-icon i{left:auto;right:13px}
html[dir="rtl"] .fg-icon input,html[dir="rtl"] .fg-icon select{
  padding-right:38px;padding-left:14px}
html[dir="rtl"] input,html[dir="rtl"] textarea,html[dir="rtl"] select{
  text-align:right;direction:rtl}

/* ══════════════════════════════════════════════════════════
   8. RESPONSIVE — empilement propre sur mobile
   ══════════════════════════════════════════════════════════ */
@media(max-width:900px){
  /* Bandeau « À propos » : la photo passe au-dessus du texte */
  .ap-hero{display:flex;flex-direction:column;min-height:0}
  .aph-bg{position:relative;inset:auto;width:100%;height:210px;order:1}
  .aph-left,html[dir="rtl"] .aph-left{
    position:relative;width:100%;order:2;
    padding:28px 20px 34px;background:#fff}
  .aph-bg::after{display:none}
  .aph-line{display:none}

  /* Bandeau « Domaines » : même principe */
  .dom-hero{display:flex;flex-direction:column;min-height:0}
  .dom-hero-bg{position:relative;inset:auto;width:100%;height:200px;order:1}
  .dom-hero-content,html[dir="rtl"] .dom-hero-content{
    position:relative;width:100%;order:2;
    padding:26px 20px 32px;background:#fff}
  .dom-hero-h1,.dom-hero-desc{text-shadow:none}
  .dom-hero-quote{display:none}

  /* Bandeau « Contact » et « Galerie » */
  .contact-hero,.ct-hero,.gal-hero,.hero{grid-template-columns:1fr !important}
  .ch-bg,.ct-hero-photo,.gh-photo{position:relative;height:200px;clip-path:none}

  /* Nos agréments : une carte par ligne, lisible */
  .agr-layout{grid-template-columns:1fr}
  .agr-left{border-right:none;border-bottom:1px solid #dde8ef;padding:28px 22px}
  .agr-cards{grid-template-columns:1fr}
  .agr-card{
    border-left:none;border-top:1px solid #dde8ef;
    flex-direction:row;align-items:center;gap:14px;padding:18px 22px}
  .agr-card-icon{width:40px;height:40px;flex-shrink:0}
  .agr-card-name{font-size:.84rem;line-height:1.5}
  html[dir="rtl"] .agr-card{flex-direction:row;direction:rtl;text-align:right}

  /* Grilles à deux colonnes : une seule colonne */
  .about-2col,.about-grid,.map-grid,.contact-main-grid,.vision-grid,
  .hist-wrap,.dom-intro-grid,.cl-ap-header-grid,.eng-header,
  .cta-inner,.dom-cta,.services-header{grid-template-columns:1fr !important}
  .about-2col,.about-grid{gap:28px}
}

@media(max-width:640px){
  .stats-card,.stat-bar,.dom-stats-band{grid-template-columns:1fr !important}
  html[dir="rtl"] .stat-item{border-left:none;
    border-bottom:1px solid #dde8ef;padding-left:0;padding-bottom:16px}
  .services-grid,.gallery-grid-3,.gal-grid,.dom-cards-grid,
  .eng-grid,.cl-ap-grid,.agr-cards{grid-template-columns:1fr !important}
  .service-card,html[dir="rtl"] .service-card{flex-direction:row}
  .card-icon-col{padding:14px 12px !important}
  .hero-features{flex-direction:column;align-items:flex-start;gap:10px}
  html[dir="rtl"] .hero-features{align-items:flex-end}
}

/* Le pied de page suit la langue */
html[dir="rtl"] .foot-nav,html[dir="rtl"] .foot-contacts,
html[dir="rtl"] .foot-top,html[dir="rtl"] .foot-bottom{direction:rtl}
html[dir="rtl"] .foot-brand{direction:ltr}
html[dir="rtl"] .mobile-nav a{text-align:right}

/* ══════════════════════════════════════════════════════════
   9. TEXTES EN DÉGRADÉ — teinte identique partout
   ───────────────────────────────────────────────────────────
   Le mot vert des bandeaux est parfois coupé par un <br> et
   s'étale donc sur deux lignes. Avec background-clip:text, le
   dégradé est étiré UNE seule fois sur tout le bloc en ligne :
   la première ligne prend le vert foncé, la seconde tombe sur
   l'extrémité claire et paraît délavée.

   La parade fiable n'est pas box-decoration-break (mal supporté
   sur les éléments en ligne) mais d'appliquer le dégradé à
   CHAQUE mot, chacun devenant un bloc en ligne autonome qui
   reçoit le dégradé entier.
   ══════════════════════════════════════════════════════════ */

/* Le conteneur ne porte plus le dégradé */
.aph-h1 em,.dom-hero-h1 em,.gh-h1 em{
  background:none !important;
  -webkit-text-fill-color:currentColor;
  font-style:normal}

/* Chaque mot reçoit le dégradé complet */
.aph-h1 em > span,
.dom-hero-h1 em > span,
.gh-h1 em > span,
.ch-h1 > span > span,
.map-h3 span,
.cta-h2 span,
.txt-grad,
.hero-grad-text{
  display:inline-block;
  background:linear-gradient(to left,#4DBF5E 0%,#2E8B3A 45%,#1A5C28 100%) !important;
  -webkit-background-clip:text !important;background-clip:text !important;
  -webkit-text-fill-color:transparent !important;color:transparent;
}

html[dir="rtl"] .aph-h1 em > span,
html[dir="rtl"] .dom-hero-h1 em > span,
html[dir="rtl"] .gh-h1 em > span,
html[dir="rtl"] .ch-h1 > span > span,
html[dir="rtl"] .map-h3 span,
html[dir="rtl"] .cta-h2 span,
html[dir="rtl"] .txt-grad,
html[dir="rtl"] .hero-grad-text{
  background:linear-gradient(to right,#4DBF5E 0%,#2E8B3A 45%,#1A5C28 100%) !important;
  -webkit-background-clip:text !important;background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
}

/* Chiffres en dégradé */
.stat-info .number,.sb-val{
  background:linear-gradient(135deg,#1B5EA8,#2E8B3A);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent}
html[dir="rtl"] .stat-info .number,html[dir="rtl"] .sb-val{
  background:linear-gradient(225deg,#1B5EA8,#2E8B3A);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent}

html[dir="rtl"] .client-icon{background:linear-gradient(225deg,#d1fae5,#a7f3d0)}

/* ══════════════════════════════════════════════════════════
   10. PUCES DE LISTE EN ARABE
   Les listes du site dessinent leur puce avec ::before placé
   en absolu à gauche. En arabe elle doit passer à droite,
   sinon elle reste à l'opposé du texte.
   ══════════════════════════════════════════════════════════ */
html[dir="rtl"] .agr-list li,
html[dir="rtl"] .card-list li,
html[dir="rtl"] .dom-card-list li,
html[dir="rtl"] .accreditation-list li,
html[dir="rtl"] .about-pts li,
html[dir="rtl"] .hist-points li,
html[dir="rtl"] ul li{
  padding-left:0;padding-right:14px;text-align:right}

html[dir="rtl"] .agr-list li::before,
html[dir="rtl"] .card-list li::before,
html[dir="rtl"] .dom-card-list li::before,
html[dir="rtl"] .accreditation-list li::before,
html[dir="rtl"] .about-pts li::before,
html[dir="rtl"] .hist-points li::before,
html[dir="rtl"] ul li::before{
  left:auto;right:0}

/* Les listes qui n'utilisent pas ::before mais une puce native */
html[dir="rtl"] ul,html[dir="rtl"] ol{
  padding-right:0;padding-left:0;list-style-position:inside}

/* Le nom de la société reste en écriture latine partout */
.logo-text h1,.logo-text p,.fl-name,.fl-sub{direction:ltr;unicode-bidi:isolate}

/* ══════════════════════════════════════════════════════════
   Correctifs
   ══════════════════════════════════════════════════════════ */

/* Les lettres à jambage (g, p, j) du texte en dégradé étaient coupées
   en bas : la zone du dégradé s'arrête à la hauteur de la ligne.
   On rend un peu d'air sous chaque mot. */
.aph-h1 em > span,
.dom-hero-h1 em > span,
.gh-h1 em > span,
.ch-h1 > span > span,
.map-h3 span,
.cta-h2 span,
.txt-grad,
.hero-grad-text{
  padding-bottom:.12em;
  margin-bottom:-.12em;
  line-height:1.18;
}
.gh-h1,.aph-h1,.dom-hero-h1,.ch-h1,.hero-title{ line-height:1.18; }

/* En arabe, la flèche du menu déroulant restait à droite, sous l'icône du champ.
   On la bascule à gauche et on réserve la place des deux côtés. */
html[dir="rtl"] .fg select{
  background-position:left 14px center;
  padding-left:36px;
}
html[dir="rtl"] .fg-icon select{
  padding-right:38px;
}
