/* ============================================================
   IFAO-SARL — Design system
   ============================================================ */
:root {
  --brand: #3465c3;
  --brand-600: #2c56ad;
  --brand-700: #23478f;
  --brand-900: #122a56;
  --brand-950: #0b1a37;
  --brand-50: #eef3fc;
  --brand-100: #dde8fa;
  --gold: #b08a2e;
  --gold-600: #9a7623;
  --gold-light: #f5dc97;
  --ink: #0e1a32;
  --slate: #4d5f80;
  --muted: #7183a3;
  --line: #e3eaf6;
  --mist: #f5f8fd;
  --white: #ffffff;
  --green: #1faa59;
  --radius: 20px;
  --shadow-soft: 0 30px 70px -35px rgba(18, 42, 86, 0.28);
  --shadow-card: 0 16px 40px -24px rgba(18, 42, 86, 0.25);
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
[dir="rtl"] body,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] button {
  font-family: "Cairo", "Noto Naskh Arabic", "Inter", sans-serif;
}
[dir="rtl"] .hero h1,
[dir="rtl"] .section-title,
[dir="rtl"] .page-hero h1 { line-height: 1.35; letter-spacing: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold-light); color: var(--brand-950); }
:focus-visible { outline: 3px solid rgba(52, 101, 195, 0.35); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 2rem); } }

