/* =====================================================
   ZED Audit & Conseils - Front CSS
   ===================================================== */

:root {
  --navy: #1B346D;
  --navy-dark: #0F2150;
  --navy-darker: #081530;
  --gold: #DCB661;
  --gold-light: #EDD784;
  --gold-hover: #C9A04A;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-500: #ADB5BD;
  --gray-700: #495057;
  --gray-900: #212529;
  --text: #2C2C2A;
  --text-muted: #6B6B68;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  height: 78vh;
  min-height: 580px;
  max-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-2%, -1%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 21, 48, 0.92) 0%,
    rgba(15, 33, 80, 0.85) 40%,
    rgba(27, 52, 109, 0.75) 100%
  );
  z-index: 2;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(220, 182, 97, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(220, 182, 97, 0.05) 0%, transparent 50%);
  z-index: 3;
}

.hero-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 18px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  backdrop-filter: blur(8px);
  background: rgba(8, 21, 48, 0.3);
  border-bottom: 1px solid rgba(220, 182, 97, 0.15);
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo img {
  height: 56px;
  width: auto;
 /* filter: brightness(0) invert(1);*/
}

.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-menu a:hover { color: var(--gold-light); }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy-dark);
}
.nav-cta svg { width: 14px; height: 14px; }

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 1100px;
  padding: 0 40px;
  color: var(--white);
  animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { to { opacity: 1; } }

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.3s forwards;
}
.hero-tagline::before, .hero-tagline::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}
.hero-title .ampersand {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 22px;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.7s forwards;
}

.hero-slogan {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto 38px;
  letter-spacing: 0.5px;
  font-style: italic;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.9s forwards;
}
.hero-slogan strong {
  color: var(--white);
  font-weight: 500;
  font-style: normal;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.1s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 38px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(220, 182, 97, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(5px); }

.hero-side {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.3s forwards;
}
.side-item {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.side-divider {
  width: 1px;
  height: 60px;
  background: rgba(220, 182, 97, 0.4);
  margin: 0 auto;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  animation: fadeIn 1s ease-out 1.5s forwards;
}
.scroll-text {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gold);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* =====================================================
   SECTIONS GENERIC
   ===================================================== */
.section {
  padding: 100px 0;
}
.section-tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}
.section-tagline::before, .section-tagline::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* =====================================================
   METIERS SECTION
   ===================================================== */
.metiers-section {
  background: var(--gray-50);
}
.metiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.metier-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 4px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.metier-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.metier-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.metier-card:hover::before { transform: scaleX(1); }
.metier-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(220, 182, 97, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
  transition: var(--transition);
}
.metier-card:hover .metier-icon {
  background: var(--gold);
  color: var(--white);
}
.metier-icon svg { width: 28px; height: 28px; }
.metier-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 14px;
}
.metier-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.metier-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.metier-link:hover { color: var(--gold); }

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  z-index: -1;
}

/* =====================================================
   STATS SECTION
   ===================================================== */
