/* ==========================================================
   CAPITAL KAHYA TRANSIT INC. — style.css
   Premium Corporate Website
   ========================================================== */

/* ---- 1. VARIABLES ---- */
:root {
  --clr-navy:        #0C1F6B;
  --clr-navy-dark:   #070F3A;
  --clr-navy-mid:    #0A3D62;
  --clr-blue:        #1565C0;
  --clr-blue-light:  #1976D2;
  --clr-green:       #2E7D32;
  --clr-green-light: #43A047;
  --clr-white:       #FFFFFF;
  --clr-gray-light:  #F4F6FA;
  --clr-gray:        #E8ECF2;
  --clr-text:        #0A0F2C;
  --clr-text-mid:    #3D4460;
  --clr-text-light:  #8892B0;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --shadow-sm: 0 2px 12px rgba(12,31,107,.08);
  --shadow-md: 0 8px 30px rgba(12,31,107,.12);
  --shadow-lg: 0 20px 60px rgba(12,31,107,.18);
  --shadow-xl: 0 30px 80px rgba(12,31,107,.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --tr: .3s ease;
  --tr-slow: .5s ease;
}

/* ---- 2. RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--clr-text); background: var(--clr-white); line-height: 1.7; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ---- 3. CONTAINER ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- 4. SECTIONS ---- */
.section { padding: 100px 0; }
.section--alt  { background: var(--clr-gray-light); }
.section--dark {
  background: linear-gradient(135deg, var(--clr-navy-dark) 0%, var(--clr-navy) 50%, var(--clr-navy-mid) 100%);
  color: var(--clr-white);
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header--light .section-title,
.section-header--light .section-subtitle { color: var(--clr-white); }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-green-light);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--clr-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-line {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--clr-blue), var(--clr-green-light));
  border-radius: 2px;
  margin: 0 auto 20px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- 5. BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

/* Shimmer sweep — light reflection on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.22) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 140%; }

.btn-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--clr-blue) 0%, var(--clr-green) 100%);
  color: var(--clr-white);
  box-shadow: 0 6px 24px rgba(21,101,192,.35);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(21,101,192,.55);
}

.btn--secondary {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn--secondary:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(255,255,255,.95);
  box-shadow: 0 10px 30px rgba(255,255,255,.12);
}

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

/* ---- 6. HEADER ---- */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all var(--tr);
  background: transparent;
}
#header.scrolled {
  background: rgba(7,15,58,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  padding: 10px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img {
  height: 56px; width: auto; object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
  transition: transform var(--tr);
}
.nav-logo img:hover { transform: scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--tr);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--clr-green-light);
  border-radius: 1px;
  transition: width var(--tr);
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-link:hover { color: var(--clr-white); }
.nav-link--cta {
  background: linear-gradient(135deg, var(--clr-blue), var(--clr-green));
  color: var(--clr-white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(21,101,192,.4);
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.nav-link--cta .btn-content {
  position: relative;
  z-index: 1;
}
/* Shimmer on nav CTA */
.nav-link--cta::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
  pointer-events: none;
  z-index: 0;
}
.nav-link--cta:hover::before { left: 140%; }
.nav-link--cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 26px rgba(21,101,192,.6);
  color: var(--clr-white) !important;
}
.nav-link--cta::after { display: none; }

.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--clr-white); border-radius: 2px;
  transition: all var(--tr); transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }

/* ---- 7. HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #070F3A; /* fallback if video unavailable */
}

/* Video background */
.hero-video-wrap {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transform-origin: center center;
}

/* Premium dark-blue gradient overlay on video */
.hero-video-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(7,15,58,.48)   0%,
    rgba(12,31,107,.36) 35%,
    rgba(10,61,98,.32)  65%,
    rgba(7,15,58,.44)   100%
  );
}

/* Ambient light glows (sit above video overlay) */
.hero-bg-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(21,101,192,.22) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(46,125,50,.16) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid texture */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Smooth fade to white at the bottom for premium section transition */
.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,.92) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatUp linear infinite;
  opacity: 0;
}
@keyframes floatUp {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 4;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px; width: 100%;
}

