
:root {
    --deep-indigo: #0d0d1a;
    --sec-dark: #13132b;
    --light-bg: #f0f0f5;
    --medium-purple: #625a9a;
    --dark-slate-purple: #4e477a;
    --teal-accent: #469cb0;
    --ivory: #ffffff;
    --twilight-gray: #a0a0c0;
    --white: #ffffff;
    
    /* Unified Header & Hero variables */
    --navbar-logo-size: 192px;
    --navbar-height: 224px;
    --hero-safe-top: calc(var(--navbar-height) + 40px);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--deep-indigo);
    color: var(--ivory);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .logo, .title-official {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem; /* 24px on mobile */
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem; /* 48px on tablet/desktop */
    }
}

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-grid-2 {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first */
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .container-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* ============================================================
   HEADER PREMIUM — 3 ZONES (Logo | Nav centrée | CTA)
   ============================================================ */

/* Wrapper */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 18, 38, 0.97);
    border-bottom: 1px solid rgba(98, 90, 154, 0.18);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* === INNER CONTAINER: TRUE 3-column grid === */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 64px;
    box-sizing: border-box;
    gap: 2rem;
}

/* === ZONE 1: LOGO === */
.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-logo img,
.nav-logo img,
header .logo img,
nav .logo img,
.navbar img,
nav img,
.header-logo .logo-img {
  height: var(--navbar-logo-size) !important;
  width: auto !important;
  min-height: var(--navbar-logo-size) !important;
  max-height: var(--navbar-logo-size) !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: brightness(0) invert(1) !important;
}

footer img,
.footer img,
.footer-logo img,
.footer-brand img,
.logo img,
[class*="logo"] img,
[class*="brand"] img {
  height: 96px !important;
  width: auto !important;
  min-height: 96px !important;
  max-height: 96px !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: brightness(0) invert(1) !important;
}

/* ============================================================
   GLOBAL PREMIUM NAVBAR (UNIFIED)
   ============================================================ */
header,
nav,
.navbar,
.main-header {
  min-height: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
}

