/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --navy:       #002855;
  --navy-dark:  #001a38;
  --navy-light: #1a3c5e;
  --gold:       #c8932a;
  --gold-lt:    #e8b44e;
  --dark:       #0d1117;
  --white:      #ffffff;
  --off:        #f8f7f2;
  --gray:       #f0efeb;
  --border:     #e0ddd5;
  --text:       #2c2c2c;
  --muted:      #777777;
  --shadow:     0 4px 30px rgba(0,0,0,.08);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.15);
  --rad:        12px;
  --ease:       all .4s cubic-bezier(.4,0,.2,1);
  --f-body:     'Montserrat', sans-serif;
  --f-display:  'Playfair Display', serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:var(--f-body); color:var(--text); background:var(--white); overflow-x:hidden; line-height:1.6; }
a { text-decoration:none; color:inherit; transition:var(--ease); }
img { max-width:100%; height:auto; display:block; }
ul { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:var(--f-body); }

.container { max-width:1200px; margin:0 auto; padding:0 24px; }


/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position:fixed; inset:0; background:var(--dark);
  z-index:9999; display:flex; align-items:center; justify-content:center;
  transition: opacity .6s ease, visibility .6s ease;
}
.page-loader.gone { opacity:0; visibility:hidden; pointer-events:none; }

.loader-inner { text-align:center; }

.loader-logo {
  font-family:var(--f-display);
  font-size:clamp(2rem,5vw,3.5rem);
  font-weight:700;
  color:var(--white);
  letter-spacing:.4em;
  text-transform:uppercase;
  margin-bottom:6px;
  opacity:0;
  animation: ldFade .8s ease .2s forwards;
}
.loader-sub {
  font-size:clamp(.6rem,1.5vw,.8rem);
  color:var(--gold);
  letter-spacing:.2em;
  text-transform:uppercase;
  margin-bottom:28px;
  opacity:0;
  animation: ldFade .8s ease .4s forwards;
}

.loader-bar {
  width:200px; height:2px;
  background:rgba(255,255,255,.1);
  border-radius:2px;
  overflow:hidden;
  margin:0 auto;
}
.loader-fill {
  height:100%; background:var(--gold); border-radius:2px;
  animation: ldBar 1.6s ease forwards;
}

@keyframes ldFade { to { opacity:1; } }
@keyframes ldBar  { from { width:0; } to { width:100%; } }


/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.eyebrow {
  display:inline-block;
  font-size:.75rem; font-weight:700;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold);
  margin-bottom:12px;
  position:relative;
  padding-left:40px;
}
.eyebrow::before {
  content:'';
  position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:28px; height:2px; background:var(--gold); border-radius:1px;
}
.eyebrow.light { color:var(--gold-lt); }
.eyebrow.light::before { background:var(--gold-lt); }

.h2 {
  font-family:var(--f-display);
  font-size:clamp(1.9rem,3.5vw,2.9rem);
  font-weight:700;
  line-height:1.2;
  color:var(--dark);
  margin-bottom:20px;
}
.h2.white { color:var(--white); }
.gold { color:var(--gold); }

.section-head { text-align:center; margin-bottom:60px; }
.section-sub {
  font-size:1rem; color:var(--muted);
  max-width:560px; margin:0 auto;
  line-height:1.9;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display:inline-flex; align-items:center; gap:10px;
  padding:13px 30px;
  border-radius:50px;
  font-size:.875rem; font-weight:600;
  letter-spacing:.04em;
  transition:var(--ease);
  cursor:pointer;
  white-space:nowrap;
  border:2px solid transparent;
}

.btn-gold {
  background:var(--gold); color:var(--white);
  border-color:var(--gold);
}
.btn-gold:hover {
  background:var(--gold-lt); border-color:var(--gold-lt);
  transform:translateY(-2px);
  box-shadow:0 8px 28px rgba(200,147,42,.4);
}
.btn-gold i { transition:transform .3s ease; }
.btn-gold:hover i { transform:translateX(4px); }

.btn-ghost {
  background:transparent; color:var(--white);
  border-color:rgba(255,255,255,.5);
}
.btn-ghost:hover {
  background:var(--white); color:var(--dark);
  border-color:var(--white);
}

.btn-block { width:100%; justify-content:center; }


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:22px 0;
  transition:var(--ease);
}
.navbar.scrolled {
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  padding:14px 0;
  box-shadow:0 2px 30px rgba(0,0,0,.08);
}

.nav-wrap {
  max-width:1200px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}

/* Logo */
.nav-logo {
  display:flex; align-items:center; gap:12px;
  text-decoration:none; flex-shrink:0;
}
.logo-img { height:42px; width:auto; object-fit:contain; }
.logo-text { display:flex; flex-direction:column; line-height:1.1; }
.logo-name {
  font-size:1.05rem; font-weight:800;
  letter-spacing:.1em;
  color:var(--white);
  transition:var(--ease);
}
.logo-tagline {
  font-size:.62rem; font-weight:600;
  letter-spacing:.22em; color:var(--gold);
}
.navbar.scrolled .logo-name { color:var(--dark); }

