/* MGI Corporate Website - Official Design System & Layouts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Official Native Gotham WebFont Definitions (NicoAcosta/gotham-fonts) */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/gothambook-webfont.woff2') format('woff2'),
       url('../fonts/gothambook-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/gothammedium-webfont.woff2') format('woff2'),
       url('../fonts/gothammedium-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/gothambold-webfont.woff2') format('woff2'),
       url('../fonts/gothambold-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/gothamlight-webfont.woff2') format('woff2'),
       url('../fonts/gothamlight-webfont.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Official MGI Brand Colors */
  --primary: #252B78;          /* Deep Navy MGI */
  --primary-dark: #0C1163;     /* Dark Deep Navy MGI */
  --primary-light: #383F8B;    /* Light Navy MGI */
  --secondary: #F59A00;        /* Industrial Orange MGI */
  --secondary-hover: #D88700;  /* Hover Orange MGI */
  --tertiary: #3FA9D8;         /* Cyan Blue MGI */
  --tertiary-hover: #298BB7;   /* Hover Cyan MGI */
  --neutral-dark: #1B1C1C;     /* Anthracite Dark */
  --neutral-grey: #4A4A4A;     /* Anthracite Grey */
  --neutral-light: #767682;    /* Soft Grey */
  --border-color: rgba(37, 43, 120, 0.12);
  --border-dark: rgba(255, 255, 255, 0.15);
  --bg-color: #FBF9F8;
  --surface-color: #FFFFFF;
  --surface-alt: #F5F3F3;
  
  /* Typography - Official Native Gotham */
  --font-gotham: 'Gotham', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-headline: 'Gotham', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation & Effects */
  --shadow-sm: 0 4px 12px rgba(12, 11, 99, 0.05);
  --shadow-md: 0 12px 32px rgba(12, 11, 99, 0.10);
  --shadow-lg: 0 20px 48px rgba(12, 11, 99, 0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--neutral-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Scale — Main Titles Refined & Less Bold (Gotham Medium 500 Directive) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  line-height: 1.18;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

h1 { 
  font-size: clamp(2.3rem, 4.8vw, 3.8rem); 
  font-weight: 500; /* Refined, sleek & less bold Gotham Medium */
}

h2 { 
  font-size: clamp(1.9rem, 3.2vw, 2.6rem); 
  font-weight: 600;
}

h3 { 
  font-size: clamp(1.3rem, 2vw, 1.65rem); 
  font-weight: 600;
}

h4 { 
  font-size: 1.1rem; 
  font-weight: 600;
}


p {
  color: var(--neutral-grey);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.text-accent { color: var(--secondary); }
.text-cyan { color: var(--tertiary); }
.text-navy { color: var(--primary); }

/* Header — MGI Deep Navy Sticky Header (Requirement #1) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.site-header.scrolled {
  background: rgba(12, 17, 99, 0.96);
  backdrop-filter: blur(12px);
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  box-shadow: 0 4px 20px rgba(12, 17, 99, 0.25);
  border-bottom-color: rgba(245, 154, 0, 0.2);
}

.header-container {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: var(--transition);
}

.site-header.scrolled .header-container {
  padding: 0.5rem 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1001;
  flex-shrink: 0;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.site-header.scrolled .brand-logo img {
  height: 42px;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.2rem;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Centered Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 0 auto;
  gap: 1.5rem;
  list-style: none;
  text-align: center;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

/* Mega Dropdown Menu for Qui sommes-nous */
.has-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-32%) translateY(15px);
  width: 88vw;
  max-width: 1020px;
  background: var(--primary-dark);
  border-top: 3px solid var(--secondary);
  box-shadow: 0 20px 50px rgba(12, 17, 99, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  border-radius: 0 0 8px 8px;
  pointer-events: none;
  z-index: 1200;
}

.has-dropdown:hover .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-32%) translateY(0);
  pointer-events: auto;
}

.mega-menu-container {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 3rem;
  align-items: start;
}

.mega-menu-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 2rem;
  height: 100%;
}

.mega-menu-title {
  font-family: var(--font-gotham);
  font-size: 1.85rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.mega-menu-btn {
  background: var(--secondary);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(245, 154, 0, 0.3);
}

.mega-menu-btn:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2.5rem;
  row-gap: 1.2rem;
}