.premium-nav {
  position: fixed;
  top: 0;
  width: 100%;
  min-height: auto !important;
  height: auto !important;
  padding-block: clamp(6px, 0.8vw, 12px) !important;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.is-scrolled,
.nav-scrolled {
  background: rgba(13, 13, 26, 0.92) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  padding-block: clamp(4px, 0.5vw, 8px) !important;
}

.premium-nav .nav-inner,
.premium-nav .container.nav-inner {
  width: calc(100% - 96px);
  max-width: none;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

@media (min-width: 1200px) {
  .premium-nav .nav-inner,
  .premium-nav .container.nav-inner {
    width: calc(100% - 120px);
    max-width: none;
  }
}

@media (min-width: 1440px) {
  .premium-nav .nav-inner,
  .premium-nav .container.nav-inner {
    width: calc(100% - 160px);
    max-width: none;
  }
}

.nav-logo {
  justify-self: start;
}

.nav-logo img {
  height: var(--navbar-logo-size, 192px) !important;
  width: auto !important;
  min-height: var(--navbar-logo-size, 192px) !important;
  max-height: var(--navbar-logo-size, 192px) !important;
  display: block !important;
  filter: brightness(0) invert(1) !important;
}

nav {
  justify-self: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.4vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-links .nav-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
  color: #ffffff;
}

.nav-links .nav-link.active {
  color: #469cb0;
}

.nav-cta {
  justify-self: end;
}

.btn-don {
  background: linear-gradient(135deg, #625a9a, #469cb0);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(98, 90, 154, 0.3);
  display: inline-block;
}

.btn-don:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(70, 156, 176, 0.4);
}

@media (max-width: 1024px) {
  :root {
    --navbar-logo-size: 120px;
    --navbar-height: 152px;
    --hero-safe-top: calc(var(--navbar-height) + 24px);
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: block !important;
  }
}


/* --- HERO REFINEMENT --- */
.hero-title,
.hero h1,
.home-hero h1,
.slide-title {
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 900px;
}

.hero,
.home-hero,
.hero-section,
.hero-slider,
.hero-cinematic,
.hero-section-v2,
.hero-piliers,
.hero-stelab-v2,
.contact-hero,
.blog-hero {
  padding-top: var(--hero-safe-top) !important;
}

.hero-content,
.home-hero-content,
.slide-content {
  padding-top: 40px;
}

.hero::before,
.home-hero::before,
.hero-section::before,
.hero-slider::before,
.slide::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(
    90deg,
    rgba(13, 13, 26, 0.68) 0%,
    rgba(13, 13, 26, 0.52) 45%,
    rgba(13, 13, 26, 0.38) 100%
  ) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.hero img,
.home-hero img,
.hero-section img,
.hero-bg,
.hero-background,
.slide-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 0 !important;
}

.hero-content,
.home-hero-content,
.hero .container,
.home-hero .container,
.slide-content {
  position: relative !important;
  z-index: 3 !important;
}

.hero-slider-controls,
.slider-controls,
.hero-pagination,
.swiper-pagination,
.hero-dots,
.slider-pagination {
  position: absolute;
  z-index: 4;
}

@media (max-width: 768px) {
  :root {
    --navbar-logo-size: 80px;
    --navbar-height: 112px;
    --hero-safe-top: calc(var(--navbar-height) + 16px);
  }
  .hero-title,
  .hero h1,
  .home-hero h1,
  .slide-title {
    font-size: clamp(2.1rem, 10vw, 3.4rem) !important;
    line-height: 1.08 !important;
    max-width: 100% !important;
  }

  .hero,
  .home-hero,
  .hero-section,
  .hero-slider,
  .hero-cinematic,
  .hero-section-v2,
  .hero-piliers,
  .hero-stelab-v2,
  .contact-hero,
  .blog-hero {
    padding-top: var(--hero-safe-top) !important;
  }
}




.logo-img:hover { opacity: 0.8; }

.logo-wordmark {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
}
.logo-wordmark em {
    display: block;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 400;
    color: #469cb0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Footer logo */
.logo-img-footer {
    height: 70px;
    filter: brightness(0) invert(1) sepia(1) saturate(0.3) hue-rotate(160deg);
    opacity: 0.85;
    margin-bottom: 1.5rem;
    display: block;
}
.footer-logo-link { display: block; }

/* === ZONE 2: NAVIGATION CENTRALE === */
.header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 2.8rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Link with animated underline */
.nav-link {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.25s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #469cb0;
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active { color: #469cb0; }
.nav-link.active::after { background: #469cb0; width: 100%; }

/* Dropdown Menu System */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.has-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(13, 13, 26, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Arrow pointer for dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(13, 13, 26, 0.85);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-link i {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.25s;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    padding-left: 18px;
}

.dropdown-link:hover i {
    color: var(--turquoise, #469cb0);
}

@media (max-width: 900px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: none;
        border: none;
        box-shadow: none;
        padding-left: 2rem;
        display: none;
    }
    .has-dropdown.open .dropdown-menu {
        display: block;
    }
    .dropdown-link {
        border-bottom: none;
        padding: 0.8rem 0;
    }
}

/* === ZONE 3: CTA DROITE === */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
}

.cta-contact {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 0.55rem 1.2rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: border-color 0.25s, color 0.25s;
}
.cta-contact:hover { color: #fff; border-color: rgba(255,255,255,0.45); }

.cta-don {
    background: var(--violet, #625a9a);
    color: #fff;
    text-decoration: none;
    padding: 8px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(98, 90, 154, 0.2);
}
.cta-don:hover { 
    background: var(--violet-dark, #4e477a);
    transform: translateY(-1px); 
    box-shadow: 0 6px 16px rgba(98, 90, 154, 0.4); 
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}
.lang-active { color: #469cb0; font-weight: 700; }
.lang-sep { opacity: 0.3; }

/* === HAMBURGER MOBILE === */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* ============================================================
   RESPONSIVE HEADER
   ============================================================ */
@media (max-width: 1100px) {
    .logo-wordmark { display: none; }
    .header-nav ul { gap: 1.8rem; }
    .header-inner { gap: 1rem; padding: 0 2rem; }
}

@media (max-width: 900px) {
    .header-inner { grid-template-columns: 1fr auto; }
    .header-nav {
        display: none;
        position: fixed; /* Fixed for full screen overlay effect if needed */
        top: 0;
        right: 0;
        width: 80%; /* Sidebar style */
        height: 100vh;
        background: rgba(32, 29, 51, 0.98);
        padding: 6rem 2rem 2rem;
        flex-direction: column;
        border-left: 1px solid rgba(98,90,154,0.2);
        z-index: 999;
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .header-nav.open { display: flex; }
    .header-nav ul { flex-direction: column; gap: 2rem; text-align: left; width: 100%; }
    .header-nav ul li { width: 100%; }
    .header-nav .nav-link { font-size: 1.2rem; display: block; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 1rem; }
    .hamburger { display: flex; }
    .header-cta .cta-contact,
    .header-cta .lang-toggle { display: none; }
}

/* HERO */
.hero-v2 {
    position: relative;
    height: 95vh;
    min-height: 700px;
    background-image: url('background_hero.png');
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Full dark overlay on the entire image */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(20, 18, 40, 0.92) 0%,
        rgba(32, 29, 51, 0.80) 50%,
        rgba(20, 18, 40, 0.65) 100%
    );
    z-index: 1;
}

/* Extra bottom darkening gradient for polish */
.hero-v2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(20, 18, 40, 0.9), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
}

.hero-content-box {
    max-width: 760px;
}

.hero-badge {
    background-color: rgba(70, 156, 176, 0.15);
    color: var(--teal-accent);
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    display: inline-block;
    border: 1px solid rgba(70, 156, 176, 0.5);
    backdrop-filter: blur(10px);
}

.hero-content-box h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--white);
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.hero-content-box .highlight {
    color: var(--teal-accent);
}

.hero-content-box p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 620px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .hero-v2 {
        height: auto;
        padding: 120px 0 80px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-main { background-color: var(--medium-purple); color: var(--white); }
.btn-main:hover { transform: translateY(-3px); background-color: var(--dark-slate-purple); box-shadow: 0 15px 40px rgba(98,90,154,0.4); }

.btn-teal { background-color: var(--teal-accent); color: var(--white); }
.btn-teal:hover { transform: translateY(-3px); opacity: 0.9; }

.btn-teal-outline {
    border: 2px solid rgba(70, 156, 176, 0.7);
    color: var(--teal-accent);
    backdrop-filter: blur(10px);
    background: rgba(70, 156, 176, 0.05);
}
.btn-teal-outline:hover { background-color: var(--teal-accent); color: var(--white); transform: translateY(-3px); }

.hero-trust {
    font-size: 0.9rem;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--ivory);
}

/* METRICS */
.metrics {
    position: relative;
    background: linear-gradient(135deg, #4e477a 0%, #625a9a 50%, #469cb0 100%);
    padding: 100px 80px;
    clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
    overflow: hidden;
}

.metrics-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: 1;
}

.metrics-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.metrics-intro {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #469cb0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.metrics-intro::before,
.metrics-intro::after {
    content: '';
    width: 40px;
    height: 1px;
    background-color: #469cb0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.metric-card {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.metric-card:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.25);
}

.m-val {
    font-size: 64px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0;
    white-space: nowrap;
}

.m-label {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.80);
    letter-spacing: 0.5px;
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .metrics {
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    .metrics {
        padding: 60px 24px;
        clip-path: polygon(0 2%, 100% 0%, 100% 98%, 0% 100%);
    }
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .metric-card {
        padding: 0;
    }
    .metric-card:not(:first-child)::before {
        display: none;
    }
    .m-val {
        font-size: 56px;
    }
}

/* INTERVENTIONS */
.intervention-pillars {
    padding: 8rem 0;
}

.section-header.center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.title-official {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.5rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first: 1 column */
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (min-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(5, 1fr); /* 5 columns on desktop */
    }
}

.pillar-card {
    background-color: var(--dark-slate-purple);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s, background-color 0.3s;
    border-bottom: 4px solid transparent;
}

.pillar-card.active, .pillar-card:hover {
    transform: translateY(-10px);
    background-color: var(--medium-purple);
    border-bottom-color: var(--teal-accent);
}

.icon-wrap {
    font-size: 2rem;
    color: var(--teal-accent);
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    min-height: 3rem;
}

.pillar-card p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: var(--teal-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ABOUT */
.about-institutional {
    padding: 8rem 0;
    background-color: #e8e8e8;
    color: var(--deep-indigo);
}

.img-frame {
    width: 100%;
    height: 100%;
}

.about-img-dg {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 20%; /* Focusing on bust/face */
    border-radius: 16px;
    border: 2px solid #469cb0; /* Permanent brand contour */
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    display: block;
    transition: all 0.35s ease-out;
    animation: floatImage 5s ease-in-out infinite;
}

.about-img-dg:hover {
    transform: scale(1.04);
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.5),
        0 0 40px rgba(70, 156, 176, 0.4); /* Luminous halo behind the image */
}

@media (max-width: 992px) {
    .about-img-dg {
        height: 400px;
    }
}

.img-frame img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.check-list i {
    color: var(--teal-accent);
}

/* PROJECT SLIDER SECTION */
.project-slider-section {
    padding: 8rem 0;
    overflow: hidden;
}

.slider-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.label-teal {
    color: var(--teal-accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.slider-wrapper {
    position: relative;
    margin-bottom: 4rem;
}

.slider-container {
    position: relative;
    min-height: 550px;
}

.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first */
    background-color: var(--dark-slate-purple);
    border-radius: 24px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

@media (min-width: 992px) {
    .project-slide {
        grid-template-columns: 1fr 1.2fr;
    }
}

.project-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    position: relative;
}

.ps-content {
    padding: 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ps-cat {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--teal-accent);
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: block;
}

.ps-content h3 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.ps-content p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.ps-keys {
    list-style: none;
    margin-bottom: 2.5rem;
}

.ps-keys li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.ps-keys i {
    color: var(--teal-accent);
}

.ps-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.slider-nav button {
    background: rgba(98, 90, 154, 0.2);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav button:hover {
    background: var(--medium-purple);
    border-color: var(--teal-accent);
}

.s-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--teal-accent);
    width: 25px;
    border-radius: 10px;
}

.center-btn-box {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .project-slide { grid-template-columns: 1fr; }
    .ps-content { padding: 3rem; }
    .ps-visual { height: 300px; }
}

/* =============================================================
   ULTRA-PREMIUM SECTIONS (7 & 8): Actions & Benefits
   ============================================================= */
.premium-actions-section {
    padding: 12rem 0;
    background: linear-gradient(180deg, var(--deep-indigo) 0%, rgba(98, 90, 154, 0.05) 100%);
    position: relative;
}

.premium-benefits-section {
    padding: 12rem 0;
    background-color: var(--deep-indigo);
    border-top: 1px solid rgba(255,255,255,0.03);
}

.container-large { max-width: 1400px; }

.editorial-header { max-width: 850px; margin-bottom: 8rem; }

.editorial-header.center { text-align: center; margin-left: auto; margin-right: auto; }

.title-premium {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin: 1.5rem 0 2.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
}

.intro-text { font-size: 1.3rem; line-height: 1.9; color: var(--twilight-gray); font-weight: 300; max-width: 700px; }

.premium-cards-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first: 1 column */
    gap: 2rem;
    margin-bottom: 7rem;
}

@media (min-width: 1024px) {
    .premium-cards-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
        gap: 3.5rem;
    }
}

.p-card {
    background: rgba(98, 90, 154, 0.08);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(30px);
    display: flex; flex-direction: column;
}

.p-card:hover {
    transform: translateY(-30px);
    box-shadow: 0 50px 100px rgba(0,0,0,0.7);
    border-color: rgba(70, 156, 176, 0.4);
}

.p-card-header { position: relative; height: 320px; overflow: hidden; }
.p-card-header img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.p-card:hover .p-card-header img { transform: scale(1.1); }

.p-card-badge {
    position: absolute; top: 2.5rem; left: 2.5rem;
    background: rgba(32, 29, 51, 0.9);
    border: 1px solid var(--teal-accent);
    color: var(--teal-accent);
    padding: 0.6rem 1.4rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
    backdrop-filter: blur(10px); z-index: 5;
}

.p-card-body { padding: 4rem 3rem; flex-grow: 1; display: flex; flex-direction: column; }
.p-card-body h3 { font-size: 1.8rem; margin-bottom: 1.8rem; line-height: 1.3; }
.p-card-body p { font-size: 1.05rem; line-height: 1.8; opacity: 0.7; margin-bottom: 3rem; flex-grow: 1; }

.p-card-cta {
    color: var(--teal-accent); text-decoration: none; font-weight: 700; font-size: 1.1rem;
    display: flex; align-items: center; gap: 1rem; transition: gap 0.3s;
}
.p-card-cta:hover { gap: 1.5rem; }

.section-footer-btn { text-align: center; }

.btn-main-premium {
    background: var(--teal-accent); color: var(--white);
    padding: 1.5rem 4rem; border-radius: 60px; font-size: 1.2rem;
    display: inline-block; text-decoration: none; font-weight: 700;
    box-shadow: 0 15px 45px rgba(70, 156, 176, 0.3); transition: all 0.4s;
}
.btn-main-premium:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(70, 156, 176, 0.5); }

.benefits-premium-grid { 
    display: grid; 
    grid-template-columns: 1fr; /* Mobile first: 1 column */
    gap: 1.5rem; 
    margin-top: 6rem; 
}

@media (min-width: 600px) {
    .benefits-premium-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (min-width: 1024px) {
    .benefits-premium-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
        gap: 2.5rem;
    }
}

.benefit-item {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    padding: 5rem 3rem; border-radius: 32px; text-align: center; transition: all 0.4s ease;
}
.benefit-item:hover { background: rgba(98, 90, 154, 0.15); border-color: rgba(70, 156, 176, 0.3); transform: scale(1.05); }
.benefit-icon { font-size: 3.5rem; color: var(--teal-accent); margin-bottom: 2.5rem; }
.benefit-item h4 { font-size: 1.4rem; margin-bottom: 1.5rem; color: var(--white); }
.benefit-item p { font-size: 1rem; line-height: 1.7; opacity: 0.65; }

.impact-section {
    padding: 14rem 0;
    background: radial-gradient(circle at center, rgba(70, 156, 176, 0.1) 0%, transparent 70%);
}

.quote-block { text-align: center; max-width: 900px; margin: 0 auto; }
.quote-block i { font-size: 4rem; color: var(--teal-accent); opacity: 0.3; margin-bottom: 3rem; }
.quote-block p { font-size: 2.2rem; font-style: italic; font-family: "Outfit", sans-serif; margin-bottom: 3rem; line-height: 1.4; font-weight: 300; }
.quote-block .author { font-weight: 600; color: var(--teal-accent); text-transform: uppercase; letter-spacing: 3px; font-size: 1.1rem; }

/* =============================================================
   FINAL SECTIONS: Blog, Partners, CTA, Contact, Footer
   ============================================================= */

/* --- Shared tokens --- */
.sec-label {
    color: var(--teal-accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    display: block;
}
.sec-label-white { color: rgba(255,255,255,0.8); }

.sec-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 2rem;
}

.sec-title-sm { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--white); margin-bottom: 1.5rem; }

.sec-intro { font-size: 1.2rem; line-height: 1.8; color: var(--twilight-gray); font-weight: 300; max-width: 700px; margin-bottom: 5rem; }
.sec-intro.center-p { margin-left: auto; margin-right: auto; text-align: center; }

.sec-header-left { margin-bottom: 5rem; }
.sec-header-center { text-align: center; margin-bottom: 5rem; }

.sec-footer-center { text-align: center; margin-top: 6rem; }

.btn-prem {
    background: var(--teal-accent);
    color: var(--white);
    padding: 1.4rem 3.5rem;
    border-radius: 60px;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(70, 156, 176, 0.3);
    transition: all 0.4s;
}
.btn-prem:hover { transform: translateY(-5px); box-shadow: 0 15px 45px rgba(70, 156, 176, 0.5); }
.btn-full { width: 100%; border: none; cursor: pointer; }

/* --- 10. BLOG MAGAZINE --- */
.sec-blog { padding: 12rem 0; background-color: var(--deep-indigo); }

.blog-mag-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.blog-feat {
    background: rgba(98, 90, 154, 0.1);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.blog-feat:hover { transform: translateY(-15px); box-shadow: 0 40px 80px rgba(0,0,0,0.6); }

.blog-feat-img { position: relative; height: 420px; }
.blog-feat-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-cat-badge {
    position: absolute; top: 2rem; left: 2rem;
    background: var(--teal-accent); color: var(--white);
    padding: 0.6rem 1.4rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
}

.blog-feat-body { padding: 4rem; }
.blog-feat-body h3 { font-size: 2rem; margin-bottom: 1.5rem; line-height: 1.25; }
.blog-feat-body p { font-size: 1.05rem; opacity: 0.75; line-height: 1.8; margin-bottom: 2.5rem; }

.blog-read-link {
    color: var(--teal-accent); text-decoration: none; font-weight: 700; font-size: 1rem;
    display: flex; align-items: center; gap: 0.8rem; transition: 0.3s;
}
.blog-read-link:hover { gap: 1.2rem; }

.blog-side-stack { display: flex; flex-direction: column; gap: 2rem; }

.blog-sm-card {
    display: flex; gap: 1.5rem; align-items: center;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 1.5rem; border-radius: 20px; transition: 0.4s;
}
.blog-sm-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(70,156,176,0.3); }

.blog-sm-img { width: 130px; height: 130px; flex-shrink: 0; border-radius: 14px; overflow: hidden; }
.blog-sm-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-sm-cat { color: var(--teal-accent); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.blog-sm-body h4 { font-size: 1.1rem; margin: 0.6rem 0; line-height: 1.3; }
.blog-sm-body p { font-size: 0.85rem; opacity: 0.6; margin-bottom: 0.8rem; line-height: 1.5; }

.blog-sm-link {
    color: var(--teal-accent); font-weight: 700; text-decoration: none;
    font-size: 0.9rem; transition: 0.3s;
}

/* --- 11. PARTENAIRES --- */
.sec-partners {
    padding: 8rem 0;
    background: rgba(98, 90, 154, 0.03);
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.partner-badge-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; margin-bottom: 4rem; }

.partner-badge {
    font-size: 1rem; font-weight: 700;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    letter-spacing: 0.5px;
    transition: 0.4s;
}
.partner-badge:hover { color: var(--teal-accent); border-color: rgba(70,156,176,0.4); }

.partners-cred { text-align: center; font-size: 1.1rem; color: rgba(255,255,255,0.35); font-style: italic; }

/* --- 12. CTA IMPACT --- */
.sec-cta-impact {
    background-image: url("about_institutional_davycas_v1_1773179496979.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-dark-overlay {
    background: linear-gradient(135deg, rgba(78, 71, 122, 0.95) 0%, rgba(32, 29, 51, 0.97) 100%);
    padding: 12rem 0;
}

.sec-center { text-align: center; }
.cta-h2 { max-width: 900px; margin-left: auto; margin-right: auto; }

.cta-tagline { font-size: 1.3rem; max-width: 700px; margin: 0 auto 2rem; line-height: 1.7; opacity: 0.8; }
.cta-micro { font-size: 1rem; opacity: 0.5; max-width: 600px; margin: 0 auto 5rem; }

.cta-actions { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }

.btn-outline-prem {
    border: 2px solid var(--teal-accent); color: var(--teal-accent);
    padding: 1.4rem 3.5rem; border-radius: 60px; font-weight: 700;
    text-decoration: none; transition: 0.4s;
}
.btn-outline-prem:hover { background: var(--teal-accent); color: var(--white); transform: translateY(-5px); }

.btn-ghost-prem {
    border: 2px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.7);
    padding: 1.4rem 3.5rem; border-radius: 60px; font-weight: 700;
    text-decoration: none; transition: 0.4s;
}
.btn-ghost-prem:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* --- 13. CONTACT --- */
.sec-contact { padding: 12rem 0; background-color: var(--deep-indigo); }

.contact-glass-card {
    background: rgba(98, 90, 154, 0.06);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 40px;
    padding: 7rem;
    backdrop-filter: blur(20px);
}

.contact-inner-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8rem; }

.contact-desc { opacity: 0.7; font-size: 1.1rem; line-height: 1.7; margin-bottom: 4rem; }
.contact-coords { display: flex; flex-direction: column; gap: 1.5rem; }

.coord-line { display: flex; align-items: flex-start; gap: 1.5rem; opacity: 0.7; }
.coord-line i { color: var(--teal-accent); font-size: 1.2rem; margin-top: 3px; }

.contact-form-inner { display: flex; flex-direction: column; gap: 1.5rem; }

.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.contact-form-inner input,
.contact-form-inner textarea {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 1.2rem 1.5rem;
    border-radius: 14px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    width: 100%;
}

.contact-form-inner input:focus,
.contact-form-inner textarea:focus {
    border-color: rgba(70, 156, 176, 0.5);
    outline: none;
}

.contact-form-inner textarea { resize: none; }

/* --- 14. FOOTER --- */
.site-footer-full {
    background-color: #0c0b14;
    padding: 8rem 0 4rem;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.footer-mega-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .footer-mega-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-mega-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-logo { font-family: "Outfit", sans-serif; font-size: 1.8rem; font-weight: 700; margin-bottom: 1.5rem; }
.teal-text { color: var(--teal-accent); }

.footer-brand-desc { opacity: 0.45; line-height: 1.8; font-size: 0.95rem; }

.footer-nav-col h6, .footer-contact-col h6 { font-size: 1.1rem; color: var(--white); margin-bottom: 2.5rem; }

.footer-nav-col a {
    display: block; text-decoration: none;
    color: rgba(255,255,255,0.45); margin-bottom: 1rem;
    font-size: 0.95rem; transition: 0.3s;
}
.footer-nav-col a:hover { color: var(--teal-accent); transform: translateX(4px); }

.footer-contact-col p { opacity: 0.45; margin-bottom: 0.8rem; font-size: 0.95rem; }

.footer-bottom-line {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.4;
    font-size: 0.85rem;
}

.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: var(--white); text-decoration: none; }
.footer-legal a:hover { color: var(--teal-accent); }

/* =============================================================
   RESPONSIVE FINAL
   ============================================================= */
@media (max-width: 1200px) {
    .premium-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-premium-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-mag-grid { grid-template-columns: 1fr; }
    .footer-mega-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
    .contact-inner-grid { gap: 5rem; }
}

@media (max-width: 992px) {
    .hero-content-box h1 { font-size: 3rem; }
    .project-slide { grid-template-columns: 1fr; }
    .ps-content { padding: 3rem; }
    .ps-visual { height: 320px; }
    .contact-inner-grid { grid-template-columns: 1fr; gap: 5rem; }
    .contact-glass-card { padding: 4rem 3rem; }
}

@media (max-width: 768px) {
    .premium-cards-grid, .benefits-premium-grid { grid-template-columns: 1fr; }
    .editorial-header { text-align: center; }
    .title-premium { font-size: 2.5rem; }
    .premium-actions-section, .premium-benefits-section, .impact-section,
    .sec-blog, .sec-partners, .sec-contact { padding: 6rem 0; }
    .cta-dark-overlay { padding: 7rem 0; }
    .p-card-body { padding: 2.5rem; }
    .blog-sm-card { flex-direction: column; align-items: flex-start; }
    .blog-sm-img { width: 100%; height: 200px; }
    .blog-feat-img { height: 280px; }
    .blog-feat-body { padding: 3rem 2rem; }
    .footer-mega-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-bottom-line { flex-direction: column; gap: 1.5rem; text-align: center; }
    .cta-actions { flex-direction: column; align-items: center; }
    .form-duo { grid-template-columns: 1fr; }
    .container-grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   NOUVELLES CLASSES (ANIMATIONS, COULEURS, EFFETS)
   ============================================================ */

.bg-light-alt {
    background-color: var(--light-bg) !important;
    color: var(--deep-indigo) !important;
}
.bg-light-alt .sec-title,
.bg-light-alt .sec-title-sm,
.bg-light-alt .intro-text,
.bg-light-alt h3,
.bg-light-alt h4,
.bg-light-alt p,
.bg-light-alt li {
    color: var(--deep-indigo) !important;
}

.bg-sec-dark {
    background-color: var(--sec-dark) !important;
}

.text-dark {
    color: var(--deep-indigo) !important;
}

.bg-gradient-action {
    background: linear-gradient(135deg, var(--dark-slate-purple), var(--medium-purple));
    position: relative;
    overflow: hidden;
}

@keyframes pulseBadge {
    0% { opacity: 0.7; }
    50% { opacity: 1; box-shadow: 0 0 15px rgba(70, 156, 176, 0.4); }
    100% { opacity: 0.7; }
}
.pulse-anim {
    animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes wordReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}
.reveal-word.revealed {
    animation: wordReveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.scroll-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-glow-card {
    transition: all 0.3s ease;
}
.hover-glow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(98, 90, 154, 0.4);
}
.hover-glow-card.glow-teal:hover {
    box-shadow: 0 15px 35px rgba(70, 156, 176, 0.4);
}

.img-hover-scale {
    transition: all 0.4s ease;
}
.img-hover-scale:hover {
    transform: scale(1.04);
    filter: brightness(1.05);
}

@keyframes floatAnim1 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}
@keyframes floatAnim2 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(0.98); }
}
.blob-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.blob-violet {
    position: absolute;
    background-color: var(--medium-purple);
    opacity: 0.12;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    filter: blur(80px);
    top: -10%;
    right: -10%;
    animation: floatAnim1 7s infinite ease-in-out;
}
.blob-teal {
    position: absolute;
    background-color: var(--teal-accent);
    opacity: 0.08;
    width: 35vw;
    height: 35vw;
    border-radius: 50%;
    filter: blur(80px);
    bottom: -10%;
    left: -10%;
    animation: floatAnim2 9s infinite ease-in-out 1.5s;
}

@keyframes shimmerEffect {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.shimmer-btn {
    position: relative;
    overflow: hidden;
}
.shimmer-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: none;
}
.shimmer-btn:hover::after {
    animation: shimmerEffect 0.6s forwards;
}

.particles-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.particle {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0.3;
    animation: floatAnim1 10s infinite linear;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}
.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}
.wave-fill-light { fill: var(--light-bg); }
.wave-fill-dark { fill: var(--sec-dark); }
.wave-fill-main { fill: var(--deep-indigo); }
.wave-fill-purple { fill: var(--dark-slate-purple); }

.badge-pill-teal {
    display: inline-block;
    background-color: rgba(70, 156, 176, 0.2);
    color: var(--teal-accent);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 1rem;
}
.badge-pill-violet {
    display: inline-block;
    background-color: rgba(98, 90, 154, 0.2);
    color: var(--medium-purple);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 1rem;
}

.badge-floating-dg {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--medium-purple);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 10;
}