/* Links */
.nav-links ul { display:flex; align-items:center; gap:2px; }

.nav-item {
  display:flex; align-items:center; gap:5px;
  padding:8px 14px;
  font-size:.85rem; font-weight:500;
  color:rgba(255,255,255,.85);
  border-radius:6px;
  position:relative;
  transition:var(--ease);
}
.nav-item::after {
  content:'';
  position:absolute; bottom:3px; left:14px; right:14px;
  height:2px; background:var(--gold);
  transform:scaleX(0);
  transition:transform .3s ease;
  border-radius:1px;
}
.nav-item:hover, .nav-item.active { color:var(--white); }
.nav-item:hover::after, .nav-item.active::after { transform:scaleX(1); }

.navbar.scrolled .nav-item { color:var(--text); }
.navbar.scrolled .nav-item:hover,
.navbar.scrolled .nav-item.active { color:var(--navy); }

/* Dropdown */
.has-dropdown { position:relative; }
.sub-menu {
  position:absolute; top:calc(100% + 6px); left:0;
  background:var(--white);
  border-radius:var(--rad);
  box-shadow:var(--shadow-lg);
  padding:8px;
  min-width:190px;
  opacity:0; visibility:hidden;
  transform:translateY(-8px);
  transition:var(--ease);
  z-index:100;
}
.has-dropdown:hover .sub-menu {
  opacity:1; visibility:visible; transform:translateY(0);
}
.sub-menu li a {
  display:block; padding:9px 14px;
  font-size:.85rem; color:var(--text);
  border-radius:6px;
  transition:var(--ease);
}
.sub-menu li a:hover { background:var(--off); color:var(--navy); padding-left:18px; }

/* Right side */
.nav-end { display:flex; align-items:center; gap:14px; }
.nav-cta {
  display:flex; align-items:center; gap:8px;
  padding:9px 22px;
  background:var(--gold); color:var(--white);
  border-radius:50px;
  font-size:.85rem; font-weight:600;
  transition:var(--ease);
}
.nav-cta:hover {
  background:var(--gold-lt);
  transform:translateY(-2px);
  box-shadow:0 6px 22px rgba(200,147,42,.4);
}

/* Burger */
.burger {
  display:none; flex-direction:column; gap:5px;
  padding:6px; cursor:pointer; z-index:1001;
}
.burger span {
  display:block; width:24px; height:2px;
  background:var(--white); border-radius:2px;
  transition:var(--ease);
}
.navbar.scrolled .burger span { background:var(--dark); }
.burger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity:0; }
.burger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero { position:relative; height:100vh; min-height:680px; }
.hero-swiper { height:100%; }

.hero-slide {
  height:100vh; min-height:680px;
  background-size:cover; background-position:center;
  position:relative; display:flex; align-items:center;
}

.hero-veil {
  position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(0,20,40,.88) 0%,rgba(0,40,85,.6) 60%,rgba(0,20,40,.4) 100%);
}

.hero-body {
  position:relative; z-index:2;
  width:100%; padding-top:90px;
}

.hero-badge {
  display:inline-block;
  background:rgba(200,147,42,.18);
  border:1px solid rgba(200,147,42,.45);
  color:var(--gold-lt);
  padding:5px 18px;
  border-radius:50px;
  font-size:.72rem; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase;
  margin-bottom:22px;
  opacity:0;
  animation:hFade .8s ease .1s forwards;
}
.hero-title {
  font-family:var(--f-display);
  font-size:clamp(2.4rem,5.5vw,4.5rem);
  font-weight:700; line-height:1.1;
  color:var(--white); max-width:680px;
  margin-bottom:22px;
  opacity:0;
  animation:hFade .8s ease .25s forwards;
}
.hero-title em {
  color:var(--gold); font-style:italic;
  display:block;
}
.hero-sub {
  font-size:1.05rem;
  color:rgba(255,255,255,.78);
  line-height:1.85; max-width:520px;
  margin-bottom:38px;
  opacity:0;
  animation:hFade .8s ease .4s forwards;
}
.hero-actions {
  display:flex; gap:14px; flex-wrap:wrap;
  opacity:0;
  animation:hFade .8s ease .55s forwards;
}