/* ---------- Typography ---------- */
.display { font-family: "Lora", Georgia, serif; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--gold); display: inline-block; }
.eyebrow.no-rule::before { display: none; }
.section-title {
  font-size: clamp(1.85rem, 3.3vw, 2.8rem);
  line-height: 1.14; letter-spacing: -0.03em; font-weight: 700;
  color: var(--ink); margin: 0 0 1rem;
}
.section-lead { font-size: 1.02rem; line-height: 1.75; color: var(--slate); max-width: 660px; margin: 0; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .section-lead { margin-inline: auto; }
.section { padding: clamp(3.8rem, 7vw, 6.5rem) 0; }
.section.tight { padding: clamp(2.8rem, 5vw, 4.5rem) 0; }
.section.mist { background: var(--mist); }
.section.blue-tint { background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%); }
.section.dark { background: var(--brand-950); color: #dbe6fb; }
.section.dark .section-title { color: #fff; }
.section.dark .section-lead { color: #b9c9e7; }
.section.dark .eyebrow { color: var(--gold-light); }
.section.dark .eyebrow::before { background: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.35rem; border-radius: 12px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font-size: 0.88rem; font-weight: 600;
  line-height: 1.2; letter-spacing: -0.01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(18, 42, 86, 0.55); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand); }
.btn-primary:hover { --btn-bg: var(--brand-600); --btn-bd: var(--brand-600); }
.btn-gold { --btn-bg: linear-gradient(135deg, #c49a3b, #a57c24); --btn-fg: #fff; --btn-bd: transparent; }
.btn-gold:hover { --btn-bg: linear-gradient(135deg, #b78d30, #916b1b); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--brand); --btn-bd: #c9d7ef; }
.btn-outline:hover { --btn-bg: var(--brand-50); --btn-bd: var(--brand); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--brand-900); --btn-bd: #fff; }
.btn-white:hover { --btn-bg: #f0f5ff; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--brand-900); --btn-bd: transparent; padding-inline: 0.25rem; }
.btn-ghost:hover { box-shadow: none; transform: none; color: var(--brand); }
.btn-wa { --btn-bg: #1faa59; --btn-fg: #fff; --btn-bd: #1faa59; }
.btn-wa:hover { --btn-bg: #178f4a; --btn-bd: #178f4a; }
.btn-lg { padding: 1rem 1.65rem; font-size: 0.95rem; border-radius: 14px; }
.btn-sm { padding: 0.6rem 0.95rem; font-size: 0.78rem; border-radius: 10px; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600;
  font-size: 0.88rem; color: var(--brand); transition: gap .2s ease, color .2s ease;
}
.link-arrow:hover { gap: 0.7rem; color: var(--brand-700); }
.link-arrow svg { width: 16px; height: 16px; flex: none; }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brand); color: #ffffff; font-size: 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16); position: relative; z-index: 60;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar-contact { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; color: #ffffff; transition: color .2s; }
.topbar a:hover { color: var(--gold-light); }
.topbar svg { width: 13px; height: 13px; opacity: .9; }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-location { display: inline-flex; align-items: center; gap: .45rem; color: #ffffff; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; background: rgba(255,255,255,.16); padding: 3px; border-radius: 8px; }
.lang-switch button {
  border: 0; background: transparent; color: #ffffff; font-size: .72rem;
  font-weight: 600; padding: .28rem .55rem; border-radius: 6px; letter-spacing: .02em;
  transition: background .2s, color .2s;
}
.lang-switch button:hover { color: #fff; background: rgba(255,255,255,.14); }
.lang-switch button.active { background: #ffffff; color: var(--brand); }
@media (max-width: 900px) { .topbar-location { display: none; } }
@media (max-width: 700px) {
  .topbar-contact a:first-child { display: none; }
  .topbar-inner { min-height: 36px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 55; background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 234, 246, .9); transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 12px 30px -22px rgba(18, 42, 86, .38); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.brand img { width: auto; height: 44px; max-width: 190px; border-radius: 0; box-shadow: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: "Lora", Georgia, serif; font-weight: 700; font-size: 1.32rem; letter-spacing: .01em; color: var(--brand-900); }
.brand-name span { color: var(--gold); }
.brand-sub { font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: clamp(.55rem, 1.35vw, 1.35rem); }
.nav-link {
  position: relative; font-size: .8rem; font-weight: 500; color: #33456a;
  padding: .35rem 0; white-space: nowrap; transition: color .2s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--gold); border-radius: 2px; transition: right .25s ease;
}
[dir="rtl"] .nav-link::after { left: 100%; right: 0; transition: left .25s ease; }
.nav-link:hover { color: var(--brand); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
[dir="rtl"] .nav-link:hover::after, [dir="rtl"] .nav-link.active::after { left: 0; right: 0; }
.nav-link.active { color: var(--brand); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: .55rem; flex: none; }
.header-cta { padding: .72rem 1.05rem; font-size: .8rem; }
.menu-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; border-radius: 12px; color: var(--brand-900);
}
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1180px) {
  .main-nav { gap: .65rem; }
  .nav-link { font-size: .74rem; }
  .header-cta { display: none; }
}
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: inline-flex; }
}
@media (max-width: 520px) {
  .brand img { width: auto; height: 38px; max-width: 160px; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { display: none; }
  .header-cta { display: none; }
  .header-inner { height: 68px; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 54; background: #fff; padding: 1.25rem;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease, visibility .25s;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-link {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .95rem .25rem; font-size: 1rem; font-weight: 500; color: var(--brand-900);
  border-bottom: 1px solid var(--line);
}
.mobile-link.active { color: var(--brand); font-weight: 700; }
.mobile-link svg { width: 16px; height: 16px; flex: none; opacity: .45; }
[dir="rtl"] .mobile-link svg { transform: scaleX(-1); }
.mobile-menu-foot { margin-top: 1.5rem; display: grid; gap: .75rem; }
.mobile-menu-contact { display: grid; gap: .5rem; margin-top: 1.25rem; font-size: .85rem; color: var(--slate); }
.mobile-menu-contact a { display: flex; align-items: center; gap: .55rem; }
.mobile-menu-contact svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(2.8rem, 6vw, 5.5rem) 0 clamp(5rem, 9vw, 7.5rem);
  background:
    radial-gradient(900px 520px at 92% 10%, rgba(52, 101, 195, .13), transparent 62%),
    radial-gradient(700px 420px at 2% 90%, rgba(176, 138, 46, .08), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(52, 101, 195, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(600px 380px at 75% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(600px 380px at 75% 20%, #000 0%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.25rem, 4.45vw, 4rem); line-height: 1.06; letter-spacing: -0.038em;
  font-weight: 700; color: var(--brand-950); margin: 0 0 1.35rem;
}
.hero h1 .accent { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em;
  background: linear-gradient(90deg, var(--gold-light), rgba(245, 220, 151, 0));
  border-radius: 3px; z-index: -1;
}
.hero-lead { font-size: clamp(.98rem, 1.25vw, 1.08rem); line-height: 1.8; color: var(--slate); max-width: 35rem; margin: 0 0 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.hero-download {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.4rem;
  font-size: .82rem; font-weight: 600; color: var(--brand-700); border-bottom: 1px solid #bfcfeb;
  padding-bottom: .15rem;
}
.hero-download:hover { color: var(--gold-600); border-color: var(--gold); }
.hero-download svg { width: 15px; height: 15px; }
.hero-visual { position: relative; min-height: 420px; }
.hero-frame {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 5 / 5.6;
  box-shadow: 0 40px 80px -40px rgba(18, 42, 86, .55); background: var(--brand-100);
  border: 1px solid rgba(255,255,255,.7);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,26,55,0) 40%, rgba(11,26,55,.55) 100%);
}
.hero-frame::before {
  content: ""; position: absolute; left: 0; top: 0; width: 44%; height: 5px; z-index: 2;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.hero-badge {
  position: absolute; z-index: 3; left: -1.1rem; bottom: 1.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: .9rem 1.15rem; display: flex; align-items: center; gap: .7rem;
  box-shadow: var(--shadow-card); max-width: 270px;
}
.hero-badge-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50);
  color: var(--brand); display: grid; place-items: center; flex: none;
}
.hero-badge-icon svg { width: 21px; height: 21px; }
.hero-badge strong { display: block; font-size: .84rem; color: var(--brand-950); line-height: 1.25; }
.hero-badge span { display: block; font-size: .7rem; color: var(--muted); margin-top: .18rem; }
.hero-badge--top {
  left: auto; right: -0.9rem; top: 1.5rem; bottom: auto;
  padding: .72rem .95rem; max-width: 220px;
}
.hero-badge--top .hero-badge-icon { width: 36px; height: 36px; border-radius: 10px; }
.hero-badge--top strong { font-size: .76rem; }
.hero-badge--top span { font-size: .65rem; }
.hero-ring {
  position: absolute; z-index: 0; width: 190px; height: 190px; border: 1px solid rgba(52,101,195,.25);
  border-radius: 50%; right: -4rem; bottom: -3rem;
}
.hero-ring::after { content: ""; position: absolute; inset: 22px; border: 1px dashed rgba(176,138,46,.35); border-radius: 50%; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; min-height: 0; }
  .hero-frame { aspect-ratio: 5 / 4.1; }
  .hero-badge { left: .8rem; bottom: .9rem; }
  .hero-badge--top { right: .8rem; top: .9rem; left: auto; }
}
@media (max-width: 560px) {
  .hero { padding-top: 2.2rem; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { max-width: 230px; padding: .7rem .85rem; }
  .hero-badge--top { display: none; }
  .hero-ring { display: none; }
}

/* ---------- Stats band ---------- */
.stats-wrap { position: relative; z-index: 10; margin-top: clamp(-4.5rem, -5vw, -3.5rem); }
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: linear-gradient(135deg, #1d3f80 0%, #2c56ad 55%, #3465c3 100%);
  border-radius: 22px; padding: .35rem; box-shadow: 0 28px 60px -30px rgba(18, 42, 86, .6);
  position: relative; overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0; opacity: .13;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 18px 18px;
}
.stat-item { position: relative; padding: 1.55rem 1.5rem; color: #fff; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
  background: rgba(255, 255, 255, .18);
}
[dir="rtl"] .stat-item + .stat-item::before { left: auto; right: 0; }
.stat-value { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #fff; display: flex; align-items: baseline; gap: .35rem; }
.stat-value .prefix { font-size: .68rem; font-weight: 500; letter-spacing: .04em; color: var(--gold-light); text-transform: uppercase; }
.stat-label { margin-top: .55rem; font-size: .72rem; line-height: 1.45; color: #c6d7f4; max-width: 200px; }
.stat-icon { position: absolute; right: 1.1rem; top: 1.2rem; color: rgba(255,255,255,.18); }
.stat-icon svg { width: 26px; height: 26px; }
[dir="rtl"] .stat-icon { right: auto; left: 1.1rem; }
@media (max-width: 900px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3)::before { display: none; }
  .stat-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 480px) {
  .stats-band { grid-template-columns: 1fr; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { border-top: 1px solid rgba(255,255,255,.14); padding: 1.2rem 1.3rem; }
  .stat-item:first-child { border-top: 0; }
  .stat-label { max-width: none; }
}

/* ---------- Cards & grids ---------- */
.grid-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.service-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.55rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden; min-height: 100%;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold)); opacity: 0; transition: opacity .25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: #cfdcf2; }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); margin-bottom: 1.15rem;
  transition: background .25s, color .25s;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card:hover .service-icon { background: var(--brand); color: #fff; }
.service-card h3 { font-size: 1.02rem; line-height: 1.3; letter-spacing: -.015em; margin: 0 0 .55rem; color: var(--brand-950); font-weight: 700; }
.service-card p { font-size: .82rem; line-height: 1.65; color: var(--slate); margin: 0 0 1.1rem; flex: 1; }
.service-card .link-arrow { font-size: .78rem; }
.service-index { position: absolute; right: 1.25rem; top: 1.3rem; font-size: .7rem; font-weight: 700; color: #cfdaee; letter-spacing: .08em; }
[dir="rtl"] .service-index { right: auto; left: 1.25rem; }
@media (max-width: 1080px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-services { grid-template-columns: 1fr; } }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.why-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.6rem; transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.why-num { font-family: "Lora", Georgia, serif; font-size: 2.6rem; line-height: 1; color: var(--brand-100); font-weight: 700; margin-bottom: .9rem; }
.why-card h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 .55rem; color: var(--brand-950); }
.why-card p { font-size: .9rem; line-height: 1.7; color: var(--slate); margin: 0; }
.why-card .why-icon { position: absolute; right: 1.4rem; top: 1.5rem; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.why-card .why-icon svg { width: 20px; height: 20px; }
[dir="rtl"] .why-card .why-icon { right: auto; left: 1.4rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .why-card { padding: 1.5rem; } }

/* ---------- Sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.sector-pill {
  display: flex; align-items: center; gap: .7rem; padding: .95rem 1rem;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  font-size: .84rem; font-weight: 500; color: var(--brand-900);
  transition: border-color .2s, background .2s, transform .2s;
}
.sector-pill:hover { border-color: #b9ccee; background: var(--brand-50); transform: translateY(-2px); }
.sector-pill svg { width: 19px; height: 19px; color: var(--gold); flex: none; }
.sector-pill:nth-child(7) { grid-column: span 2; }
@media (max-width: 1000px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } .sector-pill:nth-child(7) { grid-column: auto; } }
@media (max-width: 520px) { .sector-grid { grid-template-columns: 1fr; } }

.sector-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.sector-card {
  display: flex; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; transition: box-shadow .25s, transform .25s;
}
.sector-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.sector-card-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.sector-card-icon svg { width: 22px; height: 22px; }
.sector-card h3 { font-size: .98rem; margin: 0 0 .3rem; color: var(--brand-950); }
.sector-card p { font-size: .82rem; line-height: 1.65; color: var(--slate); margin: 0; }
@media (max-width: 760px) { .sector-cards { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 26px;
  background: linear-gradient(120deg, #122a56 0%, #1d3f80 58%, #2c56ad 100%);
  color: #fff; padding: clamp(1.8rem, 4vw, 3.2rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  box-shadow: 0 30px 60px -35px rgba(18, 42, 86, .65);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 20px 20px;
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-band::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(245, 220, 151, .3); right: -100px; top: -110px;
}
.cta-band .eyebrow { color: var(--gold-light); margin-bottom: .65rem; }
.cta-band .eyebrow::before { background: var(--gold-light); }
.cta-band h2 { position: relative; z-index: 2; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5rem; color: #fff; }
.cta-band p { position: relative; z-index: 2; color: #c5d6f2; font-size: .92rem; line-height: 1.7; max-width: 600px; margin: 0; }
.cta-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .65rem; flex: none; }
@media (max-width: 860px) { .cta-band { flex-direction: column; align-items: flex-start; } .cta-actions { width: 100%; } .cta-actions .btn { flex: 1 1 auto; } }
@media (max-width: 460px) { .cta-actions .btn { width: 100%; } }

/* ---------- Contact preview / info ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.info-list { display: grid; gap: .35rem; margin: 1.6rem 0; }
.info-item { display: flex; gap: .85rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.info-icon svg { width: 18px; height: 18px; }
.info-item .label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: .15rem; }
.info-item .value { font-size: .88rem; line-height: 1.55; color: var(--brand-950); font-weight: 500; }
.info-item a.value:hover { color: var(--brand); }
.map-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); background: #e9eef7; position: relative; min-height: 380px; }
.map-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }
.map-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: var(--brand); margin-top: .8rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .map-card, .map-card iframe { min-height: 320px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(125deg, #0e2247 0%, #18386f 55%, #2c56ad 100%);
  padding: clamp(2.6rem, 5vw, 4.4rem) 0 clamp(2.8rem, 5vw, 4.6rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(700px 400px at 80% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 400px at 80% 30%, #000, transparent 75%);
}
.page-hero::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(245, 220, 151, .2); right: -110px; bottom: -190px;
}
.page-hero .wrap { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; font-size: .72rem; color: #9fb5d8; margin-bottom: 1.1rem; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb svg { width: 12px; height: 12px; opacity: .6; }
[dir="rtl"] .breadcrumb svg { transform: scaleX(-1); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .85rem; max-width: 850px; color: #fff; }
.page-hero .lead { font-size: clamp(.95rem, 1.3vw, 1.08rem); line-height: 1.75; color: #c4d4ef; max-width: 720px; margin: 0; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero .eyebrow::before { background: var(--gold-light); }
.page-hero.compact { padding: clamp(2rem, 4vw, 3.2rem) 0; }

/* ---------- Prose ---------- */
.prose { font-size: .96rem; line-height: 1.85; color: #33456a; max-width: 780px; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.25; letter-spacing: -.02em; color: var(--brand-950); margin: 2.2rem 0 .75rem; }
.prose h3 { font-size: 1.1rem; margin: 1.8rem 0 .55rem; color: var(--brand-900); }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1.2rem; padding-inline-start: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--brand-950); }

/* ---------- About / facts / team / values ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 4vw, 4rem); align-items: start; }
.split.wide-right { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 900px) {
  .split,
  .split.wide-right { grid-template-columns: 1fr; gap: 1.6rem; }
  .split > .reveal > .figure { margin-top: .4rem; }
  .split .section-lead { max-width: none; }
}
.fact-list { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.fact-row { display: grid; grid-template-columns: 40% 60%; gap: 1rem; padding: .95rem 1.15rem; border-bottom: 1px solid var(--line); font-size: .82rem; }
.fact-row:last-child { border-bottom: 0; }
.fact-row:nth-child(odd) { background: #fbfcff; }
.fact-row dt { color: var(--muted); font-weight: 500; }
.fact-row dd { margin: 0; color: var(--brand-950); font-weight: 500; line-height: 1.55; }
@media (max-width: 600px) { .fact-row { grid-template-columns: 1fr; gap: .15rem; } }

.partner-card { display: grid; grid-template-columns: 260px 1fr; gap: 1.8rem; align-items: start; }
.partner-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--brand-100); }
.partner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.partner-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11,26,55,.35)); }
.partner-quote { border-inline-start: 3px solid var(--gold); padding: .4rem 0 .4rem 1.1rem; margin: 1.2rem 0; font-size: .92rem; font-style: italic; color: var(--brand-900); }
[dir="rtl"] .partner-quote { padding: .4rem 1.1rem .4rem 0; }
.credential-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .65rem; }
.credential-list li { position: relative; padding-inline-start: 1.55rem; font-size: .84rem; line-height: 1.65; color: var(--slate); }
.credential-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .38rem; width: 16px; height: 16px;
  border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233465c3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
@media (max-width: 760px) { .partner-card { grid-template-columns: 1fr; } .partner-photo { max-width: 320px; } }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.4rem; }
.value-chip { display: flex; align-items: center; gap: .55rem; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .8rem; color: var(--brand-900); }
.value-chip svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
@media (max-width: 760px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .value-grid { grid-template-columns: 1fr; } }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pillar-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; }
.pillar-card .pillar-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 1rem; }
.pillar-card h3 { margin: 0 0 .5rem; font-size: 1.05rem; color: var(--brand-950); }
.pillar-card p { margin: 0; font-size: .86rem; line-height: 1.7; color: var(--slate); }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }

.approach-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; counter-reset: step; }
.approach-card { position: relative; padding: 1.3rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.approach-card::before { counter-increment: step; content: "0" counter(step); font-size: .7rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; display: block; margin-bottom: .7rem; }
.approach-card h3 { font-size: .88rem; margin: 0 0 .35rem; color: var(--brand-950); line-height: 1.35; }
.approach-card p { font-size: .78rem; line-height: 1.6; color: var(--slate); margin: 0; }
@media (max-width: 1080px) { .approach-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .approach-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .approach-grid { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.service-row { display: grid; grid-template-columns: 230px 1fr; gap: 2rem; padding: clamp(1.6rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row-head { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.service-row-head .service-icon { margin-bottom: 1rem; }
.service-row-head h2 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 .5rem; color: var(--brand-950); }
.service-row-head .slug { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.service-row-body p { font-size: .92rem; line-height: 1.8; color: var(--slate); margin: 0 0 1rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.feature-grid li { position: relative; padding-inline-start: 1.55rem; font-size: .82rem; line-height: 1.6; color: #33456a; }
.feature-grid li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .3rem; width: 17px; height: 17px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233465c3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
@media (max-width: 800px) { .service-row { grid-template-columns: 1fr; gap: 1rem; } .service-row-head { position: static; } .feature-grid { grid-template-columns: 1fr; } }

.service-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.service-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.sidebar-card { border: 1px solid var(--line); border-radius: 18px; padding: 1.35rem; background: #fff; }
.sidebar-card h3 { font-size: .92rem; margin: 0 0 .75rem; color: var(--brand-950); }
.sidebar-card p { font-size: .8rem; line-height: 1.65; color: var(--slate); margin: 0 0 .9rem; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .2rem; font-size: .8rem; color: #33456a; border-bottom: 1px solid #eef2f9; }
.side-list a:last-child { border-bottom: 0; }
.side-list a:hover, .side-list a.active { color: var(--brand); }
.side-list a svg { width: 13px; height: 13px; opacity: .5; }
@media (max-width: 900px) { .service-detail-grid { grid-template-columns: 1fr; } .service-sidebar { position: static; } }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 1.2rem; padding: 1.5rem; border-bottom: 1px solid var(--line); position: relative; }
.step:last-child { border-bottom: 0; }
.step-num { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.step h3 { font-size: 1.02rem; margin: 0 0 .35rem; color: var(--brand-950); }
.step p { font-size: .86rem; line-height: 1.7; color: var(--slate); margin: 0; }
@media (max-width: 560px) { .step { grid-template-columns: 46px 1fr; gap: .9rem; padding: 1.15rem; } .step-num { width: 38px; height: 38px; font-size: .82rem; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .32rem; }
.field label { font-size: .73rem; font-weight: 600; color: var(--brand-900); letter-spacing: .01em; }
.field label .req { color: var(--gold); }
.input, .select, .textarea {
  width: 100%; border: 1.5px solid #dbe4f3; background: #fbfcff; border-radius: 11px;
  padding: .7rem .85rem; font-size: .86rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.input::placeholder, .textarea::placeholder { color: #9aa8c2; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(52, 101, 195, .1); }
.textarea { resize: vertical; min-height: 110px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234d5f80' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-inline-end: 2.2rem; }
[dir="rtl"] .select { background-position: left .8rem center; }
.field-error { font-size: .68rem; color: #c23636; min-height: 0; }
.consent { font-size: .7rem; line-height: 1.55; color: var(--muted); margin: .3rem 0 0; }
.honeypot { position: absolute !important; left: 0 !important; clip: rect(0 0 0 0) !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden !important; }
.honeypot label, .honeypot input { position: static !important; width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; }
.form-success { background: #f0fbf4; border: 1px solid #c9ecd8; border-radius: 18px; padding: 1.6rem; text-align: center; }
.form-success .success-icon { width: 52px; height: 52px; border-radius: 50%; background: #d9f4e4; color: #178f4a; display: grid; place-items: center; margin: 0 auto .9rem; }
.form-success h3 { margin: 0 0 .4rem; font-size: 1.1rem; color: #146c3a; }
.form-success p { margin: 0; font-size: .87rem; color: #2e6b4a; line-height: 1.65; }
.form-error { background: #fff4f4; border: 1px solid #f1cccc; color: #9c2b2b; border-radius: 12px; padding: .85rem 1rem; font-size: .8rem; margin-top: .8rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter-form { display: flex; gap: .45rem; margin-top: .8rem; }
.newsletter-form .input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.newsletter-form .input::placeholder { color: #8fa6ca; }
.newsletter-form .input:focus { background: rgba(255,255,255,.1); border-color: var(--gold-light); box-shadow: none; }
.newsletter-form .btn { flex: none; }
.newsletter-msg { font-size: .72rem; margin-top: .45rem; }
@media (max-width: 420px) { .newsletter-form { flex-direction: column; } .newsletter-form .btn { width: 100%; } }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.news-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.news-cover { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--brand-100), #eef3fc); overflow: hidden; position: relative; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-cover img { transform: scale(1.03); }
.news-body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: .5rem; font-size: .68rem; color: var(--muted); margin-bottom: .5rem; }
.news-tag { background: var(--brand-50); color: var(--brand); border-radius: 999px; padding: .18rem .55rem; font-weight: 600; }
.news-card h3 { font-size: 1rem; line-height: 1.4; margin: 0 0 .5rem; color: var(--brand-950); }
.news-card p { font-size: .82rem; line-height: 1.65; color: var(--slate); margin: 0 0 1rem; flex: 1; }
@media (max-width: 950px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }
.empty-state { text-align: center; max-width: 520px; margin: 0 auto; padding: 2.5rem 1.5rem; border: 1px dashed #cfdbee; border-radius: 20px; background: #fbfcff; }
.empty-state .empty-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin: 0 auto 1rem; }
.empty-state h3 { margin: 0 0 .4rem; color: var(--brand-950); }
.empty-state p { margin: 0; color: var(--slate); font-size: .88rem; line-height: 1.7; }

/* ---------- Client references (partners) ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.client-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
  min-height: 150px; padding: 1.4rem 1.2rem; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.client-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--brand-100); }
.client-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 64px; }
.client-logo img { width: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.client-initials {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em;
}
.client-meta { display: flex; flex-direction: column; gap: .15rem; }
.client-name { font-weight: 600; font-size: .9rem; color: var(--brand-950); }
.client-desc { font-size: .78rem; color: var(--muted); line-height: 1.5; white-space: pre-line; }
@media (max-width: 520px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .client-card { min-height: 130px; padding: 1rem .8rem; }
}

/* ---------- Legal ---------- */
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); border: 1px solid var(--line); border-radius: 16px; padding: .6rem; background: #fff; display: grid; gap: .1rem; }
.legal-nav a { padding: .55rem .7rem; font-size: .8rem; color: var(--slate); border-radius: 9px; }
.legal-nav a:hover { background: var(--brand-50); color: var(--brand); }
@media (max-width: 850px) { .legal-grid { grid-template-columns: 1fr; } .legal-nav { position: static; display: flex; flex-wrap: wrap; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-950); color: #a9bcdd; padding: clamp(3rem, 5vw, 4.5rem) 0 0; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 24px 24px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.2fr; gap: 2.2rem; }
.footer-brand img { width: 190px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .82rem; line-height: 1.75; color: #9db2d6; max-width: 300px; margin: 0 0 1rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #b8c9e6; transition: background .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-social svg { width: 15px; height: 15px; }
.footer-col h4 { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-light); margin: 0 0 1rem; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-col a { font-size: .8rem; color: #a9bcdd; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .55rem; font-size: .8rem; line-height: 1.55; color: #a9bcdd; }
.footer-contact svg { width: 15px; height: 15px; color: var(--gold); flex: none; margin-top: .18rem; }
.footer-contact a:hover { color: #fff; }
.footer-newsletter p { font-size: .78rem; line-height: 1.65; color: #9db2d6; margin: 0; }
.footer-bottom { position: relative; margin-top: 2.6rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .72rem; color: #8299bf; }
.footer-bottom a:hover { color: var(--gold-light); }
@media (max-width: 950px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ---------- Floating actions ---------- */
.floating-wa {
  position: fixed; z-index: 45; right: 1.1rem; bottom: 1.2rem; width: 54px; height: 54px;
  border-radius: 50%; background: #1faa59; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(31, 170, 89, .6); transition: transform .2s, box-shadow .2s;
}
.floating-wa:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 34px -10px rgba(31, 170, 89, .7); }
.floating-wa svg { width: 27px; height: 27px; }
[dir="rtl"] .floating-wa { right: auto; left: 1.1rem; }
.mobile-cta-bar { display: none; position: fixed; z-index: 46; left: 0; right: 0; bottom: 0; padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); gap: .5rem; }
.mobile-cta-bar .btn { flex: 1; padding: .7rem .6rem; font-size: .76rem; }
@media (max-width: 900px) {
  .mobile-cta-bar { display: flex; }
  .floating-wa { display: none; }
  body { padding-bottom: 62px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.hidden { display: none; }
.w-full { width: 100%; }
.divider { height: 1px; background: var(--line); margin: 2rem 0; }
.badge {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .68rem; font-weight: 600;
  padding: .28rem .6rem; border-radius: 999px; background: var(--brand-50); color: var(--brand);
  border: 1px solid #dbe5f7;
}
.badge-gold { background: #fdf6e4; color: var(--gold-600); border-color: #f0e2b8; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: inline-block; opacity: .6; }

/* ---------- Media figures / article / steps / callouts ---------- */
.figure { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--brand-50); }
.figure img { display: block; width: 100%; height: auto; object-fit: cover; }
.figure::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); border-radius: inherit; pointer-events: none; }

.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .85rem; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.35rem 1.1rem; }
.step-card .step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: .82rem; margin-bottom: .9rem; }
.step-card h3 { font-size: .92rem; line-height: 1.35; margin: 0 0 .4rem; color: var(--brand-950); }
.step-card p { font-size: .8rem; line-height: 1.65; color: var(--slate); margin: 0; }
@media (max-width: 1080px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 760px) { .results-grid { grid-template-columns: 1fr; } }

.callout { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); border-radius: 16px; }
.callout .info-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.callout .info-icon svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .callout { flex-direction: column; } }

.article-wrap { max-width: 840px; }
.article { background: #fff; }
.article .figure { margin: 0 0 1.8rem; }
.article .prose { max-width: none; }
.article .prose h2 { margin-top: 1.8rem; }
.article-foot { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }

.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--brand); }

/* IFAO-SARL – photos affichées en entier (format 4:3 des photos d'origine) */
.hero-frame, .hero-frame[style] { aspect-ratio: 4 / 3 !important; }
.hero-frame::after { background: linear-gradient(180deg, rgba(11,26,55,0) 65%, rgba(11,26,55,.25) 100%); }
.hero-visual { min-height: 0; }
.partner-photo { aspect-ratio: 4 / 3; }
.partner-photo img { object-position: center center; }
@media (max-width: 980px) { .hero-frame { aspect-ratio: 4 / 3 !important; } }

/* IFAO-SARL – couleurs validées : bleu principal #3565C4, bleu clair des bandeaux #4478D6, or #B08A2E */
.topbar { background: #4478D6; }
.cta-band { background: #4478D6; }
.stats-band { background: linear-gradient(135deg, #3565C4 0%, #4478D6 100%); }
.section.dark { background: #3565C4; color: #ffffff; }
.site-footer { background: #3565C4; color: #ffffff; }
.footer-brand p, .footer-newsletter p, .footer-col a, .footer-contact li, .footer-social a { color: #ffffff; }
.footer-col h4 { color: #F5DC97; }
.footer-bottom { color: #E6EEFB; border-top-color: rgba(255,255,255,.25); }
.footer-col a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: #F5DC97; }

/* utilitaires (remplacent Tailwind CDN) */
.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}