.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    align-items: center;
    justify-items: center;
}
@media (min-width: 768px) {
    .partner-logo-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
}
.partner-logo-item {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--twilight-gray);
    text-align: center;
    padding: 1rem;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}
.partner-logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--teal-accent);
    transform: scale(1.05);
}

.text-center { text-align: center; }
.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.relative { position: relative; }
.z-1 { z-index: 1; position: relative; }
@keyframes floatImage {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* PREMIUM DESIGN SYSTEM - ABOUT PAGE V2 */
:root {
    --bg-primary: #0d0d1a;
    --bg-secondary: #13132b;
    --bg-card: rgba(255,255,255,0.04);
    --violet: #625a9a;
    --violet-dark: #4e477a;
    --turquoise: #469cb0;
    --text-primary: #ffffff;
    --text-muted: #a0a0c0;
    --border: rgba(255,255,255,0.08);
}

.about-v2-body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

.section-v2 {
    padding: 128px 0;
    border-bottom: 1px solid var(--border);
}

.label-v2 {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--turquoise);
    margin-bottom: 16px;
}

.h1-v2 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--violet) 0%, var(--turquoise) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.h2-v2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 48px;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(98, 90, 154, 0.3);
    border-color: rgba(255,255,255,0.15);
}

/* Marquee */
.marquee-container {
    height: 48px;
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-content span {
    padding: 0 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-reverse .marquee-content {
    animation-direction: reverse;
}

/* Timeline V2 */
.timeline-v2 {
    position: relative;
    padding-left: 64px;
    margin-top: 48px;
}

.timeline-v2::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--violet);
}