@keyframes hFade {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Hero swiper controls */
.hero-pag { bottom:36px !important; }
.hero-pag .swiper-pagination-bullet {
  width:28px; height:3px; border-radius:3px;
  background:rgba(255,255,255,.35); opacity:1;
  transition:var(--ease);
}
.hero-pag .swiper-pagination-bullet-active {
  background:var(--gold); width:48px;
}

.hero-prev, .hero-next {
  color:var(--white) !important;
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(8px);
  border-radius:50%;
  width:48px !important; height:48px !important;
  transition:var(--ease);
}
.hero-prev:hover, .hero-next:hover { background:var(--gold); }
.hero-prev::after, .hero-next::after { display:none; }
.hero-prev i, .hero-next i { font-size:.9rem; }

/* Scroll hint */
.scroll-hint {
  position:absolute; bottom:36px; right:36px; z-index:5;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  cursor:pointer;
  transition:opacity .4s ease;
}
.scroll-hint span {
  font-size:.65rem; color:rgba(255,255,255,.55);
  letter-spacing:.15em; text-transform:uppercase;
  writing-mode:vertical-rl;
}
.scroll-mouse {
  width:24px; height:38px;
  border:2px solid rgba(255,255,255,.35);
  border-radius:12px;
  display:flex; justify-content:center; padding:5px 0;
}
.scroll-dot {
  width:4px; height:7px;
  background:var(--gold); border-radius:2px;
  animation:sdBounce 2s ease infinite;
}
@keyframes sdBounce {
  0%,100% { transform:translateY(0); opacity:1; }
  50%      { transform:translateY(9px); opacity:.35; }
}


/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background:linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding:50px 0;
}
.stats-row {
  display:flex; align-items:center;
  justify-content:space-around; flex-wrap:wrap; gap:24px;
}
.stat { display:flex; align-items:center; gap:16px; color:var(--white); }
.stat-ico {
  width:54px; height:54px;
  background:rgba(255,255,255,.08); border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.25rem; color:var(--gold); flex-shrink:0;
}
.stat-num {
  font-family:var(--f-display);
  font-size:2.4rem; font-weight:700; line-height:1; margin-bottom:3px;
}
.stat-num::after { content:'+'; font-size:1.4rem; }
.stat-lbl { font-size:.78rem; color:rgba(255,255,255,.6); letter-spacing:.04em; }
.stat-sep { width:1px; height:56px; background:rgba(255,255,255,.1); }


/* ============================================================
   ABOUT
   ============================================================ */
.about { padding:120px 0; overflow:hidden; }
.about-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:80px; align-items:center;
}

/* Visual side */
.about-visual { position:relative; }
.about-photo-main {
  border-radius:var(--rad); overflow:hidden;
  aspect-ratio:4/5; max-width:420px;
  box-shadow:var(--shadow-lg);
}
.about-photo-main img {
  width:100%; height:100%; object-fit:cover;
  transition:transform .6s ease;
}
.about-photo-main:hover img { transform:scale(1.04); }

.about-photo-second {
  position:absolute; bottom:-44px; right:0;
  width:56%; border-radius:var(--rad); overflow:hidden;
  box-shadow:var(--shadow-lg);
  border:5px solid var(--white);
}
.about-photo-second img { width:100%; aspect-ratio:4/3; object-fit:cover; }

.about-badge-float {
  position:absolute; top:28px; right:-20px;
  background:var(--gold); color:var(--white);
  padding:20px 22px; border-radius:var(--rad);
  text-align:center;
  box-shadow:0 10px 36px rgba(200,147,42,.42);
}
.badge-num {
  font-family:var(--f-display);
  font-size:2.3rem; font-weight:700; line-height:1;
}
.badge-lbl { font-size:.72rem; font-weight:600; line-height:1.4; opacity:.9; }

/* Content side */
.about-content { padding:32px 0; }
.about-lead {
  font-size:1rem; color:var(--text); line-height:1.9;
  margin:0 0 14px;
}
.about-text { font-size:.95rem; color:var(--muted); line-height:1.9; margin-bottom:34px; }

.about-pills { display:flex; flex-direction:column; gap:18px; margin-bottom:36px; }
.pill {
  display:flex; gap:14px; align-items:flex-start;
}
.pill-icon {
  width:42px; height:42px;
  background:rgba(200,147,42,.1); border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  color:var(--gold); font-size:1rem; flex-shrink:0;
  transition:var(--ease);
}
.pill:hover .pill-icon { background:var(--gold); color:var(--white); transform:scale(1.06); }
.pill h4 { font-size:.9rem; font-weight:700; color:var(--dark); margin-bottom:2px; }
.pill p  { font-size:.82rem; color:var(--muted); }


/* ============================================================
   SERVICES
   ============================================================ */
.services { padding:120px 0; background:var(--off); }
/* 4 cards 2x2 */
.services-grid-4 { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
/* keep old 3-col for backward compat */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }

.srv-card {
  position:relative; border-radius:16px; overflow:hidden;
  aspect-ratio:3/4; cursor:pointer;
}
.srv-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  transition:transform .8s ease;
}
.srv-card:hover .srv-bg { transform:scale(1.08); }

.srv-overlay {
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(0,15,30,.9) 0%, rgba(0,15,30,.35) 55%, transparent 100%);
  transition:var(--ease);
}
.srv-card:hover .srv-overlay {
  background:linear-gradient(0deg, rgba(0,15,30,.95) 0%, rgba(0,15,30,.65) 65%, rgba(0,15,30,.15) 100%);
}

