/* =========================================================
   AFEC Tlemcen - Feuille de style du site public
   Propriétés logiques (inline-start / inline-end) : le français (LTR)
   et l'arabe (RTL) partagent exactement les mêmes règles.
   ========================================================= */

/* ---------- Polices ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("../fonts/noto-naskh-arabic-arabic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("../fonts/noto-naskh-arabic-arabic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #04222c;
  --navy-2: #062a35;
  --navy-3: #0a3440;
  --green: #94f190;
  --green-2: #6ee4a0;
  --green-line: #3fbf73;
  --ink: #0f3a3a;
  --ink-soft: #3f5a55;
  --mint: #e7f0e3;
  --mint-2: #eef3ec;
  --white: #ffffff;
  --line-soft: rgba(15, 58, 58, .14);

  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --pad: 67px;
  --maxw: 1440px;
  --to-end: to right;     /* direction de lecture pour les dégradés */
  --to-start: to left;
  --flip: 1;
}
[dir="rtl"] {
  --sans: "IBM Plex Sans Arabic", "Inter", Tahoma, sans-serif;
  --serif: "Noto Naskh Arabic", "IBM Plex Sans Arabic", serif;
  --to-end: to left;
  --to-start: to right;
  --flip: -1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--navy); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, blockquote { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico .fill { fill: currentColor; stroke: none; }
[dir="rtl"] .ico-flip { transform: scaleX(-1); }
/* Les photographies montrent des lieux réels : elles ne sont jamais retournées en arabe. */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; inset-block-start: -60px; inset-inline-start: 16px; z-index: 200; background: var(--green); color: var(--navy); padding: 10px 18px; border-radius: 30px; font-weight: 600; transition: inset-block-start .2s; }
.skip-link:focus { inset-block-start: 12px; }

/* Arabe : jamais d'espacement entre lettres (casse les liaisons) */
[dir="rtl"] * { letter-spacing: 0 !important; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); position: relative; }
.section-mint { position: relative; background: linear-gradient(180deg, #e3ede2 0%, #e9f1e6 60%, #eef3ec 100%); overflow: hidden; }
.section-dark { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.deco-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.deco-lines path { fill: none; stroke: rgba(120, 170, 140, .35); stroke-width: 1.2; }
[dir="rtl"] .deco-lines, [dir="rtl"] .contours, [dir="rtl"] .page-hero__lines { transform: scaleX(-1); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contours path { fill: none; stroke: rgba(110, 228, 160, .16); stroke-width: 1.2; }

/* ---------- Éléments communs ---------- */
.eyebrow { font-size: 14.5px; font-weight: 500; letter-spacing: .09em; color: var(--ink); margin-block-end: 18px; }
.eyebrow--light { color: rgba(255, 255, 255, .86); }
[dir="rtl"] .eyebrow { font-size: 15px; font-weight: 600; }

.title-serif { font-family: var(--serif); font-weight: 500; font-size: 42px; line-height: 1.08; color: var(--ink); letter-spacing: -.005em; }
.title-serif--light { color: var(--white); }
.title-serif--xl { font-size: 56px; line-height: 1.02; }
[dir="rtl"] .title-serif { line-height: 1.5; font-weight: 600; }

.lead { font-size: 17.5px; line-height: 1.75; color: var(--ink-soft); }
.lead--light { color: rgba(255, 255, 255, .85); }
[dir="rtl"] .lead { line-height: 1.95; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 42px; padding-inline: 26px; border-radius: 40px; font-size: 13.5px; font-weight: 500; transition: background .25s, color .25s, border-color .25s, transform .25s; white-space: nowrap; }
.btn .ico { width: 15px; height: 15px; transition: transform .25s; }
.btn:hover .ico-flip { translate: calc(4px * var(--flip)) 0; }
.btn--green { background: var(--green); color: #07322a; }
.btn--green:hover { background: #b2f7ae; }
.btn--sm { height: 40px; padding-inline: 22px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.btn--lg { height: 52px; padding-inline: 32px; font-size: 15px; }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark .ico { color: var(--green); }
.btn--dark:hover { background: #0b3644; }
.btn--outline { border: 1.5px solid rgba(148, 241, 144, .7); color: var(--white); }
.btn--outline .ico { color: var(--green); }
.btn--outline:hover { background: rgba(148, 241, 144, .12); }
[dir="rtl"] .btn { font-size: 14.5px; }

.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(15, 58, 58, .45); }
.link-arrow:hover { text-decoration-color: currentColor; }
.link-arrow--light { color: var(--white); text-decoration-color: rgba(255, 255, 255, .5); }
.link-arrow--light .ico { color: var(--green); width: 15px; height: 15px; }
.circle-arrow { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.3px solid currentColor; border-radius: 50%; }
.circle-arrow .ico { width: 13px; height: 13px; }

.round-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.4px solid rgba(255, 255, 255, .55); color: var(--white); transition: border-color .25s, background .25s; }
.round-btn:hover { border-color: var(--green); background: rgba(148, 241, 144, .1); }

.play { display: inline-flex; align-items: center; gap: 18px; color: var(--white); font-size: 15.5px; font-weight: 500; }
.play__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--green-line); transition: background .25s; }
.play__icon .ico { width: 18px; height: 18px; margin-inline-start: 3px; }
[dir="rtl"] .play__icon .ico { margin-inline-start: 0; margin-inline-end: 3px; transform: scaleX(-1); }
.play:hover .play__icon { background: rgba(148, 241, 144, .15); }

.tag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding-inline: 12px; border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--white); background: var(--accent, var(--green-line)); }

.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.6; color: var(--ink); padding-block: 7px; }
.check-list .ico { width: 18px; height: 18px; margin-block-start: 3px; color: var(--accent, var(--green-line)); stroke-width: 2.2; }
.check-list--light li { color: var(--white); }
.check-list--light .ico { color: var(--green); }

/* =========================================================
   EN-TÊTE
   ========================================================= */
.header { position: absolute; inset: 0 0 auto 0; z-index: 60; height: 88px; }
.header::before { content: ""; position: absolute; inset: 0; background: rgba(3, 28, 36, .92); }
.header::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 33%; background: linear-gradient(100deg, #004b59 0%, #003a47 45%, #04303b 100%); clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); transition: opacity .3s; }
[dir="rtl"] .header::after { clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%); background: linear-gradient(260deg, #004b59 0%, #003a47 45%, #04303b 100%); }
.header__inner { position: relative; z-index: 2; height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 58px var(--pad); display: flex; align-items: center; }
.header.is-stuck { position: fixed; height: 74px; animation: headerIn .35s ease; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.header.is-stuck::before { background: rgba(3, 28, 36, .97); backdrop-filter: blur(10px); }
.header.is-stuck .brand__logo { width: 60px; height: 48px; }
@keyframes headerIn { from { transform: translateY(-100%); } to { transform: none; } }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); flex-shrink: 0; }
.brand__logo { width: 76px; height: 60px; border-radius: 0; object-fit: contain; transition: width .3s, height .3s; }
.brand__name { font-size: 18px; font-weight: 600; line-height: 1.05; letter-spacing: .01em; }
.brand__sep { width: 1px; height: 32px; background: rgba(255, 255, 255, .3); margin-inline: 6px; }
.brand__tag { font-size: 10px; line-height: 1.5; letter-spacing: .06em; color: rgba(148, 241, 144, .8); }
[dir="rtl"] .brand__name { line-height: 1.25; }
[dir="rtl"] .brand__tag { font-size: 11.5px; }
.brand__tag--legal { display: block; max-width: 250px; font-size: 9px; line-height: 1.45; letter-spacing: .04em; color: rgba(255, 255, 255, .62); }
[dir="rtl"] .brand__tag--legal { font-size: 10.5px; line-height: 1.6; letter-spacing: 0; }
.brand__legal { display: block; max-width: 270px; margin-block-start: 5px; font-size: 9.5px; line-height: 1.45; letter-spacing: .03em; color: rgba(255, 255, 255, .45); }
[dir="rtl"] .brand__legal { font-size: 11px; line-height: 1.6; letter-spacing: 0; }

.nav { display: flex; gap: 30px; margin-inline-start: 60px; }
.nav__link { position: relative; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; color: rgba(255, 255, 255, .9); padding-block: 8px; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 2px; background: var(--green-line); transform: scaleX(0); transition: transform .25s; }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--white); }
[dir="rtl"] .nav__link { font-size: 15px; font-weight: 500; }