.timeline-item-v2 {
    position: relative;
    margin-bottom: 64px;
}

.timeline-circle {
    position: absolute;
    left: -64px;
    top: 0;
    width: 48px;
    height: 48px;
    background: var(--violet);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
}

/* Org Tree */
.org-tree {
    text-align: center;
}

.org-tree ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
}

.org-tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 10px 0 10px;
}

.org-tree li::before, .org-tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 1px solid rgba(98, 90, 154, 0.5);
    width: 50%;
    height: 20px;
}

.org-tree li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid rgba(98, 90, 154, 0.5);
}

.org-tree li:only-child::after, .org-tree li:only-child::before {
    display: none;
}

.org-tree li:only-child { padding-top: 0; }

.org-tree li:first-child::before, .org-tree li:last-child::after {
    border: 0 none;
}

.org-tree li:last-child::before {
    border-right: 1px solid rgba(98, 90, 154, 0.5);
    border-radius: 0 5px 0 0;
}

.org-tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

.org-tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid rgba(98, 90, 154, 0.5);
    width: 0;
    height: 20px;
}

.org-node-v2 {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s;
}

/* Profile Initials Avatar */
.avatar-v2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet) 0%, var(--turquoise) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Premium Buttons */
.btn-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.btn-v2-primary {
    background: var(--violet);
    color: white;
}