.mega-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  transition: var(--transition);
  gap: 1rem;
}

.mega-menu-link:hover {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
  padding-left: 0.3rem;
}

.mega-arrow {
  color: var(--secondary);
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.mega-menu-link:hover .mega-arrow {
  transform: translateX(6px);
}

/* 3-Column Variant for Mega Menu (e.g. Formation & Investisseurs with Featured Photo) */
.mega-menu-container.three-cols {
  grid-template-columns: 310px 1fr 320px;
  gap: 2.2rem;
  padding: 2.2rem 2.8rem;
  align-items: center;
}

.mega-menu-feature-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.mega-menu-feature-img:hover {
  transform: scale(1.02);
  border-color: var(--secondary);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--secondary);
  color: #FFFFFF;
  border-color: var(--secondary);
}

.btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 43, 120, 0.3);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--primary-dark);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: #FFFFFF;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #FFFFFF;
  cursor: pointer;
}

/* Section 2 & 3: Hero Section (Gauche Texte, Droite Image 40% Width) */
.hero-mgi {
  position: relative;
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

/* Shield-inspired background accent curves (Requirement #3) */
.hero-mgi::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 55%;
  height: 130%;
  background: radial-gradient(circle, rgba(63, 169, 216, 0.12) 0%, rgba(245, 154, 0, 0.08) 45%, transparent 70%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-mgi::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--tertiary) 50%, var(--primary) 100%);
  z-index: 5;
}

.hero-grid {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

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

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 154, 0, 0.18);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-mgi h1 {
  color: #FFFFFF;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-mgi p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Hero Right Side Image Container (40% width) */
.hero-visual-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-visual-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 17, 99, 0.35) 0%, rgba(37, 43, 120, 0.1) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-visual-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.hero-visual-wrapper:hover .hero-visual-img {
  transform: scale(1.04);
}

.hero-shield-accent {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(12, 17, 99, 0.85);
  backdrop-filter: blur(12px);
  border-left: 4px solid var(--secondary);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 3;
  color: #FFFFFF;
}

.hero-shield-accent h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
}

.hero-shield-accent p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* Section 4: Institutional Strip below Hero */
.inst-strip {
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.inst-strip-grid {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .inst-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .inst-strip-grid {
    grid-template-columns: 1fr;
  }
}

.inst-item {
  padding: 2.2rem 1.8rem;
  border-right: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: var(--transition);
}

.inst-item:last-child {
  border-right: none;
}

.inst-item:hover {
  background: var(--bg-color);
}

.inst-icon {
  font-size: 1.6rem;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.inst-title {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inst-desc {
  font-size: 0.9rem;
  color: var(--neutral-grey);
  margin-top: 0.2rem;
  margin-bottom: 0;
}

/* General Section Layouts */
.section {
  padding: 6rem 2rem;
}

.section-alt {
  background-color: var(--surface-alt);
}

.container {
  max-width: 1350px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-head.center {
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.tag-line {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 0.6rem;
}

/* Section 5: Qui Sommes-Nous Split Layout */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.feature-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.feature-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.feature-img-box:hover img {
  transform: scale(1.04);
}

/* Section 6: Operations Cards Grid (4 Large Photo Cards) */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.op-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.op-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.op-card-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.op-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.op-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 17, 99, 0.4);
  opacity: 0;
  transition: var(--transition);
}

.op-card:hover .op-card-img-box img {
  transform: scale(1.06);
}

.op-card:hover .op-card-overlay {
  opacity: 1;
}

.op-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.op-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
}

.op-card-desc {
  font-size: 0.95rem;
  color: var(--neutral-grey);
  margin-bottom: 1.5rem;
}

.op-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: auto;
  transition: var(--transition);
}

.op-card:hover .op-link {
  color: var(--secondary);
  transform: translateX(4px);
}

/* Section 7: Digital / Innovation Section (MGI Colors, Industrial Tech) */
.innovation-section {
  background-color: #161824;
  color: #FFFFFF;
}

.innovation-section h2 {
  color: #FFFFFF;
}

.innovation-section p {
  color: rgba(255, 255, 255, 0.8);
}

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

.tech-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--secondary);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: var(--transition);
}

