/**
* CATALYS Consulting - Site Web
* Charte graphique: Tempo Africa - Octobre 2020
* Refonte complète - 2026
*/

/*--------------------------------------------------------------
# Variables de couleurs - Charte CATALYS
--------------------------------------------------------------*/
:root {
  --blue-primary:   #374096;
  --blue-light:     #49a7dc;
  --gold-accent:    #8B7D3A;
  --black-brand:    #1a1a1a;
  --white-brand:    #FFFFFF;
  --bg-warm:        #F8F6F2;
  --bg-light:       #F0F4F8;
  --text-dark:      #1a2340;
  --text-body:      #444444;
  --text-muted:     #888888;
  --border-light:   #E8E4DC;
  --gradient-blue:  linear-gradient(135deg, #49a7dc 0%, #374096 100%);
  --gradient-dark:  linear-gradient(135deg, #1a2340 0%, #374096 100%);

  /* Compatibilité template */
  --background-color: #F8F6F2;
  --default-color:    #444444;
  --heading-color:    #1a2340;
  --accent-color:     #374096;
  --surface-color:    #ffffff;
  --contrast-color:   #ffffff;
  --nav-color:                    #1a2340;
  --nav-hover-color:              #374096;
  --nav-mobile-background-color:  #ffffff;
  --nav-dropdown-background-color:#ffffff;
  --nav-dropdown-color:           #1a2340;
  --nav-dropdown-hover-color:     #374096;
  --default-font:  "Inter", "Roboto", system-ui, sans-serif;
  --heading-font:  "Raleway", "Inter", sans-serif;
  --nav-font:      "Inter", sans-serif;
}

.light-background { --background-color: #F8F6F2; --surface-color: #ffffff; }
.dark-background  { --background-color: #1a2340; --default-color: #ffffff; --heading-color: #ffffff; --surface-color: #2a3460; --contrast-color: #ffffff; }
:root { scroll-behavior: smooth; }

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.7;
}

a { color: var(--accent-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--blue-light); }
h1,h2,h3,h4,h5,h6 { color: var(--heading-color); font-family: var(--heading-font); font-weight: 600; line-height: 1.3; }
img { max-width: 100%; }
section { padding: 80px 0; }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title > span { display: block; margin-bottom: 10px; }
.section-title h2 {
  font-size: 2.2rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 12px; position: relative; display: inline-block;
}
.section-title h2::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--blue-primary); margin: 12px auto 0; border-radius: 2px;
}
.section-title p { color: var(--text-muted); font-size: 1rem; max-width: 600px; margin: 0 auto; }

/*--------------------------------------------------------------
# Boutons
--------------------------------------------------------------*/
.btn-primary-catalys {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-primary); color: #fff;
  padding: 14px 32px; border-radius: 4px; font-weight: 600;
  font-size: 0.9rem; border: none; cursor: pointer;
  transition: all 0.3s ease; text-decoration: none;
}
.btn-primary-catalys:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(55,64,150,0.35); color: #fff; }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  padding: 12px 30px; border-radius: 4px; font-weight: 600;
  font-size: 0.9rem; border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer; transition: all 0.3s ease; text-decoration: none;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: #fff; }