.btn-v2-primary:hover { background: var(--violet-dark); }

.btn-v2-outline {
    background: transparent;
    border: 2px solid var(--turquoise);
    color: var(--turquoise);
}

.btn-v2-outline:hover {
    background: var(--turquoise);
    color: white;
}

/* Table V2 */
.table-v2-container {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 48px;
}

.table-v2 {
    width: 100%;
    border-collapse: collapse;
}

.table-v2 th {
    background: var(--violet);
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}

.table-v2 td {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
}

.table-v2 tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

/* PROJECTS PAGE SPECIFIC STYLES */

/* Project Filters */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
    justify-content: center;
}

.filter-tag {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-tag:hover, .filter-tag.active {
    background: var(--violet);
    color: white;
    border-color: var(--violet);
    box-shadow: 0 10px 20px rgba(98, 90, 154, 0.2);
}

/* Project Card Premium */
.project-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.project-card-v2 {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card-v2:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.project-img-v2 {
    height: 240px;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-v2:hover .project-img-v2 {
    transform: scale(1.05);
}

.project-content-v2 {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-badge-v2 {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(70, 156, 176, 0.15);
    color: var(--turquoise);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.project-title-v2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.project-desc-v2 {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.project-footer-v2 {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* Featured Project Section */
.featured-project-v2 {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.featured-glass-v2 {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 64px;
    margin-top: 48px;
}

/* Method Cards */
.method-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.method-card-v2 {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s;
}

.method-card-v2:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--violet);
}

.method-icon-v2 {
    font-size: 32px;
    color: var(--turquoise);
    margin-bottom: 24px;
}

/* HOME PAGE V2 - ALTERNATING THEMES & SLIDER */
:root {
    --bg-dark: #0d0d1a;
    --bg-dark-2: #13132b;
    --bg-light: #f5f5f5;
    --text-dark: #0d0d1a;
    --text-light: #ffffff;
    --text-muted: #a0a0c0;
}

.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 128px 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 128px 0;
}

.section-light .h2-v2 { color: var(--text-dark); }
.section-light .label-v2 { color: var(--turquoise); }
.section-light p { color: #444; }

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--bg-dark);
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s linear;
}

.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13,13,26,0.95) 0%, rgba(13,13,26,0.4) 100%);
}

.slide-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
}