.tech-card-cyan {
  border-top-color: var(--tertiary);
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.tech-icon {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.tech-card-cyan .tech-icon {
  color: var(--tertiary);
}

.tech-card h3 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.tech-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Section 8: Formation Section */
.formation-bg {
  background: linear-gradient(135deg, rgba(12, 17, 99, 0.92) 0%, rgba(37, 43, 120, 0.85) 100%),
              url('../images/young_talents_academy.png') center/cover no-repeat;
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 5rem 3rem;
  box-shadow: var(--shadow-lg);
}

.formation-bg h2 {
  color: #FFFFFF;
}

.formation-bg p {
  color: rgba(255, 255, 255, 0.88);
}

/* Section 9: Durabilité Section (4 Pillars) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 54px;
  height: 54px;
  background: rgba(37, 43, 120, 0.08);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.pillar-card:nth-child(even) .pillar-icon {
  background: rgba(245, 154, 0, 0.12);
  color: var(--secondary);
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.pillar-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Section 10: Espace Investisseur Section */
.investor-sec-card {
  background: var(--primary-dark);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .investor-sec-card {
    grid-template-columns: 1fr;
  }
}

.investor-sec-card h2 {
  color: #FFFFFF;
}

.investor-sec-card p {
  color: rgba(255, 255, 255, 0.85);
}

/* Section 11: Actualités & Perspectives Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.news-img-box {
  height: 200px;
  overflow: hidden;
}

.news-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

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

.news-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.news-cat {
  color: var(--secondary);
  text-transform: uppercase;
}

.news-date {
  color: var(--neutral-light);
}

.news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card p {
  font-size: 0.95rem;
  color: var(--neutral-grey);
  margin-bottom: 1.5rem;
}

/* Footer — MGI Corporate Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 5rem 2rem 2rem;
  border-top: 5px solid var(--secondary);
}

.footer-container {
  max-width: 1350px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand-logo img {
  filter: none;
}

.footer-brand .brand-name {
  color: #FFFFFF;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1.25rem;
  font-size: 0.95rem;
  max-width: 380px;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Animations & Reduced Motion (Requirement #12) */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive Mobile Navigation */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--primary-dark);
    flex-direction: column;
    padding: 3rem 2rem;
    align-items: flex-start;
    gap: 1.8rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .header-tools {
    display: none;
  }
}

/* Operations Hero Styled with Gotham Font Family & High Contrast Alignment */
.operations-hero-box {
  max-width: 950px;
  margin: 0 auto;
}

.operations-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 154, 0, 0.22);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  font-family: var(--font-gotham);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(245, 154, 0, 0.15);
}

.operations-hero-title {
  font-family: var(--font-gotham);
  font-weight: 500; /* Less bold, elegant & sleek Gotham Medium */
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  line-height: 1.18;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 3px 12px rgba(12, 17, 99, 0.5);
}

.operations-hero-desc {
  font-family: var(--font-gotham);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  max-width: 820px;
  margin-bottom: 2.2rem;
  text-shadow: 0 2px 8px rgba(12, 17, 99, 0.4);
}

/* MMG-Style Corporate "Qui Sommes-Nous" Editorial Layouts */
.editorial-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.editorial-title {
  font-family: var(--font-gotham);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--secondary); /* Brand Red/Orange Accent like MMG */
  line-height: 1.25;
}

.editorial-title.text-navy {
  color: var(--primary-dark);
}

.editorial-content p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--neutral-grey);
  margin-bottom: 1.5rem;
}

.editorial-content p:last-child {
  margin-bottom: 0;
}

/* Triptych Photo Gallery (3 Columns) */
.triptych-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .triptych-grid {
    grid-template-columns: 1fr;
  }
}

.triptych-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 260px;
  box-shadow: var(--shadow-sm);
}

.triptych-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

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

/* Horizontal 5 Values Strip */
.values-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .values-strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 650px) {
  .values-strip-grid {
    grid-template-columns: 1fr;
  }
}

