/* ============================================================
   SOCATAM — Style principal
   Inspiré du site groupe TSG Solutions
   ============================================================ */

/* ---- Variables ---- */
:root {
  --primary:   #003580;
  --primary-dark: #002260;
  --accent:    #E8500A;
  --accent-hover: #c94008;
  --green:     #00A651;
  --light:     #F4F7FB;
  --gray:      #6C757D;
  --dark:      #1A1A2E;
  --white:     #FFFFFF;
  --border:    #DEE2E6;
  --shadow:    0 4px 24px rgba(0,53,128,.12);
  --radius:    8px;
  --transition: .3s ease;
  --font:      'Inter', 'Segoe UI', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
/* ============================================================
   BLOG — Listing & Article (charte SOCATAM, pattern WEBEBP)
   ============================================================ */

/* ── Nav partagée (ws-common.js) ─── */
.ws-nav-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.ws-nav-link:hover { background: rgba(0,53,128,.07); color: #003580; }
.ws-nav-active { color: #003580 !important; background: rgba(0,53,128,.07); }
.ws-nav-cta {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  background: #E8500A;
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}
.ws-nav-cta:hover { background: #c94008; }

/* ── Blog listing ─── */
.ws-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: rgba(0,53,128,0.04);
  border: 1px solid rgba(0,53,128,0.06);
  border-radius: 9999px;
  color: var(--dark);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.ws-search-input::placeholder { color: var(--gray); }
.ws-search-input:focus { border-color: rgba(0,53,128,0.2); background: rgba(0,53,128,0.03); }

.ws-filter-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0,53,128,0.06);
  background: rgba(0,53,128,0.03);
  color: var(--gray);
  cursor: pointer;
  transition: all 0.18s;
  margin-right: 0.375rem;
}
.ws-filter-btn:hover,
.ws-filter-btn.active {
  background: linear-gradient(90deg, rgba(0,83,160,0.08), rgba(232,80,10,0.03));
  border-color: rgba(0,53,128,0.12);
  color: var(--primary);
}

.ws-articles-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.25rem; }
.ws-article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ws-article-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,53,128,0.12); }
.ws-article-card h3 { color: var(--primary); font-size:1.05rem; margin-bottom:0.35rem; }
.ws-article-card p { color: var(--gray); font-size:0.95rem; margin-bottom:0.6rem; }
.ws-article-meta { color: #6b7280; font-size:0.9rem; }

/* ── État vide ─── */
.ws-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--gray);
  grid-column: 1 / -1;
}
.ws-empty i { font-size: 2.5rem; margin-bottom: 1rem; display: block; color: var(--border); }
.ws-empty p { font-size: 1rem; margin-bottom: 0.75rem; }
.ws-reset-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  padding: 0;
}