.slide-meta {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: var(--turquoise);
    font-weight: 600;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 48px;
    right: 48px;
    display: flex;
    gap: 16px;
    z-index: 10;
}

.nav-dot {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.nav-dot.active {
    background: var(--turquoise);
    width: 64px;
}

/* Light Section Cards */
.light-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.light-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* News Cards V2 */
.news-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.news-card-v2 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-body {
    padding: 24px;
}

.news-date {
    font-size: 12px;
    color: var(--turquoise);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

/* Contact Form V2 */
.contact-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    background: #fff;
    padding: 64px;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.form-group-v2 {
    margin-bottom: 24px;
}

.form-group-v2 input, .form-group-v2 textarea {
    width: 100%;
    padding: 16px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group-v2 input:focus, .form-group-v2 textarea:focus {
    border-color: var(--turquoise);
    background: #fff;
    outline: none;
}




/* ABOUT PAGE SPECIFIC STYLES */

/* Identity Section */
.identity-card {
    background: var(--sec-dark);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(98, 90, 154, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.id-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.id-item label {
    font-size: 0.8rem;
    color: var(--teal-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.id-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Timeline Strategy */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--teal-accent) 0%, var(--medium-purple) 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -25px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--teal-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--teal-accent);
}

.timeline-num {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--teal-accent);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Team Table */
.staff-table-wrapper {
    margin-top: 4rem;
    overflow-x: auto;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.staff-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.staff-table th, .staff-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.staff-table th {
    color: var(--medium-purple);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.staff-table td {
    color: var(--deep-indigo);
    font-weight: 500;
}

/* Org Chart */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.org-node {
    background: var(--medium-purple);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
}

.org-node::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    width: 2px;
    height: 2rem;
    background: rgba(255,255,255,0.2);
}

.org-node:last-child::after { display: none; }

.org-node.sub {
    background: var(--sec-dark);
    border: 1px solid var(--medium-purple);
}

.org-level-flex {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Governance Grid */
.governance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gov-item {
    background: rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-left: 3px solid var(--teal-accent);
    transition: background 0.3s;
}

.gov-item:hover {
    background: rgba(255,255,255,0.06);
}

/* Recognitions */
.badge-row {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
}

.badge-icon {
    font-size: 3rem;
    color: var(--teal-accent);
    margin-bottom: 1rem;
}

/* --- PILLARS ILLUSTRÉS --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.pillar-card-v2 {
    position: relative;
    background: var(--bg-dark-2);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pillar-img-container {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.pillar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar-card-v2:hover .pillar-img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.pillar-icon-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(70, 156, 176, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--turquoise);
    font-size: 20px;
    z-index: 2;
    transition: all 0.3s ease;
}

.pillar-card-v2:hover .pillar-icon-overlay {
    background: var(--turquoise);
    color: white;
    transform: rotate(10deg);
}

.pillar-content {
    padding: 32px;
    flex-grow: 1;
}

.pillar-card-v2 h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.pillar-card-v2 p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.pillar-card-v2:hover {
    transform: translateY(-10px);
    border-color: var(--turquoise);
    box-shadow: 0 20px 40px rgba(70, 156, 176, 0.15);
}

/* Animations Scroll Reveal Cascade */
.pillars-grid .scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
.pillars-grid .scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.pillars-grid .scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.pillars-grid .scroll-reveal:nth-child(4) { transition-delay: 0.4s; }
.pillars-grid .scroll-reveal:nth-child(5) { transition-delay: 0.5s; }
.pillars-grid .scroll-reveal:nth-child(6) { transition-delay: 0.6s; }

/* Hero Zoom Effect */
@media (prefers-reduced-motion: no-preference) {
    .slide.active .slide-bg {
        animation: heroZoom 10s linear forwards;
    }
}

@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

/* ============================================================
   STELAB PRODUCT SECTION - HOMEPAGE
   ============================================================ */
.home-product-stelab {
  padding-block: 120px;
  background-color: var(--light-bg, #f0f0f5);
  color: var(--deep-indigo, #0d0d1a);
  overflow: hidden;
}

.home-product-stelab .product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Visual Column (Left) */
.stelab-product-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-visual-card {
  position: relative;
  width: 85%;
  aspect-ratio: 4 / 3;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(70, 156, 176, 0.15) 0%, rgba(98, 90, 154, 0.15) 100%), #12142a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.main-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.22);
}

.visual-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(70, 156, 176, 0.2) 0%, transparent 60%),
              radial-gradient(circle at bottom right, rgba(98, 90, 154, 0.2) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.main-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.85;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-visual-card:hover .main-product-img {
  transform: scale(1.03);
}

.home-product-stelab .stelab-logo-card {
  width: clamp(160px, 16vw, 220px);
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  background: var(--color-card-bg, #ffffff);
  border: 1px solid var(--color-border-soft, rgba(15, 23, 42, 0.08));
  border-radius: 24px;
  box-shadow: var(--shadow-premium, 0 18px 50px rgba(15, 23, 42, 0.08));
  overflow: visible;
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 5;
}

.home-product-stelab .stelab-logo-card img {
  display: block !important;
  width: 100% !important;
  max-width: 180px !important;
  height: auto !important;
  max-height: 96px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  position: relative;
  z-index: 6;
}

/* Floating Cards */
.stelab-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(16, 17, 32, 0.08);
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stelab-floating-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 30px 60px rgba(16, 17, 32, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(70, 156, 176, 0.1);
  color: var(--teal-accent, #469cb0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

.stelab-floating-card:hover .floating-card-icon {
  background: var(--medium-purple, #625a9a);
  color: white;
}

.floating-card-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-indigo, #0d0d1a);
  margin-bottom: 2px;
}

.floating-card-text p {
  font-size: 12px;
  color: rgba(16, 17, 32, 0.65);
  margin: 0;
}

/* Card positions and float animations */
@keyframes stelabFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.card-tracabilite {
  top: 15%;
  right: 0%;
  animation: stelabFloat 6s ease-in-out infinite;
}

.card-offline {
  bottom: 20%;
  left: -2%;
  animation: stelabFloat 6s ease-in-out infinite 1.5s;
}

.card-decision {
  bottom: 8%;
  right: 5%;
  animation: stelabFloat 6s ease-in-out infinite 3s;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .card-tracabilite, .card-offline, .card-decision {
    animation: none !important;
  }
}

/* Text Column (Right) */
.stelab-product-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stelab-product-content .label-v2 {
  color: var(--medium-purple, #625a9a);
}

.stelab-product-content .h2-v2 {
  color: var(--deep-indigo, #0d0d1a);
  margin-bottom: 24px;
}

.product-lead {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(13, 13, 26, 0.9);
  margin-bottom: 20px;
}

.product-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(13, 13, 26, 0.7);
  margin-bottom: 36px;
}

.stelab-product-actions {
  display: flex;
  gap: 16px;
}

.stelab-product-actions .btn-v2 {
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 14px 32px;
}

.stelab-product-actions .btn-v2-primary {
  box-shadow: 0 4px 15px rgba(98, 90, 154, 0.2);
}

.stelab-product-actions .btn-v2-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(98, 90, 154, 0.35);
}

.stelab-product-actions .btn-v2-outline:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(70, 156, 176, 0.25);
}

/* Responsive */
@media (max-width: 992px) {
  .home-product-stelab .product-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  
  .stelab-product-visual {
    width: 90%;
    margin: 0 auto;
  }
  
  .main-visual-card {
    width: 80%;
  }
  
  .card-tracabilite { right: 2%; }
  .card-offline { left: 2%; }
  .card-decision { right: 5%; }
}

@media (max-width: 576px) {
  .home-product-stelab {
    padding-block: 80px;
  }
  
  .main-visual-card {
    width: 100%;
  }
  
  .stelab-floating-card {
    padding: 10px 14px;
    gap: 10px;
  }
  
  .floating-card-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .floating-card-text h4 {
    font-size: 12px;
  }
  
  .floating-card-text p {
    font-size: 10px;
  }
  
  .card-tracabilite { top: 5%; right: -2%; }
  .card-offline { bottom: 5%; left: -2%; }
  .card-decision { bottom: -8%; right: 2%; }
  
  .stelab-product-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .stelab-product-actions .btn-v2 {
    width: 100%;
  }
}

/* --- TRANSLATION BUTTON (LANG TOGGLE) --- */
.lang-switcher {
  display: flex;
  align-items: center;
  margin-right: 16px;
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light, #ffffff);
  border-radius: var(--radius-pill, 999px);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan, #48B6CF);
  box-shadow: 0 0 12px rgba(72, 182, 207, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .lang-switcher {
    margin: 16px 0;
    justify-content: center;
    width: 100%;
  }
  
  .hamburger,
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .premium-nav nav {
    display: none;
  }
}

.hamburger,
.mobile-menu-toggle {
  display: none;
}

@media (min-width: 1025px) {
  .hamburger,
  .mobile-menu-toggle {
    display: none !important;
  }

  .premium-nav nav {
    display: flex !important;
  }
}

/* --- 15. GALERIE DAVYCAS EN ACTION --- */
.davycas-gallery {
  padding-block: 120px;
  background-color: var(--gallery-bg, #f5f6fa);
  overflow: hidden;
  position: relative;
}

.gallery-header {
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-inline: 24px;
}

.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gallery-accent, #48B6CF);
}

#gallery-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--gallery-text, #111226);
  margin: 0;
}

.gallery-header p {
  color: var(--gallery-muted, #697089);
  font-size: 1.1rem;
  line-height: 1.7;
}

.gallery-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 48px 64px;
}

.gallery-track {
  display: flex;
  width: max-content;
  gap: var(--gallery-gap, 24px);
  animation: gallery-scroll 55s linear infinite;
  will-change: transform;
}

.gallery-marquee:hover .gallery-track {
  animation-play-state: paused;
}

.gallery-group {
  display: flex;
  align-items: center;
  gap: var(--gallery-gap, 24px);
}

.gallery-card {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: var(--gallery-radius, 32px);
  background: var(--gallery-card-bg, #ffffff);
  box-shadow: 0 24px 60px rgba(13, 18, 38, 0.12);
  border: 1px solid rgba(15, 20, 40, 0.08);
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin: 0;
}

.gallery-card:nth-child(3n + 1) {
  width: 420px;
  height: 520px;
}

.gallery-card:nth-child(3n + 2) {
  width: 360px;
  height: 460px;
}

.gallery-card:nth-child(3n + 3) {
  width: 440px;
  height: 500px;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 32px 80px rgba(13, 18, 38, 0.18);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 20, 0.28) 35%, rgba(8, 10, 20, 0.88) 100%);
  pointer-events: none;
}

.gallery-card figcaption {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 26px;
  color: white;
}

.gallery-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 12px;
}

.gallery-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.gallery-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - (var(--gallery-gap, 24px) / 2))); }
}

@media (max-width: 1024px) {
  .gallery-card:nth-child(3n + 1) { width: 340px; height: 460px; }
  .gallery-card:nth-child(3n + 2) { width: 300px; height: 420px; }
  .gallery-card:nth-child(3n + 3) { width: 360px; height: 440px; }
}

@media (max-width: 768px) {
  .davycas-gallery {
    padding-block: 80px;
  }
  
  .gallery-header {
    width: min(100% - 32px, 680px);
    margin-inline: auto;
  }
  
  #gallery-title {
    font-size: clamp(38px, 11vw, 56px);
    line-height: 1;
  }

  .gallery-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .gallery-marquee::-webkit-scrollbar {
    display: none;
  }

  .gallery-track {
    animation: none;
    width: max-content;
    padding-inline: 20px;
  }

  .gallery-group[aria-hidden="true"] {
    display: none;
  }

  .gallery-card {
    width: min(82vw, 340px) !important;
    height: 440px !important;
    scroll-snap-align: center;
  }
  
  .gallery-card figcaption {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    animation: none !important;
  }
  .gallery-card, .gallery-card img {
    transition: none !important;
  }
}
