/* INTEGRA EngiCore : site vitrine
   Charte reprise de la présentation commerciale : bleu marine, or, hexagones, coupes en diagonale.
   Polices auto-hébergées : Orbitron (titres) et Exo 2 (texte), licence SIL OFL. */
@font-face { font-family: "Orbitron"; src: url("fonts/orbitron-latin.woff2") format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("fonts/exo2-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* Cairo (arabe + latin) : site en arabe uniquement, licence SIL OFL */
@font-face { font-family: "Cairo"; src: url("fonts/cairo-arabic.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; src: url("fonts/cairo-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }

:root {
  --navy-950: #061128;
  --navy-900: #0a1b38;
  --navy-800: #102a4e;
  --navy-700: #1f3a5f;
  --navy-600: #2d4d7a;
  --gold: #e19704;
  --gold-soft: #f4b73c;
  --gold-deep: #a8770d;
  --gold-ink: #8a5f00;
  --ink: #0e1c36;
  --text: #35425a;
  --muted: #66758c;
  --line: #dde4ee;
  --bg: #ffffff;
  --bg-soft: #f2f5fa;
  --on-dark: #f3f6fb;
  --on-dark-2: #b5c1d6;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(10, 27, 56, .06), 0 16px 36px -14px rgba(10, 27, 56, .3);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --cut: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  --cut-flip: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  --font-head: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --font-body: "Exo 2", "Segoe UI", system-ui, sans-serif;
}

html[lang="ar"] { --font-head: "Cairo", "Segoe UI", system-ui, sans-serif; --font-body: "Cairo", "Segoe UI", system-ui, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] .brand-text b, html[lang="ar"] .btn, html[lang="ar"] .eyebrow, html[lang="ar"] .pnum, html[lang="ar"] .why-num,
html[lang="ar"] .fact strong, html[lang="ar"] .card-num, html[lang="ar"] .service-num, html[lang="ar"] .statement b,
html[lang="ar"] .footer-tag, html[lang="ar"] .logos-title, html[lang="ar"] .contact-list small, html[lang="ar"] h4 { font-weight: 700; letter-spacing: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .55em; font-weight: 700; overflow-wrap: break-word; }
h1 { font-size: clamp(1.6rem, 4.3vw, 3.15rem); font-weight: 800; line-height: 1.14; }
h2 { font-size: clamp(1.35rem, 2.9vw, 2.1rem); }
h3 { font-size: 1.06rem; line-height: 1.32; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-950); padding: 8px 14px; border-radius: 6px; font-weight: 700; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .section-dark :focus-visible, .media-band :focus-visible, .aside-card :focus-visible { outline-color: var(--gold); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6, 17, 40, .93); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .7); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { width: 38px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; letter-spacing: .05em; color: #fff; }
.brand-text small { font-family: var(--font-head); font-weight: 500; font-size: .64rem; letter-spacing: .36em; color: var(--on-dark-2); margin-top: 6px; }
.brand-text small i { font-style: normal; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; }
.lang-switch a, .lang-switch span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; padding: 5px 9px; border-radius: 999px; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--on-dark-2); }
.lang-switch a:hover { color: #fff; }
.lang-switch span.active { background: var(--gold); color: var(--navy-950); }
.nav-links a:not(.btn) { text-decoration: none; font-size: .96rem; font-weight: 500; color: var(--on-dark-2); transition: color .15s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"]:not(.btn) { color: #fff; }
.nav-links a[aria-current="page"]:not(.btn) { box-shadow: 0 2px 0 var(--gold); padding-bottom: 4px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 6px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; line-height: 1.2; }
.btn-gold { background: var(--gold); color: var(--navy-950); box-shadow: 0 12px 26px -12px rgba(225, 151, 4, .8); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-600); transform: translateY(-1px); }
.btn-ghost { border-color: var(--navy-800); color: var(--navy-800); }
.btn-ghost:hover { background: var(--navy-800); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .72rem; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
button.btn:disabled { opacity: .7; cursor: wait; }

/* Éléments communs */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 14px; height: 16px; background: var(--gold); clip-path: var(--hex); flex: none; }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.16rem; max-width: 36em; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: .98rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 12px; background: var(--gold); clip-path: var(--hex); }
.hex { position: relative; aspect-ratio: 1 / 1.1547; background: var(--gold-deep); clip-path: var(--hex); }
.hex img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: var(--hex); transform: scale(.94); }