.btn-white-catalys {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue-primary);
  padding: 14px 32px; border-radius: 4px; font-weight: 700;
  font-size: 0.9rem; border: none; cursor: pointer;
  transition: all 0.3s ease; text-decoration: none;
}
.btn-white-catalys:hover { background: var(--blue-light); color: #fff; transform: translateY(-2px); }

/*--------------------------------------------------------------
# Preloader & Scroll Top
--------------------------------------------------------------*/
#preloader {
  position: fixed; inset: 0; z-index: 9999; background: #F8F6F2;
  display: flex; align-items: center; justify-content: center;
}
#preloader:before {
  content: ''; width: 48px; height: 48px;
  border: 4px solid var(--blue-light); border-top-color: var(--blue-primary);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-top {
  position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px;
  background: var(--blue-primary); color: #fff; border-radius: 50%;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  z-index: 99; opacity: 0; visibility: hidden; transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(55,64,150,0.3);
}
.scroll-top.active { opacity: 1; visibility: visible; }
.scroll-top:hover { color: #fff; }

/*--------------------------------------------------------------
# TOPBAR
--------------------------------------------------------------*/
.topbar { background: var(--blue-primary); padding: 8px 0; font-size: 0.8rem; }
.topbar .contact-info a, .topbar .contact-info span { color: rgba(255,255,255,0.85); margin-right: 5px; }
.topbar .contact-info a:hover { color: var(--blue-light); }
.topbar .contact-info i { color: var(--blue-light); margin-right: 6px; font-size: 0.85rem; }
.topbar .social-links a { color: rgba(255,255,255,0.7); margin-left: 14px; font-size: 0.9rem; transition: color 0.3s; }
.topbar .social-links a:hover { color: var(--blue-light); }

/*--------------------------------------------------------------
# HEADER
--------------------------------------------------------------*/
.header { background: #fff; box-shadow: 0 2px 20px rgba(26,35,64,0.08); z-index: 997; position: sticky; top: 0; }
.header .branding { padding: 14px 0; }
.header .logo img { height: 52px; width: auto; }

.navmenu ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.navmenu > ul > li > a {
  color: var(--nav-color); font-family: var(--nav-font); font-size: 0.875rem; font-weight: 500;
  padding: 10px 14px; border-radius: 4px; display: flex; align-items: center; gap: 4px;
  transition: all 0.2s ease; white-space: nowrap;
}
.navmenu > ul > li > a:hover, .navmenu > ul > li > a.active {
  color: var(--blue-primary); background: rgba(55,64,150,0.06);
}
.navmenu > ul > li.contact-nav > a {
  background: var(--blue-primary); color: #fff; border-radius: 4px; padding: 10px 20px; margin-left: 8px;
}
.navmenu > ul > li.contact-nav > a:hover { background: var(--blue-light); color: #fff; box-shadow: 0 4px 15px rgba(55,64,150,0.3); }

/* Dropdown arrow */
.navmenu .has-dropdown > a > i.dropdown-arrow { font-size: 0.65rem; transition: transform 0.3s; }
.navmenu .has-dropdown:hover > a > i.dropdown-arrow { transform: rotate(180deg); }

/* Dropdown menu */
.navmenu .has-dropdown { position: relative; }
.navmenu .dropdown-menu-custom {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; box-shadow: 0 12px 40px rgba(26,35,64,0.12);
  border-radius: 6px; min-width: 220px; padding: 8px 0;
  border-top: 3px solid var(--blue-primary); z-index: 1000;
  list-style: none; margin: 0;
}
.navmenu .has-dropdown:hover .dropdown-menu-custom { display: block; }
.navmenu .dropdown-menu-custom li a {
  color: var(--nav-dropdown-color); font-size: 0.875rem; padding: 10px 20px;
  display: flex; align-items: center; gap: 8px; transition: all 0.2s; border-radius: 0;
  white-space: nowrap;
}
.navmenu .dropdown-menu-custom li a:hover {
  color: var(--blue-primary); background: rgba(55,64,150,0.05); padding-left: 26px;
}
.navmenu .dropdown-menu-custom li a i { color: var(--blue-light); font-size: 0.75rem; }

.mobile-nav-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--blue-primary); background: none; border: none; padding: 4px; }
@media (max-width: 1199px) { .mobile-nav-toggle { display: block; } }

/* Desktop nav list: masquée sous 1200px */
@media (max-width: 1199px) { .desktop-nav-list { display: none !important; } }

/* Panneau mobile — hors du header, stacking context racine */
#mobile-nav-panel {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
  background: #fff; z-index: 99999;
  display: flex; flex-direction: column;
  padding: 0; overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
  transition: right 0.32s cubic-bezier(0.4,0,0.2,1);
}
#mobile-nav-panel.open { right: 0; }

.mobile-nav-logo { padding: 20px 20px 14px; border-bottom: 1px solid var(--border-light); }
.mobile-nav-logo img { height: 34px; }

.mobile-nav-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg-warm); border: none; border-radius: 6px;
  width: 34px; height: 34px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dark); font-size: 0.9rem; z-index: 1;
  transition: background 0.2s;
}
.mobile-nav-close:hover { background: var(--border-light); }

#nav-list { list-style: none; padding: 10px 12px 30px; margin: 0; flex: 1; }
#nav-list > li { border-bottom: 1px solid var(--border-light); }
#nav-list > li:last-child { border-bottom: none; }
#nav-list > li > a {
  display: block; padding: 13px 8px;
  font-size: 0.95rem; font-weight: 600; color: var(--text-dark);
  text-decoration: none; transition: color 0.2s;
}
#nav-list > li > a:hover, #nav-list > li > a.active { color: var(--blue-primary); }

