/* ==========================================================================
   BURGAZ INVESTMENT — Design system
   Palette issue du logo : jaune brand + graphite. Propriétés logiques (RTL ok).
   ========================================================================== */
:root {
  --ink: #0e1116;
  --graphite: #1a1f27;
  --graphite-2: #242a34;
  --steel: #5a6372;
  --mist: #e7e4da;
  --ivory: #f7f5ef;
  --paper: #ffffff;
  --brand: #f2c230;          /* jaune du logo : fonds, accents sur sombre */
  --brand-hover: #ffd24f;
  --brand-deep: #7d5f00;     /* texte jaune sur clair (contraste AA) */
  --line: rgba(14, 17, 22, .12);
  --line-light: rgba(255, 255, 255, .16);

  --font-head: "League Spartan", "Cairo", system-ui, sans-serif;
  --font-body: "Inter", "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px rgba(14, 17, 22, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  color: var(--graphite); background: var(--paper); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .75rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1.1rem; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.78); }
.section--dark h2, .section--dark h3 { color: #fff; }
.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: 8px; inset-inline-start: 8px; z-index: 2000; background: var(--brand); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ---------- Eyebrow + titres de section ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--brand); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.lead { font-size: 1.2rem; color: var(--steel); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: var(--ink); --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.7rem; border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover { --btn-bg: var(--brand-hover); --btn-bd: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(242,194,48,.35); }
.btn:hover svg { transform: translateX(4px); }
[dir="rtl"] .btn svg, [dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; box-shadow: none; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: var(--graphite-2); --btn-bd: var(--graphite-2); box-shadow: 0 10px 26px rgba(14,17,22,.25); }
.btn--sm { min-height: 44px; padding: .5rem 1.25rem; font-size: .9rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 1000; height: var(--header-h); display: flex; align-items: center; transition: background .35s, box-shadow .35s, height .35s; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; transition: height .35s; }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.nav a { position: relative; color: rgba(255,255,255,.88); font-size: .95rem; font-weight: 500; padding-block: .5rem; transition: color .25s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
[dir="rtl"] .nav a::after { transform-origin: right; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switcher { display: inline-flex; border: 1px solid var(--line-light); border-radius: 999px; padding: 3px; }
.lang-btn { background: none; border: 0; color: rgba(255,255,255,.8); font-size: .78rem; font-weight: 600; letter-spacing: .06em; padding: .32rem .7rem; border-radius: 999px; transition: background .25s, color .25s; }
.lang-btn:hover { color: #fff; }
.lang-btn.active { background: var(--brand); color: var(--ink); }
.site-header.is-solid { background: rgba(14,17,22,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-light); height: 68px; }
.site-header.is-solid .brand img { height: 44px; }
.menu-toggle { display: none; width: 46px; height: 46px; background: none; border: 1px solid var(--line-light); border-radius: 50%; position: relative; color: #fff; }
.menu-toggle span { position: absolute; inset-inline: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { inset-block-start: 16px; }
.menu-toggle span:nth-child(2) { inset-block-start: 22px; }
.menu-toggle span:nth-child(3) { inset-block-start: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu { position: fixed; inset: 0; z-index: 999; background: var(--ink); padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem; display: flex; flex-direction: column; gap: .25rem; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .35s, transform .35s var(--ease), visibility .35s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; }
.mobile-menu a.m-link { font-family: var(--font-head); font-size: clamp(1.7rem, 7vw, 2.2rem); font-weight: 600; color: #fff; padding-block: .6rem; border-bottom: 1px solid var(--line-light); }
.mobile-menu a.m-link:hover { color: var(--brand); }
.mobile-menu .lang-switcher { align-self: flex-start; margin-top: 1.75rem; }
.mobile-menu .btn { margin-top: 1.5rem; align-self: stretch; }

/* Header sur pages secteur (hero sombre aussi) : même comportement */

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(100svh, 640px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(14,17,22,.92) 0%, rgba(14,17,22,.72) 48%, rgba(14,17,22,.4) 100%),
              linear-gradient(0deg, rgba(14,17,22,.85) 0%, transparent 38%); }
[dir="rtl"] .hero::before { background: linear-gradient(-100deg, rgba(14,17,22,.92) 0%, rgba(14,17,22,.72) 48%, rgba(14,17,22,.4) 100%), linear-gradient(0deg, rgba(14,17,22,.85) 0%, transparent 38%); }
.hero__inner { padding-block: calc(var(--header-h) + 3rem) 7rem; max-width: 820px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5.25rem); font-weight: 600; line-height: 1.02; letter-spacing: -.025em; margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 2.25rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll { position: absolute; inset-block-end: 2rem; inset-inline-start: max(var(--gutter), calc(50% - var(--container) / 2)); display: flex; align-items: center; gap: .8rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__scroll i { width: 1px; height: 42px; background: linear-gradient(var(--brand), transparent); animation: scrollcue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Secteurs ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.sector-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; background: var(--graphite); }
.sector-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.sector-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,17,22,.94) 6%, rgba(14,17,22,.35) 60%, rgba(14,17,22,.15) 100%); transition: background .5s; }
.sector-card__body { padding: 1.5rem; }
.sector-card__num { font-family: var(--font-head); font-size: .85rem; letter-spacing: .12em; color: var(--brand); margin-bottom: .6rem; display: block; }
.sector-card h3 { color: #fff; font-size: 1.25rem; line-height: 1.2; margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .01em; }
.sector-card p { font-size: .92rem; line-height: 1.5; color: rgba(255,255,255,.78); margin-bottom: 1rem; }
.sector-card__more { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--brand); }
.sector-card__more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.sector-card:hover img { transform: scale(1.06); }
.sector-card:hover::before { background: linear-gradient(0deg, rgba(14,17,22,.96) 12%, rgba(14,17,22,.55) 100%); }
.sector-card:hover .sector-card__more svg { transform: translateX(5px); }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1 / 1; object-fit: cover; }
.about__media::before { content: ""; position: absolute; inset-block-start: -18px; inset-inline-end: -18px; width: 55%; height: 55%; border: 2px solid var(--brand); border-radius: var(--radius); z-index: -1; }
.pillars { display: grid; gap: 1.25rem; margin-top: 2rem; }
.pillar { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.pillar__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--brand); display: grid; place-items: center; }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.pillar p { margin: 0; font-size: .95rem; color: var(--steel); }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-light); }
.stat { padding: 2.5rem 1.5rem; text-align: center; border-inline-end: 1px solid var(--line-light); }
.stat:last-child { border-inline-end: 0; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 600; line-height: 1; color: var(--brand); display: block; font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: .8rem; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- Partenaires ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 1.25rem; padding-inline-end: 1.25rem; }
.partner { width: 200px; height: 104px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; place-items: center; padding: 14px 20px; }
.partner img { width: auto; height: auto; max-height: 72px; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .35s, opacity .35s; }
.partner:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-direction: reverse; }

/* ---------- Bandeau CTA ---------- */
.cta-band { background: var(--brand); color: var(--ink); padding-block: clamp(3rem, 6vw, 5rem); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0 0 .5rem; max-width: 640px; }
.cta-band p { margin: 0; max-width: 560px; color: rgba(14,17,22,.8); }

/* ---------- Formulaires ---------- */
.split > * > .section-title { margin-bottom: 1.5rem; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); color: var(--graphite); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.field label .opt { font-weight: 400; color: var(--steel); }
.input { width: 100%; min-height: 52px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory); border: 1.5px solid transparent; border-radius: var(--radius-sm); transition: border-color .25s, background .25s, box-shadow .25s; }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235a6372'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5'  stroke='%235a6372' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 20px; padding-inline-end: 2.6rem; }
[dir="rtl"] select.input { background-position: left .9rem center; }
.input:hover { border-color: var(--mist); }
.input:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(242,194,48,.28); }
.input:user-invalid { border-color: #c0392b; }
input[type="file"].input { padding: .55rem .7rem; }
input[type="file"].input::file-selector-button { margin-inline-end: .9rem; border: 0; background: var(--ink); color: #fff; padding: .55rem 1rem; border-radius: 999px; font-weight: 600; font-size: .85rem; cursor: pointer; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 500; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: #e6f4ea; color: #14532d; }
.form-status.is-error { background: #fdecea; color: #8a1c10; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { font-size: .82rem; color: var(--steel); margin: 1rem 0 0; }

/* ---------- Contact ---------- */
.contact-info { background: var(--ink); color: rgba(255,255,255,.8); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.contact-info h3 { color: #fff; font-size: 1.4rem; margin-bottom: 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; margin-bottom: 1.25rem; align-items: start; }
.contact-list svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(242,194,48,.14); color: var(--brand); }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--brand); }
.map { margin-top: 1.5rem; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--graphite-2); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.68); padding-block: 4.5rem 2rem; font-size: .95rem; border-top: 3px solid var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 320px; font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.25rem; font-family: var(--font-body); font-weight: 600; }
.footer-col li { margin-bottom: .65rem; }
.footer-col a { transition: color .25s, padding .3s var(--ease); }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: .88rem; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.6); }
.cert-chip { background: #fff; border-radius: 10px; padding: 8px 14px; }
.cert-chip img { height: 42px; width: auto; }

/* ---------- Pages secteur ---------- */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: var(--ink) center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,17,22,.95) 0%, rgba(14,17,22,.55) 55%, rgba(14,17,22,.7) 100%); }
.page-hero .container { padding-block: calc(var(--header-h) + 4rem) 4rem; }
.crumbs { display: flex; gap: .6rem; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1.25rem; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.5rem); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 1rem; max-width: 900px; }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 680px; margin: 0; }