/* ---- HERO CINEMATIC ENTRANCE ---- */
.hero-anim {
  opacity: 0;
  will-change: transform, opacity, filter;
}

/* Logo — spotlight flash + scale bounce */
.hero-anim--logo.is-visible {
  animation: heroCineLogoIn 1s cubic-bezier(.34,1.4,.64,1) both;
}
@keyframes heroCineLogoIn {
  0%  { opacity: 0; transform: scale(.72); filter: brightness(4) blur(18px); }
  55% { opacity: 1; transform: scale(1.07); filter: brightness(1.4) blur(1px); }
  100%{ opacity: 1; transform: scale(1);   filter: brightness(1) blur(0); }
}

/* Title — rise + blur to sharp */
.hero-anim--title.is-visible {
  animation: heroCineTitleIn .9s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes heroCineTitleIn {
  from { opacity: 0; transform: translateY(56px); filter: blur(10px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* Slogan — letter-spacing expansion collapse + rise */
.hero-anim--slogan.is-visible {
  animation: heroCineSloganIn 1s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes heroCineSloganIn {
  from { opacity: 0; transform: translateY(30px); letter-spacing: .55em; filter: blur(5px); }
  to   { opacity: 1; transform: translateY(0);    letter-spacing: .14em;  filter: blur(0); }
}

/* Desc & Buttons — clean fade up */
.hero-anim--fade.is-visible {
  animation: heroCineFadeIn .85s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes heroCineFadeIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo-wrap { margin-bottom: 32px; }
.hero-logo {
  width: 160px; height: 160px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 8px 40px rgba(0,0,0,.6));
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  padding: 8px;
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--clr-white);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 4px 32px rgba(0,0,0,.55);
}
.hero-title--accent {
  background: linear-gradient(135deg, #4DD0E1, var(--clr-green-light));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-slogan {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: rgba(255,255,255,.92);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute; bottom: 48px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 4; opacity: .75;
}
.scroll-indicator__dot {
  display: block;
  width: 26px; height: 40px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 13px;
  position: relative;
}
.scroll-indicator__dot::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { top: 6px; opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

/* ---- 8. À PROPOS ---- */
.apropos-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.apropos-intro {
  font-size: 1.12rem; font-weight: 600;
  color: var(--clr-navy); line-height: 1.7;
  margin-bottom: 20px;
  border-left: 4px solid var(--clr-green-light);
  padding-left: 16px;
}
.apropos-text p:not(.apropos-intro) { color: var(--clr-text-mid); margin-bottom: 16px; }
.apropos-text strong { color: var(--clr-navy); }

.stats-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-top: 40px;
}
.stat-card {
  text-align: center; padding: 24px 16px;
  background: var(--clr-gray-light);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--clr-blue);
  transition: transform var(--tr), box-shadow var(--tr);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem; font-weight: 900;
  color: var(--clr-navy); line-height: 1;
}
.stat-suffix {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 900;
  color: var(--clr-green-light);
}
.stat-label {
  display: block;
  font-size: .78rem; font-weight: 600;
  color: var(--clr-text-mid);
  letter-spacing: .06em; text-transform: uppercase;
  margin-top: 6px;
}

.apropos-image-wrap { position: relative; }
.apropos-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.apropos-image-frame::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: calc(var(--radius-lg) + 3px);
  background: linear-gradient(135deg, var(--clr-blue), var(--clr-green));
  z-index: -1;
}
.apropos-img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-lg); }
.apropos-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(7,15,58,.92);
  backdrop-filter: blur(10px);
  color: var(--clr-white);
  padding: 10px 20px; border-radius: 50px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .85rem; font-weight: 700;
  letter-spacing: .05em;
  border: 1px solid rgba(255,255,255,.15);
}
.apropos-badge i { color: var(--clr-green-light); }

/* ---- 9. SERVICES CAROUSEL (Gallery4-style) ---- */
.svc-section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.svc-section-top__left .section-title    { text-align: left; }
.svc-section-top__left .section-label   { display: block; }
.svc-section-top__left .section-line    { margin: 0 0 20px; }