/* ── Page article ─── */
.ws-article-hero {
  background: linear-gradient(135deg, #F4F7FB 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.5rem 3.5rem;
}
.ws-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  margin-bottom: 1.75rem;
}
.ws-back-link:hover { color: var(--primary); }
.ws-category-badge {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  background: rgba(232,80,10,0.1);
  border: 1px solid rgba(232,80,10,0.25);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.ws-article-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0.75rem 0 1.25rem;
  color: var(--dark);
}
.ws-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--gray);
  font-size: 0.875rem;
}
.ws-content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,53,128,.08);
  margin-bottom: 3rem;
}
.ws-hero-img {
  width: 100%;
  display: block;
  max-height: 28rem;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

/* ── Corps article ─── */
.ws-article-body { padding: 2rem 2.5rem; }
.ws-article-body h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1.25rem; color: var(--primary); }
.ws-article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.875rem; color: var(--accent); }
.ws-article-body p  { margin-bottom: 1.5rem; line-height: 1.75; color: #374151; }
.ws-article-body ul,
.ws-article-body ol { margin-bottom: 1.5rem; padding-left: 1.75rem; color: #4B5563; line-height: 1.7; }
.ws-article-body ul  { list-style-type: disc; }
.ws-article-body ol  { list-style-type: decimal; }
.ws-article-body li  { margin-bottom: 0.5rem; }
.ws-article-body strong { color: var(--dark); }
.ws-article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(0,53,128,.04);
  border-radius: 0 0.5rem 0.5rem 0;
  color: #4B5563;
  font-style: italic;
}
.ws-article-body img {
  margin: 2rem auto;
  border-radius: 0.75rem;
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
}
.ws-article-body a       { color: var(--primary); }
.ws-article-body a:hover { color: var(--accent); }
.ws-article-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,53,128,.2), transparent);
  margin: 2.5rem 0;
}
.ws-article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9rem; }
.ws-article-body th { background: rgba(0,53,128,.07); color: var(--primary); font-weight: 700; padding: 0.75rem 1rem; text-align: left; border-bottom: 2px solid rgba(0,53,128,.15); }
.ws-article-body td { padding: 0.625rem 1rem; border-bottom: 1px solid var(--border); color: #4B5563; }
.ws-article-body code {
  background: rgba(0,53,128,.06);
  color: var(--primary);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}
.ws-article-body pre {
  background: #1a1a2e;
  border-radius: 0.75rem;
  padding: 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.ws-article-body pre code { background: none; color: #e2e8f0; padding: 0; font-size: 0.875rem; }

/* ── Tags ─── */
.ws-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.ws-tag {
  padding: 0.25rem 0.875rem;
  background: rgba(232,80,10,0.07);
  border: 1px solid rgba(232,80,10,0.2);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── Responsive article ─── */
@media (max-width: 640px) {
  .ws-article-body { padding: 1.25rem; }
  .ws-article-hero { padding: 4.5rem 1rem 2.5rem; }
}

/* responsive listing */
@media (max-width:800px){ .ws-articles-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));} }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.header-top {
  background: var(--primary-dark);
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255,255,255,.8);
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.header-top a { color: rgba(255,255,255,.8); transition: var(--transition); }
.header-top a:hover { color: var(--white); }
.ht-contact { display: flex; gap: 24px; }
.ht-contact span { display: flex; align-items: center; gap: 6px; }
.header-main {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  padding: 0;
}
#header.scrolled .header-main { box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 900;
}
.logo span.accent { color: var(--accent); }

nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(0,53,128,.07); }
.nav-link .chevron {
  font-size: 10px;
  transition: transform var(--transition);
}
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition);
  border-top: 3px solid var(--primary);
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--dark);
  border-radius: 6px;
  transition: var(--transition);
}
.dropdown a:hover { background: var(--light); color: var(--primary); }
.dropdown a .dd-icon { font-size: 18px; width: 24px; text-align: center; }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a5276 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(232,80,10,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,166,81,.1) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  background: white;
}
.hero-shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.hero-shape-2 { width: 250px; height: 250px; bottom: 50px; left: -80px; }
.hero-shape-3 { width: 150px; height: 150px; top: 40%; right: 20%; opacity: .05; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,80,10,.2);
  border: 1px solid rgba(232,80,10,.4);
  color: #FFB085;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: .5px;
}
.hero-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title .highlight {
  color: var(--accent);
  position: relative;
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,80,10,.4); }
.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: white; transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat { text-align: center; }
.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 460px;
}
.hero-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.hero-card:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.2);
}
.hero-card-icon { font-size: 36px; margin-bottom: 10px; }
.hero-card-title { font-size: 13px; font-weight: 700; color: white; line-height: 1.3; }
.hero-card:nth-child(1) { grid-column: 1; }
.hero-card:nth-child(4) { background: rgba(232,80,10,.25); border-color: rgba(232,80,10,.4); }

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
section { padding: 88px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: rgba(0,53,128,.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ============================================================
   EXPERTISE (chiffres clés)
   ============================================================ */
#expertise {
  background: var(--light);
  padding: 64px 0;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.expertise-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-bottom: 4px solid transparent;
}
.expertise-card:hover {
  transform: translateY(-6px);
  border-bottom-color: var(--primary);
  box-shadow: 0 12px 32px rgba(0,53,128,.15);
}
.exp-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.exp-number {
  font-size: 44px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.exp-label {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}

/* ============================================================
   ACTIVITÉS
   ============================================================ */
#activites { background: white; }
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.activity-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  background: white;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,53,128,.18);
  border-color: var(--primary);
}
.activity-header {
  padding: 32px 28px 24px;
  position: relative;
  overflow: hidden;
}
.activity-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .06;
  background: var(--bg-color);
}
.activity-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin-bottom: 16px;
  position: relative;
}
.activity-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  position: relative;
}
.activity-tagline {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
  position: relative;
}
.activity-body { padding: 0 28px 28px; flex: 1; display: flex; flex-direction: column; }
.activity-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.activity-features { margin-bottom: 24px; }
.activity-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--dark);
  padding: 4px 0;
}
.activity-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.activity-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}
.activity-link:hover { color: var(--accent); gap: 10px; }