.stats-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-darker));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(220, 182, 97, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(220, 182, 97, 0.06) 0%, transparent 50%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
}
.stat-icon {
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.stat-icon svg { width: 36px; height: 36px; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* =====================================================
   ACTUALITES SECTION
   ===================================================== */
.actualites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.actualite-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
}
.actualite-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.actualite-image {
  height: 220px;
  background: var(--gray-200);
  background-size: cover;
  background-position: center;
  position: relative;
}
.actualite-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.actualite-body { padding: 28px; }
.actualite-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.actualite-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.actualite-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.actualite-link {
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.actualite-link:hover { color: var(--gold); }

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section { background: var(--gray-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-info-card {
  background: var(--navy-dark);
  color: var(--white);
  padding: 50px 40px;
  border-radius: 4px;
}
.contact-info-card .section-tagline { color: var(--gold); }
.contact-info-card .section-title { color: var(--white); }
.contact-info-list {
  margin-top: 30px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(220, 182, 97, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info-item-icon svg { width: 18px; height: 18px; }
.contact-info-item-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-info-item-value {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}
.contact-form {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
  transition: var(--transition);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(220, 182, 97, 0.15);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-brand img {
  height: 60px;
 /* filter: brightness(0) invert(1);*/
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-title {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}
.footer-contact-item svg {
  color: var(--gold);
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom strong { color: var(--gold); }

/* =====================================================
   FLASH MESSAGES
   ===================================================== */
.flash {
  padding: 14px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}
.flash-success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
}
.flash-error {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
  .container { padding: 0 30px; }
  .metiers-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .actualites-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .hero-nav { padding: 16px 20px; flex-wrap: wrap; gap: 10px; }
  /* .nav-menu display:none retiré - géré par nav-menu-desktop/mobile */
  .nav-cta { padding: 8px 16px; font-size: 10px; }
  .nav-logo img { height: 40px; }
  .hero-content { padding: 0 20px; }
  .hero-side, .scroll-indicator { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .metiers-grid, .actualites-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
/* =====================================================
   BANDE DÉFILANTE PARTENAIRES
   À ajouter à la fin de assets/css/style.css
   ===================================================== */

.partners-section {
  padding: 70px 0 80px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  overflow: hidden;
}

.partners-header {
  text-align: center;
  margin-bottom: 50px;
}

.partners-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.partners-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
}

/* Conteneur de la bande défilante */
.partners-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* Piste de défilement */
.partners-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll-partners 40s linear infinite;
}

/* Pause au survol */
.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

/* Élément de la bande ici en blanc-nor */
/*.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 90px;
  padding: 10px;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.7;
}

.partner-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}*/
/* Élément de la bande ici en couleur */
.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 90px;
  padding: 10px;
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: scale(1.05);
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Animation de défilement infini */
@keyframes scroll-partners {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .partners-section {
    padding: 50px 0 60px;
  }
  .partners-header {
    margin-bottom: 35px;
  }
  .partner-item {
    width: 140px;
    height: 70px;
  }
  .partners-track {
    gap: 40px;
    animation-duration: 30s;
  }
}

/* =====================================================
   RÉSEAUX SOCIAUX FOOTER
   ===================================================== */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* =====================================================
   CARTE LEAFLET - PAGE CONTACT
   À ajouter à la fin de assets/css/style.css
   ===================================================== */

.contact-map-section {
  padding: 0;
  background: var(--white);
}

.contact-map-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  border-top: 1px solid var(--gray-200);
}

#contact-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Style personnalisé du popup Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: 6px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
  padding: 4px !important;
}

.leaflet-popup-content {
  margin: 14px 18px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: var(--text) !important;
}

.leaflet-popup-content strong {
  color: var(--navy-dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.leaflet-popup-content .popup-address {
  color: var(--text-muted);
  font-size: 12px;
}

.leaflet-popup-content a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-200);
  width: 100%;
}

.leaflet-popup-content a:hover {
  color: var(--gold);
}

.leaflet-popup-tip {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Marqueur personnalisé */
.custom-marker {
  background: transparent !important;
  border: none !important;
}

/* Bande d'info en bas de la carte */
.contact-map-banner {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  background: var(--white);
  padding: 16px 22px;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  max-width: 320px;
  border-left: 4px solid var(--gold);
}

.contact-map-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.contact-map-banner-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-map-banner a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 14px;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-map-banner a:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.contact-map-banner a svg {
  width: 12px;
  height: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-map-wrapper {
    height: 350px;
  }
  .contact-map-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    padding: 14px 16px;
  }
  .contact-map-banner-title {
    font-size: 16px;
  }
}
/* =====================================================
   CONTENU D'ARTICLE (sortie TinyMCE)
   À ajouter à la fin de assets/css/style.css
   ===================================================== */

.article-content {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

/* Paragraphes */
.article-content p {
  margin: 0 0 20px 0;
}

/* Titres */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--navy-dark);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.article-content h1 { font-size: 36px; }
.article-content h2 {
  font-size: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.article-content h3 { font-size: 22px; }
.article-content h4 { font-size: 18px; }

.article-content h1:first-child,
.article-content h2:first-child,
.article-content h3:first-child {
  margin-top: 0;
}

/* Liens */
.article-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.article-content a:hover {
  color: var(--gold);
}

/* Mise en forme inline */
.article-content strong,
.article-content b {
  color: var(--navy-dark);
  font-weight: 700;
}

.article-content em,
.article-content i {
  font-style: italic;
}

.article-content u {
  text-decoration: underline;
}

.article-content s,
.article-content strike {
  text-decoration: line-through;
  color: var(--gray-500);
}

/* Listes */
.article-content ul,
.article-content ol {
  margin: 0 0 20px 0;
  padding-left: 28px;
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-content ul li::marker {
  color: var(--gold);
}

.article-content ol li::marker {
  color: var(--gold);
  font-weight: 700;
}

/* Citations */
.article-content blockquote {
  border-left: 4px solid var(--gold);
  background: var(--gray-50);
  padding: 20px 28px;
  margin: 28px 0;
  font-style: italic;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.7;
  border-radius: 0 4px 4px 0;
}

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

/* Images */
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 24px auto;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-content img[style*="float: left"],
.article-content img.align-left {
  float: left;
  margin: 8px 24px 16px 0;
  max-width: 50%;
}

.article-content img[style*="float: right"],
.article-content img.align-right {
  float: right;
  margin: 8px 0 16px 24px;
  max-width: 50%;
}

/* Légende image (figure) */
.article-content figure {
  margin: 28px 0;
  text-align: center;
}

.article-content figure img {
  margin-bottom: 10px;
}

.article-content figcaption {
  font-size: 13px;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 8px;
}

/* Tableaux */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-content table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--navy-dark);
}

.article-content table td {
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
}

.article-content table tr:nth-child(even) td {
  background: var(--gray-50);
}

.article-content table tr:hover td {
  background: rgba(220, 182, 97, 0.08);
}

/* Séparateur horizontal */
.article-content hr {
  border: none;
  height: 1px;
  background: var(--gray-200);
  margin: 40px 0;
}

/* Code inline */
.article-content code {
  background: var(--gray-100);
  color: var(--navy-dark);
  padding: 2px 8px;
  border-radius: 3px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
}

.article-content pre {
  background: var(--navy-dark);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 24px 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.6;
}

.article-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* Exposant / indice */
.article-content sub,
.article-content sup {
  font-size: 75%;
  line-height: 0;
}

.article-content sup { vertical-align: super; }
.article-content sub { vertical-align: sub; }

/* Clearfix pour les images flottantes */
.article-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive */
@media (max-width: 768px) {
  .article-content {
    font-size: 15px;
  }
  .article-content h1 { font-size: 28px; }
  .article-content h2 { font-size: 23px; }
  .article-content h3 { font-size: 19px; }
  .article-content h4 { font-size: 17px; }

  .article-content img[style*="float: left"],
  .article-content img[style*="float: right"],
  .article-content img.align-left,
  .article-content img.align-right {
    float: none;
    margin: 24px auto;
    max-width: 100%;
  }

  .article-content table {
    font-size: 13px;
  }

  .article-content table th,
  .article-content table td {
    padding: 8px 10px;
  }
}
/* =====================================================
   RESPONSIVE MOBILE - ZED AUDIT & CONSEILS
   À ajouter à la fin de assets/css/style.css
   ===================================================== */

/* =====================================================
   BOUTON HAMBURGER (visible uniquement sur mobile)
   ===================================================== */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Animation transformation en croix quand ouvert */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Overlay sombre derrière le menu mobile */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.is-visible {
  display: block;
  opacity: 1;
}

/* =====================================================
   TABLETTE (< 1024px)
   ===================================================== */
@media (max-width: 1024px) {

  /* Hero : réduire padding latéral */
  .hero-nav {
    padding: 20px 30px;
  }

  /* Contenu hero */
  .hero-content {
    padding: 0 30px;
  }

  /* Side-bar latérale du hero (mentions Abidjan, ZED) */
  .hero-side {
    right: 20px;
  }

  /* Sections : padding réduit */
  .section {
    padding: 70px 0;
  }

  /* Container */
  .container {
    padding: 0 30px;
  }

  /* About grid : reste en 2 colonnes mais plus serré */
  .about-grid {
    gap: 40px;
  }

  /* Contact grid : reste en 2 colonnes */
  .contact-grid {
    gap: 30px;
  }

  /* Grille métiers : 2 colonnes au lieu de 3 */
  .metiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* Footer : 2 colonnes */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* =====================================================
   MOBILE (< 768px)
   ===================================================== */
@media (max-width: 768px) {

  /* ===== NAVIGATION HERO ===== */
  .nav-toggle {
    display: block;
  }

  .hero-nav {
    padding: 16px 20px;
    justify-content: space-between;
    align-items: center;
  }

  .nav-logo img {
    max-height: 48px;
    width: auto;
  }

  /* Ancien bloc .nav-menu mobile retiré - voir section MENU MOBILE à la fin */


  /* CTA "Espace client" caché sur mobile (pour gagner de la place) */
  .nav-cta {
    display: none;
  }

  /* Masquer les mentions latérales du Hero */
  .hero-side {
    display: none;
  }

  /* ===== HERO CONTENU ===== */
  .hero {
    min-height: 520px;
    max-height: 650px;
  }

  .hero-content {
    padding: 0 20px;
    max-width: 100%;
  }

  .hero-tagline {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .hero-title {
    font-size: clamp(36px, 9vw, 56px);
    line-height: 1.1;
  }

  .hero-slogan {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-divider {
    width: 50px;
    margin: 20px 0;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

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

  .scroll-indicator {
    display: none;
  }

  /* ===== SECTIONS ===== */
  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .section-title {
    font-size: clamp(26px, 6vw, 36px);
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  .container {
    padding: 0 20px;
  }

  /* ===== MÉTIERS GRID ===== */
  .metiers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .metier-card {
    padding: 30px 24px;
  }

  .metier-title {
    font-size: 22px;
  }

  /* ===== ABOUT ===== */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    max-width: 100%;
    order: -1;
  }

  .about-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }

  /* ===== STATS ===== */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* ===== ACTUALITES ===== */
  .actualites-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .actualite-image {
    height: 220px;
  }

  /* ===== CONTACT ===== */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info-card {
    padding: 30px 24px;
  }

  .contact-form {
    padding: 30px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 18px;
  }

  /* ===== CARTE CONTACT ===== */
  .contact-map-wrapper {
    height: 350px;
  }

  .contact-map-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    padding: 12px 16px;
  }

  .contact-map-banner-title {
    font-size: 15px;
  }

  .contact-map-banner-text {
    font-size: 11px;
  }

  /* ===== FOOTER ===== */
  .footer {
    padding: 50px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }

  .footer-brand img {
    max-height: 50px;
  }

  .footer-brand p {
    font-size: 13px;
  }

  .footer-title {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-contact-item {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 12px;
    padding: 20px 0 0;
    margin-top: 30px;
  }

  /* Réseaux sociaux : centrer sur mobile */
  .footer-social {
    margin-top: 16px;
  }

  /* ===== BANDE PARTENAIRES ===== */
  .partners-section {
    padding: 40px 0 50px;
  }

  .partners-header {
    margin-bottom: 25px;
  }

  .partners-title {
    font-size: 24px;
  }

  .partner-item {
    width: 130px;
    height: 65px;
  }

  .partners-track {
    gap: 35px;
    animation-duration: 25s;
  }

  /* ===== PAGE MÉTIER DÉDIÉE ===== */
  /* Les grid-template-columns dynamiques doivent repasser en 1 colonne */
  section.section > .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* ===== CONTENU D'ARTICLE (déjà géré dans article-content-style.css) ===== */

  /* ===== PAGES MÉTIERS : SOUS-PRESTATIONS ===== */
  /* Grille des avantages repasse en 1 colonne */
  section .container > div[style*="grid-template-columns: repeat(auto-fit, minmax(280px"] {
    grid-template-columns: 1fr !important;
  }

  /* ===== HERO PAGES INTÉRIEURES (50vh) ===== */
  section.hero[style*="height: 50vh"],
  section.hero[style*="height: 60vh"] {
    min-height: 420px !important;
  }

  /* ===== BOUTONS EN GÉNÉRAL ===== */
  .btn {
    padding: 14px 26px;
    font-size: 13px;
  }
}

/* =====================================================
   PETIT MOBILE (< 480px)
   ===================================================== */
@media (max-width: 480px) {

  .hero-nav {
    padding: 14px 16px;
  }

  .nav-logo img {
    max-height: 42px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-title {
    font-size: clamp(30px, 10vw, 48px);
  }

  .hero-slogan {
    font-size: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: clamp(22px, 7vw, 32px);
  }

  /* Stats : 1 colonne sur très petit écran */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-number {
    font-size: 42px;
  }

  .metier-card {
    padding: 25px 20px;
  }

  .metier-title {
    font-size: 20px;
  }

  .contact-info-card,
  .contact-form {
    padding: 25px 18px;
  }

  .partners-title {
    font-size: 20px;
  }

  .partner-item {
    width: 110px;
    height: 55px;
  }

  /* Footer plus compact */
  .footer {
    padding: 40px 0 15px;
  }
}

/* =====================================================
   ORIENTATION PAYSAGE SUR MOBILE
   (smartphones tenus horizontalement)
   ===================================================== */
@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    max-height: none;
  }

  .nav-menu {
    padding: 80px 30px 30px;
  }
}

/* =====================================================
   FIX : empêcher le scroll horizontal sur toutes pages
   ===================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Pour s'assurer que rien ne déborde */
img, video, svg {
  max-width: 100%;
  height: auto;
}

/* =====================================================
   MENU MOBILE - VERSION CORRIGÉE FINALE
   (menu mobile sorti du <nav> pour éviter les problèmes
    de contexte d'empilement créé par backdrop-filter)
   ===================================================== */

/* Desktop : masquer le menu mobile séparé */
.nav-menu-mobile {
  display: none;
}

/* Mobile : masquer le menu desktop, afficher le menu mobile */
@media (max-width: 768px) {
  .nav-menu-desktop {
    display: none !important;
  }

  /* Le menu mobile est au niveau du body, pas dans .hero-nav */
  .nav-menu-mobile {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: -320px !important;
    left: auto !important;
    width: 280px !important;
    max-width: 80vw !important;
    height: 100vh !important;
    background: #0F2150 !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 100px 30px 30px !important;
    gap: 0 !important;
    margin: 0 !important;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 9999 !important;
    overflow-y: auto;
    list-style: none;
  }

  .nav-menu-mobile.is-open {
    right: 0 !important;
  }

  .nav-menu-mobile li {
    width: 100% !important;
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 !important;
  }

  .nav-menu-mobile li a {
    display: block !important;
    padding: 18px 0 !important;
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    width: 100% !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s, padding-left 0.2s;
  }

  .nav-menu-mobile li a.active {
    color: #DCB661 !important;
  }

  .nav-menu-mobile li a:hover {
    color: #DCB661 !important;
    padding-left: 8px !important;
  }

  /* Désactiver le ::after décoratif sur le menu mobile */
  .nav-menu-mobile li a::after {
    display: none !important;
  }

  /* Overlay sombre */
  .nav-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 9998 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.is-visible {
    display: block !important;
    opacity: 1 !important;
  }

  /* Hamburger au-dessus de tout */
  .nav-toggle {
    display: block !important;
    position: relative;
    z-index: 10000 !important;
  }
}
/* =====================================================
   PAGE NOTRE ÉQUIPE
   À ajouter à la fin de assets/css/style.css
   ===================================================== */

.team-section {
  padding-top: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 33, 80, 0.12);
  border-color: var(--gold);
}

/* Photo / avatar */
.team-card-photo {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Ratio 1:1 carré */
  overflow: hidden;
  background: linear-gradient(135deg, #0F2150 0%, #1B346D 100%);
}

.team-card-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Placeholder avec initiales (si pas de photo) */
.member-initials {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 72px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  background: linear-gradient(135deg, #0F2150 0%, #1B346D 100%);
}

.member-initials::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
  opacity: 0.6;
}

/* Bloc texte */
.team-card-body {
  padding: 28px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-card-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--navy-dark);
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.team-card-position {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.team-card-bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 20px 0;
  flex: 1;
}

/* Icônes contact en bas de la carte */
.team-card-contact {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}

.team-card-contact a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.2s ease;
}

.team-card-contact a:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.team-card-contact svg {
  width: 16px;
  height: 16px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 400px;
  }

  .team-card-name {
    font-size: 22px;
  }

  .member-initials {
    font-size: 60px;
  }
}

/* =====================================================
   APERÇU ÉQUIPE DANS "NOUS CONNAÎTRE" (sous-étape 3.3)
   ===================================================== */
.team-preview-section {
  padding: 70px 0 90px;
  background: var(--gray-50);
}

.team-preview-header {
  text-align: center;
  margin-bottom: 50px;
}

.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.team-preview-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.team-preview-card:hover {
  transform: translateY(-5px);
}

.team-preview-photo {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #0F2150 0%, #1B346D 100%);
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(15, 33, 80, 0.15);
}

.team-preview-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-preview-photo .member-initials {
  font-size: 48px;
}

.team-preview-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-dark);
  margin: 0 0 4px 0;
}

.team-preview-position {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
}

.team-preview-cta {
  text-align: center;
}

@media (max-width: 900px) {
  .team-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .team-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .team-preview-photo .member-initials {
    font-size: 32px;
  }

  .team-preview-name {
    font-size: 15px;
  }

  .team-preview-position {
    font-size: 10px;
  }
}

/* FORCER 3 COLONNES SUR TOUS LES ÉCRANS > 900px */
@media (min-width: 901px) {
  .footer-grid-3 {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr !important;
    gap: 20px !important;
  }
}

/* Pour les écrans entre 901px et 1100px (réduit encore l'espace) */
@media (min-width: 901px) and (max-width: 1100px) {
  .footer-grid-3 {
    grid-template-columns: 1.3fr 0.9fr 0.9fr !important;
    gap: 15px !important;
  }
  
  .footer-brand p {
    font-size: 12px !important;
  }
  
  .footer-links a,
  .footer-contact-item {
    font-size: 12px !important;
  }
}

/* FORCER 4 STATS SUR UNE LIGNE - TOUS ÉCRANS > 900px */
@media (min-width: 901px) {
  .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }
}

/* Pour les écrans entre 901px et 1100px (réduit l'espace) */
@media (min-width: 901px) and (max-width: 1100px) {
  .stats-grid {
    gap: 15px !important;
  }
  
  .stat-number {
    font-size: 40px !important;
  }
  
  .stat-label {
    font-size: 11px !important;
  }
}

/* Écrans très larges (normal) */
@media (min-width: 1101px) {
  .stats-grid {
    gap: 30px !important;
  }
  
  .stat-number {
    font-size: 56px !important;
  }
}

/* =====================================================
   PAGE GALERIE PHOTOS
   À ajouter à la fin de assets/css/style.css
   ===================================================== */

/* ===== FILTRES PAR CATÉGORIE ===== */
.gallery-filters-section {
  padding: 30px 0 40px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-filter {
  display: inline-block;
  padding: 10px 22px;
  background: var(--gray-100);
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.gallery-filter:hover {
  background: var(--white);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.gallery-filter.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-filter.is-active:hover {
  background: var(--navy-dark);
  border-color: var(--gold);
}

/* ===== GRILLE DES PHOTOS ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--gray-100);
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 33, 80, 0.25);
}

.gallery-item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-item-image {
  transform: scale(1.08);
}

/* Overlay au hover : assombrissement + infos */
.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(15, 33, 80, 0.92) 0%, rgba(15, 33, 80, 0) 100%);
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-category {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.gallery-item-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}

/* Icône loupe au centre au hover */
.gallery-item-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  margin-left: -28px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-item-zoom {
  opacity: 1;
  transform: scale(1);
}

.gallery-item-zoom svg {
  width: 24px;
  height: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item-zoom {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    margin-left: -22px;
  }

  .gallery-item-zoom svg {
    width: 18px;
    height: 18px;
  }

  .gallery-item-title {
    font-size: 15px;
  }

  .gallery-filters {
    gap: 8px;
  }

  .gallery-filter {
    padding: 8px 16px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== PERSONNALISATION GLIGHTBOX ===== */
.glightbox-clean .gslide-description {
  background: rgba(15, 33, 80, 0.95) !important;
  color: var(--white) !important;
}

.glightbox-clean .gslide-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.glightbox-clean .gdesc-inner {
  padding: 20px !important;
}

/* Boutons de navigation (flèches gauche/droite) */
.gnext, .gprev {
  background-color: rgba(15, 33, 80, 0.85) !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
}

.gnext:hover, .gprev:hover {
  background-color: var(--gold) !important;
}

.gnext svg path, .gprev svg path {
  stroke: var(--white) !important;
}

.gnext:hover svg path, .gprev:hover svg path {
  stroke: var(--navy-dark) !important;
}

/* Bouton fermeture */
.gclose {
  background-color: rgba(15, 33, 80, 0.85) !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
}

.gclose:hover {
  background-color: var(--gold) !important;
}

.gclose svg path {
  stroke: var(--white) !important;
}

.gclose:hover svg path {
  stroke: var(--navy-dark) !important;
}