.srv-body {
  position:absolute; bottom:0; left:0; right:0;
  padding:28px;
  color:var(--white); z-index:2;
}
.srv-num {
  position:absolute; top:18px; right:18px;
  font-family:var(--f-display);
  font-size:3.5rem; font-weight:700;
  color:rgba(255,255,255,.06);
  line-height:1;
  transition:var(--ease);
  z-index:1;
}
.srv-card:hover .srv-num { color:rgba(255,255,255,.11); }

.srv-icon {
  width:50px; height:50px;
  background:var(--gold); border-radius:11px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; margin-bottom:14px;
  transition:var(--ease);
}
.srv-card:hover .srv-icon { transform:scale(1.1) rotate(6deg); }

.srv-body h3 {
  font-family:var(--f-display);
  font-size:1.4rem; font-weight:700; margin-bottom:10px;
}
.srv-body p {
  font-size:.83rem; color:rgba(255,255,255,.72); line-height:1.7;
  margin-bottom:14px;
  opacity:0; transform:translateY(10px);
  transition:var(--ease);
}
.srv-card:hover .srv-body p { opacity:1; transform:translateY(0); }

.srv-more {
  display:inline-flex; align-items:center; gap:6px;
  font-size:.78rem; font-weight:700; color:var(--gold);
  letter-spacing:.05em;
  opacity:0; transform:translateY(10px);
  transition:var(--ease); transition-delay:.05s;
}
.srv-card:hover .srv-more { opacity:1; transform:translateY(0); }


/* ============================================================
   EXPERTISE
   ============================================================ */
.expertise { padding:120px 0; position:relative; overflow:hidden; }
.expertise-bg-layer {
  position:absolute; inset:0;
  background:linear-gradient(135deg, #001422 0%, var(--navy) 100%);
}
.expertise .container { position:relative; z-index:1; }

.expertise-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:80px; align-items:center;
}

.expertise-intro {
  color:rgba(255,255,255,.68);
  font-size:.95rem; line-height:1.9; margin-bottom:38px;
}

.expertise-items { display:flex; flex-direction:column; gap:22px; }
.xp-item { display:flex; gap:14px; align-items:flex-start; }
.xp-icon {
  width:46px; height:46px;
  background:rgba(200,147,42,.12);
  border:1px solid rgba(200,147,42,.28);
  border-radius:11px;
  display:flex; align-items:center; justify-content:center;
  color:var(--gold); font-size:1.05rem; flex-shrink:0;
  transition:var(--ease);
}
.xp-item:hover .xp-icon { background:var(--gold); color:var(--white); border-color:var(--gold); }
.xp-item h4 { color:var(--white); font-size:.9rem; font-weight:700; margin-bottom:3px; }
.xp-item p  { color:rgba(255,255,255,.55); font-size:.82rem; }

.xp-cards { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.xp-card {
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px; padding:26px 20px;
  text-align:center;
  transition:var(--ease);
}
.xp-card:hover {
  background:rgba(200,147,42,.14);
  border-color:rgba(200,147,42,.38);
  transform:translateY(-4px);
}
.xp-card-ico {
  width:54px; height:54px; background:var(--gold); border-radius:13px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; color:var(--white);
  margin:0 auto 14px;
  transition:var(--ease);
}
.xp-card:hover .xp-card-ico { transform:scale(1.1) rotate(6deg); }
.xp-card h4 { color:var(--white); font-size:.9rem; font-weight:700; margin-bottom:4px; }
.xp-card p  { color:rgba(255,255,255,.45); font-size:.78rem; }


/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio { padding:120px 0; }

.pf-filter { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-bottom:48px; }
.pf-btn {
  padding:8px 22px;
  border-radius:50px;
  font-size:.82rem; font-weight:600;
  color:var(--muted); background:var(--off);
  border:1px solid var(--border);
  transition:var(--ease); cursor:pointer;
}
.pf-btn:hover, .pf-btn.active {
  background:var(--gold); color:var(--white);
  border-color:var(--gold); transform:translateY(-2px);
}

/* Original 3-col grid (kept for reference) */
.pf-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

/* New 8-item 4-col grid */
.pf-grid-8 {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.pf-item {
  position:relative; border-radius:12px; overflow:hidden;
  aspect-ratio:4/3; cursor:pointer;
}
.pf-item.wide { grid-column:span 2; aspect-ratio:16/9; }
.pf-item img {
  width:100%; height:100%; object-fit:cover;
  transition:transform .6s ease;
}
.pf-item:hover img { transform:scale(1.07); }

.pf-hover {
  position:absolute; inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.82) 0%,transparent 65%);
  display:flex; align-items:flex-end; justify-content:space-between;
  padding:18px;
  opacity:0; transition:var(--ease);
}
.pf-item:hover .pf-hover { opacity:1; }