.svc-nav-btns { display: flex; gap: 10px; flex-shrink: 0; }
.svc-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--clr-gray);
  color: var(--clr-navy);
  font-size: .95rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
}
.svc-nav-btn:hover:not(:disabled) {
  background: var(--clr-navy);
  border-color: var(--clr-navy);
  color: var(--clr-white);
  transform: scale(1.08);
}
.svc-nav-btn:disabled { opacity: .3; cursor: default; }

.svc-carousel-wrap {
  overflow: hidden;
  padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
}

.svc-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform .48s cubic-bezier(.25,1,.5,1);
  will-change: transform;
}

.svc-carousel-item { flex-shrink: 0; width: 320px; }

.svc-card {
  display: block;
  position: relative;
  height: 432px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.svc-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.svc-card:hover .svc-card__img { transform: scale(1.06); }

.svc-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,15,58,0)    0%,
    rgba(7,15,58,.45) 40%,
    rgba(7,15,58,.9)  100%
  );
}

.svc-card__body {
  position: absolute;
  inset-x: 0; bottom: 0;
  padding: 28px;
  color: var(--clr-white);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  width: fit-content;
  margin-bottom: 4px;
}
.svc-card__cat--blue  { background: rgba(21,101,192,.8); }
.svc-card__cat--green { background: rgba(46,125,50,.8); }
.svc-card__cat--navy  { background: rgba(7,15,58,.8); border: 1px solid rgba(255,255,255,.2); }

.svc-card__title {
  font-family: var(--font-head);
  font-size: 1.2rem; font-weight: 800;
  color: var(--clr-white); line-height: 1.3;
}

.svc-card__desc {
  font-size: .84rem;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.svc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700;
  color: var(--clr-white);
  letter-spacing: .04em;
}
.svc-card__cta i { transition: transform var(--tr); }
.svc-card:hover .svc-card__cta i { transform: translateX(5px); }

.svc-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.svc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(12,31,107,.2);
  transition: background var(--tr), width var(--tr), border-radius var(--tr);
  padding: 0;
}
.svc-dot--active {
  background: var(--clr-navy);
  width: 24px;
  border-radius: 4px;
}

/* ---- 10. AVANTAGES ---- */
.avantages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.avantage-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center;
  transition: all var(--tr);
}
.avantage-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  border-color: rgba(67,160,71,.4);
}
.avantage-card__icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(67,160,71,.2), rgba(67,160,71,.05));
  border: 2px solid rgba(67,160,71,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem; color: var(--clr-green-light);
  transition: all var(--tr);
}
.avantage-card:hover .avantage-card__icon {
  background: linear-gradient(135deg, rgba(67,160,71,.35), rgba(67,160,71,.1));
  border-color: var(--clr-green-light);
  transform: scale(1.1);
}
.avantage-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--clr-white); margin-bottom: 12px; }
.avantage-card p  { font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.7; }