.header__right { margin-inline-start: auto; display: flex; align-items: center; gap: 28px; }
.header__loc { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .03em; color: rgba(255, 255, 255, .92); white-space: nowrap; }
.header__loc .ico { color: var(--green); width: 16px; height: 16px; }
[dir="rtl"] .header__loc { font-size: 13.5px; }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding-inline: 14px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .3); color: var(--white); font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s; }
.lang-switch .ico { width: 15px; height: 15px; color: var(--green); }
.lang-switch:hover { border-color: var(--green); background: rgba(148, 241, 144, .1); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 15px; }
.lang-switch[lang="fr"] { font-family: "Inter", sans-serif; font-size: 13px; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.burger span { width: 16px; height: 1.6px; background: var(--white); transition: transform .25s, opacity .25s; }

/* =========================================================
   ACCUEIL : HERO (paysage en couches, animé en douceur)
   ========================================================= */
.hero { position: relative; min-height: 780px; overflow: hidden; background: #0c3d48; }
.hero__scene { position: absolute; inset: 88px 0 0 0; overflow: hidden; }
/* Diaporama : les images défilent horizontalement */
.hs { position: absolute; inset: 0; overflow: hidden; }
.hs__track { display: flex; height: 100%; width: 100%; transition: transform .82s cubic-bezier(.65, .02, .28, 1); will-change: transform; }
.hs__slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.hs__img { position: absolute; inset: 0; display: block; background-size: cover; background-position: center; transform: scale(1.09); transition: transform 9s linear; }
.hs__slide.is-active .hs__img { transform: scale(1); }

/* voile de lecture côté texte */
.hero::after { content: ""; position: absolute; inset: 88px 0 0 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(var(--to-end), rgba(5, 34, 42, .84) 0%, rgba(5, 34, 42, .6) 32%, rgba(5, 34, 42, .26) 58%, rgba(5, 34, 42, .16) 100%),
    linear-gradient(0deg, rgba(5, 34, 42, .3) 0%, rgba(5, 34, 42, 0) 34%); }
.hero--photo::after { background: linear-gradient(var(--to-end), rgba(5, 34, 42, .82) 0%, rgba(5, 34, 42, .5) 38%, rgba(5, 34, 42, .08) 66%), linear-gradient(0deg, rgba(5, 34, 42, .5) 0%, rgba(5, 34, 42, 0) 30%); }

/* Contenu */
.hero__inner { position: relative; z-index: 2; min-height: 780px; display: flex; flex-direction: column; justify-content: center; padding-block: 148px 186px; }
.hero__content { position: relative; width: min(620px, 48%); }
.hero__eyebrow { display: inline-flex; flex-direction: column; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; line-height: 1.9; text-transform: uppercase; color: var(--green-2); margin-block-end: 22px; position: relative; padding-inline-start: 24px; }
.hero__eyebrow::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 11px; width: 14px; height: 2px; background: var(--green); }
.hero__title { font-size: 58px; font-weight: 700; line-height: 1.03; letter-spacing: -.01em; color: var(--white); margin-block-end: 26px; }
.hero__title span { color: var(--green-2); }
.hero__text { font-size: 18.5px; line-height: 1.75; color: rgba(255, 255, 255, .9); margin-block-end: 36px; max-width: 560px; }
.hero__actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero__link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--white); padding-block: 6px; border-block-end: 1.5px solid rgba(148, 241, 144, .55); transition: border-color .25s, gap .25s; }
.hero__link .ico { width: 16px; height: 16px; color: var(--green-2); }
.hero__link:hover { border-color: var(--green-2); gap: 14px; }
[dir="rtl"] .hero__link .ico { transform: scaleX(-1); }
[dir="rtl"] .hero__eyebrow { font-size: 14px; letter-spacing: 0; line-height: 1.8; }
[dir="rtl"] .hero__title { font-size: 52px; line-height: 1.25; margin-block-end: 22px; }

[dir="rtl"] .hero__text { font-size: 18px; line-height: 1.85; margin-block-end: 30px; }
[dir="rtl"] .hero__link { font-size: 16px; }

/* Commandes du diaporama */
/* Pastilles du diaporama */
.hs-dots { position: absolute; z-index: 3; inset-inline: 0; inset-block-end: 112px; display: flex; justify-content: center; gap: 9px; }
.hs-dot { width: 10px; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .42); border: 0; padding: 0; cursor: pointer; transition: width .35s cubic-bezier(.2, .7, .2, 1), background .3s; }
.hs-dot:hover { background: rgba(255, 255, 255, .7); }
.hs-dot.is-active { width: 34px; background: var(--green-2); }