.mobile-dropdown-toggle {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 8px; font-size: 0.95rem; font-weight: 600;
  color: var(--text-dark); text-align: left; transition: color 0.2s;
}
.mobile-dropdown-toggle:hover { color: var(--blue-primary); }
.mobile-dropdown-toggle i { font-size: 0.8rem; transition: transform 0.25s ease; color: var(--text-muted); }

.mobile-submenu {
  list-style: none; padding: 0 0 6px 16px; margin: 0;
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  border-left: 3px solid var(--blue-light);
  margin-left: 8px; margin-bottom: 6px;
}
.mobile-submenu li a {
  display: block; padding: 8px 10px;
  font-size: 0.85rem; color: var(--text-body);
  text-decoration: none; transition: color 0.2s;
}
.mobile-submenu li a:hover { color: var(--blue-primary); }

.mobile-contact-nav a {
  display: block; margin: 10px 0 4px;
  background: var(--blue-primary); color: #fff !important;
  padding: 12px 16px; border-radius: 6px; text-align: center;
  font-size: 0.9rem; font-weight: 700; text-decoration: none;
  transition: background 0.2s;
}
.mobile-contact-nav a:hover { background: var(--blue-light) !important; }

/* Overlay fond sombre */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99998; }
.mobile-nav-overlay.active { display: block; }

/*--------------------------------------------------------------
# HERO
--------------------------------------------------------------*/
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  overflow: hidden; background: var(--gradient-dark);
}
.hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,35,64,0.72) 0%, rgba(55,64,150,0.60) 60%, rgba(73,167,220,0.40) 100%);
}
.hero .hero-content { position: relative; z-index: 2; }
.hero .hero-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--blue-light); display: block; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.hero h1 span { color: var(--blue-light); }
.hero .hero-tagline { font-size: 1.05rem; color: rgba(255,255,255,0.78); margin-bottom: 40px; font-style: italic; font-weight: 300; letter-spacing: 0.5px; }
.hero .hero-desc { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 560px; margin-bottom: 42px; line-height: 1.8; }
.hero .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero .hero-stats {
  display: flex; gap: 40px; margin-top: 60px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15); flex-wrap: wrap;
}
.hero .hero-stat-item .number { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; display: block; }
.hero .hero-stat-item .label { font-size: 0.75rem; color: var(--blue-light); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; display: block; }

.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.45); font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

@media (max-width: 768px) { .hero { min-height: 100vh; padding: 100px 0 80px; } .hero .hero-stats { gap: 24px; } }

/*--------------------------------------------------------------
# ABOUT HOME
--------------------------------------------------------------*/
.about-home { padding: 100px 0; background: #fff; }
.about-home .about-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-accent); display: block; margin-bottom: 12px; }
.about-home h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--text-dark); margin-bottom: 20px; }
.about-home .mission-statement { font-size: 1.05rem; font-weight: 600; color: var(--blue-primary); border-left: 4px solid var(--blue-light); padding-left: 20px; margin-bottom: 28px; line-height: 1.6; }
.about-home p { color: var(--text-body); margin-bottom: 18px; line-height: 1.8; }
.about-home .highlight-text { font-size: 1rem; font-weight: 600; color: var(--gold-accent); font-style: italic; }
.about-home .about-image-wrap { position: relative; }
.about-home .about-image-wrap img { border-radius: 8px; box-shadow: 0 20px 60px rgba(26,35,64,0.14); width: 100%; height: 480px; object-fit: cover; }
.about-home .about-badge { position: absolute; bottom: -20px; left: 40px; background: var(--blue-primary); color: #fff; padding: 20px 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(55,64,150,0.3); text-align: center; }
.about-home .about-badge .number { font-size: 2.5rem; font-weight: 800; display: block; line-height: 1; }
.about-home .about-badge .text { font-size: 0.75rem; opacity: 0.9; margin-top: 4px; display: block; }
.about-home .expertise-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-home .expertise-tag { background: rgba(55,64,150,0.08); color: var(--blue-primary); padding: 6px 16px; border-radius: 30px; font-size: 0.82rem; font-weight: 600; border: 1px solid rgba(55,64,150,0.15); }

/*--------------------------------------------------------------
# STATS
--------------------------------------------------------------*/
.stats-section { background: var(--gradient-blue); padding: 70px 0; }
.stats-section .stat-item { text-align: center; padding: 20px; }
.stats-section .stat-number { font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; }
.stats-section .stat-suffix { font-size: 2rem; font-weight: 800; color: var(--blue-light); }
.stats-section .stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 8px; display: block; }
.stats-section .stat-sep { border-left: 1px solid rgba(255,255,255,0.2); }
@media (max-width: 768px) { .stats-section .stat-sep { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); } }