.value-box {
  background: var(--surface-color);
  border-top: 3px solid var(--secondary);
  padding: 1.8rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.value-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.value-box h4 {
  font-family: var(--font-gotham);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.value-box p {
  font-size: 0.88rem;
  color: var(--neutral-grey);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Timeline List */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.timeline-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--border-color);
}

@media (max-width: 600px) {
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.timeline-year {
  font-family: var(--font-gotham);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--secondary);
}

.timeline-text {
  font-size: 1rem;
  color: var(--neutral-grey);
  line-height: 1.6;
}

/* Related Cards Section (2 Large Photo Cards with Text Overlay) */
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.related-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.related-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 17, 99, 0.2) 0%, rgba(12, 17, 99, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: var(--transition);
}

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

.related-card-title {
  font-family: var(--font-gotham);
  font-weight: 700;
  font-size: 1.35rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.related-card-title i {
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.related-card:hover .related-card-title i {
  transform: translateX(6px);
}

/* MMG Style Operations Hero Sites Overlay Strip */
.ops-hero {
  position: relative;
  min-height: 65vh;
  padding-top: 9.5rem;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ops-hero-title {
  font-family: var(--font-gotham);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2rem;
  text-shadow: 0 3px 12px rgba(12, 17, 99, 0.6);
}

.ops-sites-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem;
}

.ops-site-card {
  background: rgba(12, 17, 99, 0.75);
  padding: 1.25rem 1.5rem;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.ops-site-card:hover {
  background: rgba(37, 43, 120, 0.95);
  border-bottom-color: var(--secondary);
}

.ops-site-card.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-bottom-color: var(--secondary);
}

.ops-site-loc {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.ops-site-name {
  font-family: var(--font-gotham);
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
  line-height: 1.25;
}

.ops-site-arrow {
  margin-top: 1rem;
  font-size: 0.9rem;
  align-self: flex-end;
  color: var(--secondary);
}

/* Operations 3-Column Feature Cards Section */
.ops-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
  margin-bottom: 5rem;
}

@media (max-width: 900px) {
  .ops-features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.ops-feature-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.ops-feature-img-box {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.ops-feature-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.ops-feature-card:hover .ops-feature-img-box img {
  transform: scale(1.06);
}

.ops-feature-body {
  padding: 1.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ops-feature-title {
  font-family: var(--font-gotham);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-dark); /* MGI Deep Navy */
  margin-bottom: 1rem;
  line-height: 1.3;
}

.ops-feature-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--neutral-grey);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.ops-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.ops-arrow-link:hover {
  transform: translateX(6px);
  color: var(--secondary-hover);
}

/* Official MGI Newsletter Footer Banner (Deep Navy & Industrial Orange) */
.mgi-newsletter-footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  position: relative;
  padding-top: 5rem;
  padding-bottom: 3.5rem;
  clip-path: polygon(0 3.5vw, 100% 0, 100% 100%, 0 100%);
  margin-top: 4rem;
}

.newsletter-box {
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 3rem;
}

.newsletter-title {
  font-family: var(--font-gotham);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  padding: 0.75rem 0;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.newsletter-btn {
  background: var(--secondary);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.8rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-btn:hover {
  background: var(--secondary-hover);
}

.mgi-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .mgi-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.mgi-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mgi-footer-logo {
  font-family: var(--font-gotham);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mgi-footer-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-gotham);
}

.mgi-footer-col h5 {
  font-family: var(--font-gotham);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: var(--secondary);
}

.mgi-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mgi-footer-col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.mgi-footer-col a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.social-links-mgi {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icon-box {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-icon-box:hover {
  background: var(--secondary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Historique en Bref Section
   ========================================================================== */
.history-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #151A68 100%);
  color: #ffffff;
  padding: 6rem 0;
  overflow: hidden;
}

.history-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.70);
  pointer-events: none;
}

.history-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 17, 99, 0.40) 0%, rgba(12, 17, 99, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.history-section .container {
  position: relative;
  z-index: 2;
}

.history-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 80% 20%, rgba(63, 169, 216, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.history-timeline {
  position: relative;
  max-width: 1000px;
  margin: 3.5rem auto 0 auto;
  padding-left: 2rem;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 28px;
  width: 3px;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--tertiary) 50%, rgba(255, 255, 255, 0.2) 100%);
  border-radius: 2px;
}

.history-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 3rem;
}

.history-item:last-child {
  margin-bottom: 0;
}

.history-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-dark);
  border: 3px solid var(--secondary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 15px rgba(245, 154, 0, 0.3);
  z-index: 2;
  transition: var(--transition);
}

.history-item:hover .history-marker {
  background: var(--secondary);
  color: #ffffff;
  transform: scale(1.15);
  box-shadow: 0 0 25px rgba(245, 154, 0, 0.6);
}

.history-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
  transition: var(--transition);
}