/* Couleurs par activité */
.act-fuel   { --bg-color: var(--primary); }
.act-fuel .activity-icon-wrap   { background: rgba(0,53,128,.12); }
.act-maint  { --bg-color: var(--accent); }
.act-maint .activity-icon-wrap  { background: rgba(232,80,10,.12); }
.act-reglm  { --bg-color: #6f42c1; }
.act-reglm .activity-icon-wrap  { background: rgba(111,66,193,.12); }
.act-energy { --bg-color: var(--green); }
.act-energy .activity-icon-wrap { background: rgba(0,166,81,.12); }
.act-fleet  { --bg-color: #0d6efd; }
.act-fleet .activity-icon-wrap  { background: rgba(13,110,253,.12); }
.act-fire   { --bg-color: #dc3545; }
.act-fire .activity-icon-wrap   { background: rgba(220,53,69,.12); }

/* ============================================================
   SOLUTIONS / APPROCHE
   ============================================================ */
#solutions {
  background: var(--light);
}
.solutions-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.solutions-visual {
  position: relative;
}
.solutions-main-card {
  background: var(--primary);
  border-radius: 20px;
  padding: 40px 36px;
  color: white;
  box-shadow: 0 20px 48px rgba(0,53,128,.3);
}
.solutions-main-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.solutions-main-card p { font-size: 15px; opacity: .85; line-height: 1.7; margin-bottom: 24px; }
.solutions-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 13px;
  margin: 4px 4px 4px 0;
}
.solutions-floating {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}
.solutions-floating .sf-icon { font-size: 32px; }
.solutions-floating .sf-text { font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.4; }
.solutions-floating .sf-sub { font-size: 12px; color: var(--green); font-weight: 600; }

.solutions-content {}
.solutions-intro {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
}
.process-steps { display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: all var(--transition);
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.step:nth-child(2) { border-left-color: var(--accent); }
.step:nth-child(3) { border-left-color: var(--green); }
.step:nth-child(4) { border-left-color: #6f42c1; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.step:nth-child(2) .step-num { background: var(--accent); }
.step:nth-child(3) .step-num { background: var(--green); }
.step:nth-child(4) .step-num { background: #6f42c1; }
.step-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step-content p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ============================================================
   PARTENAIRES
   ============================================================ */
#partenaires {
  background: white;
  padding: 72px 0;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.partner-card {
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.partner-card:hover {
  border-color: var(--primary);
  background: rgba(0,53,128,.04);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.partner-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.partner-icon { font-size: 36px; }
.partner-desc { font-size: 12px; color: var(--gray); line-height: 1.5; }
.partner-domain {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}

/* ============================================================
   À PROPOS
   ============================================================ */
#about {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-tag {
  display: inline-block;
  background: rgba(232,80,10,.25);
  border: 1px solid rgba(232,80,10,.4);
  color: #FFB085;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.about-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-text {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-values { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.value-content h4 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 4px; }
.value-content p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; }

.about-visual { position: relative; }
.about-cards-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-info-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 24px 20px;
  transition: all var(--transition);
}
.about-info-card:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-4px);
}
.aic-icon { font-size: 32px; margin-bottom: 10px; }
.aic-title { font-size: 15px; font-weight: 700; color: white; margin-bottom: 6px; }
.aic-desc { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; }
.about-info-card.highlight {
  background: rgba(232,80,10,.2);
  border-color: rgba(232,80,10,.4);
  grid-column: span 2;
}
.about-info-card.highlight .aic-title { color: #FFB085; }

/* ============================================================
   ACTUALITÉS
   ============================================================ */
#actualites { background: var(--light); }
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.news-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,53,128,.16); }
.news-thumbnail {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}
.news-card:not(.news-featured) .news-thumbnail { height: 160px; font-size: 48px; }
.news-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 50px;
}
.news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.news-title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.news-card:not(.news-featured) .news-title { font-size: 15px; }
.news-excerpt { font-size: 13px; color: var(--gray); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}
.news-read-more:hover { color: var(--accent); gap: 10px; }