/*--------------------------------------------------------------
# EXPERTISES
--------------------------------------------------------------*/
.expertises-section { padding: 100px 0; background: var(--bg-warm); }
.expertise-card {
  background: #fff; border-radius: 8px; padding: 36px 28px; height: 100%;
  border: 1px solid var(--border-light); transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.expertise-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: var(--gradient-blue); transition: height 0.35s ease; border-radius: 4px 0 0 4px; }
.expertise-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(26,35,64,0.12); border-color: transparent; }
.expertise-card:hover::before { height: 100%; }
.expertise-card .card-icon { width: 60px; height: 60px; background: rgba(55,64,150,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; font-size: 1.5rem; color: var(--blue-primary); transition: all 0.3s ease; }
.expertise-card:hover .card-icon { background: var(--gradient-blue); color: #fff; }
.expertise-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.expertise-card p { color: var(--text-body); font-size: 0.875rem; line-height: 1.7; margin: 0; }
.expertise-card .card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-primary); font-size: 0.82rem; font-weight: 600; margin-top: 18px; transition: gap 0.2s; }
.expertise-card .card-link:hover { gap: 10px; color: var(--blue-light); }

/*--------------------------------------------------------------
# SECTEURS
--------------------------------------------------------------*/
.secteurs-section { padding: 100px 0; background: #fff; }
.secteur-card { position: relative; border-radius: 8px; overflow: hidden; height: 270px; cursor: default; }
.secteur-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.secteur-card:hover .secteur-bg { transform: scale(1.05); }
.secteur-overlay { position: absolute; inset: 0; transition: opacity 0.3s; }
.secteur-card:hover .secteur-overlay { opacity: 0.88; }
.secteur-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.secteur-icon { width: 46px; height: 46px; background: rgba(255,255,255,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--blue-light); margin-bottom: 14px; backdrop-filter: blur(4px); }
.secteur-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.secteur-card p { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin: 0; line-height: 1.5; }

.bg-secteur-finance    { background: linear-gradient(135deg, #1a2340, #374096); }
.bg-secteur-public     { background: linear-gradient(135deg, #0d2137, #374096); }
.bg-secteur-bailleurs  { background: linear-gradient(135deg, #1a3a5c, #49a7dc); }
.bg-secteur-entreprise { background: linear-gradient(135deg, #0d1a36, #2a4896); }

/*--------------------------------------------------------------
# RÉFÉRENCES
--------------------------------------------------------------*/
.references-section { padding: 80px 0; background: var(--bg-warm); }

/* Carousel Swiper logos clients */
.clients-swiper { padding: 10px 0 20px; }
.clients-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; }
.client-logo-wrap { background: #fff; border-radius: 8px; padding: 22px 16px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-light); transition: all 0.3s ease; min-height: 85px; width: 100%; }
.client-logo-wrap:hover { box-shadow: 0 8px 30px rgba(26,35,64,0.09); border-color: var(--blue-light); transform: translateY(-3px); }
.client-logo-wrap img { max-height: 48px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(100%); opacity: 0.65; transition: all 0.3s ease; }
.client-logo-wrap:hover img { filter: grayscale(0%); opacity: 1; }
.clients .swiper-slide img { max-height: 52px; width: auto; filter: grayscale(80%); opacity: 0.65; transition: all 0.3s; }
.clients .swiper-slide:hover img { filter: grayscale(0%); opacity: 1; }

/*--------------------------------------------------------------
# TEAM
--------------------------------------------------------------*/
.team-section { padding: 100px 0; background: var(--bg-warm); }
.team-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(26,35,64,0.07); transition: all 0.3s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(26,35,64,0.14); }
.team-card .team-photo { position: relative; overflow: hidden; height: 320px; }
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card .team-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: var(--gradient-blue); padding: 12px 20px; display: flex; gap: 16px; justify-content: center; transform: translateY(100%); transition: transform 0.3s ease; }
.team-card:hover .team-overlay { transform: translateY(0); }
.team-card .team-overlay a { color: rgba(255,255,255,0.8); font-size: 1.1rem; transition: color 0.2s; }
.team-card .team-overlay a:hover { color: #fff; }
.team-card .team-info { padding: 24px; border-top: 3px solid var(--blue-primary); }
.team-card .team-info h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
.team-card .team-info .role { font-size: 0.78rem; color: var(--blue-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; display: block; }
.team-card .team-info p { font-size: 0.875rem; color: var(--text-body); line-height: 1.6; margin: 0; }

/*--------------------------------------------------------------
# CTA BANNER
--------------------------------------------------------------*/
.cta-banner { padding: 100px 0; background: var(--gradient-dark); position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(73,167,220,0.14) 0%, transparent 70%); border-radius: 50%; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: #fff; margin-bottom: 16px; }
.cta-banner p { font-size: 1rem; color: rgba(255,255,255,0.78); line-height: 1.7; }
.cta-banner .cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/*--------------------------------------------------------------
# CONTACT
--------------------------------------------------------------*/
.contact-section { padding: 100px 0; background: #fff; }
.contact-info-card { background: var(--bg-warm); border-radius: 8px; padding: 36px 28px; height: 100%; border: 1px solid var(--border-light); }
.contact-info-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.contact-info-card .subtitle { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-item .ci-icon { width: 42px; height: 42px; background: var(--gradient-blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.95rem; flex-shrink: 0; }
.contact-item .ci-text h4 { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item .ci-text p, .contact-item .ci-text a { font-size: 0.9rem; color: var(--text-body); margin: 0; }
.contact-item .ci-text a:hover { color: var(--blue-primary); }
.contact-social { display: flex; gap: 10px; margin-top: 28px; }
.contact-social a { width: 40px; height: 40px; background: rgba(55,64,150,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--blue-primary); font-size: 1rem; transition: all 0.3s; }
.contact-social a:hover { background: var(--gradient-blue); color: #fff; transform: translateY(-3px); }

.contact-form-wrap { background: var(--bg-warm); border-radius: 8px; padding: 36px 28px; border: 1px solid var(--border-light); }
.contact-form-wrap h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; }
.contact-form-wrap .form-control { border: 1.5px solid var(--border-light); border-radius: 6px; padding: 12px 16px; font-size: 0.9rem; transition: border-color 0.2s; background: #fff; }
.contact-form-wrap .form-control:focus { border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(55,64,150,0.1); outline: none; }
.contact-form-wrap textarea.form-control { resize: vertical; min-height: 140px; }
.cv-upload-label {
  display: flex; align-items: center; gap: 10px;
  border: 2px dashed var(--border-light); border-radius: 6px;
  padding: 14px 18px; cursor: pointer; width: 100%;
  font-size: 0.875rem; font-weight: 600; color: var(--blue-primary);
  background: var(--bg-warm); transition: all 0.25s ease;
}
.cv-upload-label:hover { border-color: var(--blue-primary); background: rgba(55,64,150,0.04); }
.cv-upload-label i { font-size: 1.1rem; flex-shrink: 0; }
.cv-upload-label.has-file { border-color: var(--blue-primary); background: rgba(55,64,150,0.06); color: var(--text-dark); }

.contact-form-wrap .btn-submit { width: 100%; padding: 14px; background: var(--blue-primary); color: #fff; border: none; border-radius: 6px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s; }
.contact-form-wrap .btn-submit:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(55,64,150,0.35); }

.php-email-form .error-message { background: rgba(220,53,69,0.1); border: 1px solid rgba(220,53,69,0.3); color: #dc3545; padding: 10px 14px; border-radius: 6px; margin-bottom: 12px; font-size: 0.875rem; display: none; }
.php-email-form .sent-message { background: rgba(25,135,84,0.1); border: 1px solid rgba(25,135,84,0.3); color: #198754; padding: 10px 14px; border-radius: 6px; margin-bottom: 12px; font-size: 0.875rem; text-align: center; display: none; }
.php-email-form .loading { text-align: center; padding: 10px; color: var(--blue-primary); font-size: 0.875rem; display: none; }

/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/
.footer { background: #0e1529; color: rgba(255,255,255,0.72); padding: 80px 0 0; }
.footer .footer-logo img { height: 46px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer .footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.58); line-height: 1.7; margin-bottom: 24px; }
.footer h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #fff; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,0.58); font-size: 0.875rem; transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.footer ul li a:hover { color: var(--blue-light); padding-left: 4px; }
.footer ul li a i { font-size: 0.6rem; color: var(--blue-light); }
.footer .footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.875rem; }
.footer .footer-contact-item i { color: var(--blue-light); margin-top: 2px; flex-shrink: 0; }
.footer .footer-contact-item a { color: rgba(255,255,255,0.62); font-size: 0.875rem; }
.footer .footer-contact-item a:hover { color: var(--blue-light); }
.footer .footer-contact-item p { color: rgba(255,255,255,0.62); margin: 0; }
.footer .social-links { display: flex; gap: 10px; margin-top: 24px; }
.footer .social-links a { width: 38px; height: 38px; background: rgba(255,255,255,0.06); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.62); font-size: 1rem; transition: all 0.3s; border: 1px solid rgba(255,255,255,0.08); }
.footer .social-links a:hover { background: var(--blue-primary); color: #fff; transform: translateY(-3px); }
.footer .footer-bottom { background: rgba(0,0,0,0.2); margin-top: 60px; padding: 20px 0; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.38); border-top: 1px solid rgba(255,255,255,0.06); }
.footer .footer-bottom a { color: var(--blue-light); }
.footer-toggle-icon { transition: transform 0.3s ease; font-size: 0.75rem; opacity: 0.6; }

/* Footer mobile */
@media (max-width: 767px) {
  .footer { padding: 48px 0 0; }
  .footer .row { --bs-gutter-y: 0 !important; }
  .footer .footer-logo { text-align: center; }
  .footer .footer-logo img { height: 38px; }
  .footer .footer-desc { text-align: center; font-size: 0.82rem; }
  .footer .social-links { justify-content: center; margin-top: 16px; margin-bottom: 8px; }
  .footer-section-toggle h4 { margin-bottom: 0; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); cursor: pointer; }
  .footer-collapsible { padding-bottom: 4px; }
  .footer-collapsible ul, .footer ul { margin-top: 12px; }
  .footer ul li { margin-bottom: 8px; }
  .footer-contact-item { margin-top: 12px; }
  .footer .footer-bottom { margin-top: 32px; padding: 16px 0; font-size: 0.72rem; line-height: 1.6; }
  .footer .btn-primary-catalys { width: 100%; justify-content: center; }
  .col-12 + .col-12 { border-top: 1px solid rgba(255,255,255,0.05); }
}

/*--------------------------------------------------------------
# PAGE HERO (pages intérieures)
--------------------------------------------------------------*/
.page-hero { background: var(--gradient-dark); padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--gradient-blue); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; flex-wrap: wrap; }
.breadcrumb-nav a { color: rgba(255,255,255,0.62); }
.breadcrumb-nav a:hover { color: var(--blue-light); }
.breadcrumb-nav .separator { color: rgba(255,255,255,0.28); font-size: 0.65rem; }
.breadcrumb-nav .current { color: var(--blue-light); font-weight: 600; }

/*--------------------------------------------------------------
# RÉALISATIONS
--------------------------------------------------------------*/
.realisation-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-light); transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; }
.realisation-card:hover { box-shadow: 0 16px 50px rgba(26,35,64,0.11); transform: translateY(-4px); border-color: var(--blue-light); }
.realisation-card .real-header { background: var(--bg-warm); border-bottom: 1px solid var(--border-light); padding: 28px 24px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 120px; justify-content: center; }
.realisation-card .real-header .client-logo { max-height: 52px; max-width: 140px; width: auto; object-fit: contain; filter: grayscale(40%); opacity: 0.85; transition: all 0.3s ease; }
.realisation-card:hover .real-header .client-logo { filter: grayscale(0%); opacity: 1; }
.realisation-card .real-header .sector-tag { font-size: 0.70rem; background: var(--blue-primary); color: #fff; padding: 3px 12px; border-radius: 20px; display: inline-block; font-weight: 600; letter-spacing: 0.3px; }
.realisation-card .real-body { padding: 22px 24px; flex: 1; }
.realisation-card .real-body h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.realisation-card .real-body p { font-size: 0.875rem; color: var(--text-body); line-height: 1.7; margin: 0; }
.realisation-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.realisation-card .tag { background: rgba(55,64,150,0.07); color: var(--blue-primary); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }

/*--------------------------------------------------------------
# CARRIÈRES
--------------------------------------------------------------*/
.career-value-card { text-align: center; padding: 36px 24px; border-radius: 8px; background: #fff; border: 1px solid var(--border-light); transition: all 0.3s ease; }
.career-value-card:hover { border-color: var(--blue-light); box-shadow: 0 12px 40px rgba(55,64,150,0.09); transform: translateY(-4px); }
.career-value-card .cv-icon { width: 68px; height: 68px; background: rgba(55,64,150,0.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; color: var(--blue-primary); transition: all 0.3s; }
.career-value-card:hover .cv-icon { background: var(--gradient-blue); color: #fff; }
.career-value-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.career-value-card p { font-size: 0.875rem; color: var(--text-body); line-height: 1.6; }

/*--------------------------------------------------------------
# VISION / MISSION CARDS
--------------------------------------------------------------*/
.vision-mission-card { border-radius: 8px; padding: 40px; height: 100%; }
.vision-card { background: var(--gradient-blue); }
.mission-card { background: var(--bg-warm); border: 1px solid var(--border-light); }
.vision-mission-card .vm-icon { font-size: 2.5rem; margin-bottom: 20px; }
.vision-card .vm-icon { color: var(--blue-light); }
.mission-card .vm-icon { color: var(--blue-primary); }
.vision-mission-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.vision-card h3 { color: #fff; }
.vision-mission-card p { line-height: 1.7; font-size: 0.95rem; }
.vision-card p { color: rgba(255,255,255,0.85); }
.mission-card p { color: var(--text-body); }

/*--------------------------------------------------------------
# Divers
--------------------------------------------------------------*/
.divider-line { width: 50px; height: 3px; background: var(--gradient-blue); border-radius: 2px; margin: 16px 0; }
.divider-line.centered { margin: 16px auto; }
.text-gold { color: var(--gold-accent) !important; }
.text-blue-primary { color: var(--blue-primary) !important; }
.text-blue-light { color: var(--blue-light) !important; }

@media (max-width: 576px) { section { padding: 60px 0; } .section-title { margin-bottom: 40px; } .section-title h2 { font-size: 1.7rem; } }

/*--------------------------------------------------------------
# FAQ FLOTTANT
--------------------------------------------------------------*/
#faq-widget {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 1050;
}

#faq-toggle {
  width: 56px; height: 56px;
  background: var(--blue-primary);
  color: #fff; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; cursor: pointer;
  box-shadow: 0 6px 24px rgba(55,64,150,0.40);
  transition: all 0.3s ease;
  flex-direction: column; gap: 2px;
}
#faq-toggle:hover { background: var(--blue-light); transform: scale(1.08); }
#faq-icon-open,
#faq-icon-close { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.faq-btn-label { font-size: 0.55rem; font-weight: 700; letter-spacing: 1px; line-height: 1; margin-top: 2px; }

#faq-panel {
  position: absolute;
  bottom: 68px; right: 0;
  width: 360px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(26,35,64,0.18);
  border: 1px solid var(--border-light);
  display: flex; flex-direction: column;
  max-height: 520px;
  opacity: 0; visibility: hidden;
  transform: translateY(16px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
#faq-panel.open {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}

.faq-panel-header {
  background: var(--blue-primary);
  border-radius: 14px 14px 0 0;
  padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.faq-header-logo { flex-shrink: 0; }
.faq-header-logo img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.faq-panel-header h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin: 0 0 3px; }
.faq-panel-header p { color: rgba(255,255,255,0.72); font-size: 0.72rem; margin: 0; line-height: 1.3; }

.faq-panel-body {
  flex: 1; overflow-y: auto; padding: 8px 0;
  scrollbar-width: thin; scrollbar-color: var(--border-light) transparent;
}

.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 20px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-dark);
  text-align: left; transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-warm); }
.faq-question[aria-expanded="true"] { color: var(--blue-primary); }

.faq-chevron {
  font-size: 0.75rem; color: var(--text-muted); flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue-primary);
}

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 20px 14px;
  font-size: 0.82rem; color: var(--text-body); line-height: 1.7; margin: 0;
}
.faq-answer a { color: var(--blue-primary); font-weight: 600; }
.faq-answer a:hover { color: var(--blue-light); }

.faq-panel-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-warm);
  border-radius: 0 0 14px 14px;
}
.faq-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue-primary); color: #fff;
  padding: 11px 20px; border-radius: 6px;
  font-size: 0.85rem; font-weight: 700;
  text-decoration: none; transition: background 0.3s;
}
.faq-cta-btn:hover { background: var(--blue-light); color: #fff; }

@media (max-width: 480px) {
  #faq-panel { width: calc(100vw - 32px); right: 0; }
  #faq-widget { right: 16px; bottom: 70px; }
}

/*--------------------------------------------------------------
# COOKIES
--------------------------------------------------------------*/
#cookie-banner {
  position: fixed; bottom: 24px; left: 24px;
  max-width: 460px; width: calc(100% - 48px);
  background: #fff; border-radius: 12px;
  box-shadow: 0 12px 48px rgba(26,35,64,0.18);
  border: 1px solid var(--border-light);
  z-index: 10000; padding: 20px 22px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-inner { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.cookie-icon { width: 36px; height: 36px; background: rgba(55,64,150,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--blue-primary); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-title { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); margin: 0 0 4px; }
.cookie-desc { font-size: 0.78rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.cookie-link { background: none; border: none; color: var(--blue-primary); font-size: 0.78rem; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; }
.cookie-link:hover { color: var(--blue-light); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; margin-top: 12px; }
.cookie-btn { padding: 8px 16px; border-radius: 6px; font-size: 0.78rem; font-weight: 700; cursor: pointer; border: none; transition: all 0.2s ease; white-space: nowrap; }
.cookie-btn-accept { background: var(--blue-primary); color: #fff; }
.cookie-btn-accept:hover { background: var(--blue-light); }
.cookie-btn-outline { background: transparent; color: var(--text-dark); border: 1px solid var(--border-light); }
.cookie-btn-outline:hover { border-color: var(--blue-primary); color: var(--blue-primary); }
.cookie-btn-customize { background: var(--bg-warm); color: var(--blue-primary); border: 1px solid rgba(55,64,150,0.15); }
.cookie-btn-customize:hover { background: rgba(55,64,150,0.08); }

/* Modal personnalisation */
#cookie-modal {
  position: fixed; inset: 0; z-index: 10001;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.cookie-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.cookie-modal-box {
  position: relative; background: #fff; border-radius: 14px;
  width: 100%; max-width: 500px; max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(26,35,64,0.22);
  overflow: hidden;
}
.cookie-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border-light);
  background: var(--blue-primary);
}
.cookie-modal-header h4 { color: #fff; font-size: 1rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 10px; }
.cookie-modal-close { background: rgba(255,255,255,0.15); border: none; color: #fff; width: 32px; height: 32px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: background 0.2s; }
.cookie-modal-close:hover { background: rgba(255,255,255,0.25); }
.cookie-modal-body { flex: 1; overflow-y: auto; padding: 24px; }
.cookie-category { border: 1px solid var(--border-light); border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.cookie-category-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-cat-name { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.cookie-cat-desc { display: block; font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }

/* Toggle switch */
.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-slider { position: absolute; inset: 0; background: var(--border-light); border-radius: 24px; cursor: pointer; transition: background 0.25s; }
.cookie-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.25s; box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.cookie-toggle input:checked + .cookie-slider { background: var(--blue-primary); }
.cookie-toggle input:checked + .cookie-slider::before { transform: translateX(20px); }
.cookie-toggle-disabled .cookie-slider { background: var(--blue-light); cursor: not-allowed; opacity: 0.7; }
.cookie-toggle-disabled input:checked + .cookie-slider { background: var(--blue-light); }

.cookie-modal-footer {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 16px 24px; border-top: 1px solid var(--border-light);
  background: var(--bg-warm);
}

@media (max-width: 480px) {
  #cookie-banner { bottom: 0; left: 0; width: 100%; max-width: 100%; border-radius: 12px 12px 0 0; border-bottom: none; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; text-align: center; }
  .cookie-modal-footer { flex-direction: column; }
  .cookie-modal-footer .cookie-btn { width: 100%; text-align: center; }
}