/* ---- 11. GALERIE ---- */
.galerie-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.galerie-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--tr), box-shadow var(--tr);
}
.galerie-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); z-index: 2; }
.galerie-item--large { grid-column: span 1; grid-row: span 2; aspect-ratio: 3/4; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galerie-item:hover img { transform: scale(1.06); }
.galerie-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,15,58,.85) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 0; transition: opacity var(--tr);
}
.galerie-item:hover .galerie-overlay { opacity: 1; }
.galerie-overlay span {
  font-family: var(--font-head); font-size: .9rem; font-weight: 700;
  color: var(--clr-white); display: flex; align-items: center; gap: 8px;
}
.galerie-item--theme { display: flex; align-items: center; justify-content: center; }
.galerie-theme-content { text-align: center; color: var(--clr-white); padding: 24px; }
.galerie-theme-content i    { font-size: 2.5rem; margin-bottom: 12px; display: block; opacity: .9; }
.galerie-theme-content span { display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.galerie-theme-content p    { font-size: .82rem; opacity: .75; letter-spacing: .05em; }

/* ---- 12. RÉSEAUX ---- */
.reseaux-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.reseau-card {
  display: flex; align-items: center; gap: 24px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--clr-white);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--tr);
}
.reseau-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.reseau-card__icon {
  width: 64px; height: 64px; min-width: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--clr-white);
  transition: transform var(--tr);
}
.reseau-card:hover .reseau-card__icon { transform: scale(1.1) rotate(-5deg); }
.reseau-card--facebook .reseau-card__icon { background: linear-gradient(135deg,#1877f2,#0c5fcd); box-shadow: 0 6px 20px rgba(24,119,242,.35); }
.reseau-card--facebook:hover { border-color: #1877f2; }
.reseau-card--instagram .reseau-card__icon { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); box-shadow: 0 6px 20px rgba(183,31,87,.35); }
.reseau-card--instagram:hover { border-color: #833ab4; }
.reseau-card--tiktok .reseau-card__icon { background: linear-gradient(135deg,#010101,#2b2b2b); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.reseau-card--tiktok:hover { border-color: #333; }
.reseau-card__body h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--clr-navy); margin-bottom: 4px; }
.reseau-card__body p  { font-size: .88rem; color: var(--clr-text-mid); margin-bottom: 12px; }
.reseau-card__cta {
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--clr-blue);
  display: flex; align-items: center; gap: 6px;
  transition: gap var(--tr);
}
.reseau-card:hover .reseau-card__cta { gap: 10px; }

/* ---- 13. CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info__title {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 800;
  color: var(--clr-navy); margin-bottom: 32px; padding-bottom: 16px;
  border-bottom: 2px solid var(--clr-gray);
}
.contact-info__item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info__icon {
  width: 46px; height: 46px; min-width: 46px;
  background: linear-gradient(135deg, var(--clr-blue), var(--clr-navy));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-white); font-size: 1.05rem;
}
.contact-info__item strong {
  font-family: var(--font-head); font-size: .85rem; font-weight: 700;
  color: var(--clr-navy); letter-spacing: .05em; text-transform: uppercase;
  display: block; margin-bottom: 4px;
}
.contact-info__item p,
.contact-info__item a { font-size: .95rem; color: var(--clr-text-mid); line-height: 1.6; }
.contact-info__item a:hover { color: var(--clr-blue); }

.contact-info__socials { display: flex; gap: 12px; margin-top: 32px; }
.social-btn {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-white); font-size: 1rem;
  transition: all var(--tr);
}
.social-btn--fb { background: #1877f2; }
.social-btn--ig { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }
.social-btn--tt { background: #010101; }
.social-btn:hover { transform: translateY(-3px) scale(1.1); box-shadow: 0 8px 20px rgba(0,0,0,.2); }

.contact-form-wrap {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-gray);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--clr-navy); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  font-family: var(--font-body); font-size: .95rem; color: var(--clr-text);
  background: var(--clr-gray-light);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  outline: none; transition: all var(--tr);
  -webkit-appearance: none; appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--clr-text-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--clr-white);
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 4px rgba(21,101,192,.1);
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230C1F6B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-success {
  margin-top: 16px; padding: 16px 20px;
  background: rgba(46,125,50,.1); border: 1px solid rgba(46,125,50,.3);
  border-radius: var(--radius-sm); color: var(--clr-green);
  font-family: var(--font-head); font-size: .9rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}

/* ---- 14. FOOTER ---- */
#footer { background: var(--clr-navy-dark); color: var(--clr-white); }
.footer-container {
  display: grid; grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px; padding-top: 72px; padding-bottom: 56px;
}
.footer-logo { height: 80px; width: auto; object-fit: contain; margin-bottom: 16px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }
.footer-tagline { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--clr-green-light); letter-spacing: .08em; font-style: italic; margin-bottom: 12px; }
.footer-desc { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-head); font-size: .82rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 20px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  font-size: .92rem; color: rgba(255,255,255,.75);
  transition: all var(--tr);
  display: inline-flex; align-items: center;
}
.footer-links ul li a:hover { color: var(--clr-white); padding-left: 6px; }
.footer-contact p { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 12px; line-height: 1.5; }
.footer-contact p i { color: var(--clr-green-light); width: 18px; margin-right: 8px; }
.footer-contact a { color: rgba(255,255,255,.7); transition: color var(--tr); }
.footer-contact a:hover { color: var(--clr-white); }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .9rem;
  transition: all var(--tr);
}
.footer-socials a:hover { background: var(--clr-blue); border-color: var(--clr-blue); color: var(--clr-white); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-bottom span { color: var(--clr-green-light); }

/* ---- 15. BACK TO TOP ---- */
#back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-blue), var(--clr-green));
  color: var(--clr-white); border: none; cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(21,101,192,.4);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all var(--tr);
  z-index: 999; pointer-events: none;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: all; }