.pf-tag {
  display:inline-block;
  background:var(--gold); color:var(--white);
  padding:3px 10px; border-radius:20px;
  font-size:.65rem; font-weight:700; letter-spacing:.04em;
  margin-bottom:6px;
}
.pf-info h3 { color:var(--white); font-size:.92rem; font-weight:700; margin-bottom:3px; }
.pf-info p  { color:rgba(255,255,255,.65); font-size:.75rem; }

.pf-plus {
  width:38px; height:38px;
  background:var(--gold); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--white); font-size:.85rem; flex-shrink:0;
  align-self:flex-end;
  transition:var(--ease);
}
.pf-plus:hover { background:var(--white); color:var(--gold); transform:scale(1.1) rotate(90deg); }

@media (max-width:1024px) { .pf-grid-8 { grid-template-columns:repeat(3,1fr); } }
@media (max-width:600px)  { .pf-grid-8 { grid-template-columns:repeat(2,1fr); } }


/* ============================================================
   PARTNERS
   ============================================================ */
.partners { padding:80px 0; background:var(--off); }

.marquee-wrap { overflow:hidden; margin-top:48px; padding:10px 0; }
.marquee-track { display:flex; }

.marquee-row {
  display:flex; gap:28px;
  animation:marquee 32s linear infinite;
  flex-shrink:0;
}
@keyframes marquee {
  from { transform:translateX(0); }
  to   { transform:translateX(-100%); }
}
.marquee-track:hover .marquee-row { animation-play-state:paused; }

.partner-tile {
  display:flex; align-items:center; justify-content:center;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:10px;
  padding:14px 28px;
  height:76px; min-width:155px;
  transition:var(--ease);
  flex-shrink:0;
}
.partner-tile span {
  font-size:.8rem; font-weight:700;
  color:var(--muted); letter-spacing:.06em; white-space:nowrap;
}
.partner-tile img {
  max-height:46px; max-width:130px;
  object-fit:contain;
  filter:grayscale(100%); opacity:.65;
  transition:var(--ease);
}
.partner-tile:hover {
  border-color:var(--gold);
  box-shadow:0 4px 18px rgba(200,147,42,.14);
  transform:translateY(-3px);
}
.partner-tile:hover img { filter:grayscale(0%); opacity:1; }
.partner-tile:hover span { color:var(--gold); }
/* Logo blanc : fond sombre pour la visibilité */
.partner-tile.movis { background:var(--navy); border-color:var(--navy); }
.partner-tile.movis img { filter:brightness(1); opacity:1; }
.partner-tile.movis:hover { background:var(--navy-dark); border-color:var(--gold); }


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding:120px 0; }
.testi-swiper { padding-bottom:60px !important; }

.testi-card {
  background:var(--off);
  border:1px solid var(--border);
  border-radius:20px;
  padding:44px 36px;
  transition:var(--ease);
}
.testi-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); }

.testi-quote { font-size:1.8rem; color:var(--gold); opacity:.3; margin-bottom:18px; }

.testi-card > p {
  font-size:.95rem; color:var(--text); line-height:1.9;
  font-style:italic; margin-bottom:28px;
}

.testi-author { display:flex; align-items:center; gap:14px; }
.testi-avatar {
  width:50px; height:50px;
  background:var(--navy); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-weight:700; color:var(--white); font-size:.82rem; flex-shrink:0;
}
.testi-author h4 { font-size:.9rem; font-weight:700; color:var(--dark); margin-bottom:2px; }
.testi-author span { font-size:.78rem; color:var(--muted); }
.testi-stars {
  margin-left:auto; color:var(--gold);
  font-size:.75rem; display:flex; gap:2px;
}

.testi-pag .swiper-pagination-bullet { background:var(--border); opacity:1; }
.testi-pag .swiper-pagination-bullet-active {
  background:var(--gold); width:22px; border-radius:3px;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding:120px 0; background:var(--off); }
.contact-grid {
  display:grid; grid-template-columns:1fr 1.4fr;
  gap:44px; align-items:start;
}

/* Info card */
.ci-card {
  background:var(--navy);
  border-radius:20px; padding:44px 36px;
  color:var(--white); height:100%;
}
.ci-card h3 {
  font-family:var(--f-display);
  font-size:1.4rem; font-weight:700; margin-bottom:10px;
}
.ci-card > p {
  color:rgba(255,255,255,.65); font-size:.88rem; line-height:1.75; margin-bottom:34px;
}
.ci-list { display:flex; flex-direction:column; gap:22px; margin-bottom:36px; }
.ci-item { display:flex; gap:14px; align-items:flex-start; }
.ci-ico {
  width:42px; height:42px;
  background:rgba(200,147,42,.14); border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  color:var(--gold); font-size:.95rem; flex-shrink:0;
}
.ci-item strong {
  display:block;
  font-size:.72rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--gold); margin-bottom:3px;
}
.ci-item span { color:rgba(255,255,255,.7); font-size:.85rem; line-height:1.6; }