/* Coupes en diagonale (héros) */
.hero, .page-hero { position: relative; overflow: hidden; color: var(--on-dark); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); }
.hero::after, .page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62px; background: var(--gold-deep); clip-path: polygon(0 56px, 100% 0, 100% 5px, 0 61px); pointer-events: none; z-index: 2; }
.hero {
  padding: 76px 0 136px;
  background:
    radial-gradient(900px 480px at 88% 18%, rgba(45, 77, 122, .55), transparent 62%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.4256' height='96' viewBox='0 0 55.4256 96'%3E%3Cpath d='M27.7128 0L55.4256 16V48L27.7128 64L0 48V16Z M27.7128 64V96' fill='none' stroke='%23ffffff' stroke-opacity='.055' stroke-width='1.2'/%3E%3C/svg%3E"); background-size: 55.4256px 96px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero .lead { color: var(--on-dark-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-photo, .slant { position: relative; margin: 0; aspect-ratio: 5 / 4.2; }
.hero-photo::before, .slant::before { content: ""; position: absolute; inset: 0; background: var(--gold-deep); clip-path: var(--cut); transform: translateX(-14px); }
.hero-photo img, .slant img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: var(--cut); }
.hero-photo img { object-position: 38% 50%; }
.slant--flip::before { clip-path: var(--cut-flip); transform: translateX(14px); }
.slant--flip img { clip-path: var(--cut-flip); }
.slant-panel { position: absolute; left: -22px; bottom: -26px; max-width: 330px; padding: 18px 22px; background: var(--navy-700); color: #fff; font-family: var(--font-head); font-size: .7rem; font-weight: 600; line-height: 1.6; letter-spacing: .03em; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .65); z-index: 2; }
.slant--flip .slant-panel { left: auto; right: -22px; }

/* Bande de chiffres */
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 26px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: var(--navy-800); line-height: 1; margin-bottom: 10px; }
.fact span { display: block; font-size: .94rem; color: var(--muted); line-height: 1.45; }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { font-size: 1.08rem; }
.section-soft { background: var(--bg-soft); }
.section-dark { position: relative; overflow: hidden; color: var(--on-dark); background: linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800)); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p, .section-dark li { color: var(--on-dark-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--top { align-items: start; }

/* Pourquoi nous : nid d'abeilles + liste */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.honey { position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1.01; margin-inline: auto; }
.honey .hex { position: absolute; width: 50%; transform: scale(.95); }
.honey .hex:nth-child(1) { left: 0; top: 0; }
.honey .hex:nth-child(2) { left: 50%; top: 0; }
.honey .hex:nth-child(3) { left: 25%; top: 42.86%; }
.why-intro { margin-bottom: 30px; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.why-list li:first-child { border-top: 1px solid rgba(255, 255, 255, .12); }
.why-num { grid-row: span 2; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--gold); padding-top: 2px; }
.why-list h3 { margin: 0 0 2px; font-size: .98rem; }
.why-list p { margin: 0; font-size: .93rem; }
.why-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.why-card .why-num { display: block; margin-bottom: 14px; color: var(--gold-ink); font-size: 1.3rem; }
.why-card h3 { margin-bottom: 8px; font-size: 1rem; }
.why-card p { margin: 0; font-size: .93rem; }

/* Cartes services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-num { position: absolute; left: 0; bottom: 0; background: var(--gold); color: var(--navy-950); font-family: var(--font-head); font-weight: 800; font-size: .9rem; padding: 8px 16px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.card h3 { font-size: 1.1rem; }
.card p { font-size: .96rem; }
.card .check-list { margin-bottom: 4px; }
.card .check-list li { font-size: .94rem; margin-bottom: 8px; }
.more { margin-top: auto; padding-top: 16px; font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; color: var(--navy-700); }
.more:hover { color: var(--gold-ink); }

/* Processus */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pstep { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border: 1.5px solid var(--gold-deep); border-radius: 14px; background: rgba(255, 255, 255, .035); }
.pnum { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.pstep h3 { margin-bottom: 8px; }
.pstep p { font-size: .94rem; margin-bottom: 18px; }
.milestones { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.milestones li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px 6px 8px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; font-size: .8rem; color: #fff; }
.milestones img { width: 18px; height: 18px; flex: none; }

/* Secteurs */
.sectors { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; }
.sector { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.sector:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sector-ico { display: grid; place-items: center; width: 56px; height: 64px; background: var(--navy-800); clip-path: var(--hex); }
.sector-ico img { width: 28px; height: 28px; }
.sector span { font-family: var(--font-head); font-weight: 600; font-size: .86rem; line-height: 1.4; color: var(--ink); }
.section-dark .sector { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); }
.section-dark .sector span { color: #fff; }
.section-dark .sector-ico { background: rgba(255, 255, 255, .08); }

/* Expertise */
.expertise-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.section-dark .check-list li { color: var(--on-dark); }
.statement { position: relative; margin-top: 34px; padding: 26px 28px; background: var(--navy-700); box-shadow: -10px -10px 0 0 var(--gold-deep); }
.statement b { display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: .86rem; letter-spacing: .06em; color: var(--gold); }
.statement p { margin: 0; color: #fff; font-weight: 500; }
.section-dark .statement p { color: #fff; }

/* Références */
.logos-group + .logos-group { margin-top: 44px; }
.logos-title { margin-bottom: 20px; font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.logo-row { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 0; padding: 0; }
.logo-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.logo-tile { display: grid; place-items: center; width: 100%; height: 100px; padding: 16px 20px; background: #fff; border: 1.5px solid var(--gold-deep); border-radius: 8px; transition: transform .2s, box-shadow .2s; }
a.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-tile img { width: auto; height: auto; max-width: 100%; max-height: 68px; object-fit: contain; }
.logo-country { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.logo-country img { width: 20px; height: auto; border-radius: 2px; }

/* Bande d'appel à l'action */
.media-band { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: var(--navy-900); }
.media-band > .media { position: absolute; inset: 0; z-index: -2; }
.media-band > .media img { width: 100%; height: 100%; object-fit: cover; }
.media-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 17, 40, .96) 0%, rgba(10, 27, 56, .88) 55%, rgba(16, 42, 78, .7) 100%); }
.media-band h2, .media-band h3 { color: #fff; }
.media-band .eyebrow { color: var(--gold); }
.first-desktop { order: -1; }
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; max-width: 18em; margin-inline: auto; }
.cta-band p { max-width: 38em; margin: 0 auto 30px; font-size: 1.1rem; color: var(--on-dark-2); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Pages intérieures */
.page-hero { padding: 84px 0 128px; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 19em; font-size: clamp(1.55rem, 3.7vw, 2.8rem); }
.page-hero .lead { color: var(--on-dark-2); max-width: 44em; margin-bottom: 0; }

.service { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; padding: 72px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 24px; }
.service--flip .service-copy { order: 2; }
.service-num { font-family: var(--font-head); font-weight: 800; font-size: .86rem; letter-spacing: .14em; color: var(--gold-ink); margin-bottom: 12px; }
.service h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.service-sub { font-family: var(--font-head); font-size: .92rem; font-weight: 600; color: var(--navy-600); margin-bottom: 14px; }
.scope { margin: 26px 0 0; }
.scope h3 { margin-bottom: 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scope .check-list.cols { columns: 2; column-gap: 32px; }
.scope .check-list.cols li { break-inside: avoid; }
.result { margin-top: 26px; padding: 20px 24px; background: var(--bg-soft); border-radius: var(--radius); }
.result h3 { margin-bottom: 6px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.result p { margin: 0; color: var(--ink); font-weight: 500; }
.service-visual { position: sticky; top: 108px; display: grid; gap: 18px; }
.service-visual figure { margin: 0; overflow: hidden; border-radius: var(--radius); border: 1.5px solid var(--gold-deep); background: var(--navy-900); }
.service-visual img { width: 100%; height: auto; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.tags li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 500; color: var(--ink); }
.note-band { margin-top: 26px; padding: 18px 22px; border: 1.5px dashed var(--gold-deep); border-radius: var(--radius); font-weight: 500; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; padding: 72px 0 96px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form h2 { font-size: 1.3rem; margin-bottom: 22px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; background: var(--bg-soft); color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy-600); background: #fff; box-shadow: 0 0 0 4px rgba(45, 77, 122, .16); }
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: .95rem; }
.form-status.ok { display: block; background: #e4f4e8; color: #1b5a2c; }
.form-status.err { display: block; background: #fde8e6; color: #8f2317; }
.fineprint { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.aside-card { padding: 32px; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: var(--on-dark); }
.aside-card h3 { color: #fff; margin-bottom: 20px; }
.contact-list { list-style: none; display: grid; gap: 18px; margin: 0 0 28px; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--gold); }
.ci svg { width: 20px; height: 20px; }
.ci img { width: 22px; height: 22px; }
.contact-list small { display: block; font-family: var(--font-head); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 2px; }
.contact-list a, .contact-list span.v { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold); }
.aside-card ol { margin: 0 0 26px; padding-left: 20px; color: var(--on-dark-2); }
.aside-card ol li { margin-bottom: 8px; }
.aside-card .sub { margin: 0 0 16px; font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* Mentions légales */
.legal { padding-bottom: 96px; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p, .legal li { color: var(--text); }
.todo { background: #fff0b8; padding: 1px 6px; border-radius: 4px; font-weight: 600; color: #6b5200; }

/* Pied de page */
.site-footer { background: var(--navy-950); color: var(--on-dark-2); padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand { margin-bottom: 16px; }
.site-footer p { font-size: .94rem; margin-bottom: .8em; }
.site-footer h4 { margin-bottom: 16px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: .95rem; }
.site-footer a { text-decoration: none; color: var(--on-dark-2); }
.site-footer a:hover { color: var(--gold); }
.footer-tag { font-family: var(--font-head); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: .88rem; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Adaptation aux écrans */
@media (max-width: 1020px) {
  section { padding: 72px 0; }
  .hero { padding-top: 56px; }
  .hero-grid, .split, .why-grid, .expertise-grid, .service, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { max-width: 620px; }
  .cards { grid-template-columns: 1fr; }
  .cards .card { display: grid; grid-template-columns: 1fr 1.2fr; }
  .cards .card-media { aspect-ratio: auto; min-height: 100%; }
  .process { grid-template-columns: 1fr 1fr; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .why-cards { grid-template-columns: 1fr 1fr; }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service--flip .service-copy { order: 0; }
  .first-desktop { order: 0; }
  .service-visual { position: static; }
  .slant-panel { left: 12px; bottom: -22px; }
  .slant--flip .slant-panel { right: 12px; left: auto; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; display: none; padding: 8px 20px 22px; background: var(--navy-950); border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links a:not(.btn) { display: block; padding: 16px 0; }
  .nav-links li:last-child { border: 0; padding-top: 16px; }
  .nav-links .btn { display: flex; }
  .nav-links a[aria-current="page"]:not(.btn) { box-shadow: none; color: var(--gold); }
  .nav-links li:has(.lang-switch) { padding: 14px 0; }
  .nav-links .lang-switch a, .nav-links .lang-switch span { display: inline-flex; padding: 5px 9px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards .card { display: flex; }
  .cards .card-media { aspect-ratio: 16 / 10; }
  .process, .sectors, .why-cards, .field-row { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .scope .check-list.cols { columns: 1; }
  .hero { padding: 40px 0 112px; }
  .page-hero { padding: 56px 0 108px; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .brand-text b { font-size: 1.12rem; }
  .brand-mark { width: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Arabe (RTL) — la plupart des lignes/grilles se retournent automatiquement
   avec dir="rtl" (flex, grid). Ce qui reste : ce qui utilise left/right en dur. */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .check-list li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .check-list li::before { left: auto; right: 0; }
[dir="rtl"] .why-list li, [dir="rtl"] .contact-list li { text-align: right; }
[dir="rtl"] .slant-panel { left: auto; right: -22px; }
[dir="rtl"] .slant--flip .slant-panel { right: auto; left: -22px; }
[dir="rtl"] .card li::before { left: auto; right: 0; }
[dir="rtl"] .card-num, [dir="rtl"] .skip { left: auto; right: 0; }
[dir="rtl"] .skip { right: -999px; left: auto; }
[dir="rtl"] .skip:focus { right: 8px; left: auto; }
[dir="rtl"] .nav-links a[aria-current="page"]:not(.btn) { box-shadow: 0 2px 0 var(--gold); }
[dir="rtl"] .eyebrow::before { margin-left: 0; }
[dir="rtl"] .hp { left: auto; right: -9999px; }
[dir="rtl"] .lead, [dir="rtl"] .section-head p, [dir="rtl"] .page-hero .lead { margin-inline: 0; }
@media (max-width: 820px) {
  [dir="rtl"] .nav-links { left: 0; right: 0; }
}