/* ============================================================
   CONTACT / CTA BAND
   ============================================================ */
#cta-band {
  background: var(--accent);
  padding: 72px 0;
  overflow: hidden;
  position: relative;
}
#cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}
.cta-text h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}
.cta-text p { font-size: 16px; color: rgba(255,255,255,.85); max-width: 480px; line-height: 1.6; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.btn-white {
  background: white;
  color: var(--accent);
  border-color: white;
}
.btn-white:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.btn-trans {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.6);
}
.btn-trans:hover { background: rgba(255,255,255,.15); border-color: white; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: white; }
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--gray); line-height: 1.7; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0,53,128,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-item-content h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-item-content a,
.contact-item-content p { font-size: 14px; color: var(--gray); line-height: 1.6; }
.contact-item-content a:hover { color: var(--primary); }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin-top: 4px; }
.hours-grid span { font-size: 13px; color: var(--gray); }

.contact-form-wrap {
  background: var(--light);
  border-radius: 20px;
  padding: 40px;
}
.contact-form-wrap h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.contact-form-wrap > p { font-size: 14px; color: var(--gray); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: span 2; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font);
  color: var(--dark);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,53,128,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  font-size: 15px;
  padding: 14px;
}
.form-submit:hover { background: var(--primary-dark); }
.form-note { font-size: 12px; color: var(--gray); text-align: center; margin-top: 10px; }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--green);
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,166,81,.3);
  transform: translateY(80px);
  opacity: 0;
  transition: all .4s ease;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
}
.footer-main {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand .logo-icon { background: var(--accent); }
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}
.social-btn:hover { background: var(--accent); transform: translateY(-2px); }

.footer-col h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.6); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: white; padding-left: 4px; }
.footer-col ul li a::before { content: '→'; opacity: 0; transition: opacity var(--transition); font-size: 12px; }
.footer-col ul li a:hover::before { opacity: 1; }

.footer-cert {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}
.cert-badge span:first-child { font-size: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }
.footer-bottom-links { display: flex; gap: 24px; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 500;
  box-shadow: 0 4px 16px rgba(0,53,128,.3);
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:first-child { grid-column: span 2; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .header-top { display: none; }
  nav { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: white;
    padding: 20px;
    overflow-y: auto;
    z-index: 999;
    align-items: stretch;
    gap: 0;
  }
  nav.open .nav-item { border-bottom: 1px solid var(--border); }
  nav.open .nav-link { padding: 14px 0; justify-content: space-between; border-radius: 0; }
  nav.open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 1px solid var(--light);
    border-radius: 0;
    padding-left: 16px;
    margin-bottom: 8px;
  }
  .burger { display: flex; }
  .hero-content { grid-template-columns: 1fr; padding: 40px 20px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; }
  .activities-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card:first-child { grid-column: span 1; }
  .cta-layout { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-main { grid-template-columns: 1fr; }
  .about-cards-wrap { grid-template-columns: 1fr; }
  .about-info-card.highlight { grid-column: span 1; }
  .expertise-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 0; }
  .hero-stats .stat-number { font-size: 24px; }
  .contact-form-wrap { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
}

@media (max-width: 480px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.hero-card-grid { animation: fadeInUp .8s ease .3s both; }
.hero-badge { animation: fadeInUp .6s ease both; }
.hero-title { animation: fadeInUp .6s ease .1s both; }
.hero-subtitle { animation: fadeInUp .6s ease .2s both; }
.hero-actions { animation: fadeInUp .6s ease .3s both; }
.hero-stats { animation: fadeInUp .6s ease .4s both; }
.solutions-main-card { animation: float 4s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