.history-item:hover .history-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 154, 0, 0.4);
  transform: translateX(6px);
}

.history-year {
  display: inline-block;
  font-family: var(--font-gotham);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
  background: rgba(245, 154, 0, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.history-card h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.history-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ==========================================================================
   Galerie Photos Section & Page
   ========================================================================== */
.gallery-section {
  padding: 5.5rem 0;
}

.gallery-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.gallery-filter-btn {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--neutral-dark);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-gotham);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(37, 43, 120, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface-color);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(12, 17, 99, 0.2) 0%, rgba(12, 17, 99, 0.85) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-badge-category {
  align-self: flex-start;
  background: var(--secondary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.gallery-zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto;
  transition: var(--transition);
}

.gallery-card:hover .gallery-zoom-icon {
  background: var(--tertiary);
  transform: scale(1.1);
}

.gallery-info {
  margin-top: auto;
  color: #ffffff;
}

.gallery-info h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.gallery-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12, 17, 99, 0.94);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 950px;
  width: 100%;
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-img-box {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.lightbox-img-box img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-caption {
  padding: 1.5rem 2rem;
  background: var(--primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-caption h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.lightbox-caption p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
  font-size: 0.92rem;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--secondary);
  transform: rotate(90deg);
}

/* ==========================================================================
   Vidéo Showcase Section & Page
   ========================================================================== */
.video-section {
  padding: 5.5rem 0;
}

.video-featured-wrapper {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #171E7D 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}

.video-featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
}

@media (max-width: 900px) {
  .video-featured-grid {
    grid-template-columns: 1fr;
  }
}

.video-player-container {
  position: relative;
  aspect-ratio: 16/9;
  background: #000000;
  overflow: hidden;
  cursor: pointer;
}

.video-player-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.5s ease;
}

.video-player-container:hover img {
  transform: scale(1.05);
}

.video-play-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 17, 99, 0.35);
  transition: var(--transition);
}

.video-player-container:hover .video-play-overlay {
  background: rgba(12, 17, 99, 0.15);
}

.play-btn-pulse {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--secondary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  padding-left: 5px;
  box-shadow: 0 0 0 0 rgba(245, 154, 0, 0.7);
  animation: pulse-ring 2s infinite;
  transition: var(--transition);
}

.video-player-container:hover .play-btn-pulse {
  transform: scale(1.12);
  background: var(--tertiary);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 154, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(245, 154, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 154, 0, 0);
  }
}

.video-featured-info {
  padding: 3rem;
  color: #ffffff;
}

.video-featured-info h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.video-featured-info p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.video-meta-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.video-meta-tags span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.video-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.video-card {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.video-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
  cursor: pointer;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.06);
}

.video-duration-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.video-card-body {
  padding: 1.5rem;
}

.video-card-body h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.video-card-body p {
  font-size: 0.9rem;
  color: var(--neutral-grey);
  margin-bottom: 1rem;
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12, 17, 99, 0.95);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.video-modal.active {
  display: flex;
}

.video-modal-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.video-modal-container iframe,
.video-modal-container video {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   UX & UI Modernization (Icon Boxes, Status Pulses, Glassmorphism Cards)
   ========================================================================== */

/* Modern Icon Boxes */
.modern-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.modern-icon-box::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
  pointer-events: none;
}