.sector-body { padding-block: var(--section-y); }
.sector-body > .container > h2, .sector-body h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: clamp(3rem, 6vw, 5rem) 0 1rem; position: relative; padding-top: 1.1rem; }
.sector-body h2::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 52px; height: 3px; background: var(--brand); }
.sector-body h2:first-child { margin-top: 0; }
.sector-body > .container > p { max-width: 820px; color: #3a424f; }
.sector-body .activities-section { padding: 0; }
.activities-grid, .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.activity-box, .service-box { background: var(--ivory); border: 1px solid transparent; border-radius: var(--radius); padding: 2rem 1.75rem; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s, background .4s; }
.service-box { background: #fff; border-color: var(--line); }
.activity-box:hover, .service-box:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand); background: #fff; }
.activity-icon, .service-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--ink); color: var(--brand); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.25rem; transition: background .35s, color .35s; }
.activity-box:hover .activity-icon, .service-box:hover .service-icon { background: var(--brand); color: var(--ink); }
.activity-box h4, .service-box h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.activity-box p, .service-box p { margin: 0; font-size: .95rem; color: var(--steel); line-height: 1.6; }
.sector-cta { margin-top: clamp(3.5rem, 7vw, 6rem); background: var(--ink); color: rgba(255,255,255,.8); border-radius: var(--radius); padding: clamp(2rem, 5vw, 4rem); text-align: center; }
.sector-cta h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 720px; margin: 0 auto 1rem; }
.sector-cta p { max-width: 640px; margin: 0 auto 2rem; }
.sector-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.5rem; }
.sector-nav a { padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 500; transition: background .25s, border-color .25s; }
.sector-nav a:hover, .sector-nav a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .sector-card { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .nav, .header-actions .lang-switcher, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .about, .split { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .brand img { height: 42px; }
  .hero { min-height: 100svh; }
  .hero__inner { padding-block: calc(var(--header-h) + 2rem) 6rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .sectors { grid-template-columns: 1fr; gap: 1rem; }
  .sector-card { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
  .partner { width: 150px; height: 84px; }
  .page-hero { min-height: 52vh; }
  .stat { padding: 1.75rem .75rem; }
}
@media (min-width: 1600px) {
  :root { --container: 1360px; }
  body { font-size: 1.125rem; }
}

/* ---------- RTL / arabe ---------- */
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { letter-spacing: 0; line-height: 1.3; }
:lang(ar) .eyebrow, :lang(ar) .stat__label, :lang(ar) .footer-col h4 { letter-spacing: 0; }
:lang(ar) .sector-card h3, :lang(ar) .page-hero h1 { text-transform: none; }
[dir="rtl"] .hero__scroll i { transform-origin: top; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* Colonne collante (desktop) */
@media (min-width: 992px) { .split > .sticky { position: sticky; inset-block-start: calc(var(--header-h) + 2rem); } }
.footer-col ul a { font-size: .86rem; letter-spacing: .03em; }
@media (max-width: 640px) { .partner img { max-height: 56px; max-width: 110px; } .brand img { height: 46px; } }