.ci-socials { display:flex; gap:10px; }
.ci-socials a {
  width:38px; height:38px;
  background:rgba(255,255,255,.07); border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.6); font-size:.85rem;
  transition:var(--ease);
}
.ci-socials a:hover { background:var(--gold); color:var(--white); transform:translateY(-3px); }

/* Form box */
.contact-form-box {
  background:var(--white);
  border-radius:20px; padding:44px 36px;
  box-shadow:var(--shadow);
}

.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.fgroup { display:flex; flex-direction:column; gap:7px; }
.fgroup.full { margin-bottom:22px; }

.fgroup label { font-size:.78rem; font-weight:700; color:var(--dark); letter-spacing:.03em; }

.fgroup input,
.fgroup select,
.fgroup textarea {
  padding:11px 15px;
  border:2px solid var(--border);
  border-radius:10px;
  font-family:var(--f-body); font-size:.875rem; color:var(--text);
  background:var(--white);
  outline:none; transition:var(--ease);
}
.fgroup input::placeholder,
.fgroup textarea::placeholder { color:var(--muted); opacity:.6; }
.fgroup input:focus,
.fgroup select:focus,
.fgroup textarea:focus {
  border-color:var(--gold);
  box-shadow:0 0 0 4px rgba(200,147,42,.1);
}
.fgroup textarea { resize:vertical; min-height:115px; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer { background:var(--dark); color:var(--white); }

.footer-main { padding:72px 0 44px; }
.footer-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:44px; }

.footer-brand .footer-logo {
  display:flex; align-items:center; gap:10px; margin-bottom:18px;
}
.footer-logo img { height:36px; width:auto; }
.footer-logo span { font-size:.95rem; font-weight:800; letter-spacing:.1em; }

.footer-brand p {
  color:rgba(255,255,255,.45); font-size:.85rem; line-height:1.8; margin-bottom:22px;
}

.footer-soc { display:flex; gap:9px; }
.footer-soc a {
  width:36px; height:36px;
  background:rgba(255,255,255,.05); border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.45); font-size:.82rem;
  transition:var(--ease);
}
.footer-soc a:hover { background:var(--gold); color:var(--white); transform:translateY(-2px); }

.footer-col h4 {
  font-size:.82rem; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase;
  margin-bottom:22px; color:var(--gold);
}
.footer-col ul li { margin-bottom:9px; }
.footer-col ul li a {
  color:rgba(255,255,255,.45); font-size:.84rem;
  transition:var(--ease); display:inline-flex; align-items:center; gap:0;
}
.footer-col ul li a::before {
  content:'→'; font-size:.75rem; color:var(--gold);
  opacity:0; transform:translateX(-8px);
  transition:var(--ease); margin-right:0;
}
.footer-col ul li a:hover { color:var(--white); padding-left:8px; }
.footer-col ul li a:hover::before { opacity:1; transform:translateX(0); }

.footer-contact-list li {
  display:flex; gap:10px; align-items:flex-start;
  color:rgba(255,255,255,.45); font-size:.84rem;
  margin-bottom:11px; line-height:1.6;
}
.footer-contact-list li i { color:var(--gold); margin-top:2px; flex-shrink:0; }

.footer-bottom {
  border-top:1px solid rgba(255,255,255,.05);
  padding:22px 0;
}
.footer-bottom .container {
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:10px;
}
.footer-bottom p { font-size:.78rem; color:rgba(255,255,255,.3); }
.footer-bottom a { color:var(--gold); }
.footer-bottom .fa-heart { color:#e74c3c; }


/* ============================================================
   BACK TO TOP
   ============================================================ */
.btt {
  position:fixed; bottom:28px; right:28px; z-index:999;
  width:46px; height:46px;
  background:var(--gold); color:var(--white);
  border-radius:11px;
  display:flex; align-items:center; justify-content:center;
  font-size:.9rem;
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:var(--ease);
  box-shadow:0 6px 22px rgba(200,147,42,.42);
}
.btt.show { opacity:1; visibility:visible; transform:translateY(0); }
.btt:hover {
  background:var(--navy); transform:translateY(-4px);
  box-shadow:0 10px 28px rgba(0,40,85,.4);
}


/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width:1024px) {
  .about-grid,
  .expertise-grid { grid-template-columns:1fr; gap:48px; }
  .about-visual { max-width:480px; margin:0 auto; padding-bottom:60px; }
  .about-photo-second { right:-16px; }
  .services-grid { grid-template-columns:1fr 1fr; }
  .services-grid .srv-card:last-child { grid-column:span 2; aspect-ratio:16/6; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .footer-brand { grid-column:span 2; }
}


/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width:768px) {
  /* Mobile nav */
  .nav-links {
    position:fixed; top:0; right:-100%; width:280px; height:100vh;
    background:var(--dark);
    padding:90px 28px 28px;
    transition:right .4s cubic-bezier(.4,0,.2,1);
    overflow-y:auto; z-index:999;
  }
  .nav-links.open { right:0; box-shadow:-16px 0 50px rgba(0,0,0,.4); }
  .nav-links ul { flex-direction:column; gap:2px; }
  .nav-item { color:rgba(255,255,255,.82); font-size:.95rem; padding:12px 14px; }
  .sub-menu { position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; background:rgba(255,255,255,.05); }

  .burger { display:flex; }
  .nav-cta span { display:none; }
  .nav-cta { padding:9px 12px; }

  /* Hero */
  .hero-title { font-size:2.1rem; }
  .hero-actions { flex-direction:column; align-items:flex-start; }
  .hero-actions .btn { width:100%; justify-content:center; }
  .scroll-hint { right:18px; bottom:54px; }

  /* Stats */
  .stat-sep { display:none; }
  .stats-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }

  /* About */
  .about-grid { grid-template-columns:1fr; }

  /* Services */
  .services-grid { grid-template-columns:1fr; }
  .services-grid .srv-card:last-child { grid-column:span 1; aspect-ratio:3/4; }

  /* Portfolio */
  .pf-grid { grid-template-columns:1fr; }
  .pf-item.wide { grid-column:span 1; aspect-ratio:4/3; }

  /* Contact */
  .contact-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }

  /* Footer */
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { grid-column:span 1; }
  .footer-bottom .container { flex-direction:column; text-align:center; }

  /* expertise */
  .xp-cards { grid-template-columns:1fr 1fr; }
}