/* Compteur et barre de progression, en bas à droite */
.hs-time { position: absolute; z-index: 3; inset-inline-end: var(--pad); inset-block-end: 100px; display: flex; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 40px; background: rgba(6, 38, 46, .52); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .16); }
.hs-count { display: inline-flex; align-items: baseline; gap: 3px; direction: ltr; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.hs-count b { font-size: 15px; color: var(--white); }
.hs-count i { font-style: normal; opacity: .5; }
.hs-bar { position: relative; display: block; width: 92px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hs-bar span { position: absolute; inset-block: 0; inset-inline-start: 0; width: 100%; border-radius: inherit; background: var(--green-2); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .hs-bar span { transform-origin: right; }
.hs-bar span.is-running { animation: hsBar linear forwards; }
@keyframes hsBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs-arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .24); background: transparent; color: var(--white); cursor: pointer; transition: background .25s, border-color .25s; }
.hs-arrow:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.hs-arrow .ico { width: 14px; height: 14px; }
.hs-arrow[data-hs-prev] .ico { transform: rotate(180deg); }
[dir="rtl"] .hs-arrow[data-hs-prev] .ico { transform: none; }
[dir="rtl"] .hs-arrow[data-hs-next] .ico { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
  .hs__img, .hs__track, .hs-bar span { animation: none !important; transition: none !important; }
}

/* =========================================================
   ACCUEIL : AGRÉMENTS ET QUALIFICATIONS
   ========================================================= */
.agr { position: relative; z-index: 3; background: linear-gradient(180deg, #eaf1e6 0%, #eaf1e6 100%); }
.agr__inner { margin-block-start: -76px; padding: 38px 44px 34px; border-radius: 8px; background: var(--white); box-shadow: 0 26px 60px rgba(12, 52, 44, .18); border-block-start: 3px solid var(--green-line); }
.agr__head { margin-block-end: 26px; }
.agr__title { font-family: var(--serif); font-size: 30px; line-height: 1.25; color: var(--ink); margin-block-start: 8px; }
[dir="rtl"] .agr__title { line-height: 1.5; font-size: 27px; }
.agr__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 34px; }
.agr__item { display: flex; align-items: flex-start; gap: 16px; }
.agr__item + .agr__item { position: relative; }
.agr__item + .agr__item::before { content: ""; position: absolute; inset-block: 4px; inset-inline-start: -17px; width: 1px; background: #e0e9dd; }
.agr__stamp { position: relative; display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: #eaf4e5; color: #1b6b4b; box-shadow: 0 0 0 1px #cfe2c8; }
.agr__stamp::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(34, 117, 94, .45); }
.agr__stamp .ico { width: 24px; height: 24px; stroke-width: 1.7; }
.agr__item b { display: block; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--ink); margin-block-end: 6px; }
.agr__item span { display: block; font-size: 13px; line-height: 1.65; color: var(--ink-soft); }
[dir="rtl"] .agr__item b { font-size: 15px; }
[dir="rtl"] .agr__item span { font-size: 14px; line-height: 1.8; }

/* Mention « pôle prioritaire » */
.prio { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding-inline: 10px; border-radius: 20px; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.prio::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.prio--dom { margin-inline-start: 12px; vertical-align: middle; color: #0b3b2c; background: #d9f3cf; }
.prio--card { align-self: flex-start; margin-block-end: 10px; color: #0b3b2c; background: var(--green); }
[dir="rtl"] .prio { font-size: 11px; letter-spacing: 0; }

/* =========================================================
   ACCUEIL : NOTRE APPROCHE (systèmes + approche réunis)
   ========================================================= */
.approach { position: relative; padding-block-start: 78px; background: linear-gradient(180deg, #eaf1e6 0%, #e6efe2 55%, #e2ece0 100%); overflow: hidden; }
.approach__inner { display: grid; grid-template-columns: 400px 1fr; gap: 54px; align-items: start; padding-block-end: 74px; }
.approach__text .title-serif { font-size: 44px; margin-block-end: 24px; }
.approach__text .lead { font-size: 16.5px; line-height: 1.75; margin-block-end: 16px; }
.approach__text .btn { margin-block-start: 16px; }
[dir="rtl"] .approach__text .title-serif { line-height: 1.45; }
[dir="rtl"] .approach__text .lead { line-height: 1.95; }

.ovals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; --ring: #e8f0e4; }
.oval { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.oval__frame { position: relative; display: block; width: 100%; aspect-ratio: 1.16 / 1; border-radius: 50%; overflow: hidden; box-shadow: 0 16px 34px rgba(16, 60, 44, .15); transition: transform .35s ease, box-shadow .35s ease; }
.oval__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); background: linear-gradient(180deg, rgba(4, 34, 30, 0) 55%, rgba(4, 34, 30, .22) 100%); }
.oval__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .7s ease; }
/* pastille : ancrée sur le bord bas de l'ovale, couleur tirée de l'image */
.oval__icon { position: relative; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-block-start: -26px; border-radius: 50%; background: var(--tone, var(--navy)); color: var(--white); box-shadow: 0 0 0 5px var(--ring), 0 10px 20px rgba(10, 40, 34, .22); transition: transform .35s ease, background .35s ease; }
.oval__icon .ico { width: 23px; height: 23px; stroke-width: 1.5; }
.oval__label { margin-block-start: 12px; font-size: 11.5px; font-weight: 700; line-height: 1.5; letter-spacing: .07em; color: var(--ink); transition: color .3s; }
[dir="rtl"] .oval__label { font-size: 14.5px; font-weight: 600; line-height: 1.7; letter-spacing: 0; }
.oval--1 { --tone: #2e7d4f; }  /* environnement et dechets */
.oval--2 { --tone: #c1553a; }  /* energie et hydrocarbures */
.oval--3 { --tone: #2f6b33; }  /* foresterie */
.oval--4 { --tone: #6c8b2c; }  /* agriculture */
.oval--5 { --tone: #067a9a; }  /* tourisme */
.oval--6 { --tone: #22755e; }  /* amenagement et paysage */
.oval:hover .oval__frame { transform: translateY(-4px); box-shadow: 0 24px 44px rgba(16, 60, 44, .22); }
.oval:hover .oval__img { transform: scale(1.06); }
.oval:hover .oval__icon { transform: translateY(-4px); }
.oval:hover .oval__label { color: var(--tone); }

.approach__steps { position: relative; overflow: hidden; background: var(--navy); }
.approach__steps-bg { position: absolute; inset: 0; background-size: cover; background-position: center 62%; opacity: .5; }
.approach__steps::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--to-end), rgba(4, 34, 44, .94) 0%, rgba(4, 34, 44, .82) 55%, rgba(4, 34, 44, .74) 100%); }
.approach__steps .container { position: relative; z-index: 2; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-block: 48px; }
.step { display: flex; align-items: center; gap: 18px; color: var(--white); }
.step + .step { padding-inline-start: 34px; border-inline-start: 1px solid rgba(255, 255, 255, .18); }
.step__icon { color: var(--green-2); }
.step__icon .ico { width: 34px; height: 34px; stroke-width: 1.4; }
.step b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: .04em; }
.step small { display: block; font-size: 14px; color: rgba(255, 255, 255, .75); margin-block-start: 2px; }
[dir="rtl"] .step b { font-size: 17px; }

/* =========================================================
   ACCUEIL : EXPERTISES
   ========================================================= */
.expertise { position: relative; padding-block: 36px 52px; background: linear-gradient(180deg, #e3ede2 0%, #e9f1e6 60%, #eef3ec 100%); overflow: hidden; }
.expertise__head { position: relative; display: flex; align-items: flex-start; margin-block-end: 36px; }
.expertise__head .eyebrow { margin-block-end: 20px; }
.expertise__head .title-serif { font-size: 44px; width: 590px; line-height: 1.03; }
[dir="rtl"] .expertise__head .title-serif { line-height: 1.45; }
.expertise__intro { margin-inline-start: 30px; margin-block-start: 20px; padding-inline-start: 36px; border-inline-start: 1px solid rgba(15, 58, 58, .35); padding-block-end: 12px; }
.expertise__intro .lead { font-size: 16.5px; line-height: 1.7; color: var(--ink); margin-block-end: 18px; }

.cards-wrap { position: relative; }
.cards { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; min-height: 476px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block-end: 4px; }
.cards::-webkit-scrollbar { display: none; }
.cards > .card { scroll-snap-align: start; }
.cards-nav { position: absolute; inset-block-start: 50%; z-index: 4; display: grid; place-items: center; width: 46px; height: 46px; margin-block-start: -23px; border-radius: 50%; background: var(--white); border: 1px solid #d7e3d6; box-shadow: 0 10px 26px rgba(16, 60, 44, .18); color: var(--ink); transition: background .25s, color .25s, opacity .25s; }
.cards-nav:hover { background: var(--navy); color: var(--white); }
.cards-nav--prev { inset-inline-start: -22px; }
.cards-nav--next { inset-inline-end: -22px; }
.cards-nav .ico { width: 18px; height: 18px; }
.cards-nav--prev .ico { transform: rotate(180deg); }
[dir="rtl"] .cards-nav--prev .ico { transform: none; }
[dir="rtl"] .cards-nav--next .ico { transform: rotate(180deg); }
.cards-nav[disabled] { opacity: .35; pointer-events: none; }
.cards-dots { display: flex; justify-content: center; gap: 8px; margin-block-start: 22px; }
.cards-dots button { width: 8px; height: 8px; border-radius: 50%; background: #c4d4c6; transition: width .25s, background .25s; }
.cards-dots button.is-active { width: 26px; border-radius: 6px; background: var(--green-dark, #1f5e56); }
.card { position: relative; overflow: hidden; border-radius: 6px; color: var(--white); box-shadow: 0 16px 30px rgba(20, 60, 40, .16); transition: transform .3s ease; min-height: 476px; }
.card:hover { transform: translateY(-6px); }
.card__img { position: absolute; inset-inline: 0; inset-block-end: 0; height: 42%; background-size: cover; background-position: center bottom; }
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__body { position: relative; z-index: 2; height: 100%; padding: 24px 20px 18px 22px; display: flex; flex-direction: column; }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .08); margin-block-end: 18px; transition: background .3s, border-color .3s; }
.card__icon .ico { width: 23px; height: 23px; stroke-width: 1.5; }
.card:hover .card__icon { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .6); }
.card h3 { font-size: 15px; font-weight: 700; line-height: 1.35; margin-block-end: 14px; }
.card p { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.card__more { margin-block-start: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--white); }
.card__more .ico { width: 13px; height: 13px; }
[dir="rtl"] .card h3 { font-size: 15.5px; line-height: 1.6; }
[dir="rtl"] .card p { font-size: 14px; line-height: 1.8; }
[dir="rtl"] .card__more { font-size: 13.5px; }
.card--1 { background: #2e7d4f; } .card--1::before { background: linear-gradient(180deg, #2e7d4f 0%, #27704a 38%, rgba(40, 115, 78, .55) 60%, rgba(10, 45, 32, .15) 100%); }
.card--2 { background: #c1553a; } .card--2::before { background: linear-gradient(180deg, #c1553a 0%, #b34d34 40%, rgba(180, 80, 55, .55) 62%, rgba(70, 28, 18, .15) 100%); }
.card--3 { background: #2f6b33; } .card--3::before { background: linear-gradient(180deg, #33753a 0%, #2f6b33 42%, rgba(55, 115, 60, .55) 62%, rgba(18, 48, 22, .14) 100%); }
.card--4 { background: #6c8b2c; } .card--4::before { background: linear-gradient(180deg, #739429 0%, #6c8b2c 42%, rgba(115, 145, 45, .55) 62%, rgba(45, 60, 18, .14) 100%); }
.card--5 { background: #067a9a; } .card--5::before { background: linear-gradient(180deg, #0a8198 0%, #067a9a 42%, rgba(10, 110, 150, .5) 62%, rgba(10, 50, 80, .12) 100%); }
.card--6 { background: #22755e; } .card--6::before { background: linear-gradient(180deg, #22755e 0%, #1e6b5c 42%, rgba(30, 100, 90, .5) 62%, rgba(10, 40, 40, .12) 100%); }

/* =========================================================
   ACCUEIL : HISTOIRE
   ========================================================= */
.story { display: flex; min-height: 447px; background: linear-gradient(90deg, #e9f0e7, #e4ede3); }
.story__media { position: relative; width: min(590px, 42%); flex-shrink: 0; overflow: hidden; }
.story__media-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.story__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(var(--to-end), rgba(6, 30, 20, .55) 0%, rgba(6, 30, 20, .25) 45%, rgba(6, 30, 20, 0) 70%); }
.story__media-inner { position: relative; z-index: 2; padding-block: 70px 50px; padding-inline-start: var(--pad); }
.story__title { font-size: 36px; font-weight: 500; line-height: 1.2; color: var(--white); margin-block: 6px 32px; }
[dir="rtl"] .story__title { font-size: 42px; font-weight: 600; line-height: 1.45; }
.story__content { flex: 1; min-width: 0; display: flex; padding-block-start: 42px; padding-inline: 68px var(--pad); }
.story__history { flex: 1 1 320px; min-width: 0; max-width: 410px; }
.story__history .eyebrow { font-size: 13px; margin-block-end: 8px; }
.story__year { font-family: var(--serif); font-size: 64px; font-weight: 500; line-height: 1.1; color: var(--ink); margin-block-end: 12px; }
.story__history .lead { font-size: 16.5px; line-height: 1.7; color: var(--ink); margin-block-end: 26px; }
.facts li { display: flex; align-items: flex-start; gap: 30px; font-size: 15.5px; line-height: 1.7; color: var(--ink); margin-block-end: 18px; padding-inline-start: 12px; }
.facts .ico { width: 30px; height: 30px; stroke-width: 1.3; margin-block-start: -2px; }
.story__values { flex: 0 1 auto; min-width: 0; margin-inline-start: 16px; padding-inline-start: 36px; border-inline-start: 1px solid rgba(15, 58, 58, .3); margin-block: 58px 40px; }
.story__values .eyebrow { font-size: 13px; margin-block: -48px 22px; }
.values li { display: flex; align-items: center; gap: 24px; padding-block: 12px 20px; border-block-end: 1px solid rgba(15, 58, 58, .08); }
.values li:last-child { border-block-end: 0; }
.values .ico { width: 34px; height: 34px; stroke-width: 1.3; color: var(--ink); }
.values span { font-size: 15px; line-height: 1.6; color: var(--ink); }
.values b { display: block; font-weight: 500; }
[dir="rtl"] .values b { font-weight: 600; }

/* =========================================================
   ACCUEIL : RÉALISATIONS
   ========================================================= */
.projects { position: relative; padding-block: 50px 56px; background: var(--navy); border-block-start: 4px solid #d9e6d6; }
.projects__inner { display: grid; grid-template-columns: 1fr 1.2fr 200px; gap: 46px; align-items: start; }
.projects__text .eyebrow { font-size: 13px; margin-block-end: 14px; }
.projects__text .title-serif { font-size: 38px; line-height: 1.12; margin-block-end: 30px; }
[dir="rtl"] .projects__text .title-serif { line-height: 1.35; margin-block-end: 22px; }
.project-card { position: relative; min-height: 210px; padding: 26px 32px; border: 1px solid rgba(148, 241, 144, .28); border-radius: 6px; background: rgba(6, 42, 53, .92); color: var(--white); }
.project-card__kicker { font-size: 10px; letter-spacing: .08em; color: rgba(255, 255, 255, .7); margin-block-end: 6px; }
.project-card__title { font-size: 17px; font-weight: 600; letter-spacing: .03em; line-height: 1.4; margin-block-end: 16px; }
[dir="rtl"] .project-card__kicker { font-size: 12px; }
[dir="rtl"] .project-card__title { font-size: 19px; }
.project-card__list li { position: relative; padding-inline-start: 34px; font-size: 13.5px; line-height: 1.9; color: var(--green-2); }
[dir="rtl"] .project-card__list li { font-size: 15px; }
.project-card__list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 50%; width: 12px; height: 12px; margin-block-start: -6px; border-radius: 50%; border: 1.5px solid var(--green-2); box-shadow: inset 0 0 0 2.5px rgba(4, 38, 46, 1), inset 0 0 0 6px var(--green-2); }
.project-card .link-arrow { margin-block-start: 18px; font-size: 13px; }
.tabs { display: flex; flex-direction: column; border-inline-start: 2px solid rgba(255, 255, 255, .18); padding-inline-start: 24px; margin-block-start: 34px; }
.tab { position: relative; display: flex; align-items: center; gap: 14px; height: 62px; border-block-end: 1px solid rgba(255, 255, 255, .12); text-align: start; font-size: 11px; font-weight: 600; letter-spacing: .03em; color: rgba(255, 255, 255, .72); transition: color .2s; }
[dir="rtl"] .tab { font-size: 14px; font-weight: 500; }
.tab:last-child { border-block-end: 0; }
.tab::before { content: ""; position: absolute; inset-inline-start: -26px; inset-block: 8px; width: 2px; background: transparent; transition: background .2s; }
.tab.is-active { color: var(--white); }
.tab.is-active::before { background: var(--green-line); }
.tab.is-active::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: -1px; width: 58px; height: 2px; background: var(--green-line); }
.tab:hover { color: var(--white); }

/* =========================================================
   BANDEAU CONTACT (clair)
   ========================================================= */
.cta { position: relative; height: 300px; border-block-start: 8px solid #cfdfcb; overflow: hidden; background: #eff4ec; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .34; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(var(--to-end), rgba(240, 245, 237, .97) 0%, rgba(240, 245, 237, .86) 40%, rgba(240, 245, 237, .5) 72%, rgba(240, 245, 237, .35) 100%); }
.cta__inner { position: relative; z-index: 2; height: 100%; }
.cta__text { padding-block-start: 34px; color: var(--ink); }
.cta__text .eyebrow { font-size: 13px; margin-block-end: 10px; color: var(--ink-soft); }
.cta__title { font-size: 37px; font-weight: 600; line-height: 1.18; margin-block-end: 14px; color: var(--ink); }
.cta__lead { font-size: 16px; line-height: 1.7; margin-block-end: 24px; color: var(--ink-soft); }
[dir="rtl"] .cta__title { font-size: 38px; line-height: 1.4; margin-block-end: 8px; }
[dir="rtl"] .cta__text { padding-block-start: 24px; }
[dir="rtl"] .cta__lead { margin-block-end: 18px; }
.cta__side { position: absolute; inset-inline-end: var(--pad); inset-block-start: 164px; text-align: end; font-size: 10.5px; font-weight: 600; line-height: 1.85; letter-spacing: .1em; color: rgba(10, 52, 52, .8); }
[dir="rtl"] .cta__side { font-size: 13px; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.footer { background: #031d22; color: var(--white); padding-block: 34px 26px; }
.footer__top { display: flex; align-items: center; gap: 30px; padding-block-end: 38px; border-block-end: 1px solid rgba(148, 241, 144, .2); }
.brand--footer { gap: 16px; width: 268px; flex-shrink: 0; }
.brand--footer .brand__logo { width: 72px; height: 58px; }
.brand--footer .brand__name { display: block; font-size: 18px; font-weight: 500; }
.brand--footer .brand__tag { display: block; margin-block-start: 8px; font-size: 10px; color: rgba(148, 241, 144, .55); }
.footer__nav { flex: 1; display: flex; flex-wrap: wrap; gap: 12px 20px; padding-inline: 22px; justify-content: center; border-inline-start: 1px solid rgba(255, 255, 255, .2); min-height: 56px; align-items: center; font-size: 13px; }
[dir="rtl"] .footer__nav { font-size: 15px; }
.footer__nav a { color: rgba(255, 255, 255, .9); transition: color .2s; text-transform: capitalize; }
.footer__nav a:hover { color: var(--green); }
/* Coordonnées du pied de page : regroupées deux par deux, une ligne par type */
.footer__contact { margin-inline-start: auto; width: 398px; flex-shrink: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; font-size: 13px; }
.fc-item { display: flex; align-items: flex-start; gap: 12px; }
.fc-ic { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: rgba(148, 241, 144, .12); }
.fc-ic .ico { width: 15px; height: 15px; color: var(--green); }
.fc-item small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(148, 241, 144, .65); margin-block-end: 4px; }
.fc-item span, .fc-item a { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.fc-item a { display: inline-block; transition: color .2s; }
.fc-item a:hover { color: var(--green); }
.fc-item > div > a { display: block; white-space: nowrap; }
@media (max-width: 1024px) { .fc-item > div > a { white-space: normal; } }
[dir="rtl"] .fc-item small { letter-spacing: 0; font-size: 11px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block-start: 24px; font-size: 12px; color: rgba(255, 255, 255, .85); }
[dir="rtl"] .footer__bottom { font-size: 13.5px; }
.footer__meta { display: flex; align-items: center; gap: 24px; }
.social { color: var(--white); transition: color .2s; }
.social .ico { width: 19px; height: 19px; }
.social:hover { color: var(--green); }


/* ---------- Panneau « Sur cette page » (pages intérieures) ---------- */
.onpage { position: absolute; inset-inline-end: 0; inset-block-start: 170px; width: 263px; padding: 16px 30px 26px; background: linear-gradient(180deg, rgba(3, 30, 38, .94), rgba(3, 30, 38, .88)); border-inline-start: 3px solid var(--green-line); }
.onpage__title { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; color: var(--white); padding-block-end: 12px; margin-block-end: 18px; position: relative; }
.onpage__title::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 40px; height: 2px; background: var(--green-line); }
.onpage__list li a { display: flex; align-items: center; gap: 24px; min-height: 44px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .88); transition: color .2s; }
.onpage__list b { font-size: 20px; font-weight: 500; width: 24px; color: var(--white); transition: color .2s; flex-shrink: 0; }
.onpage__list li.is-active b, .onpage__list li a:hover b { color: var(--green-2); }
.onpage__list li a:hover { color: var(--white); }
[dir="rtl"] .onpage__title { font-size: 14px; }
[dir="rtl"] .onpage__list li a { font-size: 15px; font-weight: 500; }

/* =========================================================
   PAGES INTÉRIEURES : BANNIÈRE
   ========================================================= */
.page-hero { position: relative; min-height: 620px; overflow: hidden; background: var(--navy); color: var(--white); }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--to-end), rgba(4, 34, 44, .96) 0%, rgba(4, 34, 44, .82) 38%, rgba(4, 34, 44, .35) 70%, rgba(4, 34, 44, .15) 100%), linear-gradient(0deg, rgba(4, 34, 44, .7) 0%, rgba(4, 34, 44, 0) 35%); pointer-events: none; }
.page-hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.page-hero__lines path { fill: none; stroke: rgba(110, 228, 160, .28); stroke-width: 1.3; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: drawLine 2.4s ease forwards .3s; }
.page-hero__lines path:nth-child(2) { animation-delay: .5s; }
.page-hero__lines path:nth-child(3) { animation-delay: .7s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.page-hero__inner { position: relative; z-index: 2; min-height: 620px; padding-block: 170px 70px; }
.page-hero__content { max-width: 720px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .7); margin-block-end: 30px; }
.crumbs a:hover { color: var(--green); }
.crumbs .ico { width: 13px; height: 13px; color: var(--green); }
.crumbs span { color: var(--white); }
[dir="rtl"] .crumbs { font-size: 14.5px; }
.page-hero__title { font-size: 56px; font-weight: 700; line-height: 1.04; color: var(--white); margin-block-end: 26px; }
.page-hero__title span { color: var(--green-2); display: block; }
[dir="rtl"] .page-hero__title { font-size: 58px; line-height: 1.32; }
.page-hero__text { font-size: 18.5px; line-height: 1.75; color: rgba(255, 255, 255, .88); max-width: 600px; }
[dir="rtl"] .page-hero__text { font-size: 19px; line-height: 1.95; }
.page-hero__panel { z-index: 3; }
.page-hero--project .page-hero__content { max-width: 820px; }
.page-hero--project .page-hero__title { font-size: 52px; }
.tag--hero { margin-block-end: 20px; height: 32px; font-size: 13px; }

.section-head { position: relative; margin-block-end: 56px; max-width: 720px; }

/* =========================================================
   À PROPOS
   ========================================================= */
.about-intro { padding-block: 110px; }
.about-intro__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: center; }
.about-intro__media { position: relative; }
.organic { background-size: cover; background-position: center; box-shadow: 0 30px 60px rgba(10, 50, 40, .18); }
.organic--a { aspect-ratio: 1 / .88; border-radius: 18px; }
.organic--b { aspect-ratio: 1.3 / 1; border-radius: 18px; margin-block-start: 40px; max-width: 420px; }
.organic--c { position: absolute; inset: 60px; border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.about-intro__badge { position: absolute; inset-inline-end: 6%; inset-block-end: 8%; display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 40px; background: var(--navy); color: var(--white); font-size: 15px; font-weight: 600; box-shadow: 0 16px 30px rgba(4, 34, 44, .3); }
.about-intro__badge .ico { color: var(--green); width: 22px; height: 22px; }
.about-intro__text .title-serif { font-size: 48px; margin-block-end: 28px; }
.about-intro__text .lead { margin-block-end: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-block-start: 40px; border-block-start: 1px solid var(--line-soft); }
.stats__item { display: flex; flex-direction: column-reverse; gap: 6px; padding-block-start: 26px; padding-inline-end: 16px; }
.stats__item + .stats__item { padding-inline-start: 26px; border-inline-start: 1px solid var(--line-soft); }
.stats dd { font-family: "Source Serif 4", Georgia, serif; font-size: 46px; font-weight: 500; line-height: 1; color: var(--ink); }
[dir="rtl"] .stats dd { text-align: end; }
.stats dt { font-size: 14px; color: var(--ink-soft); }
[dir="rtl"] .stats dt { font-size: 15px; }

.timeline-section { padding-block: 110px 120px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 9px; height: 1px; background: linear-gradient(var(--to-end), var(--green-line), rgba(63, 191, 115, .15)); }
.timeline__item { position: relative; padding-block-start: 48px; }
.timeline__dot { position: absolute; inset-inline-start: 0; inset-block-start: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--navy); border: 2px solid var(--green-line); box-shadow: 0 0 0 6px rgba(63, 191, 115, .12); }
.timeline__item:first-child .timeline__dot { background: var(--green); border-color: var(--green); }
.timeline__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--green-2); text-transform: uppercase; margin-block-end: 12px; }
.timeline__title { font-size: 21px; font-weight: 600; line-height: 1.35; margin-block-end: 12px; }
.timeline__text { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
[dir="rtl"] .timeline__label { font-size: 15px; }
[dir="rtl"] .timeline__title { font-size: 22px; }
[dir="rtl"] .timeline__text { font-size: 16px; line-height: 1.9; }

.mission { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: #e9f0e7; }
.mission__media { position: relative; overflow: hidden; }
.mission__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mission__content { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 80px var(--pad); }
.mission__mark { color: var(--green-line); margin-block-end: 18px; }
.mission__mark .ico { width: 52px; height: 52px; stroke-width: 1.2; }
[dir="rtl"] .mission__mark .ico { transform: scaleX(-1); }
.mission__quote p { font-family: var(--serif); font-size: 36px; line-height: 1.3; color: var(--ink); }
[dir="rtl"] .mission__quote p { font-size: 34px; line-height: 1.7; }
.mission__signature { display: flex; align-items: center; gap: 16px; margin-block-start: 34px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.mission__signature span { width: 40px; height: 2px; background: var(--green-line); }

.values-section { padding-block: 110px; }
.value-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { position: relative; padding: 34px 28px 36px; border-radius: 22px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 20px 40px rgba(10, 50, 40, .07); transition: transform .3s, background .3s; }
.value-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .85); }
.value-card__icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: #0c4a3c; color: var(--white); margin-block-end: 26px; }
.value-card__icon .ico { width: 30px; height: 30px; stroke-width: 1.4; }
.value-card h3 { font-size: 20px; font-weight: 600; margin-block-end: 12px; color: var(--ink); }
.value-card p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
[dir="rtl"] .value-card h3 { font-size: 22px; }
[dir="rtl"] .value-card p { font-size: 16px; line-height: 1.9; }

.team { padding-block: 110px; background: var(--mint-2); }
.team__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.team__intro .title-serif { font-size: 46px; margin-block-end: 22px; }
.disciplines { display: grid; grid-template-columns: 1fr 1fr; border-block-start: 1px solid var(--line-soft); }
.discipline { display: flex; gap: 20px; padding: 30px 10px 30px 0; border-block-end: 1px solid var(--line-soft); }
[dir="rtl"] .discipline { padding: 30px 0 30px 10px; }
.discipline:nth-child(even) { padding-inline-start: 30px; border-inline-start: 1px solid var(--line-soft); }
.discipline__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.4px solid var(--green-line); color: var(--ink); flex-shrink: 0; }
.discipline__icon .ico { width: 24px; height: 24px; stroke-width: 1.4; }
.discipline h3 { font-size: 18px; font-weight: 600; margin-block-end: 6px; color: var(--ink); }
.discipline p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
[dir="rtl"] .discipline h3 { font-size: 19px; }
[dir="rtl"] .discipline p { font-size: 15.5px; line-height: 1.8; }

/* =========================================================
   NOTRE APPROCHE
   ========================================================= */
.philosophy { padding-block: 110px; }
.philosophy__head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-block-end: 70px; }
.philosophy__lead { padding-inline-start: 36px; border-inline-start: 1px solid rgba(15, 58, 58, .35); }
[dir="rtl"] .title-serif--xl { line-height: 1.4; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { position: relative; padding: 38px 32px; border-radius: 6px; background: var(--navy); color: var(--white); overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: linear-gradient(var(--to-end), var(--green-line), transparent); }
.pillar::after { content: ""; position: absolute; inset-inline-end: -60px; inset-block-end: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(110, 228, 160, .15); box-shadow: 0 0 0 26px rgba(110, 228, 160, .04), 0 0 0 52px rgba(110, 228, 160, .03); }
.pillar__icon { color: var(--green-2); display: block; margin-block-end: 26px; }
.pillar__icon .ico { width: 38px; height: 38px; stroke-width: 1.3; }
.pillar h3 { font-size: 21px; font-weight: 600; margin-block-end: 12px; }
.pillar p { position: relative; font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .78); }
[dir="rtl"] .pillar h3 { font-size: 23px; }
[dir="rtl"] .pillar p { font-size: 16.5px; line-height: 1.9; }

.process { padding-block: 110px 120px; }
.process__list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
.process__list::before { content: ""; position: absolute; inset-inline: 40px; inset-block-start: 40px; height: 1px; border-block-start: 1px dashed rgba(110, 228, 160, .45); }
.process__step { position: relative; }
.process__node { position: relative; width: 80px; height: 80px; border-radius: 50%; background: var(--navy-3); border: 1.5px solid var(--green-line); display: grid; place-items: center; margin-block-end: 28px; transition: background .3s, transform .3s; }
.process__step:hover .process__node { background: #0c4a3c; transform: scale(1.06); }
.process__icon { color: var(--green-2); }
.process__icon .ico { width: 32px; height: 32px; stroke-width: 1.4; }
.process__num { position: absolute; inset-block-start: -6px; inset-inline-end: -6px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--navy); font-size: 12px; font-weight: 700; }
.process__step h3 { font-size: 20px; font-weight: 600; margin-block-end: 10px; }
.process__step p { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
[dir="rtl"] .process__step h3 { font-size: 22px; }
[dir="rtl"] .process__step p { font-size: 16px; line-height: 1.9; }

.domains-section { padding-block: 110px; background: var(--mint-2); }
.domains-section__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.domains-section__side { position: sticky; inset-block-start: 110px; }
.domains-section__side .title-serif { font-size: 46px; margin-block-end: 20px; }
.domain-visual { position: relative; margin-block-start: 36px; aspect-ratio: 1.25 / 1; }
.domain-visual__img { position: absolute; inset: 0; background-size: cover; background-position: center; border-radius: 18px; opacity: 0; transform: scale(.96); transition: opacity .5s ease, transform .6s ease; box-shadow: 0 30px 60px rgba(10, 50, 40, .18); }
.domain-visual__img.is-active { opacity: 1; transform: none; }

.accordion { border-block-start: 1px solid var(--line-soft); }
.acc-item { border-block-end: 1px solid var(--line-soft); }
.acc-item__head { margin: 0; }
.acc-item__btn { width: 100%; display: flex; align-items: center; gap: 20px; padding-block: 24px; text-align: start; color: var(--ink); }
.acc-item__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--accent, #22755e) 14%, transparent); color: var(--accent, var(--ink)); flex-shrink: 0; transition: background .3s, color .3s; }
.acc-item__icon .ico { width: 24px; height: 24px; }
.acc-item.is-open .acc-item__icon { background: var(--accent, #22755e); color: var(--white); }
.acc-item__title { flex: 1; font-size: 21px; font-weight: 600; line-height: 1.35; }
[dir="rtl"] .acc-item__title { font-size: 21px; }
.acc-item__toggle { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.3px solid var(--line-soft); transition: transform .3s, background .3s; flex-shrink: 0; }
.acc-item__toggle .ico { width: 16px; height: 16px; }
.acc-item.is-open .acc-item__toggle { transform: rotate(45deg); background: var(--navy); color: var(--white); border-color: var(--navy); }
.acc-item__content { padding-block-end: 28px; padding-inline-start: 72px; }
.acc-item__content > p { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); margin-block-end: 14px; }
[dir="rtl"] .acc-item__content > p { font-size: 17px; line-height: 1.95; }
.acc-item__content .check-list { margin-block-end: 18px; }
.acc-item__mobile-img { display: none; }
.accordion--faq .acc-item__content { padding-inline-start: 0; }
.accordion--faq .acc-item__title { font-size: 19px; }

.engage { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.engage__media { position: relative; }
.engage__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px var(--pad) 80px 20px; }
[dir="rtl"] .engage__content { padding: 80px 20px 80px var(--pad); }
.engage__content .title-serif { font-size: 46px; margin-block-end: 22px; }
.engage__content .lead { margin-block-end: 34px; max-width: 540px; }

/* =========================================================
   RÉFÉRENCES : LES FENÊTRES PAR SECTEUR
   ========================================================= */
.sectors { padding-block: 100px 120px; background: linear-gradient(180deg, #e6efe3 0%, #edf3ea 100%); }
.sectors__head { position: relative; max-width: 760px; margin-block-end: 56px; }
.sectors__head .title-serif { font-size: 44px; margin-block-end: 18px; }
.sectors__head .lead { max-width: 640px; }

.swin { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.swin__item { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(10, 50, 40, .08); transition: transform .3s, box-shadow .3s;
  animation: fadeUp .5s ease both; animation-delay: calc(var(--i, 0) * 70ms); }
.swin__item:hover, .swin__item:focus-visible { transform: translateY(-6px); box-shadow: 0 26px 52px rgba(10, 50, 40, .18); }

.swin__media { position: relative; display: block; aspect-ratio: 1.6 / 1; overflow: hidden; background: var(--navy); }
.swin__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .7s ease; }
.swin__item:hover .swin__img { transform: scale(1.06); }
.swin__img--plain { background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 140%); }
.swin__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 34, 44, .12) 0%, rgba(4, 34, 44, .18) 55%, rgba(4, 34, 44, .62) 100%); }
.swin__media::before { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 4px; background: var(--accent); z-index: 3; }
.swin__num { position: absolute; z-index: 2; inset-block-start: 16px; inset-inline-start: 18px;
  font-family: var(--serif); font-size: 30px; line-height: 1; color: rgba(255, 255, 255, .92); text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.swin__icon { position: absolute; z-index: 2; inset-block-end: 16px; inset-inline-end: 16px; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
  transition: transform .3s; }
.swin__icon .ico { width: 21px; height: 21px; }
.swin__item:hover .swin__icon { transform: scale(1.08) rotate(-4deg); }

.swin__body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 24px; }
.swin__count { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-block-end: 12px;
  padding: 4px 12px; border-radius: 20px; background: color-mix(in srgb, var(--accent) 13%, #fff);
  color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.swin__title { font-size: 20px; font-weight: 600; line-height: 1.32; color: var(--ink); margin-block-end: 10px; }
.swin__text { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); margin-block-end: 20px; }
.swin__go { margin-block-start: auto; display: inline-flex; align-items: center; gap: 10px; padding-block-start: 16px;
  border-block-start: 1px solid var(--line-soft); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.swin__go .ico { width: 15px; height: 15px; color: var(--accent); transition: translate .25s; }
.swin__item:hover .swin__go .ico { translate: calc(5px * var(--flip)) 0; }
[dir="rtl"] .swin__title { font-size: 21px; }
[dir="rtl"] .swin__text { font-size: 15.5px; line-height: 1.85; }

/* ---------- Bannière d'un secteur ---------- */
.page-hero--sector { min-height: 520px; }
.page-hero--sector .page-hero__inner { min-height: 520px; padding-block: 160px 60px; }
.page-hero__bg--plain { background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 170%); }
.page-hero__title--sector { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 44px; margin-block-end: 20px; }
.sector-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 30px;
  background: var(--accent); color: #fff; font-family: var(--sans); font-size: 15px; font-weight: 700;
  font-variant-numeric: tabular-nums; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.sector-badge .ico { width: 18px; height: 18px; }
.sector-count { margin-block-start: 22px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.sector-count b { font-size: 19px; color: var(--green-2); font-variant-numeric: tabular-nums; }

/* ---------- Liste des références d'un secteur ---------- */
.refs { padding-block: 86px 100px; background: linear-gradient(180deg, #e6efe3 0%, #edf3ea 100%); }
.refs__head { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-block-end: 40px; }
.refs__head .title-serif { font-size: 36px; }
.refs__back { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.refs__back .ico { width: 15px; height: 15px; transform: scaleX(calc(-1 * var(--flip))); transition: translate .25s; }
.refs__back:hover .ico { translate: calc(-4px * var(--flip)) 0; }

.refs__list { counter-reset: none; list-style: none; display: grid; gap: 12px; }
.ref { display: flex; align-items: flex-start; gap: 20px; padding: 20px 26px; background: var(--white); border-radius: 8px;
  border-inline-start: 4px solid var(--accent); box-shadow: 0 10px 26px rgba(10, 50, 40, .07);
  transition: transform .25s, box-shadow .25s; animation: fadeUp .45s ease both; animation-delay: calc(var(--i, 0) * 45ms); }
.ref:hover { transform: translateX(calc(4px * var(--flip))); box-shadow: 0 16px 34px rgba(10, 50, 40, .13); }
.ref__n { flex-shrink: 0; font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--accent);
  font-variant-numeric: tabular-nums; opacity: .85; }
.ref__body { flex: 1; min-width: 0; }
.ref__title { display: block; font-size: 16.5px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.ref__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-block-start: 9px; font-size: 13px; color: var(--ink-soft); }
.ref__meta span { display: inline-flex; align-items: center; gap: 7px; }
.ref__meta .ico { width: 14px; height: 14px; color: var(--accent); }
[dir="rtl"] .ref__title { font-size: 17.5px; line-height: 1.9; }

/* ---------- Les autres secteurs ---------- */
.others { padding-block: 80px 96px; background: var(--navy); color: var(--white); }
.others__title { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--white); margin-block-end: 34px; }
.others__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.othercard { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 8px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(148, 241, 144, .18);
  transition: background .25s, border-color .25s, transform .25s; }
.othercard:hover { background: rgba(255, 255, 255, .1); border-color: var(--accent); transform: translateY(-4px); }
.othercard__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 30%, transparent); color: #fff; }
.othercard__ic .ico { width: 20px; height: 20px; }
.othercard__body { flex: 1; min-width: 0; }
.othercard__t { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.othercard__n { display: block; margin-block-start: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.othercard__go { flex-shrink: 0; color: var(--green); }
.othercard__go .ico { width: 16px; height: 16px; transition: translate .25s; }
.othercard:hover .othercard__go .ico { translate: calc(5px * var(--flip)) 0; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Champ piège anti-robots : invisible sans déborder de la page */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

.empty-state { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 50px; font-size: 16px; color: var(--ink-soft); }

.pmeta { background: var(--navy-2); color: var(--white); border-block-end: 1px solid rgba(148, 241, 144, .15); }
.pmeta__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pmeta__grid > div { padding: 28px 26px; }
.pmeta__grid > div:first-child { padding-inline-start: 0; }
.pmeta__grid > div + div { border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.pmeta dt { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .6); margin-block-end: 6px; text-transform: uppercase; letter-spacing: .06em; }
.pmeta dt .ico { width: 15px; height: 15px; color: var(--green); }
.pmeta dd { font-size: 17px; font-weight: 600; }
[dir="rtl"] .pmeta dt { font-size: 14px; }
.pdetail { padding-block: 90px 100px; }
.pdetail__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 70px; align-items: start; }
.pdetail__body .lead { margin-block-end: 20px; color: var(--ink); }
.pdetail__aside { position: sticky; inset-block-start: 100px; padding: 34px; border-radius: 6px; background: var(--navy); color: var(--white); border-block-start: 4px solid var(--accent); }
.pdetail__aside-title { font-size: 20px; font-weight: 600; margin-block-end: 14px; }
.pgallery { margin-block-start: 70px; }
.pgallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pgallery__item { position: relative; display: block; aspect-ratio: 1.3 / 1; overflow: hidden; border-radius: 6px; }
.pgallery__item span { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s; }
.pgallery__item:hover span { transform: scale(1.06); }
.pgallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.pnav { padding-block: 40px; }
.pnav__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.pnav__link { display: flex; flex-direction: column; gap: 8px; }
.pnav__link strong { font-size: 18px; font-weight: 600; transition: color .2s; }
.pnav__link:hover strong { color: var(--green); }
.pnav__link--next { text-align: end; align-items: flex-end; }
.pnav__dir { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.pnav__dir .ico { width: 15px; height: 15px; color: var(--green); }
.pnav__link--prev .ico { transform: scaleX(-1); }
[dir="rtl"] .pnav__link--prev .ico { transform: none; }
.pnav__back { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.pnav__back .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid rgba(148, 241, 144, .4); color: var(--green); }
.pnav__back:hover .ico { background: rgba(148, 241, 144, .12); }
.notfound { min-height: 640px; display: flex; align-items: center; }
.notfound__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; padding-block: 180px 100px; }
.notfound__icon .ico { width: 60px; height: 60px; color: var(--green); stroke-width: 1.2; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-main { padding-block: 110px; }
.contact-main__grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 30px; align-items: stretch; }
.contact-info { position: relative; overflow: hidden; padding: 50px 44px; border-radius: 6px; background: var(--navy); color: var(--white); }
.contact-info .title-serif { font-size: 40px; margin-block-end: 36px; }
.contact-info__list li { display: flex; gap: 18px; padding-block: 18px; border-block-start: 1px solid rgba(255, 255, 255, .1); }
.contact-info__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(148, 241, 144, .4); color: var(--green); flex-shrink: 0; }
.contact-info__icon .ico { width: 19px; height: 19px; }
.contact-info__list div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-info__list small { font-size: 12.5px; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .06em; }
[dir="rtl"] .contact-info__list small { font-size: 14px; }
.contact-info__list strong, .contact-info__list a { font-size: 16.5px; font-weight: 500; overflow-wrap: anywhere; }
[dir="rtl"] .contact-info__list a { text-align: end; }
.contact-info__list a:hover { color: var(--green); }
.contact-info__wa { margin-block-start: 18px; }
.contact-info__social { position: relative; z-index: 1; margin-block-start: 28px; display: flex; flex-direction: column; gap: 12px; }
.contact-info__social small { font-size: 13px; color: rgba(255, 255, 255, .6); }
.contact-info__social div { display: flex; gap: 10px; }
.social-round { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .2s, color .2s; }
.social-round .ico { width: 18px; height: 18px; }
.social-round:hover { background: var(--green); color: var(--navy); }
.contact-info__lines { position: absolute; inset-inline: 0; inset-block-end: 0; width: 100%; pointer-events: none; }
.contact-info__lines path { fill: none; stroke: rgba(110, 228, 160, .2); }

.form-card { position: relative; padding: 50px 50px 46px; border-radius: 6px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 60px rgba(10, 50, 40, .08); }
.form__title { font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--ink); margin-block-end: 8px; }
[dir="rtl"] .form__title { font-weight: 600; }
.form__note { font-size: 14px; color: var(--ink-soft); margin-block-end: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-block-end: 20px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
[dir="rtl"] .field label { font-size: 15px; }
.field abbr { color: #c0522c; text-decoration: none; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--white); border: 1.5px solid rgba(15, 58, 58, .16); border-radius: 10px; padding: 13px 16px; transition: border-color .2s, box-shadow .2s; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-line); box-shadow: 0 0 0 4px rgba(63, 191, 115, .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c0522c; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select .ico { position: absolute; inset-inline-end: 16px; top: 50%; margin-block-start: -9px; pointer-events: none; color: var(--ink-soft); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin-block: 6px 28px; cursor: pointer; }
[dir="rtl"] .check { font-size: 15px; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(15, 58, 58, .3); background: var(--white); flex-shrink: 0; transition: all .2s; }
.check__box .ico { width: 14px; height: 14px; stroke-width: 3; color: var(--white); opacity: 0; }
.check input:checked + .check__box { background: var(--green-line); border-color: var(--green-line); }
.check input:checked + .check__box .ico { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--green-line); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: #c0522c; }
.check abbr { color: #c0522c; text-decoration: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form__alert { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 10px; background: #fbe9e1; color: #8e3a1b; font-size: 14.5px; margin-block-end: 22px; }
.form__alert .ico { width: 20px; height: 20px; }
.btn[disabled] { opacity: .65; cursor: wait; }
.form-success { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 100%; padding-block: 40px; outline: none; }
.form-success__icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--green); color: var(--navy); margin-block-end: 26px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.form-success__icon .ico { width: 34px; height: 34px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.form-success__title { font-family: var(--serif); font-size: 36px; font-weight: 500; color: var(--ink); margin-block-end: 12px; }
.form-success .lead { margin-block-end: 26px; }

.map-section { padding-block: 90px; }
.map-section__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: center; }
.map-section__addr { display: flex; gap: 12px; margin-block-start: 22px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.map-section__addr .ico { color: var(--green); }
.map-section__link { margin-block-start: 22px; }
.map-frame { position: relative; aspect-ratio: 1.9 / 1; border-radius: 6px; overflow: hidden; border: 1px solid rgba(148, 241, 144, .25); background: var(--navy-3); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.faq { padding-block: 110px; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq__grid .title-serif { font-size: 46px; }

/* =========================================================
   FENÊTRES (vidéo, galerie)
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 18, 24, .88); backdrop-filter: blur(6px); }
.modal__box { position: relative; width: min(1000px, 100%); transform: translateY(20px) scale(.98); transition: transform .35s; }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; inset-block-start: 20px; inset-inline-end: 20px; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); transition: background .2s; }
.modal__box .modal__close { inset-block-start: -58px; inset-inline-end: 0; }
.modal__close:hover { background: var(--green); color: var(--navy); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__img { position: relative; z-index: 2; max-width: min(1100px, 86vw); max-height: 82vh; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__nav { position: absolute; z-index: 3; top: 50%; margin-block-start: -26px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); }
.lightbox__nav:hover { background: var(--green); color: var(--navy); }
.lightbox__nav--prev { inset-inline-start: 24px; }
.lightbox__nav--prev .ico { transform: scaleX(-1); }
[dir="rtl"] .lightbox__nav--prev .ico { transform: none; }
.lightbox__nav--next { inset-inline-end: 24px; }
body.no-scroll { overflow: hidden; }

/* =========================================================
   ANIMATION D'ENTRÉE (bannières)
   ========================================================= */
.hero__content, .onpage, .page-hero__content { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.is-loaded .hero__content, .is-loaded .page-hero__content { opacity: 1; transform: none; }
.is-loaded .onpage { opacity: 1; transform: none; transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero__content, .onpage, .page-hero__content { opacity: 1; transform: none; }
  .page-hero__lines path { stroke-dashoffset: 0; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1560px) {
  .header__loc { display: none; }
}
@media (max-width: 1400px) {
  :root { --pad: 48px; }
  .footer__nav { gap: 10px 16px; font-size: 12.5px; padding-inline: 18px; }
  .footer__contact { width: 372px; }
  .nav { margin-inline-start: 50px; gap: 24px; }
  .header__right { gap: 18px; }
  .approach__inner { grid-template-columns: 400px 1fr; gap: 44px; }
  .projects__inner { grid-template-columns: 1fr 1.1fr 180px; gap: 32px; }
}
@media (max-width: 1280px) {
  .header__loc, .brand__sep, .brand__tag { display: none; }
  .nav { margin-inline-start: 40px; }
    .cards { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .expertise__head .title-serif { width: auto; }
  .process__list { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .process__list::before { display: none; }
  .value-cards { grid-template-columns: repeat(2, 1fr); }
  .swin, .others__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1200px) {
  .hero__content { width: min(640px, 100%); }
  .agr__list { grid-template-columns: 1fr; gap: 22px; }
  .agr__item + .agr__item::before { display: none; }
  .agr__inner { padding: 32px 28px; }
  .approach { padding-block-start: 64px; }
  .approach__inner { grid-template-columns: 1fr; gap: 40px; padding-block-end: 56px; }
  .expertise__head { flex-direction: column; }
  .expertise__intro { margin: 24px 0 0; }
  .story { flex-direction: column; }
  .story__media { width: 100%; min-height: 440px; }
  .story__content { padding: 50px var(--pad); }
  .projects__inner { grid-template-columns: 1fr; gap: 32px; }
  .tabs { flex-direction: row; margin-block-start: 0; border-inline-start: 0; padding-inline-start: 0; gap: 24px; }
  .tab::before { display: none; }
  .page-hero__panel { display: none; }
  .about-intro__grid, .team__grid, .philosophy__head, .domains-section__grid, .contact-main__grid, .map-section__grid, .faq__grid, .pdetail__grid { grid-template-columns: 1fr; gap: 50px; }
  .philosophy__lead { padding-inline-start: 0; border-inline-start: 0; }
  .domains-section__side { position: static; }
  .domain-visual { display: none; }
  .acc-item__mobile-img { display: block; aspect-ratio: 2 / 1; border-radius: 8px; background-size: cover; background-position: center; margin-block-end: 18px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .timeline::before { display: none; }
  .mission, .engage { grid-template-columns: 1fr; }
  .mission__media, .engage__media { min-height: 380px; }
  .engage__content, [dir="rtl"] .engage__content { padding: 60px var(--pad); }
  .pdetail__aside { position: static; }
}
@media (max-width: 1024px) {
  .cards { grid-auto-columns: calc((100% - 14px) / 2); }
  .cards-nav--prev { inset-inline-start: -8px; }
  .cards-nav--next { inset-inline-end: -8px; }
  .nav { position: fixed; inset: 88px 0 auto 0; margin: 0; flex-direction: column; gap: 0; padding: 12px var(--pad) 24px; background: rgba(3, 28, 36, .98); transform: translateY(-130%); transition: transform .35s ease; z-index: 50; box-shadow: 0 22px 40px rgba(2, 18, 24, .45); }
  .header.is-stuck .nav { inset-block-start: 74px; }
  .nav.is-open { transform: none; }
  .nav__link { padding-block: 16px; border-block-end: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
  .nav__link::after { display: none; }
  .burger { display: flex; }
  .header.menu-open .burger span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
  .header.menu-open .burger span:nth-child(2) { opacity: 0; }
  .header.menu-open .burger span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
  .header::after { width: 50%; }
  .header__inner { padding-inline: 24px var(--pad); }
  .hero { min-height: 640px; }
  .hero__inner { min-height: 0; align-items: flex-start; padding-block: 132px 60px; }
  .hs-dots, .hs-time { position: static; inset: auto; }
  .hs-dots { order: 2; justify-content: flex-start; margin-block-start: 30px; }
  .hs-time { order: 3; margin-block-start: 18px; }
  .agr__inner { margin-block-start: -40px; }
  .hero::after { background: linear-gradient(180deg, rgba(4, 34, 44, .78) 0%, rgba(4, 34, 44, .5) 60%, rgba(4, 34, 44, .7) 100%); }
  .hero__content { width: auto; max-width: none; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step + .step { padding-inline-start: 0; border-inline-start: 0; }
  .story__content { flex-direction: column; }
  .story__values { margin: 50px 0 0; padding-inline-start: 0; border-inline-start: 0; }
  .story__values .eyebrow { margin-block-start: 0; }
  .footer__top { flex-wrap: wrap; }
  .brand--footer { width: auto; }
  .footer__nav { border-inline-start: 0; padding-inline-start: 0; }
  .footer__contact { margin-inline-start: 0; }
  .pnav__grid { grid-template-columns: 1fr 1fr; }
  .pnav__back { display: none; }
}
@media (max-width: 760px) {
  :root { --pad: 22px; }
  .footer__contact { width: auto; max-width: 100%; grid-template-columns: 1fr; }
  .header__cta { display: none; }
  .lang-switch { padding-inline: 12px; }
  .hero__title, .page-hero__title, .page-hero--project .page-hero__title { font-size: 38px; }
  [dir="rtl"] .hero__title, [dir="rtl"] .page-hero__title { font-size: 40px; }
  .hero__text br, .lead br, .cta__lead br, .page-hero__title br { display: none; }
  .page-hero, .page-hero__inner { min-height: 540px; }
  .page-hero::after { background: linear-gradient(180deg, rgba(4, 34, 44, .9) 0%, rgba(4, 34, 44, .7) 100%); }
  .page-hero__inner { padding-block: 130px 50px; }
  .title-serif, .approach__text .title-serif, .expertise__head .title-serif, .title-serif--xl, .about-intro__text .title-serif, .team__intro .title-serif, .domains-section__side .title-serif, .engage__content .title-serif, .sectors__head .title-serif, .faq__grid .title-serif, .contact-info .title-serif { font-size: 32px; }
  .ovals { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .oval__icon { width: 48px; height: 48px; margin-block-start: -24px; box-shadow: 0 0 0 4px var(--ring), 0 8px 16px rgba(10, 40, 34, .2); }
  .oval__icon .ico { width: 21px; height: 21px; }
  .oval__label { font-size: 11.5px; margin-block-start: 10px; }
  [dir="rtl"] .oval__label { font-size: 14px; }
  .cards { grid-auto-columns: 86%; min-height: 0; }
  .cards-nav { display: none; }
  .cards-dots { margin-block-start: 18px; }
  .card { min-height: 400px; }
  .card__body { padding: 20px 16px; }
  .project-card { padding: 22px 20px; }
  .tabs { flex-direction: column; gap: 0; }
  .cta { height: auto; padding-block-end: 50px; }
  .cta__side { position: relative; inset: auto; text-align: start; margin-block-start: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__meta { flex-wrap: wrap; gap: 16px; }
  .story__year { font-size: 48px; }
  .story__history { width: 100%; }
  .about-intro, .timeline-section, .values-section, .team, .philosophy, .process, .domains-section, .sectors, .refs, .others, .contact-main, .faq { padding-block: 70px; }
  .stats dd { font-size: 34px; }
  .stats__item + .stats__item { padding-inline-start: 14px; }
  .timeline, .value-cards, .pillars, .process__list, .disciplines, .swin, .others__grid, .pgallery__grid, .form__row { grid-template-columns: 1fr; }
  .discipline, [dir="rtl"] .discipline, .discipline:nth-child(even) { padding: 22px 0; border-inline-start: 0; }
  .acc-item__content { padding-inline-start: 0; }
  .acc-item__title { font-size: 18px; }
  .contact-info, .form-card { padding: 34px 22px; }
  .pgallery__item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 1.3 / 1; }
  .pmeta__grid > div, .pmeta__grid > div:first-child { padding: 18px 0; }
  .pmeta__grid > div + div { border-inline-start: 0; border-block-start: 1px solid rgba(255, 255, 255, .12); }
  .mission__quote p { font-size: 26px; }
  .pnav__grid { grid-template-columns: 1fr; }
  .pnav__link--next { text-align: start; align-items: flex-start; }
  .lightbox__nav { width: 42px; height: 42px; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 15px; }
  .brand__logo { width: 58px; height: 46px; }
  .brand__tag--legal, .brand__sep { display: none; }
  .lang-switch .ico { display: none; }
  .cards, .card { min-height: 510px; }
  .agr__inner { padding: 26px 20px; }
}

@media (max-width: 1024px) {
  .page-hero--sector .page-hero__inner { padding-block: 140px 56px; }
  .page-hero__title--sector { font-size: 36px; }
  .refs__head .title-serif { font-size: 30px; }
}
@media (max-width: 760px) {
  .swin, .others__grid { grid-template-columns: 1fr; }
  .sectors__head .title-serif { font-size: 32px; }
  .page-hero__title--sector { font-size: 29px; gap: 14px; }
  .sector-badge { font-size: 13.5px; padding: 6px 13px; }
  .ref { padding: 17px 18px; gap: 15px; }
  .ref__n { font-size: 20px; }
  .ref__title { font-size: 15.5px; }
  .others__title { font-size: 25px; }
}

/* =========================================================
   RÉFÉRENCE : LIGNE CLIQUABLE ET FENÊTRE PHOTOS
   ========================================================= */
.ref { padding: 0; }
.ref__hit { display: flex; align-items: flex-start; gap: 20px; width: 100%; padding: 20px 26px;
  text-align: start; background: none; border: 0; color: inherit; font: inherit; }
.ref--open .ref__hit { cursor: pointer; }
.ref--open:hover { transform: translateX(calc(4px * var(--flip))); box-shadow: 0 16px 34px rgba(10, 50, 40, .13); }
.ref--open .ref__hit:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 8px; }
.ref:not(.ref--open):hover { transform: none; box-shadow: 0 10px 26px rgba(10, 50, 40, .07); }

.ref__see { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; align-self: center; flex-shrink: 0; }
.ref__photos { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 20px;
  background: color-mix(in srgb, var(--accent) 13%, #fff); color: var(--accent);
  font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ref__photos .ico { width: 14px; height: 14px; }
.ref__plus { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--mint); color: var(--ink); transition: background .25s, color .25s, transform .25s; }
.ref__plus .ico { width: 15px; height: 15px; }
.ref--open:hover .ref__plus { background: var(--accent); color: #fff; transform: rotate(90deg); }

/* ---------- La fenêtre : rien que les photos ---------- */
.rmodal { padding: 24px; }
.rmodal__box { position: relative; z-index: 2; display: flex; flex-direction: column; overflow: hidden;
  width: min(1240px, 92vw); height: min(840px, 88vh); border-radius: 10px; background: #0c252e;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55); transform: translateY(20px) scale(.985); transition: transform .35s; }
.rmodal.is-open .rmodal__box { transform: none; }
.rmodal__close { position: absolute; z-index: 5; inset-block-start: 16px; inset-inline-end: 16px;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: var(--white); backdrop-filter: blur(4px);
  transition: background .2s, color .2s, transform .2s; }
.rmodal__close:hover { background: var(--green); color: var(--navy); transform: rotate(90deg); }
.rmodal__close .ico { width: 20px; height: 20px; }

.rmodal__stage { position: relative; flex: 1; min-height: 0; display: grid;
  grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr);
  place-items: center; padding: 26px; }
.rmodal__img { max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; object-fit: contain;
  border-radius: 4px; animation: rmFade .35s ease both; }
@keyframes rmFade { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.rmodal__nav { position: absolute; z-index: 3; top: 50%; margin-block-start: -24px; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--white);
  transition: background .2s, color .2s; }
.rmodal__nav:hover { background: var(--green); color: var(--navy); }
.rmodal__nav .ico { width: 18px; height: 18px; }
.rmodal__nav--prev { inset-inline-start: 18px; }
.rmodal__nav--prev .ico { transform: scaleX(-1); }
.rmodal__nav--next { inset-inline-end: 18px; }
[dir="rtl"] .rmodal__nav--prev .ico { transform: none; }
[dir="rtl"] .rmodal__nav--next .ico { transform: scaleX(-1); }
.rmodal__counter { position: absolute; inset-block-end: 18px; inset-inline-start: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: 20px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12.5px;
  font-variant-numeric: tabular-nums; }
.rmodal__thumbs { flex-shrink: 0; display: flex; justify-content: center; gap: 9px; padding: 14px 16px;
  overflow-x: auto; background: rgba(0, 0, 0, .32); }
.rmodal__thumb { flex: 0 0 auto; width: 92px; height: 62px; border-radius: 5px; background-size: cover;
  background-position: center; opacity: .5; border: 2px solid transparent; transition: opacity .2s, border-color .2s; }
.rmodal__thumb:hover { opacity: .85; }
.rmodal__thumb.is-on { opacity: 1; border-color: var(--green); }

@media (max-width: 1024px) {
  .rmodal__box { width: 94vw; height: 90vh; }
}
@media (max-width: 760px) {
  .rmodal { padding: 12px; }
  .rmodal__box { width: 96vw; height: 92vh; }
  .rmodal__nav { width: 40px; height: 40px; margin-block-start: -20px; }
  .rmodal__nav--prev { inset-inline-start: 10px; }
  .rmodal__nav--next { inset-inline-end: 10px; }
  .rmodal__thumb { width: 70px; height: 48px; }
  .rmodal__stage { padding: 16px; }
  .rmodal__close { width: 40px; height: 40px; inset-block-start: 10px; inset-inline-end: 10px; }
  .ref__hit { padding: 17px 18px; gap: 15px; flex-wrap: wrap; }
  .ref__see { margin-inline-start: 0; width: 100%; justify-content: flex-start; padding-inline-start: 35px; }
}