.modern-icon-navy {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.modern-icon-orange {
  background: linear-gradient(135deg, var(--secondary) 0%, #E08B00 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(245, 154, 0, 0.3);
}

.modern-icon-cyan {
  background: linear-gradient(135deg, var(--tertiary) 0%, #2087B5 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(63, 169, 216, 0.25);
}

*:hover > .modern-icon-box {
  transform: translateY(-4px) scale(1.05);
}

/* Status Pulse Indicators */
.status-pulse-green {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
  margin-right: 6px;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Header & Navigation Spacing Improvements ("espacement des onglets") */
.header-container {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

/* ==========================================================================
   Search Bar Widget (MGI Orange Accent - No Red)
   ========================================================================== */
.search-bar-widget {
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  border: 2px solid var(--secondary); /* MGI Vibrant Orange #F59A00 */
  border-radius: 8px;
  padding: 0.3rem 0.85rem;
  gap: 0.6rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 12px rgba(245, 154, 0, 0.35);
}

.search-bar-widget:hover {
  border-color: #FFB300;
  box-shadow: 0 0 18px rgba(245, 154, 0, 0.65);
  transform: translateY(-1px);
}

.search-widget-input {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-gotham);
  font-weight: 600;
  font-size: 0.9rem;
  width: 95px;
  cursor: pointer;
  outline: none;
}

.search-widget-input::placeholder {
  color: #FFFFFF;
  opacity: 0.95;
}

.search-widget-btn {
  background: transparent;
  border: none;
  color: var(--secondary); /* Orange Magnifying Glass Icon */
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Language Switcher with Spacing (Espacements entre FR et EN)
   ========================================================================== */
.lang-switcher-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem; /* Distinct spacing between language buttons */
  padding: 0.25rem 0.35rem;
  border-radius: 8px;
  border: 2px solid var(--secondary); /* MGI Orange Outline */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  font-family: var(--font-gotham);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--primary-dark);
}

.lang-pill-btn {
  border: none;
  padding: 0.35rem 0.85rem;
  border-radius: 6px; /* Rounded individual pill buttons */
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-gotham);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  outline: none;
}

.lang-pill-btn.active {
  background: var(--secondary); /* MGI Orange background for active language */
  color: #0C1163; /* Deep navy text */
  box-shadow: 0 2px 8px rgba(245, 154, 0, 0.4);
}

.lang-pill-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Bottom Investor CTA Banner (Déplacé en Bas de Page)
   ========================================================================== */
.bottom-investor-cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #171E7D 100%);
  border-top: 3px solid var(--secondary);
  padding: 3rem 2rem;
  text-align: center;
  color: #FFFFFF;
}

.bottom-investor-cta-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Search Modal Overlay */
.search-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12, 17, 99, 0.95);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.search-modal.active {
  display: flex;
}

.search-modal-container {
  width: 100%;
  max-width: 750px;
  background: var(--primary-dark);
  border: 2px solid var(--secondary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.search-input-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 154, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  margin-bottom: 1.5rem;
}

.search-input-box input {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-gotham);
  font-size: 1.1rem;
  outline: none;
}

.search-results-list {
  max-height: 50vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.search-result-item {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  color: #ffffff;
  transition: var(--transition);
}

.search-result-item:hover {
  background: rgba(245, 154, 0, 0.12);
  border-color: var(--secondary);
  transform: translateX(4px);
}

.search-tab-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.search-result-item h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.search-result-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  margin: 0;
}

/* Header Tools Layout Alignment */
.header-tools {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

/* Investor Portal Page Styles */

.investor-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.investor-stat-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.8rem;
  text-align: left;
  transition: var(--transition);
}

.investor-stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 154, 0, 0.4);
  transform: translateY(-4px);
}

.investor-stat-val {
  font-family: var(--font-gotham);
  font-weight: 800;
  font-size: 2rem;
  color: var(--secondary);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.investor-stat-lbl {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.report-downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.report-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.report-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.report-type-badge {
  align-self: flex-start;
  background: rgba(37, 43, 120, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.report-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.report-card p {
  font-size: 0.9rem;
  color: var(--neutral-grey);
  margin-bottom: 1.5rem;
}

.report-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--surface-alt);
  color: var(--primary-dark);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

.report-card:hover .report-download-btn {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.financial-calendar-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.financial-calendar-table th,
.financial-calendar-table td {
  padding: 1.1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.financial-calendar-table th {
  background: var(--primary-dark);
  color: #ffffff;
  font-family: var(--font-gotham);
  font-weight: 600;
  font-size: 0.92rem;
}

.financial-calendar-table tr:last-child td {
  border-bottom: none;
}

.financial-calendar-table tr:hover td {
  background: var(--surface-alt);
}

@media (max-width: 1024px) {
  .brand-logo {
    margin-right: 0;
  }
}