@media (max-width:480px) {
  .container { padding:0 16px; }
  .h2 { font-size:1.7rem; }
  .hero-title { font-size:1.8rem; }
  .ci-card, .contact-form-box { padding:30px 22px; }
  .about-badge-float { right:0; top:18px; }
  .xp-cards { grid-template-columns:1fr; }
}


/* ============================================================
   POURQUOI IDR
   ============================================================ */
.why-idr { padding:100px 0; background:var(--off); }
.why-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.why-card {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:16px;
  padding:32px 26px;
  transition:var(--ease);
  position:relative;
  overflow:hidden;
}
.why-card::before {
  content:'';
  position:absolute; top:0; left:0; right:0;
  height:3px; background:var(--gold);
  transform:scaleX(0);
  transition:transform .4s ease;
}
.why-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-5px); }
.why-card:hover::before { transform:scaleX(1); }

.why-ico {
  width:54px; height:54px;
  background:rgba(200,147,42,.1);
  border-radius:13px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; color:var(--gold);
  margin-bottom:18px;
  transition:var(--ease);
}
.why-card:hover .why-ico { background:var(--gold); color:var(--white); transform:scale(1.05); }

.why-card h3 { font-size:.95rem; font-weight:700; color:var(--dark); margin-bottom:10px; }
.why-card p  { font-size:.84rem; color:var(--muted); line-height:1.8; }

@media (max-width:1024px) {
  .why-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:600px) {
  .why-grid { grid-template-columns:1fr; }
}


/* ============================================================
   DOMAINES D'ACTIVITÉS — IMAGE CARDS
   ============================================================ */
.domains { padding:100px 0; background:var(--white); }

/* Grid 3+2 : 6 colonnes, cards 1-3 = span 2, cards 4-5 = span 3 */
.domains-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:18px;
}
.domain-card {
  position:relative;
  border-radius:16px;
  overflow:hidden;
  height:310px;
  grid-column:span 2;
  cursor:pointer;
}
.domain-card:nth-child(4),
.domain-card:nth-child(5) {
  grid-column:span 3;
  height:280px;
}

/* Image & overlay */
.domain-img {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  transition:transform .7s ease;
}
.domain-card:hover .domain-img { transform:scale(1.07); }

.domain-veil {
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(0,15,35,.88) 0%, rgba(0,15,35,.4) 55%, rgba(0,15,35,.1) 100%);
  transition:var(--ease);
}
.domain-card:hover .domain-veil {
  background:linear-gradient(0deg, rgba(0,15,35,.95) 0%, rgba(0,15,35,.7) 65%, rgba(0,15,35,.25) 100%);
}

/* Content */
.domain-body {
  position:absolute; bottom:0; left:0; right:0;
  padding:24px; z-index:2;
  color:var(--white);
}
.domain-ico {
  width:46px; height:46px;
  background:var(--gold);
  border-radius:11px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; color:var(--white);
  margin-bottom:12px;
  transition:var(--ease);
}
.domain-card:hover .domain-ico { transform:scale(1.1) rotate(6deg); }

.domain-body h4 {
  font-family:var(--f-display);
  font-size:1.1rem; font-weight:700;
  line-height:1.25; margin-bottom:8px;
}
.domain-body p {
  font-size:.8rem; color:rgba(255,255,255,.7); line-height:1.65;
  opacity:0; transform:translateY(10px);
  transition:var(--ease);
}
.domain-card:hover .domain-body p { opacity:1; transform:translateY(0); }