#back-to-top:hover   { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(21,101,192,.55); }

/* ---- 16. RESPONSIVE ---- */
@media (min-width: 1024px) {
  .svc-carousel-item { width: 360px; }
}

@media (max-width: 1024px) {
  .apropos-grid { grid-template-columns: 1fr; gap: 48px; }
  .apropos-img  { height: 360px; }
  .avantages-grid { grid-template-columns: repeat(2,1fr); }
  .galerie-grid { grid-template-columns: repeat(2,1fr); }
  .galerie-item--large { grid-column: span 2; aspect-ratio: 16/7; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 44px; }

  .svc-section-top { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .svc-nav-btns    { display: none; }
  .svc-carousel-wrap { padding-left: 24px; }
  .svc-carousel-item { width: min(280px, calc(100vw - 48px)); }
  .svc-card          { height: 360px; }

  .hamburger { display: flex; }
  #nav-menu {
    position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh;
    background: rgba(7,15,58,.98);
    backdrop-filter: blur(20px);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform var(--tr-slow);
    z-index: 999;
  }
  #nav-menu.open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-link { font-size: 1rem; width: 100%; padding: 12px 0; }
  .nav-link--cta { margin-top: 16px; text-align: center; justify-content: center; }

  .hero-content { padding: 72px 20px 80px; }
  .hero-logo    { width: 90px; height: 90px; animation: none; }
  .hero-desc    { font-size: 0.95rem; }
  .hero-btns    { flex-direction: column; align-items: center; }
  .btn          { width: 100%; max-width: 280px; justify-content: center; }
  .hero-bottom-fade { height: 100px; }
  .scroll-indicator { display: none; }
  /* On mobile, video should cover without parallax glitch */
  .hero-video   { transform: none !important; }

  .stats-grid { grid-template-columns: repeat(3,1fr); gap: 12px; }
  .stat-card  { padding: 16px 8px; }
  .stat-number { font-size: 1.8rem; }

  .service-category { padding: 28px 24px; }
  .service-cards    { grid-template-columns: 1fr; }

  .avantages-grid { grid-template-columns: 1fr 1fr; }
  .avantage-card  { padding: 24px 16px; }
  .avantage-card__icon { width: 56px; height: 56px; }

  .galerie-grid { grid-template-columns: 1fr 1fr; }
  .galerie-item--large { grid-column: span 2; aspect-ratio: 16/7; }
  .galerie-overlay { opacity: 1; }

  .reseaux-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row     { grid-template-columns: 1fr; }

  .footer-container { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .footer-brand     { grid-column: span 1; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }
  .section-subtitle { font-size: 0.92rem; }

  .hero-content { padding: 60px 16px 60px; }
  .hero-logo    { width: 72px; height: 72px; }
  .hero-title   { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .hero-desc    { font-size: 0.88rem; margin-bottom: 36px; }

  .avantages-grid { grid-template-columns: 1fr; }
  .galerie-grid   { grid-template-columns: 1fr; }
  .galerie-item--large { grid-column: span 1; aspect-ratio: 4/3; }
  .stats-grid     { grid-template-columns: 1fr; }
  .stat-number    { font-size: 1.6rem; }
  .stat-label     { font-size: 0.68rem; }

  .reseau-card    { flex-direction: column; align-items: center; text-align: center; }

  .contact-form-wrap { padding: 20px 14px; }
  .form-input, .form-textarea { padding: 11px 12px; font-size: 0.9rem; }

  .footer-logo    { height: 56px !important; }
  .footer-bottom__inner { gap: 8px; font-size: 0.78rem; }

  #back-to-top    { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .section   { padding: 56px 0; }
  .hero-content { padding: 56px 14px 56px; }
  .hero-logo    { width: 60px; height: 60px; }
}