@media (max-width:1024px) {
  .domains-grid { grid-template-columns:repeat(4,1fr); gap:14px; }
  .domain-card { grid-column:span 2; height:260px; }
  .domain-card:nth-child(4),
  .domain-card:nth-child(5) { grid-column:span 2; height:260px; }
}
@media (max-width:600px) {
  .domains-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .domain-card,
  .domain-card:nth-child(4),
  .domain-card:nth-child(5) { grid-column:span 1; height:220px; }
  .domain-card:nth-child(5) { grid-column:span 2; }
}


/* ============================================================
   SERVICES GRID 4 (2×2)
   ============================================================ */
.services-grid-4 { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.services-grid-4 .srv-card { aspect-ratio:16/10; }

.services-tagline {
  display:flex; align-items:flex-start; gap:20px;
  margin-top:48px;
  background:var(--navy);
  border-radius:16px; padding:28px 32px;
  color:var(--white);
}
.services-tagline i { color:var(--gold); font-size:1.5rem; flex-shrink:0; margin-top:2px; }
.services-tagline p { font-size:.95rem; line-height:1.8; color:rgba(255,255,255,.82); }
.services-tagline strong { color:var(--gold-lt); }

@media (max-width:768px) {
  .services-grid-4 { grid-template-columns:1fr; }
  .services-grid-4 .srv-card { aspect-ratio:4/3; }
}


/* ============================================================
   PORTFOLIO — REFERENCE TABLE
   ============================================================ */
.ref-table-wrap {
  margin-top:64px;
  background:var(--white);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}
.ref-title {
  background:var(--navy);
  color:var(--white);
  font-family:var(--f-display);
  font-size:1.1rem; font-weight:700;
  padding:22px 32px;
  letter-spacing:.02em;
}
.ref-table-scroll { overflow-x:auto; }
.ref-table {
  width:100%; border-collapse:collapse;
  font-size:.875rem;
}
.ref-table thead tr { background:rgba(200,147,42,.08); }
.ref-table th {
  padding:14px 24px;
  text-align:left;
  font-size:.72rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold);
  border-bottom:2px solid rgba(200,147,42,.2);
}
.ref-table td {
  padding:14px 24px;
  color:var(--text);
  border-bottom:1px solid var(--border);
  vertical-align:middle;
  line-height:1.5;
}
.ref-table td:first-child {
  font-size:.78rem; font-weight:700;
  color:var(--muted); width:44px;
}
.ref-table td:nth-child(2) strong { color:var(--navy); }
.ref-table tbody tr:last-child td { border-bottom:none; }
.ref-table tbody tr { transition:background .2s ease; }
.ref-table tbody tr:hover { background:rgba(200,147,42,.05); }
.ref-table tbody tr:hover td:nth-child(2) strong { color:var(--gold); }


/* ============================================================
   VISION SECTION
   ============================================================ */
.vision { padding:120px 0; position:relative; overflow:hidden; }
.vision-bg-layer {
  position:absolute; inset:0;
  background:linear-gradient(135deg, #001a33 0%, #003060 100%);
}
.vision .container { position:relative; z-index:1; }

.vision-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:80px; align-items:center;
}

.vision-text {
  color:rgba(255,255,255,.72);
  font-size:.95rem; line-height:1.9; margin-bottom:16px;
}
.vision-text strong { color:var(--gold-lt); }

.vision-pillars { display:flex; flex-direction:column; gap:20px; }
.pillar-card {
  display:flex; gap:16px; align-items:flex-start;
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px; padding:22px 20px;
  transition:var(--ease);
}
.pillar-card:hover {
  background:rgba(200,147,42,.12);
  border-color:rgba(200,147,42,.35);
  transform:translateX(6px);
}
.pillar-ico {
  width:48px; height:48px; flex-shrink:0;
  background:var(--gold); border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; color:var(--white);
  transition:var(--ease);
}
.pillar-card:hover .pillar-ico { transform:scale(1.08) rotate(5deg); }
.pillar-card h4 { color:var(--white); font-size:.95rem; font-weight:700; margin-bottom:5px; }
.pillar-card p  { color:rgba(255,255,255,.58); font-size:.83rem; line-height:1.6; }

@media (max-width:1024px) {
  .vision-grid { grid-template-columns:1fr; gap:48px; }
}


/* ============================================================
   CONTACT — EXTRA (map + right col)
   ============================================================ */
.contact-right { display:flex; flex-direction:column; gap:22px; }
.map-box iframe { display:block; }
.whatsapp-btn { background:#25d366 !important; }
.whatsapp-btn:hover { background:#1ebe5d !important; }


/* ============================================================
   FOOTER — IDR BRANDING
   ============================================================ */
.f-logo-name {
  display:block; font-size:1.1rem; font-weight:800;
  letter-spacing:.1em; color:var(--white);
}
.f-logo-tag {
  display:block; font-size:.6rem; letter-spacing:.15em;
  color:var(--gold); text-transform:uppercase;
}

