/*
 * Theme Name:  Sine Global Service Child
 * Template:    astra
 * Version:     2.1.0
 * Text Domain: sgs-child
 */

/* ═══════════════════════════════════════════════════
   VARIABLES
═══════════════════════════════════════════════════ */
:root {
  --rouge:      #C8102E;
  --rouge-dk:   #8B0C20;
  --rouge-bg:   rgba(200,16,46,0.08);
  --bleu:       #002868;
  --or:         #D4AF37;
  --or-bg:      rgba(212,175,55,0.12);
  --dark:       #0C0C14;
  --dark2:      #13131F;
  --card:       #1A1A2A;
  --border:     rgba(255,255,255,0.08);
  --white:      #FFFFFF;
  --text:       #D8D8E8;
  --muted:      #7A7A9A;
  --f-title:    'Oswald', sans-serif;
  --f-body:     'Source Sans 3', sans-serif;
  --radius:     5px;
  --shadow:     0 8px 32px rgba(200,16,46,0.18);
  --ease:       0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  --max:        1200px;
  --h-height:   70px;
}

/* ═══════════════════════════════════════════════════
   RESET COMPLET — PRIORITÉ ABSOLUE SUR ASTRA
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body) !important;
  background: var(--dark) !important;
  color: var(--text) !important;
  overflow-x: hidden !important;
  line-height: 1.65;
}

/* Neutralisation Astra — TOUS les fonds blancs */
#page, .site, #content, .site-content,
.ast-article-single, .entry-content,
.post-content, #primary, .content-area,
.ast-container, .ast-separate-container,
.ast-page-builder-template .entry-content,
.astra-page-builder-canvas .entry-content {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
  left: 0 !important;
  right: 0 !important;
}

/* Masquer le header Astra natif entièrement */
#masthead, .ast-primary-header-bar,
.ast-above-header-bar, .ast-below-header-bar,
.main-header-bar, .ast-mobile-header-wrap,
.ast-site-identity, .ast-masthead-custom-menu-items {
  display: none !important;
  height: 0 !important;
}

/* Cache le placeholder Elementor */
.sgs-content-placeholder {
  display: none !important;
  height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

#page { padding-top: var(--h-height) !important; }

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

/* ═══════════════════════════════════════════════════
   TYPOGRAPHIE
═══════════════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--f-title) !important;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
}
p { font-size: 1rem; line-height: 1.75; color: var(--text); }

.sgs-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-title); font-size: .68rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--rouge); margin-bottom: 14px;
}
.sgs-eyebrow::before, .sgs-eyebrow::after {
  content: ''; width: 20px; height: 1px; background: var(--rouge); flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════════════ */
.sgs-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.sgs-section,
.sgs-services,
.sgs-about,
.sgs-contact,
.sgs-stats-section,
.sgs-transfert {
  padding: 64px 0;
  /* Breakout du container Astra */
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}
.sgs-section    { background: var(--dark); }
.sgs-section-alt { background: var(--dark2) !important; }
.sgs-section-header { text-align: center; margin-bottom: 44px; }
.sgs-divider { width: 56px; height: 3px; background: linear-gradient(90deg,var(--rouge),var(--or)); margin: 16px auto 0; }

/* ═══════════════════════════════════════════════════
   BOUTONS
═══════════════════════════════════════════════════ */
.sgs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 30px;
  font-family: var(--f-title) !important; font-size: .85rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--rouge) !important; color: var(--white) !important;
  border: none; cursor: pointer; transition: var(--ease);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
  text-decoration: none; white-space: nowrap;
}
.sgs-btn:hover { background: var(--rouge-dk) !important; transform: translateY(-2px); box-shadow: var(--shadow); color: var(--white) !important; }

.sgs-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 30px;
  font-family: var(--f-title); font-size: .85rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  background: transparent !important; color: var(--white) !important;
  border: 2px solid var(--or) !important; cursor: pointer; transition: var(--ease);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
  text-decoration: none; white-space: nowrap;
}
.sgs-btn-outline:hover { background: var(--or) !important; color: var(--dark) !important; }

/* ═══════════════════════════════════════════════════
   HEADER SGS
═══════════════════════════════════════════════════ */
#sgs-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: var(--h-height);
  background: rgba(12,12,20,0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--rouge);
  transition: box-shadow .3s;
}
#sgs-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.6); }

.sgs-header__wrap {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: var(--h-height);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

/* Logo */
.sgs-header__logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.sgs-header__logo img { max-height: 46px; width: auto; }
.sgs-header__hex {
  width: 40px; height: 40px; background: var(--rouge);
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); flex-shrink: 0;
  transition: var(--ease);
}
.sgs-header__logo:hover .sgs-header__hex { background: var(--rouge-dk); }
.sgs-header__brand { display: flex; flex-direction: column; line-height: 1.1; }
.sgs-header__brand-name { font-family: var(--f-title) !important; font-size: 1.15rem; font-weight: 700; color: var(--white); letter-spacing: .05em; text-transform: uppercase; }
.sgs-header__brand-name em { font-style: normal; color: var(--rouge); }
.sgs-header__brand-sub { font-family: var(--f-title); font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--or); }

/* Nav droite */
.sgs-header__right { display: flex; align-items: center; gap: 4px; }
.sgs-header__nav { display: flex; align-items: center; gap: 2px; }
.sgs-header__nav a { font-family: var(--f-title); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 13px; text-decoration: none; position: relative; transition: color .25s; }
.sgs-header__nav a::after { content: ''; position: absolute; bottom: 0; left: 13px; right: 13px; height: 2px; background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.sgs-header__nav a:hover, .sgs-header__nav a.active { color: var(--white); }
.sgs-header__nav a:hover::after, .sgs-header__nav a.active::after { transform: scaleX(1); }

.sgs-header__actions { display: flex; align-items: center; gap: 12px; margin-left: 12px; padding-left: 16px; border-left: 1px solid var(--border); }
.sgs-header__tel { display: flex; align-items: center; gap: 6px; font-family: var(--f-title); font-size: .8rem; font-weight: 700; color: var(--or); text-decoration: none; letter-spacing: .04em; white-space: nowrap; }
.sgs-header__tel svg { width: 14px; height: 14px; }
.sgs-header__tel:hover { color: var(--white); }
.sgs-header__cta { padding: 8px 18px !important; font-size: .75rem !important; }

/* Burger */
.sgs-header__burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.sgs-header__burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--ease); }
.sgs-header__burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.sgs-header__burger.is-open span:nth-child(2) { opacity: 0; }
.sgs-header__burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Drawer mobile */
.sgs-drawer { position: fixed; top: var(--h-height); right: 0; bottom: 0; width: min(320px,100vw); background: var(--dark2); border-left: 2px solid var(--rouge); z-index: 9998; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); padding: 24px; }
.sgs-drawer.is-open { transform: translateX(0); }
.sgs-drawer__nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sgs-drawer__link { display: block; padding: 14px 16px; font-family: var(--f-title); font-size: 1.05rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-decoration: none; border-left: 3px solid transparent; transition: var(--ease); }
.sgs-drawer__link:hover, .sgs-drawer__link.active { color: var(--white); border-left-color: var(--rouge); background: rgba(200,16,46,.07); }
.sgs-drawer__footer { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.sgs-drawer__tel { display: flex; align-items: center; gap: 10px; font-family: var(--f-title); font-size: 1rem; font-weight: 700; color: var(--or); text-decoration: none; }
.sgs-drawer__tel svg { width: 18px; height: 18px; }

/* Overlay */
.sgs-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 9997; opacity: 0; pointer-events: none; transition: opacity .3s; }
.sgs-overlay.is-visible { opacity: 1; pointer-events: all; }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.sgs-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--dark) !important;
  padding: 100px 0 60px;
  /* Technique breakout : sort du container Astra */
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}

.sgs-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.sgs-hero__content { max-width: 100%; }

/* Titre H1 restructuré */
/* ── HERO : layout 2 colonnes desktop ── */
.sgs-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

/* Scène : conteneur relatif pour positionner les icônes */
.sgs-hero__scene {
  position: relative;
  width: 100%;
  padding: 70px 20px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* Cercles décoratifs de fond */
.sgs-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200,16,46,.12);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  animation: sgs-ring-pulse 4s ease-in-out infinite;
}
.sgs-hero__ring--1 { width: 340px; height: 340px; animation-delay: 0s; }
.sgs-hero__ring--2 { width: 460px; height: 460px; border-color: rgba(212,175,55,.08); animation-delay: 1s; }

@keyframes sgs-ring-pulse {
  0%,100% { opacity: .4; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: .8; transform: translate(-50%,-50%) scale(1.03); }
}

/* Badge EST. FATICK */
.sgs-hero__badge-top {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; width: 100%; justify-content: center;
}
.sgs-hero__badge-line { flex: 1; max-width: 60px; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,.5)); }
.sgs-hero__badge-line:last-child { background: linear-gradient(90deg, rgba(212,175,55,.5), transparent); }
.sgs-hero__badge-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--or); flex-shrink: 0; }
.sgs-hero__badge-text { font-family: var(--f-title); font-size: .58rem; letter-spacing: .3em; color: var(--or); text-transform: uppercase; opacity: .85; white-space: nowrap; }

/* H1 centré */
.sgs-hero__titre { margin: 0; line-height: 1.0; text-align: center; position: relative; z-index: 2; }

.sgs-hero__line1 {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; white-space: nowrap; margin-bottom: 2px;
}
.sgs-hero__word-sine {
  font-family: 'Bebas Neue', 'Oswald', sans-serif !important;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 400; letter-spacing: .14em; color: var(--white);
  text-shadow: 0 0 40px rgba(255,255,255,.1), 0 2px 8px rgba(0,0,0,.5);
}
.sgs-hero__word-global {
  font-family: 'Bebas Neue', 'Oswald', sans-serif !important;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 400; letter-spacing: .14em;
  background: linear-gradient(135deg, #C8102E 0%, #D4AF37 50%, #C8102E 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; background-size: 200% 100%;
  animation: sgs-shimmer 3s linear infinite;
  filter: drop-shadow(0 0 10px rgba(200,16,46,.35));
}
@keyframes sgs-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.sgs-hero__line2 { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.sgs-hero__word-service {
  font-family: 'Bebas Neue', 'Oswald', sans-serif !important;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 400; letter-spacing: .3em; color: var(--white);
  text-shadow: 1px 1px 0 rgba(200,16,46,.25), 0 0 28px rgba(255,255,255,.06);
}
.sgs-hero__underline {
  display: block; width: 80%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--rouge), var(--or), var(--rouge), transparent);
  background-size: 200% 100%; animation: sgs-shimmer 2.5s linear infinite; border-radius: 2px;
}

/* Tagline */
.sgs-hero__tagline {
  display: flex; align-items: center; gap: 9px; margin-top: 18px;
  font-family: var(--f-title); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); position: relative; z-index: 2;
}
.sgs-hero__tagline-sep { color: var(--or); }
.sgs-hero__tagline-icon { color: var(--rouge); display: flex; }
.sgs-hero__tagline-icon:first-child { animation: sgs-pulse 2s ease-in-out infinite; }
.sgs-hero__tagline-icon:last-child  { animation: sgs-pulse 2s ease-in-out infinite .6s; }
@keyframes sgs-pulse { 0%,100%{opacity:.5;transform:scale(1)} 50%{opacity:1;transform:scale(1.25)} }

/* ════ ICÔNES FLOTTANTES ════ */
.sgs-ficon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  z-index: 3;
}

/* Bulle hexagonale */
.sgs-ficon__bubble {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, rgba(200,16,46,.15), rgba(26,26,42,.9));
  border: 1.5px solid rgba(200,16,46,.4);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(200,16,46,.2), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  transition: transform .3s, box-shadow .3s;
}
.sgs-ficon:hover .sgs-ficon__bubble {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(200,16,46,.4), inset 0 1px 0 rgba(255,255,255,.15);
  border-color: var(--or);
}
.sgs-ficon:hover .sgs-ficon__bubble svg { stroke: var(--or); }

/* Label sous l'icône */
.sgs-ficon__label {
  font-family: var(--f-title);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color .3s;
}
.sgs-ficon:hover .sgs-ficon__label { color: var(--or); }

/* ── Positions des 4 icônes ── */

/* 1 — Quincaillerie : haut gauche */
.sgs-ficon--1 {
  top: 0; left: -10px;
  animation: sgs-float-1 4s ease-in-out infinite;
}
/* 2 — Sécurité : haut droite */
.sgs-ficon--2 {
  top: 0; right: -10px;
  animation: sgs-float-2 4.5s ease-in-out infinite .5s;
}
/* 3 — Pièces Motos : bas gauche */
.sgs-ficon--3 {
  bottom: 0; left: -10px;
  animation: sgs-float-3 4.2s ease-in-out infinite 1s;
}
/* 4 — Transfert : bas droite */
.sgs-ficon--4 {
  bottom: 0; right: -10px;
  animation: sgs-float-4 3.8s ease-in-out infinite .3s;
}

/* Animations de flottement indépendantes */
@keyframes sgs-float-1 { 0%,100%{transform:translate(0,0) rotate(-2deg)} 50%{transform:translate(6px,-10px) rotate(2deg)} }
@keyframes sgs-float-2 { 0%,100%{transform:translate(0,0) rotate(2deg)} 50%{transform:translate(-6px,-12px) rotate(-2deg)} }
@keyframes sgs-float-3 { 0%,100%{transform:translate(0,0) rotate(1deg)} 50%{transform:translate(8px,8px) rotate(-3deg)} }
@keyframes sgs-float-4 { 0%,100%{transform:translate(0,0) rotate(-1deg)} 50%{transform:translate(-7px,10px) rotate(3deg)} }

/* Colonne droite */
.sgs-hero__right {
  display: flex; flex-direction: column; justify-content: center; gap: 22px; height: 100%;
}

/* Encadré "Votre Partenaire de Confiance en :" */
.sgs-hero__sub-block {
  padding: 18px 22px;
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--or);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Texte statique — or */
.sgs-hero__sub-static {
  font-family: var(--f-title);
  font-size: clamp(.8rem, 1.4vw, 1rem);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--or);
  line-height: 1.2;
}

/* Ligne animée */
.sgs-hero__dynamic-wrap {
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 1.6rem;
}

/* Mot dynamique — BLANC */
.sgs-hero__dynamic-word {
  font-family: var(--f-title) !important;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,.3);
  padding-bottom: 2px;
  min-width: 4px;
  transition: color .2s, border-color .2s;
}
.sgs-hero__dynamic-word:hover {
  color: var(--or);
  border-color: rgba(212,175,55,.5);
}

/* Curseur — or */
.sgs-hero__dynamic-cursor {
  font-family: var(--f-title);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--or);
  animation: blink .75s step-end infinite;
  line-height: 1;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Desc dans la colonne droite */
.sgs-hero__desc {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* CTA */
.sgs-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.sgs-hero__desc { font-size: 1.05rem; color: var(--muted); max-width: 580px; line-height: 1.85; margin-bottom: 36px; }
.sgs-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; align-items: center; }
.sgs-hero__stats { display: flex; gap: 48px; padding-top: 36px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.sgs-stat__num { font-family: var(--f-title); font-size: 2.6rem; font-weight: 700; color: var(--rouge); line-height: 1; }
.sgs-stat__lbl { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }

/* ═══════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════ */
.sgs-services { padding: 96px 0; background: var(--dark) !important; }
.sgs-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--card);
}

/* 5e carte prend 2 colonnes pour équilibrer */
.sgs-service:nth-child(4),
.sgs-service:nth-child(5) {
  /* Ligne du bas : 2 cartes côte à côte */
}

/* Bouton "En savoir plus" */
.sgs-service__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-family: var(--f-title);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: var(--ease);
  width: fit-content;
}
.sgs-service__more svg {
  width: 14px; height: 14px;
  transition: transform .25s;
  flex-shrink: 0;
}
.sgs-service__more:hover {
  color: var(--or);
  border-color: var(--or);
}
.sgs-service__more:hover svg { transform: translateX(4px); }
.sgs-service { background: var(--dark2); padding: 44px 40px; position: relative; overflow: hidden; transition: background var(--ease); }
.sgs-service::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,var(--rouge),var(--or)); transform: scaleX(0); transform-origin: left; transition: var(--ease); }
.sgs-service:hover { background: var(--card); }
.sgs-service:hover::before { transform: scaleX(1); }
.sgs-service__num { position: absolute; top: 20px; right: 28px; font-family: var(--f-title); font-size: 5rem; font-weight: 700; color: rgba(255,255,255,.025); line-height: 1; }
.sgs-service__icon { width: 60px; height: 60px; background: var(--rouge-bg); border: 1px solid rgba(200,16,46,.28); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); transition: var(--ease); }
.sgs-service__icon svg { width: 26px; height: 26px; color: var(--rouge); transition: var(--ease); }
.sgs-service:hover .sgs-service__icon { background: var(--rouge); border-color: var(--rouge); }
.sgs-service:hover .sgs-service__icon svg { color: var(--white); }
.sgs-service__title { font-size: 1.2rem; color: var(--white); margin-bottom: 10px; }
.sgs-service__desc { font-size: .9rem; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.sgs-service__list { list-style: none; }
.sgs-service__list li { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--text); padding: 4px 0; }
.sgs-service__list li::before { content: ''; width: 6px; height: 6px; background: var(--or); flex-shrink: 0; clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%); }

/* ═══════════════════════════════════════════════════
   À PROPOS
═══════════════════════════════════════════════════ */
.sgs-about { padding: 96px 0; background: var(--dark2) !important; }
.sgs-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sgs-about__card { background: var(--card); padding: 48px; border-left: 4px solid var(--rouge); position: relative; }
.sgs-about__card::after { content: ''; position: absolute; bottom: -20px; right: -20px; width: 90px; height: 90px; background: var(--rouge); opacity: .05; clip-path: polygon(100% 0,100% 100%,0 100%); pointer-events: none; }
.sgs-about__brand { font-family: var(--f-title); font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 6px; }
.sgs-about__brand .accent { color: var(--rouge); }
.sgs-about__tag { font-size: .72rem; letter-spacing: .2em; color: var(--or); text-transform: uppercase; margin-bottom: 16px; }
.sgs-about__p { font-size: .9rem; color: var(--muted); line-height: 1.75; }
.sgs-payment { margin-top: 20px; background: rgba(255,255,255,.02); border: 1px solid var(--border); padding: 20px 24px; }
.sgs-payment__label { font-family: var(--f-title); font-size: .65rem; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.sgs-payment__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.sgs-payment__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; font-family: var(--f-title); font-size: .78rem; font-weight: 700; border: 1px solid; letter-spacing: .04em; }
.sgs-payment__badge--wave   { color: #00BFFF; border-color: rgba(0,191,255,.3);  background: rgba(0,191,255,.05); }
.sgs-payment__badge--orange { color: #FF6B00; border-color: rgba(255,107,0,.3);  background: rgba(255,107,0,.05); }
.sgs-payment__badge--cash   { color: var(--or); border-color: rgba(212,175,55,.3); background: var(--or-bg); }
.sgs-payment__badge--cash2  { color: var(--muted); border-color: var(--border); }
.sgs-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.sgs-feature { display: flex; align-items: flex-start; gap: 12px; }
.sgs-feature__icon { width: 36px; height: 36px; background: var(--or-bg); border: 1px solid rgba(212,175,55,.28); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sgs-feature__icon svg { width: 15px; height: 15px; color: var(--or); }
.sgs-feature__title { font-family: var(--f-title); font-size: .8rem; color: var(--white); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.sgs-feature__desc { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.sgs-about__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.sgs-contact { padding: 96px 0; background: var(--dark) !important; }
.sgs-contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.sgs-ccard { background: var(--card); padding: 22px 26px; display: flex; align-items: flex-start; gap: 16px; border-left: 3px solid var(--rouge); margin-bottom: 12px; transition: var(--ease); }
.sgs-ccard:hover { border-color: var(--or); transform: translateX(4px); }
.sgs-ccard__icon { width: 42px; height: 42px; background: var(--rouge-bg); border: 1px solid rgba(200,16,46,.22); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sgs-ccard__icon svg { width: 18px; height: 18px; color: var(--rouge); }
.sgs-ccard__label { font-family: var(--f-title); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.sgs-ccard__val { font-family: var(--f-title); font-size: .95rem; color: var(--white); font-weight: 600; }
.sgs-ccard__val a { color: var(--white); }
.sgs-ccard__val a:hover { color: var(--or); }
.sgs-form { background: var(--dark2); padding: 48px; border: 1px solid var(--border); position: relative; }
.sgs-form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,var(--rouge),var(--or)); }
.sgs-form__title { font-size: 1.4rem; color: var(--white); margin-bottom: 4px; }
.sgs-form__subtitle { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.sgs-form__group { margin-bottom: 18px; }
.sgs-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sgs-form__group label { display: block; font-family: var(--f-title); font-size: .65rem; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-bottom: 7px; }
.sgs-form__group input,
.sgs-form__group select,
.sgs-form__group textarea { width: 100%; background: var(--card) !important; border: 1px solid var(--border) !important; border-radius: var(--radius); color: var(--white) !important; padding: 13px 16px; font-family: var(--f-body); font-size: .95rem; outline: none; transition: var(--ease); appearance: none; }
.sgs-form__group input:focus,
.sgs-form__group select:focus,
.sgs-form__group textarea:focus { border-color: var(--rouge) !important; box-shadow: 0 0 0 3px rgba(200,16,46,.12); }
.sgs-form__group input::placeholder,
.sgs-form__group textarea::placeholder { color: var(--muted); }
.sgs-form__group select option { background: var(--dark); color: var(--white); }
.sgs-form__group textarea { min-height: 110px; resize: vertical; }
.sgs-form__submit { background: var(--rouge) !important; color: var(--white) !important; font-family: var(--f-title) !important; font-size: .88rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 14px; border: none; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; clip-path: polygon(0 0,calc(100% - 14px) 0,100% 100%,14px 100%); transition: var(--ease); }
.sgs-form__submit:hover { background: var(--rouge-dk) !important; }
#sgs-form-msg { display: none; padding: 13px 16px; margin-bottom: 16px; font-size: .875rem; border-radius: var(--radius); }
#sgs-form-msg.success { background: rgba(0,200,100,.1); border: 1px solid rgba(0,200,100,.3); color: #00c864; }
#sgs-form-msg.error   { background: rgba(200,16,46,.1); border: 1px solid rgba(200,16,46,.3); color: var(--rouge); }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
#colophon, .site-footer, .ast-small-footer { background: var(--dark2) !important; border-top: 2px solid var(--card) !important; }
.sgs-footer__inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sgs-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; padding: 64px 0 48px; border-bottom: 1px solid var(--card); }
.sgs-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.sgs-footer__logo img { max-height: 60px; width: auto; filter: brightness(0) invert(1); }
.sgs-footer__logo-svg { display: flex; align-items: center; gap: 12px; }
.sgs-footer__logo-hex { width: 46px; height: 46px; background: var(--rouge); display: flex; align-items: center; justify-content: center; clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); flex-shrink: 0; }
.sgs-footer__logo-text { display: flex; flex-direction: column; gap: 2px; }
.sgs-footer__logo-name { font-family: var(--f-title); font-size: 1.1rem; font-weight: 700; color: var(--white); letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.sgs-footer__logo-name em { font-style: normal; color: var(--rouge); }
.sgs-footer__logo-tag { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--or); }
.sgs-footer__desc { font-size: .875rem; color: var(--muted); line-height: 1.75; }
.sgs-phone-link { font-family: var(--f-title); font-size: 1rem; font-weight: 600; color: var(--or); letter-spacing: .04em; }
.sgs-phone-link:hover { color: var(--white); }
.sgs-footer__col-title { font-family: var(--f-title); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--white); padding-bottom: 12px; border-bottom: 1px solid var(--card); margin-bottom: 18px; }
.sgs-footer__links { display: flex; flex-direction: column; gap: 10px; }
.sgs-footer__links a { font-size: .875rem; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.sgs-footer__links a::before { content: '›'; color: var(--rouge); font-size: 1.1rem; flex-shrink: 0; }
.sgs-footer__links a:hover { color: var(--white); padding-left: 4px; }
.sgs-footer__contacts { display: flex; flex-direction: column; gap: 12px; }
.sgs-footer__contact-row { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.sgs-footer__contact-row svg { width: 16px; height: 16px; color: var(--rouge); flex-shrink: 0; margin-top: 2px; }
.sgs-footer__contact-row a { color: var(--muted); }
.sgs-footer__contact-row a:hover { color: var(--white); }
.sgs-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; flex-wrap: wrap; gap: 10px; }
.sgs-footer__copy { font-size: .78rem; color: var(--muted); }
.sgs-footer__copy a { color: var(--rouge); }
.sgs-footer__bottom-right { display: flex; align-items: center; gap: 10px; font-size: .75rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.sgs-footer__bottom-right a { color: var(--rouge); }
.sgs-footer__sep { color: var(--card); }

/* ═══════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════ */
.sgs-fade-up { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.sgs-fade-up.is-visible { opacity: 1; transform: translateY(0); }
.sgs-fade-up:nth-child(2) { transition-delay: .1s; }
.sgs-fade-up:nth-child(3) { transition-delay: .2s; }
.sgs-fade-up:nth-child(4) { transition-delay: .3s; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
═══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .sgs-header__right { display: none; }
  .sgs-header__burger { display: flex; }
  .sgs-hero__layout { grid-template-columns: 1fr; gap: 8px; }

  /* ── MOBILE : scène restructurée ── */
  .sgs-hero__scene {
    position: relative;
    padding: 24px 0 16px;
    min-height: unset;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Badge centré */
  .sgs-hero__badge-top { justify-content: center; }

  /* Cache les 2 icônes du bas sur mobile */
  .sgs-ficon--3, .sgs-ficon--4 { display: none !important; }
  .sgs-hero__ring { display: none; }

  /* Tagline centré */
  .sgs-hero__tagline { justify-content: center; }

  /* Icônes flanquant le titre */
  .sgs-ficon--1,
  .sgs-ficon--2 {
    display: flex !important;
    position: static !important;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
  }

  .sgs-ficon--1 { animation: sgs-mob-float-r 3s ease-in-out infinite !important; }
  .sgs-ficon--2 { animation: sgs-mob-float-l 3.5s ease-in-out infinite .5s !important; }

  @keyframes sgs-mob-float-r {
    0%,100% { transform: translateY(0) rotate(2deg); }
    50%      { transform: translateY(-10px) rotate(-3deg); }
  }
  @keyframes sgs-mob-float-l {
    0%,100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-12px) rotate(3deg); }
  }

  .sgs-ficon--1 .sgs-ficon__bubble,
  .sgs-ficon--2 .sgs-ficon__bubble {
    width: 50px !important; height: 50px !important;
    border-radius: 14px;
    animation: sgs-mob-glow-r 2s ease-in-out infinite;
  }
  .sgs-ficon--2 .sgs-ficon__bubble {
    animation: sgs-mob-glow-l 2s ease-in-out infinite .7s;
  }

  @keyframes sgs-mob-glow-r {
    0%,100% { box-shadow: 0 4px 18px rgba(200,16,46,.25); }
    50%      { box-shadow: 0 4px 32px rgba(200,16,46,.6), 0 0 14px rgba(200,16,46,.25); }
  }
  @keyframes sgs-mob-glow-l {
    0%,100% { box-shadow: 0 4px 18px rgba(212,175,55,.2); }
    50%      { box-shadow: 0 4px 32px rgba(212,175,55,.5), 0 0 14px rgba(212,175,55,.2); }
  }

  .sgs-ficon--1 .sgs-ficon__label,
  .sgs-ficon--2 .sgs-ficon__label { font-size: .52rem; }
}

@media (max-width: 768px) {
  :root { --h-height: 64px; }
  .sgs-hero { padding: 86px 0 44px; }
  .sgs-hero__word-sine,
  .sgs-hero__word-global,
  .sgs-hero__word-service { font-size: 2.8rem; }
  .sgs-hero__sub-block { width: 100%; }
  .sgs-hero__right { gap: 16px; }
  .sgs-hero__cta { flex-direction: column; align-items: stretch; }
  .sgs-hero__cta .sgs-btn,
  .sgs-hero__cta .sgs-btn-outline { clip-path: none !important; border-radius: 4px; width: 100%; }
  .sgs-services__grid { grid-template-columns: 1fr; }
  .sgs-about__grid { grid-template-columns: 1fr; gap: 28px; }
  .sgs-about__card { padding: 24px 18px; }
  .sgs-contact__grid { grid-template-columns: 1fr; }
  .sgs-form__row { grid-template-columns: 1fr; }
  .sgs-form { padding: 22px 16px; }
  .sgs-section, .sgs-services, .sgs-about, .sgs-contact, .sgs-stats-section { padding: 44px 0; }
  .sgs-section-header { margin-bottom: 28px; }
  .sgs-features { grid-template-columns: 1fr; }
  .sgs-inner { padding: 0 16px; }
  .sgs-drawer { width: 100vw; }
  .sgs-footer__top { grid-template-columns: 1fr; gap: 22px; padding: 32px 0 22px; }
  .sgs-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .sgs-hero__word-sine,
  .sgs-hero__word-global,
  .sgs-hero__word-service { font-size: 2.2rem; }
  .sgs-stats__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   SECTION STATISTIQUES — avant Contact
═══════════════════════════════════════════════════ */
.sgs-stats-section { padding: 64px 0; background: var(--dark2) !important; position: relative; overflow: hidden; }

/* Fond décoratif */
.sgs-stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(200,16,46,.06) 0%, transparent 50%),
    linear-gradient(270deg, rgba(0,40,104,.08) 0%, transparent 50%);
  pointer-events: none;
}

.sgs-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(200,16,46,.12);
  position: relative;
  z-index: 1;
}

.sgs-stat-card {
  background: var(--dark2);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background var(--ease);
}

.sgs-stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--rouge), var(--or));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--ease);
}

.sgs-stat-card:hover { background: var(--card); }
.sgs-stat-card:hover::before { transform: scaleX(1); }

/* Icône */
.sgs-stat-card__icon {
  width: 52px; height: 52px;
  background: var(--rouge-bg);
  border: 1px solid rgba(200,16,46,.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  transition: var(--ease);
}
.sgs-stat-card__icon svg { width: 22px; height: 22px; color: var(--rouge); }
.sgs-stat-card:hover .sgs-stat-card__icon { background: var(--rouge); border-color: var(--rouge); }
.sgs-stat-card:hover .sgs-stat-card__icon svg { color: var(--white); }

/* Nombre — blanc + grand */
.sgs-stat-card__num {
  font-family: var(--f-title);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);           /* blanc */
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color .3s;
}
.sgs-stat-card:hover .sgs-stat-card__num { color: var(--or); }

/* Label */
.sgs-stat-card__lbl {
  font-family: var(--f-title);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Animation compteur — état initial */
.sgs-stat-card__num[data-counting="true"] {
  color: var(--rouge);
}

@media (max-width: 768px) {
  .sgs-stats__grid { grid-template-columns: repeat(2,1fr); }
  .sgs-stat-card { padding: 28px 16px; }
  .sgs-stat-card__num { font-size: 2.2rem; }
}

/* ═══════════════════════════════════════════════════
   SECTION TRANSFERT D'ARGENT
═══════════════════════════════════════════════════ */
.sgs-transfert {
  padding: 64px 0;
  background: var(--dark) !important;
  position: relative;
  overflow: hidden;
}

/* Bande colorée décorative en fond */
.sgs-transfert::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    #00B4FF 0%, #00B4FF 33%,
    #FF6600 33%, #FF6600 66%,
    #D4AF37 66%, #D4AF37 100%
  );
}

/* Layout : texte + cartes */
.sgs-transfert__wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

/* ── Texte gauche ── */
.sgs-transfert__desc {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 16px 0 24px;
}

.sgs-transfert__benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.sgs-transfert__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text);
}

.sgs-transfert__benefits li svg {
  width: 16px; height: 16px;
  color: var(--rouge);
  flex-shrink: 0;
}

/* ── Cartes opérateurs ── */
.sgs-transfert__operators {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sgs-operator-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.sgs-operator-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 12px 0 0 12px;
  transition: width .3s;
}

/* Couleurs par opérateur */
.sgs-operator-card:nth-child(1)::before { background: #00B4FF; }
.sgs-operator-card:nth-child(2)::before { background: #FF6600; }
.sgs-operator-card:nth-child(3)::before { background: #D4AF37; }

.sgs-operator-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.sgs-operator-card:nth-child(1):hover { border-color: rgba(0,180,255,.3); box-shadow: 0 8px 32px rgba(0,180,255,.1); }
.sgs-operator-card:nth-child(2):hover { border-color: rgba(255,102,0,.3);  box-shadow: 0 8px 32px rgba(255,102,0,.1); }
.sgs-operator-card:nth-child(3):hover { border-color: rgba(212,175,55,.3); box-shadow: 0 8px 32px rgba(212,175,55,.1); }

/* Icône opérateur */
.sgs-operator-card__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s;
}
.sgs-operator-card:hover .sgs-operator-card__icon { transform: scale(1.08) rotate(-4deg); }

.sgs-operator-card__icon--wave   { background: rgba(0,180,255,.1);  border: 1px solid rgba(0,180,255,.25);  }
.sgs-operator-card__icon--orange { background: rgba(255,102,0,.1);  border: 1px solid rgba(255,102,0,.25);  }
.sgs-operator-card__icon--cash   { background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.25); }

/* Nom + tag */
.sgs-operator-card__body { flex: 1; }

.sgs-operator-card__name {
  font-family: var(--f-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sgs-operator-card__tag {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 3px;
}

/* Badge "Disponible" */
.sgs-operator-card__badge {
  font-family: var(--f-title);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(0,200,100,.1);
  border: 1px solid rgba(0,200,100,.25);
  color: #00c864;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .sgs-transfert__wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Logos vrais opérateurs ── */
.sgs-operator-card__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform .3s;
}
.sgs-operator-card:hover .sgs-operator-card__icon img {
  transform: scale(1.12);
}

/* ── Wrapper icônes ── */
.sgs-hero__icons-wrap {
  /* Desktop : ne pas interférer avec le positionnement absolu */
  position: static;
  width: 100%;
  height: 100%;
}

/* Mobile : bande horizontale */
@media (max-width: 960px) {
  .sgs-hero__icons-wrap {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: flex-start;
  }
  .sgs-ficon--1,
  .sgs-ficon--2,
  .sgs-ficon--3,
  .sgs-ficon--4 {
    position: static !important;
    animation: none !important;
    transform: none !important;
    flex-direction: row !important;
    gap: 8px;
    align-items: center;
  }
  .sgs-ficon__label {
    font-size: .62rem;
    white-space: nowrap;
    color: var(--text);
  }
  .sgs-ficon__bubble {
    width: 40px !important; height: 40px !important;
    border-radius: 10px;
    flex-shrink: 0;
  }
}

/* ── Desktop : icônes 1-desk et 2-desk dans icons-wrap (alias) ── */
.sgs-ficon--1-desk {
  position: absolute; top: 0; left: -10px;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  animation: sgs-float-1 4s ease-in-out infinite;
}
.sgs-ficon--2-desk {
  position: absolute; top: 0; right: -10px;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  animation: sgs-float-2 4.5s ease-in-out infinite .5s;
}

/* ── Desktop : icônes titre-row cachées ── */
@media (min-width: 961px) {
  .sgs-hero__titre-row .sgs-ficon--1,
  .sgs-hero__titre-row .sgs-ficon--2 { display: none !important; }
  .sgs-hero__titre-row { display: block; }
}

/* ── Mobile : [icône] [titre] [icône] centrés ── */
@media (max-width: 960px) {
  .sgs-ficon--1-desk,
  .sgs-ficon--2-desk { display: none !important; }

  .sgs-hero__titre-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .sgs-hero__titre {
    flex: 1 !important;
    text-align: center !important;
    min-width: 0;
  }

  .sgs-hero__titre-row .sgs-ficon--1,
  .sgs-hero__titre-row .sgs-ficon--2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px;
    flex-shrink: 0 !important;
    position: static !important;
  }

  .sgs-hero__titre-row .sgs-ficon--1 .sgs-ficon__bubble,
  .sgs-hero__titre-row .sgs-ficon--2 .sgs-ficon__bubble {
    width: 50px !important;
    height: 50px !important;
    border-radius: 14px !important;
  }

  .sgs-hero__titre-row .sgs-ficon--1 {
    animation: sgs-mob-float-r 3s ease-in-out infinite !important;
    order: 3;
  }
  .sgs-hero__titre-row .sgs-ficon--2 {
    animation: sgs-mob-float-l 3.5s ease-in-out infinite .5s !important;
    order: 1;
  }
  .sgs-hero__titre { order: 2; }

  .sgs-hero__titre-row .sgs-ficon--1 .sgs-ficon__bubble {
    animation: sgs-mob-glow-r 2s ease-in-out infinite;
  }
  .sgs-hero__titre-row .sgs-ficon--2 .sgs-ficon__bubble {
    animation: sgs-mob-glow-l 2s ease-in-out infinite .7s;
  }

  @keyframes sgs-mob-float-r {
    0%,100% { transform: translateY(0) rotate(2deg); }
    50%      { transform: translateY(-10px) rotate(-3deg); }
  }
  @keyframes sgs-mob-float-l {
    0%,100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-12px) rotate(3deg); }
  }
  @keyframes sgs-mob-glow-r {
    0%,100% { box-shadow: 0 4px 18px rgba(200,16,46,.25); }
    50%      { box-shadow: 0 4px 32px rgba(200,16,46,.6), 0 0 14px rgba(200,16,46,.2); }
  }
  @keyframes sgs-mob-glow-l {
    0%,100% { box-shadow: 0 4px 18px rgba(212,175,55,.2); }
    50%      { box-shadow: 0 4px 32px rgba(212,175,55,.5), 0 0 14px rgba(212,175,55,.15); }
  }

  .sgs-hero__line1 { justify-content: center; }
  .sgs-hero__line2 { align-items: center; }
  .sgs-hero__tagline { justify-content: center; }
  .sgs-hero__badge-top { justify-content: center; }
}

/* Cache les labels des icônes dans le titre-row mobile */
@media (max-width: 960px) {
  .sgs-hero__titre-row .sgs-ficon__label {
    display: none !important;
  }
}

/* ═══════════════════════════════════
   ICÔNES MOBILE DÉDIÉES — 2 bulles
═══════════════════════════════════ */
.sgs-mob-icons {
  display: none; /* cachées sur desktop */
}

@media (max-width: 960px) {
  .sgs-mob-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 16px;
    width: 100%;
  }

  .sgs-mob-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(200,16,46,.15), rgba(26,26,42,.9));
    border: 1.5px solid rgba(200,16,46,.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(200,16,46,.2);
    backdrop-filter: blur(8px);
  }

  .sgs-mob-icon--1 {
    animation: sgs-mob1 3s ease-in-out infinite;
  }
  .sgs-mob-icon--2 {
    animation: sgs-mob2 3.5s ease-in-out infinite .5s;
  }

  @keyframes sgs-mob1 {
    0%,100% { transform: translateY(0) rotate(2deg);
              box-shadow: 0 4px 18px rgba(200,16,46,.25); }
    50%      { transform: translateY(-10px) rotate(-3deg);
              box-shadow: 0 8px 28px rgba(200,16,46,.55); }
  }
  @keyframes sgs-mob2 {
    0%,100% { transform: translateY(0) rotate(-2deg);
              box-shadow: 0 4px 18px rgba(212,175,55,.2); }
    50%      { transform: translateY(-12px) rotate(3deg);
              box-shadow: 0 8px 28px rgba(212,175,55,.5); }
  }

  .sgs-mob-icon--2 {
    border-color: rgba(212,175,55,.4);
    background: linear-gradient(135deg, rgba(212,175,55,.12), rgba(26,26,42,.9));
  }
  .sgs-mob-icon--2 svg { stroke: var(--or); }
}

/* ── Footer infos légales ── */
.sgs-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.sgs-footer__bottom-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sgs-footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sgs-footer__legal-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
}

.sgs-footer__legal-label {
  font-family: var(--f-title);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,.05);
  border: 0.5px solid var(--border);
  padding: 2px 6px;
  border-radius: 3px;
}

.sgs-footer__legal-value {
  font-family: var(--f-title);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--or);
  font-weight: 600;
}

.sgs-footer__legal-sep {
  color: var(--border);
  font-size: .9rem;
}

@media (max-width: 640px) {
  .sgs-footer__bottom { flex-direction: column; align-items: flex-start; }
  .sgs-footer__legal { gap: 8px; }
}

/* ═══════════════════════════════════════════════════
   PAGES SERVICES — STYLES COMMUNS
═══════════════════════════════════════════════════ */

/* ── Hero des pages internes ── */
.sgs-pghero {
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
  background: var(--dark) !important;
  width: 100vw !important; max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}
.sgs-pghero--quinca { background: linear-gradient(135deg, rgba(200,16,46,.15) 0%, var(--dark) 60%) !important; }
.sgs-pghero__bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(200,16,46,.12) 0%, transparent 55%), linear-gradient(225deg, rgba(0,40,104,.15) 0%, transparent 55%), #0C0C14; }
.sgs-pghero__pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(200,16,46,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(200,16,46,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent); }
.sgs-pghero__content { position: relative; z-index: 2; max-width: 720px; }
.sgs-pghero__breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); margin-bottom: 18px; }
.sgs-pghero__breadcrumb a { color: var(--muted); }
.sgs-pghero__breadcrumb a:hover { color: var(--or); }
.sgs-pghero__breadcrumb span:last-child { color: var(--or); }
.sgs-pghero__title { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--white); margin-bottom: 16px; line-height: 1.05; }
.sgs-pghero__title .accent { color: var(--rouge); }
.sgs-pghero__desc { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 28px; max-width: 560px; }
.sgs-pghero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Produits ── */
.sgs-products { padding: 64px 0; background: var(--dark) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; box-sizing: border-box; }
.sgs-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sgs-prod-card { background: var(--dark2); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: transform .3s, box-shadow .3s, border-color .3s; animation-delay: var(--delay, 0ms); }
.sgs-prod-card:hover { transform: translateY(-6px); border-color: var(--accent, var(--rouge)); box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 0 1px var(--accent, var(--rouge)); }
.sgs-prod-card__banner { position: relative; height: 210px; overflow: hidden; background: linear-gradient(135deg, var(--card), var(--dark)); }
.sgs-prod-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sgs-prod-card:hover .sgs-prod-card__img { transform: scale(1.06); }
.sgs-prod-card__placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--accent, var(--rouge)); background: linear-gradient(135deg, rgba(200,16,46,.08), rgba(0,40,104,.12)); border-bottom: 2px solid var(--accent, var(--rouge)); }
.sgs-prod-card__placeholder svg { opacity: .7; }
.sgs-prod-card__placeholder span { font-family: var(--f-title); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.sgs-prod-card__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(13,13,20,.85) 100%); pointer-events: none; }
.sgs-prod-card__num { position: absolute; top: 12px; right: 14px; font-family: var(--f-title); font-size: 2.5rem; font-weight: 700; color: rgba(255,255,255,.07); line-height: 1; }
.sgs-prod-card__body { padding: 18px 20px 20px; }
.sgs-prod-card__sous { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent, var(--rouge)); margin-bottom: 5px; }
.sgs-prod-card__title { font-size: 1.1rem; color: var(--white); margin-bottom: 8px; font-family: var(--f-title); text-transform: uppercase; }
.sgs-prod-card__desc { font-size: .83rem; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.sgs-prod-card__badges { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.sgs-prod-card__badge { font-family: var(--f-title); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 3px; background: rgba(255,255,255,.04); border: 0.5px solid var(--border); color: var(--muted); transition: var(--ease); }
.sgs-prod-card:hover .sgs-prod-card__badge { border-color: var(--accent, var(--rouge)); color: var(--accent, var(--rouge)); background: rgba(200,16,46,.05); }
.sgs-prod-card__footer { padding-top: 12px; border-top: 1px solid var(--border); }
.sgs-prod-card__cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-title); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--white); text-decoration: none; background: var(--rouge); padding: 8px 16px; border-radius: 4px; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%); transition: var(--ease); width: 100%; justify-content: center; }
.sgs-prod-card__cta svg { width: 12px; height: 12px; }
.sgs-prod-card__cta:hover { background: var(--rouge-dk); transform: translateY(-1px); color: var(--white); }

/* ── Pourquoi nous ── */
.sgs-pgwhy { padding: 64px 0; background: var(--dark2) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; box-sizing: border-box; }
.sgs-pgwhy__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.sgs-pgwhy__item { background: var(--card); padding: 28px 20px; border-radius: 10px; border: 1px solid var(--border); text-align: center; transition: var(--ease); }
.sgs-pgwhy__item:hover { border-color: var(--rouge); transform: translateY(-4px); }
.sgs-pgwhy__icon { width: 48px; height: 48px; background: var(--rouge-bg); border: 1px solid rgba(200,16,46,.25); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; transition: var(--ease); }
.sgs-pgwhy__icon svg { width: 20px; height: 20px; color: var(--rouge); }
.sgs-pgwhy__item:hover .sgs-pgwhy__icon { background: var(--rouge); }
.sgs-pgwhy__item:hover .sgs-pgwhy__icon svg { color: var(--white); }
.sgs-pgwhy__item h4 { font-size: .9rem; color: var(--white); margin-bottom: 7px; }
.sgs-pgwhy__item p { font-size: .8rem; color: var(--muted); line-height: 1.65; }

/* ── CTA bas ── */
.sgs-pgcta { padding: 64px 0; background: var(--rouge) !important; position: relative; overflow: hidden; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; box-sizing: border-box; }
.sgs-pgcta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.2) 0%, transparent 60%); }
.sgs-pgcta__wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.sgs-pgcta__wrap h2 { font-size: 1.8rem; color: var(--white); margin-bottom: 6px; }
.sgs-pgcta__wrap p { color: rgba(255,255,255,.8); font-size: .9rem; }
.sgs-pgcta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sgs-pgcta .sgs-btn { background: var(--white) !important; color: var(--rouge) !important; }
.sgs-pgcta .sgs-btn:hover { background: var(--or) !important; color: var(--dark) !important; }
.sgs-pgcta .sgs-btn-outline { border-color: rgba(255,255,255,.5) !important; }
.sgs-pgcta .sgs-btn-outline:hover { background: rgba(255,255,255,.15) !important; color: var(--white) !important; }

/* ── Responsive ── */
@media (max-width: 1024px) { .sgs-prod-grid { grid-template-columns: repeat(2,1fr); } .sgs-pgwhy__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .sgs-prod-grid { grid-template-columns: 1fr; } .sgs-pgwhy__grid { grid-template-columns: 1fr; } .sgs-pghero { padding: 110px 0 48px; } .sgs-pgcta__wrap { flex-direction: column; } .sgs-prod-card__banner { height: 170px; } }

/* ═══════════════════════════════════════════════════
   SLIDER CIMENT — carte avec rotation automatique
═══════════════════════════════════════════════════ */
.sgs-slider {
  position: relative;
  width: 100%; height: 100%;
}

.sgs-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.sgs-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.sgs-slider__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.sgs-slider__slide.is-active img {
  transform: scale(1.04);
}

/* Label de la marque */
.sgs-slider__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 12px;
  font-family: var(--f-title);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(to top, rgba(13,13,20,.9), transparent);
  text-align: center;
}

/* Points indicateurs */
.sgs-slider__dots {
  position: absolute;
  bottom: 36px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 5;
}
.sgs-slider__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: all .3s;
  border: 1px solid rgba(255,255,255,.3);
}
.sgs-slider__dot.is-active {
  background: var(--or);
  border-color: var(--or);
  transform: scale(1.3);
}

/* ═══════════════════════════════════════════════════
   COULEUR ACCENT PAR PAGE
═══════════════════════════════════════════════════ */
.sgs-pghero--services  { background: linear-gradient(135deg,rgba(0,40,104,.18) 0%,var(--dark) 60%) !important; }
.sgs-pghero--apropos   { background: linear-gradient(135deg,rgba(212,175,55,.12) 0%,var(--dark) 60%) !important; }
.sgs-pghero--contact   { background: linear-gradient(135deg,rgba(59,109,17,.14) 0%,var(--dark) 60%) !important; }
.sgs-pghero--directeur { background: linear-gradient(135deg,rgba(200,16,46,.18) 0%,rgba(0,40,104,.15) 100%) !important; }

/* ═══════════════════════════════════════════════════
   PAGE SERVICES — blocs alternés
═══════════════════════════════════════════════════ */
.sgs-pg-services-list {
  padding: 72px 0;
  background: var(--dark) !important;
  width: 100vw !important; max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.sgs-srv-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.sgs-srv-block--rev { grid-template-columns: 1fr 280px; }
.sgs-srv-block--rev .sgs-srv-block__visual { order: 2; }
.sgs-srv-block--rev .sgs-srv-block__content { order: 1; }
.sgs-srv-block:last-child { border-bottom: none; }

.sgs-srv-block__visual {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
}
.sgs-srv-block__icon-wrap {
  width: 120px; height: 120px;
  background: var(--rouge-bg);
  border: 2px solid var(--srv-color, var(--rouge));
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  transition: var(--ease);
  box-shadow: 0 0 40px rgba(200,16,46,.15);
}
.sgs-srv-block__icon-wrap svg { width: 48px; height: 48px; color: var(--srv-color, var(--rouge)); }
.sgs-srv-block:hover .sgs-srv-block__icon-wrap {
  background: var(--srv-color, var(--rouge));
  transform: rotate(-6deg) scale(1.05);
}
.sgs-srv-block:hover .sgs-srv-block__icon-wrap svg { color: var(--white); }

.sgs-srv-block__num {
  font-family: var(--f-title); font-size: 5rem; font-weight: 700;
  color: rgba(255,255,255,.04); position: absolute;
  bottom: -20px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; line-height: 1;
}
.sgs-srv-block__bg-ring {
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  border: 1px dashed rgba(200,16,46,.15);
  animation: sgs-ring-pulse 3s ease-in-out infinite;
}

.sgs-srv-block__content h2 { font-size: 1.8rem; margin-bottom: 12px; }
.sgs-srv-block__content p  { font-size: .95rem; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.sgs-srv-block__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; list-style: none; }
.sgs-srv-block__list li { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text); }
.sgs-srv-block__list li svg { width: 14px; height: 14px; color: var(--srv-color, var(--rouge)); flex-shrink: 0; }

@media (max-width: 768px) {
  .sgs-srv-block, .sgs-srv-block--rev { grid-template-columns: 1fr; gap: 28px; }
  .sgs-srv-block--rev .sgs-srv-block__visual { order: 1; }
  .sgs-srv-block--rev .sgs-srv-block__content { order: 2; }
  .sgs-srv-block__list { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   PAGE À PROPOS
═══════════════════════════════════════════════════ */
.sgs-apropos-section {
  padding: 72px 0;
  background: var(--dark) !important;
  width: 100vw !important; max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
}
.sgs-apropos-identity { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }

.sgs-apropos-card { background: var(--dark2); border: 1px solid var(--border); border-left: 4px solid var(--rouge); padding: 36px; border-radius: 10px; }
.sgs-apropos-card__logo-hex { width: 56px; height: 56px; background: var(--rouge); display: flex; align-items: center; justify-content: center; clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); margin-bottom: 16px; }
.sgs-apropos-card__brand { font-family: var(--f-title); font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.sgs-apropos-card__brand .accent { color: var(--rouge); }
.sgs-apropos-card__tag { font-size: .7rem; letter-spacing: .18em; color: var(--or); text-transform: uppercase; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.sgs-apropos-card__infos { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.sgs-apropos-info { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--muted); }
.sgs-apropos-info svg { width: 15px; height: 15px; color: var(--rouge); flex-shrink: 0; margin-top: 1px; }
.sgs-apropos-info a { color: var(--muted); } .sgs-apropos-info a:hover { color: var(--white); }
.sgs-apropos-legal { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--border); }
.sgs-apropos-legal span { font-size: .75rem; color: var(--muted); } .sgs-apropos-legal em { font-style: normal; color: var(--or); font-family: var(--f-title); letter-spacing: .1em; margin-right: 6px; }

.sgs-apropos-text h2 { font-size: 1.8rem; margin-bottom: 16px; }
.sgs-apropos-text p { font-size: .95rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.sgs-apropos-values { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.sgs-apropos-value { display: flex; align-items: flex-start; gap: 14px; }
.sgs-apropos-value__icon { width: 38px; height: 38px; background: var(--rouge-bg); border: 1px solid rgba(200,16,46,.22); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 8px; }
.sgs-apropos-value__icon svg { width: 16px; height: 16px; color: var(--rouge); }
.sgs-apropos-value strong { display: block; font-family: var(--f-title); color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.sgs-apropos-value p { font-size: .82rem; color: var(--muted); margin: 0; }

.sgs-apropos-stats { padding: 56px 0; background: var(--rouge) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.sgs-apropos-stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: rgba(0,0,0,.15); }
.sgs-apropos-stat { background: rgba(0,0,0,.1); padding: 36px 24px; text-align: center; }
.sgs-apropos-stat__num { font-family: var(--f-title); font-size: 2.8rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 8px; }
.sgs-apropos-stat__lbl { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); }

.sgs-apropos-activites { padding: 72px 0; background: var(--dark2) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.sgs-apropos-act-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.sgs-apropos-act { background: var(--card); padding: 24px 18px; border-radius: 10px; border: 1px solid var(--border); transition: var(--ease); }
.sgs-apropos-act:hover { border-color: var(--rouge); transform: translateY(-4px); }
.sgs-apropos-act__icon { width: 46px; height: 46px; background: rgba(200,16,46,.08); border: 1px solid rgba(200,16,46,.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: var(--ease); }
.sgs-apropos-act__icon svg { width: 20px; height: 20px; color: var(--c, var(--rouge)); }
.sgs-apropos-act:hover .sgs-apropos-act__icon { background: var(--c, var(--rouge)); }
.sgs-apropos-act:hover .sgs-apropos-act__icon svg { color: var(--white); }
.sgs-apropos-act h3 { font-size: .85rem; color: var(--white); margin-bottom: 8px; }
.sgs-apropos-act p { font-size: .78rem; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }

.sgs-apropos-transfert { padding: 56px 0; background: var(--dark) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; border-top: 3px solid transparent; border-image: linear-gradient(90deg,#00B4FF 33%,#FF6600 33% 66%,#D4AF37 66%) 1; }
.sgs-apropos-transfert__wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sgs-apropos-transfert__wrap h2 { font-size: 1.6rem; margin-bottom: 8px; }
.sgs-apropos-transfert__wrap p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.sgs-apropos-operators { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.sgs-op-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; font-family: var(--f-title); font-size: .75rem; font-weight: 700; border: 1px solid; letter-spacing: .06em; border-radius: 4px; }
.sgs-op-badge--wave   { color: #00B4FF; border-color: rgba(0,180,255,.3); background: rgba(0,180,255,.06); }
.sgs-op-badge--orange { color: #FF6600; border-color: rgba(255,102,0,.3);  background: rgba(255,102,0,.06); }
.sgs-op-badge--cash   { color: var(--or); border-color: rgba(212,175,55,.3); background: var(--or-bg); }

/* ═══════════════════════════════════════════════════
   PAGE CONTACT
═══════════════════════════════════════════════════ */
.sgs-contact-pg { padding: 72px 0; background: var(--dark) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.sgs-contact-pg__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.sgs-contact-pg__infos h2 { font-size: 1.6rem; margin-bottom: 12px; }
.sgs-contact-pg__intro { font-size: .9rem; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.sgs-ccards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.sgs-contact-pg__pay { padding-top: 20px; border-top: 1px solid var(--border); }
.sgs-payment__label { font-family: var(--f-title); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

/* ═══════════════════════════════════════════════════
   PAGE LE DIRECTEUR
═══════════════════════════════════════════════════ */
.sgs-dir-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.sgs-dir-particle { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--rouge); animation: sgs-float-particle linear infinite; opacity: 0; }
.sgs-dir-particle:nth-child(1) { left:10%; top:20%; animation-duration:6s; animation-delay:0s; }
.sgs-dir-particle:nth-child(2) { left:20%; top:60%; animation-duration:8s; animation-delay:1s; background:var(--or); }
.sgs-dir-particle:nth-child(3) { left:40%; top:30%; animation-duration:7s; animation-delay:2s; }
.sgs-dir-particle:nth-child(4) { left:60%; top:70%; animation-duration:9s; animation-delay:.5s; background:var(--or); }
.sgs-dir-particle:nth-child(5) { left:70%; top:15%; animation-duration:6.5s; animation-delay:3s; }
.sgs-dir-particle:nth-child(6) { left:80%; top:50%; animation-duration:7.5s; animation-delay:1.5s; background:var(--or); }
.sgs-dir-particle:nth-child(7) { left:90%; top:40%; animation-duration:8.5s; animation-delay:.8s; }
.sgs-dir-particle:nth-child(8) { left:30%; top:80%; animation-duration:6.8s; animation-delay:2.5s; background:var(--or); }
@keyframes sgs-float-particle { 0%{transform:translateY(0) scale(0);opacity:0} 20%{opacity:1} 80%{opacity:.8} 100%{transform:translateY(-80px) scale(1.5);opacity:0} }

.sgs-dir-profile { padding: 72px 0; background: var(--dark) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.sgs-dir-profile__wrap { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: center; }
.sgs-dir-profile__left { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.sgs-dir-avatar { position: relative; width: 180px; height: 180px; }
.sgs-dir-avatar__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(200,16,46,.2); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: sgs-ring-pulse 3s ease-in-out infinite; }
.sgs-dir-avatar__ring--1 { width: 160px; height: 160px; }
.sgs-dir-avatar__ring--2 { width: 200px; height: 200px; border-color: rgba(212,175,55,.12); animation-delay: .8s; }
.sgs-dir-avatar__photo { width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(135deg,var(--rouge-bg),var(--card)); border: 3px solid var(--rouge); display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; margin: 20px auto 0; box-shadow: 0 0 40px rgba(200,16,46,.25); }
.sgs-dir-profile__name { text-align: center; }
.sgs-dir-profile__name h2 { font-size: 1.4rem; margin-bottom: 4px; }
.sgs-dir-profile__role { font-size: .82rem; color: var(--or); line-height: 1.6; margin-bottom: 10px; }
.sgs-dir-profile__location { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.sgs-dir-profile__location svg { width: 13px; height: 13px; color: var(--rouge); }

.sgs-dir-quote { background: var(--dark2); border-left: 4px solid var(--rouge); padding: 36px; border-radius: 0 10px 10px 0; position: relative; }
.sgs-dir-quote__mark { font-family: Georgia, serif; font-size: 6rem; color: var(--rouge); opacity: .3; line-height: 1; position: absolute; top: 10px; left: 20px; }
.sgs-dir-quote p { font-size: 1.15rem; color: var(--white); line-height: 1.8; font-style: italic; position: relative; z-index: 1; margin-bottom: 16px; padding-left: 20px; }
.sgs-dir-quote footer { font-family: var(--f-title); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--or); padding-left: 20px; }

.sgs-dir-section { padding: 72px 0; background: var(--dark) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.sgs-dir-section--dark2 { background: var(--dark2) !important; }

/* Timeline */
.sgs-dir-timeline { position: relative; max-width: 800px; margin: 0 auto; }
.sgs-dir-timeline::before { content: ''; position: absolute; left: 120px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom,transparent,var(--rouge) 10%,var(--rouge) 90%,transparent); }
.sgs-dir-timeline__item { display: grid; grid-template-columns: 120px 24px 1fr; gap: 0 20px; align-items: flex-start; margin-bottom: 40px; }
.sgs-dir-timeline__year { font-family: var(--f-title); font-size: 1.2rem; font-weight: 700; color: var(--t-color, var(--rouge)); text-align: right; padding-top: 4px; }
.sgs-dir-timeline__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--t-color, var(--rouge)); border: 2px solid var(--dark); margin-top: 7px; box-shadow: 0 0 12px var(--t-color, var(--rouge)); flex-shrink: 0; justify-self: center; }
.sgs-dir-timeline__content { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 18px 22px; border-left: 3px solid var(--t-color, var(--rouge)); transition: var(--ease); }
.sgs-dir-timeline__content:hover { transform: translateX(6px); border-color: var(--t-color, var(--rouge)); }
.sgs-dir-timeline__content h4 { font-size: 1rem; color: var(--white); margin-bottom: 6px; }
.sgs-dir-timeline__content p { font-size: .85rem; color: var(--muted); line-height: 1.7; }

/* Réalisations */
.sgs-dir-real-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.sgs-dir-real { background: var(--dark2); border-radius: 12px; border: 1px solid var(--border); padding: 28px 22px; transition: var(--ease); border-top: 3px solid var(--r-color, var(--rouge)); }
.sgs-dir-real:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.sgs-dir-real__icon { width: 48px; height: 48px; background: rgba(200,16,46,.08); border: 1px solid rgba(200,16,46,.22); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sgs-dir-real__icon svg { width: 20px; height: 20px; color: var(--r-color, var(--rouge)); }
.sgs-dir-real h4 { font-size: .95rem; color: var(--white); margin-bottom: 8px; }
.sgs-dir-real p { font-size: .82rem; color: var(--muted); line-height: 1.7; }

/* Ambition & Motivation */
.sgs-dir-ambi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sgs-dir-ambi { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 36px; animation-delay: var(--ambi-delay, 0s); }
.sgs-dir-ambi__icon { width: 54px; height: 54px; background: var(--rouge-bg); border: 1px solid rgba(200,16,46,.25); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sgs-dir-ambi__icon svg { width: 24px; height: 24px; color: var(--rouge); }
.sgs-dir-ambi h3 { font-size: 1.3rem; color: var(--white); margin: 8px 0 12px; }
.sgs-dir-ambi p { font-size: .9rem; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.sgs-dir-ambi__list { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.sgs-dir-ambi__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--text); }
.sgs-dir-ambi__list li svg { width: 14px; height: 14px; color: var(--rouge); flex-shrink: 0; margin-top: 2px; }

/* Responsive nouvelles pages */
@media (max-width: 1024px) {
  .sgs-apropos-act-grid { grid-template-columns: repeat(3,1fr); }
  .sgs-dir-real-grid { grid-template-columns: repeat(2,1fr); }
  .sgs-apropos-stats__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .sgs-apropos-identity { grid-template-columns: 1fr; }
  .sgs-apropos-act-grid { grid-template-columns: repeat(2,1fr); }
  .sgs-contact-pg__grid { grid-template-columns: 1fr; }
  .sgs-dir-profile__wrap { grid-template-columns: 1fr; }
  .sgs-dir-ambi-grid { grid-template-columns: 1fr; }
  .sgs-dir-real-grid { grid-template-columns: 1fr 1fr; }
  .sgs-dir-timeline::before { left: 80px; }
  .sgs-dir-timeline__item { grid-template-columns: 80px 20px 1fr; }
  .sgs-apropos-stats__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .sgs-apropos-act-grid { grid-template-columns: 1fr; }
  .sgs-dir-real-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   PAGE DIRECTEUR — PHOTO & STYLES SPÉCIFIQUES
═══════════════════════════════════════════════════ */

/* ── Section profil ── */
.sgs-dir-profil { padding: 72px 0; background: var(--dark) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.sgs-dir-profil__wrap { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }

/* Photo avec anneaux animés */
.sgs-dir-photo-wrap {
  position: relative; width: 260px; height: 260px; margin: 0 auto 28px;
}
.sgs-dir-photo-ring {
  position: absolute; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border: 1.5px solid rgba(200,16,46,.25);
  animation: sgs-ring-pulse 3s ease-in-out infinite;
}
.sgs-dir-photo-ring--1 { width: 240px; height: 240px; }
.sgs-dir-photo-ring--2 { width: 290px; height: 290px; border-color: rgba(212,175,55,.15); animation-delay: .6s; }
.sgs-dir-photo-ring--3 { width: 340px; height: 340px; border-color: rgba(200,16,46,.08); animation-delay: 1.2s; }

.sgs-dir-photo {
  width: 220px; height: 220px;
  border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 4px solid var(--rouge);
  box-shadow: 0 0 50px rgba(200,16,46,.3);
  position: relative; z-index: 2;
  display: block; margin: 20px auto 0;
  transition: transform .4s ease, box-shadow .4s;
}
.sgs-dir-photo:hover { transform: scale(1.04); box-shadow: 0 0 70px rgba(200,16,46,.45); }

.sgs-dir-photo-badge {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  background: var(--rouge); color: var(--white);
  display: flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 99px; z-index: 3;
  font-family: var(--f-title); font-size: .65rem; letter-spacing: .14em;
  text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(200,16,46,.4);
}
.sgs-dir-photo-badge svg { width: 13px; height: 13px; }

/* Médailles */
.sgs-dir-medals { display: flex; flex-direction: column; gap: 8px; }
.sgs-dir-medal { display: flex; align-items: center; gap: 12px; background: var(--dark2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; transition: var(--ease); }
.sgs-dir-medal:hover { border-color: var(--or); transform: translateX(4px); }
.sgs-dir-medal__year { font-family: var(--f-title); font-size: .75rem; color: var(--or); letter-spacing: .08em; font-weight: 700; min-width: 36px; }
.sgs-dir-medal__name { font-size: .82rem; color: var(--text); }

/* Bio */
.sgs-dir-bio h2 { font-size: 2.2rem; margin-bottom: 4px; }
.sgs-dir-bio__role { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--or); margin-bottom: 20px; }
.sgs-dir-bio__infos { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; padding: 16px 20px; background: var(--dark2); border-left: 3px solid var(--rouge); border-radius: 0 6px 6px 0; }
.sgs-dir-bio__info { display: flex; gap: 12px; font-size: .875rem; color: var(--text); }
.sgs-dir-bio__label { font-family: var(--f-title); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); min-width: 90px; padding-top: 1px; }
.sgs-dir-bio__desc { font-size: .95rem; color: var(--muted); line-height: 1.85; margin-bottom: 28px; }

/* Compétences */
.sgs-dir-skills h3 { font-size: 1rem; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; }
.sgs-dir-skills__grid { display: flex; flex-direction: column; gap: 14px; }
.sgs-dir-skill__header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.sgs-dir-skill__icon { width: 28px; height: 28px; background: rgba(200,16,46,.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sgs-dir-skill__icon svg { width: 13px; height: 13px; color: var(--sk-color, var(--rouge)); }
.sgs-dir-skill__header span:nth-child(2) { flex: 1; font-size: .85rem; color: var(--text); }
.sgs-dir-skill__pct { font-family: var(--f-title); font-size: .78rem; font-weight: 700; }
.sgs-dir-skill__bar { height: 5px; background: var(--card); border-radius: 99px; overflow: hidden; }
.sgs-dir-skill__fill { height: 100%; border-radius: 99px; }

/* Formations */
.sgs-dir-formations { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.sgs-dir-form-card { background: var(--dark2); border: 1px solid var(--border); border-radius: 12px; padding: 28px 22px; border-top: 3px solid var(--f-color, var(--rouge)); transition: var(--ease); }
.sgs-dir-form-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.sgs-dir-form-card__icon { width: 48px; height: 48px; background: rgba(200,16,46,.08); border: 1px solid rgba(200,16,46,.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.sgs-dir-form-card__icon svg { width: 20px; height: 20px; color: var(--f-color, var(--rouge)); }
.sgs-dir-form-card h4 { font-size: .95rem; color: var(--white); margin-bottom: 14px; line-height: 1.4; }
.sgs-dir-form-card ul { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.sgs-dir-form-card li { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.sgs-dir-form-card li svg { width: 12px; height: 12px; color: var(--f-color, var(--rouge)); flex-shrink: 0; }

/* Galerie */
.sgs-dir-galerie { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.sgs-dir-galerie__item { position: relative; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--card); border: 1px solid var(--border); transition: var(--ease); }
.sgs-dir-galerie__item:hover { transform: scale(1.03); border-color: var(--rouge); }
.sgs-dir-galerie__item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .4s; }
.sgs-dir-galerie__item:hover img { transform: scale(1.08); }
.sgs-dir-galerie__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: var(--ease); display: flex; align-items: center; justify-content: center; }
.sgs-dir-galerie__item:hover .sgs-dir-galerie__overlay { opacity: 1; }
.sgs-dir-galerie__zoom { width: 44px; height: 44px; background: var(--rouge); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.sgs-dir-galerie__legende { font-size: .72rem; color: var(--muted); text-align: center; padding: 8px 10px; }

/* Lightbox */
.sgs-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 99999; align-items: center; justify-content: center; }
.sgs-lightbox.is-open { display: flex; }
.sgs-lightbox__inner { position: relative; max-width: 90vw; max-height: 90vh; }
.sgs-lightbox__img { max-width: 80vw; max-height: 80vh; object-fit: contain; display: block; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.8); }
.sgs-lightbox__cap { color: rgba(255,255,255,.7); text-align: center; margin-top: 12px; font-size: .85rem; }
.sgs-lightbox__close { position: absolute; top: -44px; right: 0; background: var(--rouge); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sgs-lightbox__prev, .sgs-lightbox__next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: white; width: 48px; height: 64px; font-size: 2rem; cursor: pointer; border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.sgs-lightbox__prev { left: 16px; }
.sgs-lightbox__next { right: 16px; }
.sgs-lightbox__prev:hover, .sgs-lightbox__next:hover { background: rgba(200,16,46,.7); }

/* Responsive */
@media (max-width: 1024px) {
  .sgs-dir-profil__wrap { grid-template-columns: 1fr; }
  .sgs-dir-photo-wrap { width: 220px; height: 220px; }
  .sgs-dir-photo { width: 180px; height: 180px; }
  .sgs-dir-formations { grid-template-columns: 1fr 1fr; }
  .sgs-dir-galerie { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .sgs-dir-formations { grid-template-columns: 1fr; }
  .sgs-dir-galerie { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════
   PAGE DIRECTEUR v3 — couleurs SGS uniquement
═══════════════════════════════════════════════════ */

/* Présentation */
.sgs-dir-pres { padding: 72px 0; background: var(--dark) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.sgs-dir-pres__wrap { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }

/* Photo */
.sgs-dir-photo-wrap { position: relative; width: 260px; height: 300px; margin: 0 auto 28px; display: flex; align-items: center; justify-content: center; }
.sgs-dir-ring { position: absolute; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1.5px solid rgba(200,16,46,.2); animation: sgs-ring-pulse 3s ease-in-out infinite; }
.sgs-dir-ring--1 { width: 220px; height: 220px; }
.sgs-dir-ring--2 { width: 270px; height: 270px; border-color: rgba(212,175,55,.12); animation-delay: .7s; }
.sgs-dir-ring--3 { width: 320px; height: 320px; border-color: rgba(200,16,46,.06); animation-delay: 1.4s; }
.sgs-dir-photo { width: 200px; height: 240px; border-radius: 12px; object-fit: cover; object-position: center top; border: 3px solid var(--rouge); box-shadow: 0 0 40px rgba(200,16,46,.25); position: relative; z-index: 2; display: block; transition: box-shadow .4s; }
.sgs-dir-photo:hover { box-shadow: 0 0 60px rgba(200,16,46,.4); }
.sgs-dir-photo-badge { position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); background: var(--rouge); color: var(--white); display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; z-index: 3; font-family: var(--f-title); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.sgs-dir-photo-badge svg { width: 12px; height: 12px; }

/* Médailles */
.sgs-dir-medals { display: flex; flex-direction: column; gap: 6px; margin-top: 48px; }

.sgs-dir-medal {
  display: flex; align-items: center; gap: 10px;
  background: var(--dark2); border: 1px solid var(--border);
  border-left: 3px solid var(--rouge); border-radius: 6px;
  padding: 9px 12px; transition: var(--ease);
}
.sgs-dir-medal:hover { border-left-color: var(--or); transform: translateX(4px); }
.sgs-dir-medal--current { border-left-color: var(--or); background: rgba(212,175,55,.05); }
.sgs-dir-medal--current svg { color: var(--or) !important; }

.sgs-dir-medal svg { width: 13px; height: 13px; color: var(--rouge); flex-shrink: 0; }

.sgs-dir-medal__post {
  flex: 1;
  font-size: .78rem;
  color: var(--text);
  line-height: 1.3;
}

.sgs-dir-medal__year {
  font-family: var(--f-title);
  font-size: .68rem;
  font-weight: 700;
  color: var(--or);          /* orange — plus rouge */
  letter-spacing: .06em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Texte présentation */
.sgs-dir-pres__right h2 { font-size: 1.9rem; margin-bottom: 16px; }
.sgs-dir-pres__right p { font-size: .95rem; color: var(--muted); line-height: 1.85; margin-bottom: 14px; }
.sgs-dir-pres__stats { display: flex; gap: 32px; padding-top: 24px; border-top: 1px solid var(--border); margin-top: 24px; }
.sgs-dir-pres__stat strong { display: block; font-family: var(--f-title); font-size: 2.2rem; font-weight: 700; color: var(--rouge); line-height: 1; }
.sgs-dir-pres__stat span { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 4px; display: block; }

/* Grille formations */
.sgs-dir-fgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.sgs-dir-fcard { background: var(--dark2); border: 1px solid var(--border); border-radius: 12px; padding: 28px 22px; border-top: 3px solid var(--rouge); display: flex; flex-direction: column; gap: 10px; transition: var(--ease); }
.sgs-dir-fcard:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,.3); border-color: var(--rouge); }
.sgs-dir-fcard__icon { width: 46px; height: 46px; background: rgba(200,16,46,.08); border: 1px solid rgba(200,16,46,.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.sgs-dir-fcard__icon svg { width: 20px; height: 20px; color: var(--rouge); }
.sgs-dir-fcard h3 { font-size: .95rem; color: var(--white); }
.sgs-dir-fcard p { font-size: .82rem; color: var(--muted); line-height: 1.7; flex: 1; }
.sgs-dir-fcard__cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-title); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rouge); text-decoration: none; border-bottom: 1px solid rgba(200,16,46,.3); padding-bottom: 2px; transition: var(--ease); width: fit-content; margin-top: 4px; }
.sgs-dir-fcard__cta svg { width: 12px; height: 12px; }
.sgs-dir-fcard__cta:hover { color: var(--or); border-color: var(--or); }

/* Grille services */
.sgs-dir-sgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.sgs-dir-scard { display: flex; align-items: flex-start; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 22px; transition: var(--ease); }
.sgs-dir-scard:hover { border-color: var(--rouge); transform: translateX(4px); }
.sgs-dir-scard__icon { width: 40px; height: 40px; background: rgba(200,16,46,.08); border: 1px solid rgba(200,16,46,.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sgs-dir-scard__icon svg { width: 17px; height: 17px; color: var(--rouge); }
.sgs-dir-scard h4 { font-size: .88rem; color: var(--white); margin-bottom: 5px; }
.sgs-dir-scard p { font-size: .78rem; color: var(--muted); line-height: 1.65; }

/* Galerie */
.sgs-dir-galerie { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.sgs-dir-galerie__item { position: relative; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--card); border: 1px solid var(--border); transition: var(--ease); }
.sgs-dir-galerie__item:hover { transform: scale(1.03); border-color: var(--rouge); }
.sgs-dir-galerie__item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .4s; }
.sgs-dir-galerie__item:hover img { transform: scale(1.08); }
.sgs-dir-galerie__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: var(--ease); display: flex; align-items: center; justify-content: center; }
.sgs-dir-galerie__item:hover .sgs-dir-galerie__overlay { opacity: 1; }
.sgs-dir-galerie__zoom { width: 40px; height: 40px; background: var(--rouge); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--white); font-weight: 300; }
.sgs-dir-galerie__legende { font-size: .72rem; color: var(--muted); text-align: center; padding: 8px 10px; }

/* Lightbox */
.sgs-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 99999; align-items: center; justify-content: center; }
.sgs-lightbox.is-open { display: flex; }
.sgs-lightbox__inner { position: relative; max-width: 90vw; max-height: 90vh; }
.sgs-lightbox__img { max-width: 80vw; max-height: 80vh; object-fit: contain; display: block; border-radius: 6px; }
.sgs-lightbox__cap { color: rgba(255,255,255,.6); text-align: center; margin-top: 12px; font-size: .85rem; }
.sgs-lightbox__close { position: absolute; top: -44px; right: 0; background: var(--rouge); border: none; color: var(--white); width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; cursor: pointer; }
.sgs-lightbox__prev, .sgs-lightbox__next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: none; color: var(--white); width: 48px; height: 64px; font-size: 2rem; cursor: pointer; border-radius: 6px; transition: background .2s; }
.sgs-lightbox__prev { left: 16px; }
.sgs-lightbox__next { right: 16px; }
.sgs-lightbox__prev:hover, .sgs-lightbox__next:hover { background: var(--rouge); }

/* Responsive */
@media (max-width: 1024px) {
  .sgs-dir-pres__wrap { grid-template-columns: 1fr; gap: 40px; }
  .sgs-dir-fgrid { grid-template-columns: repeat(2,1fr); }
  .sgs-dir-sgrid { grid-template-columns: repeat(2,1fr); }
  .sgs-dir-galerie { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .sgs-dir-fgrid { grid-template-columns: 1fr; }
  .sgs-dir-sgrid { grid-template-columns: 1fr; }
  .sgs-dir-galerie { grid-template-columns: repeat(2,1fr); }
  .sgs-dir-photo { width: 160px; height: 190px; }
}

/* ═══════════════════════════════════════════════════
   GALERIES DIRECTEUR — Photos + Reconnaissances
═══════════════════════════════════════════════════ */

/* Grille masonry-like pour les photos */
.sgs-dir-galerie--photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
}

/* Alternance tall/wide pour dynamisme */
.sgs-dir-galerie__item--tall {
  grid-row: span 2;   /* haute */
}
.sgs-dir-galerie__item--wide {
  grid-row: span 1;   /* normale */
}

/* Item de base */
.sgs-dir-galerie__item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--border);
  /* Animation d'entrée décalée */
  opacity: 0;
  transform: translateY(20px) scale(.97);
  transition: opacity .5s ease var(--delay, 0ms),
              transform .5s ease var(--delay, 0ms),
              border-color .3s;
}
.sgs-dir-galerie__item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.sgs-dir-galerie__item:hover {
  border-color: var(--rouge);
  z-index: 2;
}

.sgs-dir-galerie__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.sgs-dir-galerie__item:hover img {
  transform: scale(1.08);
}

/* Overlay au hover */
.sgs-dir-galerie__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(200,16,46,.7) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
  opacity: 0; transition: opacity .35s;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}
.sgs-dir-galerie__item:hover .sgs-dir-galerie__overlay { opacity: 1; }

.sgs-dir-galerie__zoom {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: scale(.7); transition: transform .3s;
}
.sgs-dir-galerie__item:hover .sgs-dir-galerie__zoom { transform: scale(1); }

.sgs-dir-galerie__overlay-text {
  font-family: var(--f-title); font-size: .65rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); text-align: center; padding: 0 12px;
  transform: translateY(8px); transition: transform .3s;
}
.sgs-dir-galerie__item:hover .sgs-dir-galerie__overlay-text { transform: translateY(0); }

/* ── Galerie reconnaissances ── */
.sgs-dir-galerie--recon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sgs-dir-galerie__item--recon {
  display: flex; flex-direction: column;
  border: 1px solid rgba(212,175,55,.25);
  background: var(--dark);
}
.sgs-dir-galerie__item--recon:hover { border-color: var(--or); }
.sgs-dir-galerie__item--recon img {
  height: 220px; object-fit: cover;
  border-bottom: 2px solid rgba(212,175,55,.3);
}

/* Badge étoile doré sur chaque reconnaissance */
.sgs-dir-recon-badge {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 32px; height: 32px;
  background: var(--or);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(212,175,55,.4);
  animation: sgs-pulse .8s ease-in-out infinite alternate;
}
.sgs-dir-recon-badge svg { width: 15px; height: 15px; color: var(--dark); }
@keyframes sgs-pulse { from { box-shadow: 0 2px 8px rgba(212,175,55,.3); } to { box-shadow: 0 4px 18px rgba(212,175,55,.7); } }

.sgs-dir-galerie__legende {
  font-size: .72rem; color: var(--or);
  text-align: center; padding: 10px 12px;
  font-family: var(--f-title); letter-spacing: .08em;
  text-transform: uppercase;
}

/* Responsive galeries */
@media (max-width: 960px) {
  .sgs-dir-galerie--photos { grid-template-columns: repeat(2,1fr); grid-auto-rows: 180px; }
  .sgs-dir-galerie--recon  { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .sgs-dir-galerie--photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .sgs-dir-galerie--recon  { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════
   EXPERTISE ORBITALE — Directeur
═══════════════════════════════════════════════════ */

/* Layout 3 colonnes */
.sgs-dir-pres__wrap {
  display: grid !important;
  grid-template-columns: 300px 1fr 280px !important;
  gap: 48px !important;
  align-items: start !important;
}

/* Bloc expertise */
.sgs-dir-expertise {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
}

.sgs-dir-expertise__title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-title); font-size: .65rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--rouge);
}
.sgs-dir-expertise__title svg { width: 14px; height: 14px; }

/* Scène orbitale */
.sgs-dir-orb-scene {
  position: relative;
  width: 240px; height: 240px;
}

/* Centre */
.sgs-dir-orb-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 64px; height: 64px;
  background: var(--rouge);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 10;
  box-shadow: 0 0 0 4px rgba(200,16,46,.15),
              0 0 30px rgba(200,16,46,.3);
  animation: sgs-orb-pulse 2.5s ease-in-out infinite;
}
@keyframes sgs-orb-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(200,16,46,.15), 0 0 20px rgba(200,16,46,.25); }
  50%      { box-shadow: 0 0 0 8px rgba(200,16,46,.08), 0 0 40px rgba(200,16,46,.4); }
}
.sgs-dir-orb-center span {
  font-family: var(--f-title); font-size: 1.3rem;
  font-weight: 700; color: var(--white); line-height: 1;
}
.sgs-dir-orb-center small {
  font-family: var(--f-title); font-size: .5rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* Anneaux */
.sgs-dir-orb-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px dashed rgba(200,16,46,.2);
}
.sgs-dir-orb-ring--1 {
  width: 160px; height: 160px;
  animation: sgs-orb-spin 12s linear infinite;
}
.sgs-dir-orb-ring--2 {
  width: 230px; height: 230px;
  animation: sgs-orb-spin 20s linear infinite reverse;
  border-color: rgba(212,175,55,.15);
}

@keyframes sgs-orb-spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* Items sur l'anneau */
.sgs-dir-orb-item {
  position: absolute;
  top: 50%; left: 50%;
  /* Place sur le cercle selon --a */
  transform: rotate(var(--a)) translateX(80px) rotate(calc(-1 * var(--a)));
}
.sgs-dir-orb-ring--2 .sgs-dir-orb-item {
  transform: rotate(var(--a)) translateX(115px) rotate(calc(-1 * var(--a)));
}

.sgs-dir-orb-icon {
  width: 38px; height: 38px;
  background: var(--dark2);
  border: 1.5px solid var(--rouge);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--rouge);
  transform: translate(-50%, -50%);
  transition: var(--ease);
  cursor: default;
  box-shadow: 0 2px 12px rgba(200,16,46,.2);
}
.sgs-dir-orb-icon:hover {
  background: var(--rouge);
  color: var(--white);
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 20;
}

.sgs-dir-orb-icon--sm {
  width: 28px; height: 28px;
  border-color: rgba(212,175,55,.5);
  color: var(--or);
  box-shadow: 0 2px 8px rgba(212,175,55,.15);
}
.sgs-dir-orb-icon--sm:hover {
  background: var(--or);
  color: var(--dark);
  border-color: var(--or);
}

/* Label sous l'orbite */
.sgs-dir-expertise__labels {
  text-align: center;
  min-height: 24px;
}
.sgs-dir-expertise__label-text {
  font-family: var(--f-title); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  animation: sgs-label-cycle 8s linear infinite;
}
@keyframes sgs-label-cycle {
  0%,12%   { content: 'Sécurité Incendie'; }
}

/* Responsive */
@media (max-width: 1100px) {
  .sgs-dir-pres__wrap {
    grid-template-columns: 280px 1fr !important;
  }
  .sgs-dir-expertise { display: none !important; }
}
@media (max-width: 768px) {
  .sgs-dir-pres__wrap { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════
   PAGE SÉCURITÉ ÉLECTRONIQUE
═══════════════════════════════════════════════════ */
.sgs-pghero--securite { background: linear-gradient(135deg,rgba(0,40,104,.2) 0%,rgba(200,16,46,.12) 100%) !important; }

/* Particules animées hero */
.sgs-sec-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.sgs-sec-particle { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--rouge); animation: sgs-sec-float linear infinite; opacity: 0; }
.sgs-sec-particle:nth-child(1){ left:8%;  top:30%; animation-duration:5s;  animation-delay:0s; }
.sgs-sec-particle:nth-child(2){ left:25%; top:60%; animation-duration:7s;  animation-delay:1s;  background:var(--or); width:3px; height:3px; }
.sgs-sec-particle:nth-child(3){ left:50%; top:20%; animation-duration:6s;  animation-delay:2s; }
.sgs-sec-particle:nth-child(4){ left:70%; top:70%; animation-duration:8s;  animation-delay:.5s; background:var(--or); }
.sgs-sec-particle:nth-child(5){ left:85%; top:40%; animation-duration:5.5s;animation-delay:3s; }
.sgs-sec-particle:nth-child(6){ left:40%; top:80%; animation-duration:6.5s;animation-delay:1.5s; background:var(--or); width:3px; height:3px; }
@keyframes sgs-sec-float { 0%{transform:translateY(0);opacity:0} 20%{opacity:.8} 80%{opacity:.6} 100%{transform:translateY(-100px);opacity:0} }

/* Stats hero */
.sgs-sec-hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.sgs-sec-hero-stat__num { display: block; font-family: var(--f-title); font-size: 2.4rem; font-weight: 700; color: var(--white); line-height: 1; }
.sgs-sec-hero-stat__lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 4px; display: block; }

/* Intro avec mur d'icônes */
.sgs-sec-intro { padding: 64px 0; background: var(--dark2) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.sgs-sec-intro__wrap { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
.sgs-sec-intro__icon-wall { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.sgs-sec-wall-icon {
  width: 72px; height: 72px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--rouge);
  animation: sgs-wall-float 3s ease-in-out infinite;
  animation-delay: calc(var(--wi) * 0.4s);
  transition: var(--ease);
}
.sgs-sec-wall-icon:nth-child(even) { color: var(--or); border-color: rgba(212,175,55,.25); background: rgba(212,175,55,.04); }
.sgs-sec-wall-icon:hover { transform: scale(1.15) rotate(-6deg); border-color: var(--rouge); }
@keyframes sgs-wall-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.sgs-sec-wall-icon svg { width: 28px; height: 28px; }
.sgs-sec-intro__text h2 { font-size: 1.9rem; margin-bottom: 14px; }
.sgs-sec-intro__text p { font-size: .95rem; color: var(--muted); line-height: 1.85; margin-bottom: 20px; }
.sgs-sec-intro__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.sgs-sec-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-title); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); padding: 7px 12px; border: 1px solid var(--border); border-radius: 4px; background: var(--card); }
.sgs-sec-badge svg { width: 12px; height: 12px; color: var(--rouge); }

/* Blocs solutions alternés */
.sgs-sec-solutions { padding: 72px 0; background: var(--dark) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.sgs-sec-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--border); position: relative; }
.sgs-sec-block:last-child { border-bottom: none; }
.sgs-sec-block--rev { direction: rtl; }
.sgs-sec-block--rev > * { direction: ltr; }

/* Visuel */
.sgs-sec-block__visual { position: relative; border-radius: 16px; overflow: hidden; min-height: 320px; }
.sgs-sec-block__img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 16px; transition: transform .5s; }
.sgs-sec-block__visual:hover .sgs-sec-block__img { transform: scale(1.04); }

/* Placeholder dynamique */
.sgs-sec-block__placeholder {
  width: 100%; min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(135deg, var(--dark2), var(--card));
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative; overflow: hidden;
}
.sgs-sec-block__ph-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(200,16,46,.15);
  animation: sgs-ring-pulse 3s ease-in-out infinite;
}
.sgs-sec-block__ph-ring--1 { width: 180px; height: 180px; }
.sgs-sec-block__ph-ring--2 { width: 260px; height: 260px; border-color: rgba(212,175,55,.08); animation-delay: .8s; }
.sgs-sec-block__ph-icon {
  width: 90px; height: 90px;
  background: var(--rouge-bg);
  border: 2px solid var(--svc-color, var(--rouge));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  box-shadow: 0 0 30px rgba(200,16,46,.2);
}
.sgs-sec-block__ph-icon svg { color: var(--svc-color, var(--rouge)); }
.sgs-sec-block__ph-label {
  font-family: var(--f-title); font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); position: relative; z-index: 2;
}
.sgs-sec-block__num {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--f-title); font-size: 4rem; font-weight: 700;
  color: rgba(255,255,255,.05); line-height: 1; z-index: 3;
}

/* Contenu */
.sgs-sec-block__content h2 { font-size: 1.8rem; margin: 10px 0 14px; }
.sgs-sec-block__content p  { font-size: .95rem; color: var(--muted); line-height: 1.85; margin-bottom: 20px; }
.sgs-sec-block__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 24px; list-style: none; }
.sgs-sec-block__list li { display: flex; align-items: flex-start; gap: 8px; font-size: .85rem; color: var(--text); }
.sgs-sec-block__list li svg { width: 13px; height: 13px; color: var(--svc-color, var(--rouge)); flex-shrink: 0; margin-top: 2px; }

/* Processus */
.sgs-sec-process { padding: 72px 0; background: var(--dark2) !important; width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.sgs-sec-process__steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative; }
.sgs-sec-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 16px; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; position: relative;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease calc(var(--step-delay, 0ms)),
              transform .5s ease calc(var(--step-delay, 0ms));
}
.sgs-sec-step.is-visible { opacity: 1; transform: translateY(0); }
.sgs-sec-step:hover { border-color: var(--rouge); transform: translateY(-4px); }
.sgs-sec-step__num {
  font-family: var(--f-title); font-size: 3rem; font-weight: 700;
  color: rgba(200,16,46,.1); line-height: 1; margin-bottom: 4px;
}
.sgs-sec-step__icon { width: 48px; height: 48px; background: var(--rouge-bg); border: 1px solid rgba(200,16,46,.25); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; transition: var(--ease); }
.sgs-sec-step__icon svg { width: 20px; height: 20px; color: var(--rouge); }
.sgs-sec-step:hover .sgs-sec-step__icon { background: var(--rouge); }
.sgs-sec-step:hover .sgs-sec-step__icon svg { color: var(--white); }
.sgs-sec-step h4 { font-size: .85rem; color: var(--white); margin-bottom: 6px; }
.sgs-sec-step p  { font-size: .75rem; color: var(--muted); line-height: 1.65; }
.sgs-sec-step__arrow { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--rouge); z-index: 2; }

/* Responsive */
@media (max-width: 1024px) { .sgs-sec-process__steps { grid-template-columns: repeat(3,1fr); gap: 12px; } .sgs-sec-step__arrow { display: none; } }
@media (max-width: 768px) {
  .sgs-sec-block, .sgs-sec-block--rev { grid-template-columns: 1fr; direction: ltr; gap: 28px; }
  .sgs-sec-intro__wrap { grid-template-columns: 1fr; gap: 28px; }
  .sgs-sec-process__steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sgs-sec-hero-stats { gap: 20px; }
  .sgs-sec-block__list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .sgs-sec-process__steps { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   PAGE SÉCURITÉ ÉLECTRONIQUE — v2 Professional
═══════════════════════════════════════════════════ */

.sgs-pghero--securite {
  background: linear-gradient(135deg,rgba(0,40,104,.22) 0%,rgba(200,16,46,.14) 100%) !important;
}

/* Particules */
.sgs-sec-particles { position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden; }
.sgs-sec-particle  { position:absolute;width:3px;height:3px;border-radius:50%;background:var(--rouge);animation:sgs-sec-float linear infinite;opacity:0; }
.sgs-sec-particle:nth-child(1){left:8%; top:30%;animation-duration:5s; animation-delay:0s;}
.sgs-sec-particle:nth-child(2){left:20%;top:65%;animation-duration:7s; animation-delay:1s; background:var(--or);width:4px;height:4px;}
.sgs-sec-particle:nth-child(3){left:45%;top:20%;animation-duration:6s; animation-delay:2s;}
.sgs-sec-particle:nth-child(4){left:65%;top:70%;animation-duration:8s; animation-delay:.5s;background:var(--or);}
.sgs-sec-particle:nth-child(5){left:80%;top:40%;animation-duration:5.5s;animation-delay:3s;}
.sgs-sec-particle:nth-child(6){left:35%;top:80%;animation-duration:6.5s;animation-delay:1.5s;background:var(--or);width:4px;height:4px;}
.sgs-sec-particle:nth-child(7){left:90%;top:25%;animation-duration:7.5s;animation-delay:.8s;}
.sgs-sec-particle:nth-child(8){left:55%;top:55%;animation-duration:5.8s;animation-delay:2.5s;background:var(--or);}
@keyframes sgs-sec-float{0%{transform:translateY(0);opacity:0}20%{opacity:.9}80%{opacity:.5}100%{transform:translateY(-120px);opacity:0}}

/* Hero layout */
.sgs-sec-hero-layout {
  display:grid;grid-template-columns:1fr auto;gap:48px;align-items:center;
}

/* Cards flottantes hero */
.sgs-sec-hero-cards {
  display:grid;grid-template-columns:1fr 1fr;gap:10px;
  position:relative;z-index:2;
}
.sgs-sec-hcard {
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;padding:18px 16px;
  display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;
  backdrop-filter:blur(12px);
  transition:var(--ease);
  animation:sgs-hcard-in .6s ease both;
}
.sgs-sec-hcard:hover{border-color:var(--rouge);background:rgba(200,16,46,.08);transform:translateY(-3px);}
.sgs-sec-hcard--1{animation-delay:.1s;} .sgs-sec-hcard--2{animation-delay:.2s;}
.sgs-sec-hcard--3{animation-delay:.3s;} .sgs-sec-hcard--4{animation-delay:.4s;}
@keyframes sgs-hcard-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.sgs-sec-hcard__icon{width:34px;height:34px;background:var(--rouge-bg);border-radius:8px;display:flex;align-items:center;justify-content:center;}
.sgs-sec-hcard__icon svg{width:15px;height:15px;color:var(--rouge);}
.sgs-sec-hcard strong{font-family:var(--f-title);font-size:1.4rem;font-weight:700;color:var(--white);line-height:1;}
.sgs-sec-hcard span{font-size:.65rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);}

/* ── BLOCS SOLUTIONS ── */
.sgs-sec-solutions {
  padding:72px 0;background:var(--dark) !important;
  width:100vw !important;max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;
}
.sgs-sec-sblock {
  display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;
  padding:60px 0;border-bottom:1px solid var(--border);
}
.sgs-sec-sblock:last-child{border-bottom:none;}
.sgs-sec-sblock--rev .sgs-sec-sblock__visual{order:2;}
.sgs-sec-sblock--rev .sgs-sec-sblock__content{order:1;}

/* Cadre image stylisé */
.sgs-sec-sblock__visual{position:relative;}
.sgs-sec-sblock__frame {
  position:relative;border-radius:16px;overflow:hidden;
  max-width:420px;margin:0 auto;
  box-shadow:0 20px 60px rgba(0,0,0,.4);
}
/* Coins décoratifs */
.sgs-sec-sblock__frame-corner {
  position:absolute;width:22px;height:22px;z-index:3;
  border-color:var(--sc,var(--rouge));border-style:solid;
}
.sgs-sec-sblock__frame-corner--tl{top:10px;left:10px;border-width:2px 0 0 2px;border-radius:4px 0 0 0;}
.sgs-sec-sblock__frame-corner--tr{top:10px;right:10px;border-width:2px 2px 0 0;border-radius:0 4px 0 0;}
.sgs-sec-sblock__frame-corner--bl{bottom:10px;left:10px;border-width:0 0 2px 2px;border-radius:0 0 0 4px;}
.sgs-sec-sblock__frame-corner--br{bottom:10px;right:10px;border-width:0 2px 2px 0;border-radius:0 0 4px 0;}

.sgs-sec-sblock__img {
  width:100%;height:280px;object-fit:cover;display:block;
  transition:transform .6s cubic-bezier(.25,.46,.45,.94);
}
.sgs-sec-sblock:hover .sgs-sec-sblock__img{transform:scale(1.06);}
.sgs-sec-sblock__img-overlay{
  position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(var(--sc),0) 40%,rgba(0,0,0,.3) 100%);
  pointer-events:none;
}

/* Badge numéro */
.sgs-sec-sblock__badge {
  position:absolute;top:-16px;right:-16px;
  width:52px;height:52px;border-radius:50%;
  background:var(--sc,var(--rouge));
  font-family:var(--f-title);font-size:1.1rem;font-weight:700;color:var(--white);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 16px rgba(200,16,46,.4);
  z-index:4;
  animation:sgs-badge-pulse 2.5s ease-in-out infinite;
}
@keyframes sgs-badge-pulse{0%,100%{box-shadow:0 4px 16px rgba(200,16,46,.3)}50%{box-shadow:0 4px 28px rgba(200,16,46,.6)}}

/* Ligne décorative */
.sgs-sec-sblock__deco-line{
  height:3px;width:60%;margin-top:16px;
  background:linear-gradient(90deg,var(--sc,var(--rouge)),transparent);
  border-radius:99px;
}
.sgs-sec-sblock--rev .sgs-sec-sblock__deco-line{
  margin-left:auto;
  background:linear-gradient(90deg,transparent,var(--sc,var(--rouge)));
}

/* Contenu */
.sgs-sec-sblock__header{margin-bottom:16px;}
.sgs-sec-sblock__sous{font-family:var(--f-title);font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:var(--sc,var(--rouge));}
.sgs-sec-sblock__content h2{font-size:1.8rem;margin:8px 0 10px;}
.sgs-sec-sblock__underline{height:3px;width:48px;background:var(--sc,var(--rouge));border-radius:99px;margin-top:6px;}
.sgs-sec-sblock__desc{font-size:.95rem;color:var(--muted);line-height:1.85;margin-bottom:20px;}

.sgs-sec-sblock__list{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin-bottom:24px;list-style:none;}
.sgs-sec-sblock__list li{display:flex;align-items:center;gap:9px;font-size:.85rem;color:var(--text);}
.sgs-sec-sblock__list-dot{
  width:8px;height:8px;border-radius:50%;flex-shrink:0;
  background:var(--sc,var(--rouge));
  box-shadow:0 0 6px var(--sc,var(--rouge));
}

/* Bouton CTA bloc */
.sgs-sec-sblock__cta {
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--f-title);font-size:.78rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--sc,var(--rouge));text-decoration:none;
  padding:10px 0;border-bottom:2px solid var(--sc,var(--rouge));
  transition:var(--ease);width:fit-content;
}
.sgs-sec-sblock__cta svg{width:14px;height:14px;}
.sgs-sec-sblock__cta-arrow{font-size:1.1rem;transition:transform .25s;}
.sgs-sec-sblock__cta:hover{color:var(--white);border-color:var(--white);}
.sgs-sec-sblock__cta:hover .sgs-sec-sblock__cta-arrow{transform:translateX(5px);}

/* ── PROCESSUS ── */
.sgs-sec-process {
  padding:72px 0;background:var(--dark2) !important;
  width:100vw !important;max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;
}

.sgs-sec-process__track {
  position:relative;
  display:grid;grid-template-columns:repeat(5,1fr);gap:16px;
  padding-top:48px;
}

/* Ligne de progression */
.sgs-sec-process__line {
  position:absolute;top:19px;left:10%;right:10%;height:2px;
  background:var(--border);border-radius:99px;overflow:hidden;
}
.sgs-sec-process__line-fill {
  height:100%;
  background:linear-gradient(90deg,var(--rouge),var(--or));
  width:0%;
  transition:width 1.5s ease .5s;
  border-radius:99px;
}
.sgs-sec-process__line-fill.animated{width:100%;}

/* Point sur la ligne */
.sgs-sec-pstep__dot {
  width:14px;height:14px;border-radius:50%;
  background:var(--rouge);border:3px solid var(--dark2);
  margin:0 auto 20px;position:relative;z-index:2;
  box-shadow:0 0 12px rgba(200,16,46,.5);
  transition:transform .3s;
}
.sgs-sec-pstep:hover .sgs-sec-pstep__dot{transform:scale(1.4);}

/* Carte étape */
.sgs-sec-pstep{
  display:flex;flex-direction:column;align-items:center;
  opacity:0;transform:translateY(24px);
  transition:opacity .5s ease calc(var(--pd,0ms) + 300ms),
              transform .5s ease calc(var(--pd,0ms) + 300ms);
}
.sgs-sec-pstep.is-visible{opacity:1;transform:translateY(0);}

.sgs-sec-pstep__card {
  background:var(--card);border:1px solid var(--border);border-radius:14px;
  padding:22px 16px;text-align:center;width:100%;
  transition:var(--ease);position:relative;overflow:hidden;
}
.sgs-sec-pstep__card::before{
  content:'';position:absolute;bottom:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,var(--rouge),var(--or));
  transform:scaleX(0);transform-origin:left;transition:transform .35s;
}
.sgs-sec-pstep:hover .sgs-sec-pstep__card{
  border-color:var(--rouge);transform:translateY(-6px);
  box-shadow:0 12px 32px rgba(0,0,0,.3);
}
.sgs-sec-pstep:hover .sgs-sec-pstep__card::before{transform:scaleX(1);}

.sgs-sec-pstep__top{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:12px;}
.sgs-sec-pstep__icon{
  width:40px;height:40px;background:var(--rouge-bg);
  border:1px solid rgba(200,16,46,.22);border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;transition:var(--ease);
}
.sgs-sec-pstep__icon svg{width:17px;height:17px;color:var(--rouge);}
.sgs-sec-pstep:hover .sgs-sec-pstep__icon{background:var(--rouge);}
.sgs-sec-pstep:hover .sgs-sec-pstep__icon svg{color:var(--white);}
.sgs-sec-pstep__num{
  font-family:var(--f-title);font-size:.6rem;font-weight:700;
  letter-spacing:.18em;color:var(--or);
  background:rgba(212,175,55,.1);border:1px solid rgba(212,175,55,.25);
  padding:2px 7px;border-radius:99px;
}
.sgs-sec-pstep__card h4{font-size:.88rem;color:var(--white);margin-bottom:7px;}
.sgs-sec-pstep__card p{font-size:.76rem;color:var(--muted);line-height:1.65;}

/* ── Responsive ── */
@media (max-width:1100px){
  .sgs-sec-hero-layout{grid-template-columns:1fr;}
  .sgs-sec-hero-cards{grid-template-columns:repeat(4,1fr);}
}
@media (max-width:900px){
  .sgs-sec-process__track{grid-template-columns:repeat(3,1fr);}
  .sgs-sec-process__line{display:none;}
}
@media (max-width:768px){
  .sgs-sec-sblock,.sgs-sec-sblock--rev{grid-template-columns:1fr;gap:28px;}
  .sgs-sec-sblock--rev .sgs-sec-sblock__visual,.sgs-sec-sblock--rev .sgs-sec-sblock__content{order:unset;}
  .sgs-sec-sblock__list{grid-template-columns:1fr;}
  .sgs-sec-hero-cards{grid-template-columns:repeat(2,1fr);}
  .sgs-sec-process__track{grid-template-columns:repeat(2,1fr);}
  .sgs-sec-sblock__frame{max-width:100%;}
  .sgs-sec-sblock__img{height:220px;}
}
@media (max-width:480px){
  .sgs-sec-process__track{grid-template-columns:1fr;}
  .sgs-sec-hero-cards{grid-template-columns:repeat(2,1fr);}
}

/* ═══════════════════════════════════════════════════
   PAGE PIÈCES MOTOS — Carrousel Premium
═══════════════════════════════════════════════════ */
.sgs-pghero--motos { background: linear-gradient(135deg,rgba(139,12,32,.2) 0%,rgba(200,16,46,.12) 60%,var(--dark) 100%) !important; }

/* Particules */
.sgs-moto-particles { position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden; }
.sgs-moto-particle  { position:absolute;width:3px;height:3px;border-radius:50%;background:var(--rouge);animation:sgs-sec-float linear infinite;opacity:0; }
.sgs-moto-particle:nth-child(1){left:10%;top:25%;animation-duration:5.5s;animation-delay:0s;}
.sgs-moto-particle:nth-child(2){left:30%;top:60%;animation-duration:7s;  animation-delay:1.2s;background:var(--or);width:4px;height:4px;}
.sgs-moto-particle:nth-child(3){left:55%;top:15%;animation-duration:6s;  animation-delay:2s;}
.sgs-moto-particle:nth-child(4){left:75%;top:70%;animation-duration:8s;  animation-delay:.6s;background:var(--or);}
.sgs-moto-particle:nth-child(5){left:88%;top:35%;animation-duration:5s;  animation-delay:3s;}
.sgs-moto-particle:nth-child(6){left:42%;top:85%;animation-duration:6.5s;animation-delay:1.8s;background:var(--or);width:4px;height:4px;}

/* ── Catégories rapides ── */
.sgs-moto-cats { padding:32px 0; background:var(--dark2) !important; width:100vw !important; max-width:100vw !important; margin-left:calc(50% - 50vw) !important; margin-right:calc(50% - 50vw) !important; }
.sgs-moto-cats__grid { display:grid; grid-template-columns:repeat(6,1fr); gap:10px; }
.sgs-moto-cat {
  display:flex; align-items:center; gap:10px;
  background:var(--card); border:1px solid var(--border); border-radius:10px;
  padding:14px 12px; cursor:default; transition:var(--ease);
  animation:sgs-hcard-in .5s ease both;
  animation-delay:calc(var(--cd,0ms));
}
.sgs-moto-cat:hover { border-color:var(--rouge); transform:translateY(-3px); background:rgba(200,16,46,.06); }
.sgs-moto-cat__icon { width:34px;height:34px; background:var(--rouge-bg); border:1px solid rgba(200,16,46,.2); border-radius:8px; display:flex;align-items:center;justify-content:center; flex-shrink:0; transition:var(--ease); }
.sgs-moto-cat__icon svg { width:15px;height:15px;color:var(--rouge); }
.sgs-moto-cat:hover .sgs-moto-cat__icon { background:var(--rouge); }
.sgs-moto-cat:hover .sgs-moto-cat__icon svg { color:var(--white); }
.sgs-moto-cat__info { flex:1; }
.sgs-moto-cat__info strong { display:block; font-family:var(--f-title); font-size:.78rem; color:var(--white); text-transform:uppercase; letter-spacing:.04em; margin-bottom:2px; }
.sgs-moto-cat__info span { font-size:.68rem; color:var(--muted); }
.sgs-moto-cat__arrow { font-size:1.1rem; color:var(--rouge); opacity:0; transition:var(--ease); }
.sgs-moto-cat:hover .sgs-moto-cat__arrow { opacity:1; transform:translateX(3px); }

/* ── Section carrousel ── */
.sgs-moto-carousel-section { padding:72px 0 0; background:var(--dark) !important; width:100vw !important; max-width:100vw !important; margin-left:calc(50% - 50vw) !important; margin-right:calc(50% - 50vw) !important; }

/* ── Carrousel ── */
.sgs-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.sgs-carousel__track { width: 100%; }

/* Slide */
.sgs-carousel__slide {
  display: none;
  width: 100%;
}
.sgs-carousel__slide.is-active {
  display: grid !important;
  grid-template-columns: 50% 50%;
  width: 100%;
  min-height: 460px;
  animation: sgs-slide-in .55s ease;
}
@keyframes sgs-slide-in {
  from { opacity:0; transform:translateX(30px); }
  to   { opacity:1; transform:translateX(0); }
}

/* Visuel */
.sgs-carousel__visual {
  position: relative;
  overflow: hidden;
  height: 460px;
  min-height: 460px;
}
.sgs-carousel__img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.sgs-carousel__slide.is-active .sgs-carousel__img { transform: scale(1.04); }
.sgs-carousel__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(19,19,31,.8) 100%);
  pointer-events: none;
}

/* Placeholder */
.sgs-carousel__placeholder {
  width: 100%; height: 100%; min-height: 460px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(135deg, rgba(200,16,46,.08), var(--dark2));
}
.sgs-carousel__ph-icon { width:110px;height:110px;background:var(--rouge-bg);border:2px solid rgba(200,16,46,.3);border-radius:24px;display:flex;align-items:center;justify-content:center;color:var(--rouge); }
.sgs-carousel__placeholder span { font-family:var(--f-title);font-size:4rem;font-weight:700;color:rgba(255,255,255,.05); }

/* Contenu */
.sgs-carousel__content {
  background: var(--dark2);
  display: flex;
  align-items: center;
  height: 460px;
  min-height: 460px;
  overflow: hidden;
}
.sgs-carousel__content-inner {
  padding: 44px 40px;
  width: 100%;
}

/* ── Navigation ── */
.sgs-carousel__nav {
  display:flex; align-items:center; gap:0;
  background:var(--dark); padding:0 0 0 0;
  border-top:1px solid var(--border);
}

.sgs-carousel__btn {
  width:60px;height:60px;background:var(--card);border:none;cursor:pointer;
  display:flex;align-items:center;justify-content:center;color:var(--white);
  transition:var(--ease);flex-shrink:0;
}
.sgs-carousel__btn:hover { background:var(--rouge);color:var(--white); }

/* Dots texte */
.sgs-carousel__dots { display:flex;flex:1;overflow-x:auto;scrollbar-width:none; }
.sgs-carousel__dots::-webkit-scrollbar { display:none; }
.sgs-carousel__dot {
  flex:1;padding:0 20px;height:60px;
  background:transparent;border:none;border-right:1px solid var(--border);cursor:pointer;
  font-family:var(--f-title);font-size:.65rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);white-space:nowrap;transition:var(--ease);position:relative;
}
.sgs-carousel__dot::after {
  content:'';position:absolute;bottom:0;left:0;right:0;height:2px;
  background:var(--rouge);transform:scaleX(0);transform-origin:left;transition:transform .3s;
}
.sgs-carousel__dot.is-active { color:var(--white); }
.sgs-carousel__dot.is-active::after { transform:scaleX(1); }
.sgs-carousel__dot:hover { color:var(--or); background:rgba(255,255,255,.02); }

/* Barre de progression */
.sgs-carousel__progress { height:3px; background:var(--border); }
.sgs-carousel__progress-fill { height:100%; background:linear-gradient(90deg,var(--rouge),var(--or)); transition:width .4s ease; border-radius:0 99px 99px 0; }

/* ── Infos ── */
.sgs-moto-infos { padding:64px 0; background:var(--dark2) !important; width:100vw !important; max-width:100vw !important; margin-left:calc(50% - 50vw) !important; margin-right:calc(50% - 50vw) !important; }
.sgs-moto-infos__grid { display:grid;grid-template-columns:repeat(3,1fr);gap:20px; }
.sgs-moto-infos__card { background:var(--card);border:1px solid var(--border);border-radius:14px;padding:32px 26px;text-align:center;transition:var(--ease);border-top:3px solid var(--rouge); }
.sgs-moto-infos__card:hover { transform:translateY(-5px);box-shadow:0 14px 36px rgba(0,0,0,.3); }
.sgs-moto-infos__icon { width:52px;height:52px;background:var(--rouge-bg);border:1px solid rgba(200,16,46,.22);border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;transition:var(--ease); }
.sgs-moto-infos__icon svg { width:22px;height:22px;color:var(--rouge); }
.sgs-moto-infos__card:hover .sgs-moto-infos__icon { background:var(--rouge); }
.sgs-moto-infos__card:hover .sgs-moto-infos__icon svg { color:var(--white); }
.sgs-moto-infos__card h3 { font-size:1.05rem;color:var(--white);margin-bottom:10px; }
.sgs-moto-infos__card p { font-size:.85rem;color:var(--muted);line-height:1.75; }

/* ── Responsive ── */
@media (max-width:1024px) {
  .sgs-moto-cats__grid { grid-template-columns:repeat(3,1fr); }
  .sgs-carousel__content-inner { padding:36px 32px; }
  .sgs-carousel__titre { font-size:1.8rem; }
}
@media (max-width:768px) {
  .sgs-carousel__slide.is-active { grid-template-columns:1fr; min-height:unset; }
  .sgs-carousel__visual { min-height:240px; max-height:240px; }
  .sgs-carousel__content { min-height:unset; }
  .sgs-carousel__placeholder { min-height:240px; }
  .sgs-carousel__content-inner { padding:24px 18px; }
  .sgs-carousel__list { grid-template-columns:1fr; }
  .sgs-carousel__dot span { display:none; }
  .sgs-carousel__dot { flex:none;width:44px; }
  .sgs-moto-cats__grid { grid-template-columns:repeat(2,1fr); }
  .sgs-moto-infos__grid { grid-template-columns:1fr; }
}

/* Carousel content text */
.sgs-carousel__num  { font-family:var(--f-title);font-size:.65rem;letter-spacing:.24em;color:var(--or);text-transform:uppercase;display:block;margin-bottom:10px; }
.sgs-carousel__titre{ font-size:1.9rem;color:var(--white);margin-bottom:12px;line-height:1.1; }
.sgs-carousel__desc { font-size:.9rem;color:var(--muted);line-height:1.8;margin-bottom:20px; }
.sgs-carousel__list { display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:24px;list-style:none; }
.sgs-carousel__list li { display:flex;align-items:center;gap:8px;font-size:.85rem;color:var(--text); }
.sgs-carousel__list li svg { width:13px;height:13px;color:var(--rouge);flex-shrink:0; }

/* Section carousel full width override */
.sgs-moto-carousel-section .sgs-inner { padding: 0; max-width: 100%; }

/* ═══════════════════════════════════════════════════
   PAGE SÉCURITÉ INCENDIE
═══════════════════════════════════════════════════ */
.sgs-pghero--incendie {
  background: linear-gradient(135deg,rgba(212,175,55,.15) 0%,rgba(200,16,46,.18) 60%,var(--dark) 100%) !important;
}
.sgs-inc-particles { position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden; }
.sgs-inc-particle  { position:absolute;width:3px;height:3px;border-radius:50%;background:var(--or);animation:sgs-sec-float linear infinite;opacity:0; }
.sgs-inc-particle:nth-child(1){left:12%;top:30%;animation-duration:5s; animation-delay:0s;background:var(--rouge);}
.sgs-inc-particle:nth-child(2){left:25%;top:65%;animation-duration:7s; animation-delay:1s; width:4px;height:4px;}
.sgs-inc-particle:nth-child(3){left:50%;top:20%;animation-duration:6s; animation-delay:2s;background:var(--rouge);}
.sgs-inc-particle:nth-child(4){left:70%;top:75%;animation-duration:8s; animation-delay:.6s;}
.sgs-inc-particle:nth-child(5){left:85%;top:35%;animation-duration:5.5s;animation-delay:3s;background:var(--rouge);}
.sgs-inc-particle:nth-child(6){left:40%;top:80%;animation-duration:6.5s;animation-delay:1.8s;width:4px;height:4px;}

/* Grille 6 prestations */
.sgs-inc-services {
  padding:72px 0;background:var(--dark2) !important;
  width:100vw !important;max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;
}
.sgs-inc-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:16px; }

.sgs-inc-card {
  background:var(--card);border:1px solid var(--border);border-radius:14px;padding:28px 22px;
  position:relative;overflow:hidden;
  opacity:0;transform:translateY(20px);
  transition:opacity .5s ease calc(var(--id,0ms)),
              transform .5s ease calc(var(--id,0ms)),
              border-color .3s,box-shadow .3s;
}
.sgs-inc-card.is-visible{opacity:1;transform:translateY(0);}
.sgs-inc-card:hover{border-color:var(--rouge);transform:translateY(-5px);box-shadow:0 14px 36px rgba(0,0,0,.3);}

.sgs-inc-card__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;}
.sgs-inc-card__icon{width:46px;height:46px;background:var(--rouge-bg);border:1px solid rgba(200,16,46,.22);border-radius:12px;display:flex;align-items:center;justify-content:center;transition:var(--ease);}
.sgs-inc-card__icon svg{width:20px;height:20px;color:var(--rouge);}
.sgs-inc-card:hover .sgs-inc-card__icon{background:var(--rouge);}
.sgs-inc-card:hover .sgs-inc-card__icon svg{color:var(--white);}
.sgs-inc-card__num{font-family:var(--f-title);font-size:2.5rem;font-weight:700;color:rgba(255,255,255,.05);line-height:1;}

.sgs-inc-card h3{font-size:.95rem;color:var(--white);margin-bottom:8px;text-transform:uppercase;letter-spacing:.03em;}
.sgs-inc-card p{font-size:.82rem;color:var(--muted);line-height:1.7;}
.sgs-inc-card__line{height:2px;background:linear-gradient(90deg,var(--rouge),transparent);border-radius:99px;margin-top:20px;transform:scaleX(0);transform-origin:left;transition:transform .4s;}
.sgs-inc-card:hover .sgs-inc-card__line{transform:scaleX(1);}

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

/* ═══════════════════════════════════════════════════
   PAGE FORMATION EN SÉCURITÉ
═══════════════════════════════════════════════════ */
.sgs-form-particles { position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden; }
.sgs-form-particle  { position:absolute;width:3px;height:3px;border-radius:50%;background:var(--rouge);animation:sgs-sec-float linear infinite;opacity:0; }
.sgs-form-particle:nth-child(1){left:8%; top:25%;animation-duration:5s; animation-delay:0s;  background:#3B6D11;}
.sgs-form-particle:nth-child(2){left:22%;top:60%;animation-duration:7s; animation-delay:1s;  width:4px;height:4px;}
.sgs-form-particle:nth-child(3){left:48%;top:18%;animation-duration:6s; animation-delay:2s;  background:#3B6D11;}
.sgs-form-particle:nth-child(4){left:68%;top:72%;animation-duration:8s; animation-delay:.6s;}
.sgs-form-particle:nth-child(5){left:82%;top:38%;animation-duration:5.5s;animation-delay:3s; background:#3B6D11;}
.sgs-form-particle:nth-child(6){left:38%;top:82%;animation-duration:6.5s;animation-delay:1.8s;width:4px;height:4px;}

/* ── Section présentation ── */
.sgs-form-pres {
  padding:72px 0;background:var(--dark) !important;
  width:100vw !important;max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;
}
.sgs-form-pres__wrap {
  display:grid;grid-template-columns:340px 1fr;gap:64px;align-items:start;
}

/* Image portrait avec cadre */
.sgs-form-pres__visual { position:relative; }
.sgs-form-pres__frame {
  position:relative;border-radius:16px;overflow:hidden;
  box-shadow:0 24px 64px rgba(0,0,0,.5);
}
/* Coins décoratifs rouges */
.sgs-form-pres__corner {
  position:absolute;width:20px;height:20px;z-index:3;
  border-color:var(--rouge);border-style:solid;
}
.sgs-form-pres__corner--tl{top:10px;left:10px; border-width:2px 0 0 2px;border-radius:4px 0 0 0;}
.sgs-form-pres__corner--tr{top:10px;right:10px;border-width:2px 2px 0 0;border-radius:0 4px 0 0;}
.sgs-form-pres__corner--bl{bottom:10px;left:10px; border-width:0 0 2px 2px;border-radius:0 0 0 4px;}
.sgs-form-pres__corner--br{bottom:10px;right:10px;border-width:0 2px 2px 0;border-radius:0 0 4px 0;}
.sgs-form-pres__img {
  width:100%;display:block;
  object-fit:cover;object-position:top center;
  transition:transform .6s cubic-bezier(.25,.46,.45,.94);
}
.sgs-form-pres__visual:hover .sgs-form-pres__img { transform:scale(1.03); }
.sgs-form-pres__overlay {
  position:absolute;inset:0;
  background:linear-gradient(to bottom,transparent 60%,rgba(12,12,20,.5) 100%);
  pointer-events:none;
}

/* Badge formateur */
.sgs-form-pres__badge {
  position:absolute;bottom:-18px;left:50%;transform:translateX(-50%);
  display:flex;align-items:center;gap:10px;
  background:var(--rouge);color:var(--white);
  padding:10px 18px;border-radius:99px;
  box-shadow:0 6px 20px rgba(200,16,46,.4);z-index:4;white-space:nowrap;
}
.sgs-form-pres__badge svg{width:15px;height:15px;flex-shrink:0;}
.sgs-form-pres__badge strong{font-family:var(--f-title);font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;}
.sgs-form-pres__badge span{font-size:.68rem;color:rgba(255,255,255,.75);}

/* Stats verticales */
.sgs-form-pres__vstats {
  display:flex;justify-content:space-around;
  margin-top:36px;padding:18px;
  background:var(--dark2);border:1px solid var(--border);border-radius:10px;
}
.sgs-form-pres__vstat { text-align:center; }
.sgs-form-pres__vstat strong{display:block;font-family:var(--f-title);font-size:1.6rem;font-weight:700;color:var(--rouge);line-height:1;}
.sgs-form-pres__vstat span{font-size:.65rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:3px;display:block;}

/* Contenu droit */
.sgs-form-pres__content h2{font-size:1.9rem;margin:10px 0 16px;}
.sgs-form-pres__content > p{font-size:.95rem;color:var(--muted);line-height:1.85;margin-bottom:14px;}

.sgs-form-pres__avantages{display:flex;flex-direction:column;gap:14px;margin:24px 0 28px;}
.sgs-form-pres__av{display:flex;align-items:flex-start;gap:14px;}
.sgs-form-pres__av-icon{
  width:38px;height:38px;flex-shrink:0;
  background:rgba(200,16,46,.08);border:1px solid rgba(200,16,46,.2);border-radius:9px;
  display:flex;align-items:center;justify-content:center;margin-top:2px;
}
.sgs-form-pres__av-icon svg{width:16px;height:16px;color:var(--rouge);}
.sgs-form-pres__av strong{display:block;font-family:var(--f-title);font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;color:var(--white);margin-bottom:3px;}
.sgs-form-pres__av p{font-size:.8rem;color:var(--muted);line-height:1.6;margin:0;}

/* ── Modules ── */
.sgs-form-modules {
  padding:72px 0;background:var(--dark2) !important;
  width:100vw !important;max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;
}
.sgs-form-modules__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}

.sgs-form-mod {
  background:var(--card);border:1px solid var(--border);border-radius:14px;
  padding:26px 22px;display:flex;flex-direction:column;gap:12px;
  position:relative;overflow:hidden;
  opacity:0;transform:translateY(24px);
  transition:opacity .5s ease calc(var(--mi,0ms)),
              transform .5s ease calc(var(--mi,0ms)),
              border-color .3s,box-shadow .3s;
}
.sgs-form-mod.is-visible{opacity:1;transform:translateY(0);}
.sgs-form-mod:hover{border-color:var(--rouge);box-shadow:0 12px 32px rgba(0,0,0,.3);transform:translateY(-5px);}
.sgs-form-mod::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--rouge),var(--or));
  transform:scaleX(0);transform-origin:left;transition:transform .35s;
}
.sgs-form-mod:hover::before{transform:scaleX(1);}

.sgs-form-mod__header{display:flex;align-items:center;justify-content:space-between;}
.sgs-form-mod__icon{
  width:46px;height:46px;background:var(--rouge-bg);border:1px solid rgba(200,16,46,.22);
  border-radius:12px;display:flex;align-items:center;justify-content:center;transition:var(--ease);
}
.sgs-form-mod__icon svg{width:20px;height:20px;color:var(--rouge);}
.sgs-form-mod:hover .sgs-form-mod__icon{background:var(--rouge);}
.sgs-form-mod:hover .sgs-form-mod__icon svg{color:var(--white);}
.sgs-form-mod__num{font-family:var(--f-title);font-size:3rem;font-weight:700;color:rgba(255,255,255,.05);line-height:1;}

.sgs-form-mod h3{font-size:1rem;color:var(--white);text-transform:uppercase;letter-spacing:.03em;}
.sgs-form-mod > p{font-size:.82rem;color:var(--muted);line-height:1.7;flex:1;}

.sgs-form-mod__list{display:flex;flex-direction:column;gap:7px;list-style:none;}
.sgs-form-mod__list li{display:flex;align-items:center;gap:8px;font-size:.78rem;color:var(--text);}
.sgs-form-mod__dot{width:6px;height:6px;border-radius:50%;background:var(--rouge);flex-shrink:0;box-shadow:0 0 5px var(--rouge);}

.sgs-form-mod__footer{display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid var(--border);margin-top:4px;}
.sgs-form-mod__tag{font-family:var(--f-title);font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;color:var(--or);padding:3px 8px;border:1px solid rgba(212,175,55,.25);border-radius:99px;background:rgba(212,175,55,.06);}
.sgs-form-mod__link{display:flex;align-items:center;gap:5px;font-family:var(--f-title);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);text-decoration:none;transition:var(--ease);}
.sgs-form-mod__link svg{width:12px;height:12px;transition:transform .25s;}
.sgs-form-mod__link:hover{color:var(--rouge);}
.sgs-form-mod__link:hover svg{transform:translateX(4px);}

/* Responsive */
@media(max-width:1024px){
  .sgs-form-pres__wrap{grid-template-columns:280px 1fr;gap:40px;}
  .sgs-form-modules__grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:768px){
  .sgs-form-pres__wrap{grid-template-columns:1fr;}
  .sgs-form-pres__frame{max-width:300px;margin:0 auto;}
  .sgs-form-modules__grid{grid-template-columns:1fr;}
}

/* ═══════════════════════════════════════════════════
   PAGE FORMATION EN SÉCURITÉ — v2
═══════════════════════════════════════════════════ */
.sgs-pghero--formation {
  background: linear-gradient(135deg,rgba(59,109,17,.16) 0%,rgba(200,16,46,.14) 60%,var(--dark) 100%) !important;
  padding: 120px 0 80px;
}
.sgs-form-particles { position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden; }
.sgs-form-particle  { position:absolute;border-radius:50%;background:var(--rouge);animation:sgs-sec-float linear infinite;opacity:0; }
.sgs-form-particle:nth-child(odd)  { width:3px;height:3px; }
.sgs-form-particle:nth-child(even) { width:4px;height:4px;background:var(--or); }
.sgs-form-particle:nth-child(1){left:6%; top:20%;animation-duration:5s; animation-delay:0s;}
.sgs-form-particle:nth-child(2){left:20%;top:65%;animation-duration:7s; animation-delay:1.2s;}
.sgs-form-particle:nth-child(3){left:42%;top:15%;animation-duration:6s; animation-delay:2s;}
.sgs-form-particle:nth-child(4){left:60%;top:72%;animation-duration:8s; animation-delay:.6s;}
.sgs-form-particle:nth-child(5){left:78%;top:30%;animation-duration:5.5s;animation-delay:3s;}
.sgs-form-particle:nth-child(6){left:35%;top:82%;animation-duration:6.5s;animation-delay:1.8s;}
.sgs-form-particle:nth-child(7){left:88%;top:55%;animation-duration:7s; animation-delay:2.5s;}
.sgs-form-particle:nth-child(8){left:52%;top:48%;animation-duration:5.8s;animation-delay:.4s;}

/* Hero : 2 colonnes */
.sgs-form-hero-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Image portrait encadrée */
.sgs-form-hero-img-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }

.sgs-form-hero-img-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  min-height: 420px;
  box-shadow: 0 28px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(200,16,46,.2);
}
/* Coins décoratifs */
.sgs-form-hero-img-corner {
  position: absolute; width: 22px; height: 22px; z-index: 4;
  border-color: var(--rouge); border-style: solid;
}
.sgs-form-hero-img-corner--tl { top:10px;left:10px;   border-width:2.5px 0 0 2.5px;border-radius:4px 0 0 0; }
.sgs-form-hero-img-corner--tr { top:10px;right:10px;  border-width:2.5px 2.5px 0 0;border-radius:0 4px 0 0; }
.sgs-form-hero-img-corner--bl { bottom:10px;left:10px; border-width:0 0 2.5px 2.5px;border-radius:0 0 0 4px; }
.sgs-form-hero-img-corner--br { bottom:10px;right:10px;border-width:0 2.5px 2.5px 0;border-radius:0 0 4px 0; }

.sgs-form-hero-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.sgs-form-hero-img-wrap:hover .sgs-form-hero-img { transform: scale(1.04); }

.sgs-form-hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(12,12,20,.6) 100%);
  pointer-events: none;
}

/* Badge formateur */
.sgs-form-hero-badge {
  position: absolute;
  bottom: -16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  background: var(--rouge); color: var(--white);
  padding: 9px 18px; border-radius: 99px;
  box-shadow: 0 6px 20px rgba(200,16,46,.45);
  z-index: 5; white-space: nowrap;
  animation: sgs-badge-pulse 2.5s ease-in-out infinite;
}
.sgs-form-hero-badge__icon { width:28px;height:28px;background:rgba(255,255,255,.2);border-radius:50%;display:flex;align-items:center;justify-content:center; }
.sgs-form-hero-badge__icon svg { width:14px;height:14px; }
.sgs-form-hero-badge strong { font-family:var(--f-title);font-size:.78rem;letter-spacing:.06em;text-transform:uppercase; }
.sgs-form-hero-badge span   { font-size:.65rem;color:rgba(255,255,255,.75); }

/* Stats 3 chiffres */
.sgs-form-hero-stats {
  display: flex; justify-content: space-between;
  margin-top: 36px; padding: 16px 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}
.sgs-form-hero-stat { text-align: center; }
.sgs-form-hero-stat strong { display:block;font-family:var(--f-title);font-size:1.8rem;font-weight:700;color:var(--rouge);line-height:1; }
.sgs-form-hero-stat span   { font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-top:3px;display:block; }

/* ── Section intro avantages ── */
.sgs-form-intro {
  padding: 48px 0;
  background: var(--dark2) !important;
  width:100vw !important;max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;
  border-bottom: 1px solid var(--border);
}
.sgs-form-intro__grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.sgs-form-av {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease calc(var(--avi,0ms)), transform .5s ease calc(var(--avi,0ms)), border-color .3s;
}
.sgs-form-av.is-visible { opacity:1;transform:translateY(0); }
.sgs-form-av:hover { border-color: var(--rouge); }
.sgs-form-av__icon {
  width:36px;height:36px;flex-shrink:0;
  background:var(--rouge-bg);border:1px solid rgba(200,16,46,.2);border-radius:9px;
  display:flex;align-items:center;justify-content:center;transition:var(--ease);
}
.sgs-form-av__icon svg { width:15px;height:15px;color:var(--rouge); }
.sgs-form-av:hover .sgs-form-av__icon { background:var(--rouge); }
.sgs-form-av:hover .sgs-form-av__icon svg { color:var(--white); }
.sgs-form-av strong { display:block;font-family:var(--f-title);font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:var(--white);margin-bottom:3px; }
.sgs-form-av p { font-size:.75rem;color:var(--muted);line-height:1.6;margin:0; }

/* ── Grille 6 modules ── */
.sgs-form-modules {
  padding:72px 0;background:var(--dark) !important;
  width:100vw !important;max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;
}
.sgs-form-mods-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:18px; }

.sgs-form-mod {
  background:var(--dark2);border:1px solid var(--border);border-radius:14px;
  padding:26px 22px;display:flex;flex-direction:column;gap:10px;
  position:relative;overflow:hidden;
  animation: sgs-hcard-in .6s ease both;
  animation-delay: calc(var(--mi, 0ms));
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.sgs-form-mod.is-visible { opacity:1;transform:translateY(0); }
.sgs-form-mod:hover { border-color:var(--rouge);box-shadow:0 12px 36px rgba(0,0,0,.35);transform:translateY(-5px); }

/* Barre top animée */
.sgs-form-mod__bar {
  position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--rouge),var(--or));
  transform:scaleX(0);transform-origin:left;transition:transform .4s;
}
.sgs-form-mod:hover .sgs-form-mod__bar { transform:scaleX(1); }

.sgs-form-mod__hd { display:flex;align-items:center;justify-content:space-between; }
.sgs-form-mod__icon {
  width:44px;height:44px;background:var(--rouge-bg);border:1px solid rgba(200,16,46,.22);
  border-radius:11px;display:flex;align-items:center;justify-content:center;transition:var(--ease);
}
.sgs-form-mod__icon svg { width:19px;height:19px;color:var(--rouge); }
.sgs-form-mod:hover .sgs-form-mod__icon { background:var(--rouge); }
.sgs-form-mod:hover .sgs-form-mod__icon svg { color:var(--white); }
.sgs-form-mod__num { font-family:var(--f-title);font-size:2.8rem;font-weight:700;color:rgba(255,255,255,.04);line-height:1; }

.sgs-form-mod h3 { font-size:.95rem;color:var(--white);text-transform:uppercase;letter-spacing:.04em; }
.sgs-form-mod > p { font-size:.8rem;color:var(--muted);line-height:1.7;flex:1; }

.sgs-form-mod__pts { display:flex;flex-direction:column;gap:7px;list-style:none; }
.sgs-form-mod__pts li { display:flex;align-items:center;gap:8px;font-size:.78rem;color:var(--text); }
.sgs-form-mod__dot {
  width:6px;height:6px;border-radius:50%;flex-shrink:0;
  background:var(--rouge);
  box-shadow:0 0 6px rgba(200,16,46,.6);
  animation:sgs-dot-pulse 2s ease-in-out infinite;
}
@keyframes sgs-dot-pulse {
  0%,100%{box-shadow:0 0 4px rgba(200,16,46,.4);}
  50%{box-shadow:0 0 10px rgba(200,16,46,.8);}
}

.sgs-form-mod__ft { display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid var(--border);margin-top:4px; }
.sgs-form-mod__tag { font-family:var(--f-title);font-size:.58rem;letter-spacing:.16em;text-transform:uppercase;color:var(--or);padding:3px 8px;border:1px solid rgba(212,175,55,.25);border-radius:99px;background:rgba(212,175,55,.06); }
.sgs-form-mod__lnk { display:flex;align-items:center;gap:5px;font-family:var(--f-title);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);text-decoration:none;transition:var(--ease); }
.sgs-form-mod__lnk svg { width:12px;height:12px;transition:transform .25s; }
.sgs-form-mod__lnk:hover { color:var(--rouge); }
.sgs-form-mod__lnk:hover svg { transform:translateX(4px); }

/* Responsive */
@media(max-width:1100px) {
  .sgs-form-hero-layout { grid-template-columns:1fr 300px;gap:40px; }
  .sgs-form-intro__grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:900px) {
  .sgs-form-hero-layout { grid-template-columns:1fr; }
  .sgs-form-hero-img-frame { max-width:260px; }
  .sgs-form-hero-img { max-height:320px; }
  .sgs-form-mods-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:600px) {
  .sgs-form-intro__grid { grid-template-columns:1fr; }
  .sgs-form-mods-grid { grid-template-columns:1fr; }
}

/* ═══════════════════════════════════════════════════
   FOOTER — v2 avec effets lumineux
═══════════════════════════════════════════════════ */

/* Ligne décorative top */
.sgs-footer__topline {
  height: 2px;
  background: var(--border);
  position: relative; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw);
}
.sgs-footer__topline-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, var(--rouge) 30%, var(--or) 50%, var(--rouge) 70%, transparent 100%);
  animation: sgs-footer-line 4s linear infinite;
  background-size: 200% 100%;
}
@keyframes sgs-footer-line {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sgs-footer {
  background: var(--dark2) !important;
  width: 100vw; margin-left: calc(50% - 50vw);
  position: relative; overflow: hidden;
}

/* Motif fond subtil */
.sgs-footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(200,16,46,.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200,16,46,.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.sgs-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative; z-index: 1;
}

/* ── Corps 4 colonnes ── */
.sgs-footer__body {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 1fr 1.2fr;
  gap: 48px;
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}

/* ── Logo avec halos ── */
.sgs-footer__logo-wrap { position: relative; margin-bottom: 20px; display: inline-block; }

.sgs-footer__halo {
  position: absolute; border-radius: 50%; pointer-events: none;
  animation: sgs-halo-pulse 3s ease-in-out infinite;
}
.sgs-footer__halo--1 {
  width: 80px; height: 80px;
  top: 50%; left: 20px; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(200,16,46,.2) 0%, transparent 70%);
  animation-delay: 0s;
}
.sgs-footer__halo--2 {
  width: 120px; height: 120px;
  top: 50%; left: 0px; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(200,16,46,.08) 0%, transparent 70%);
  animation-delay: .8s;
}
@keyframes sgs-halo-pulse {
  0%,100% { opacity: .6; transform: translateY(-50%) scale(1); }
  50%      { opacity: 1;  transform: translateY(-50%) scale(1.2); }
}

.sgs-footer__logo-svg { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }

/* Hexagone animé */
.sgs-footer__hex {
  position: relative; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sgs-footer__hex-ring {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(200,16,46,.3);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  animation: sgs-hex-spin 8s linear infinite;
}
.sgs-footer__hex-ring--2 {
  border-color: rgba(212,175,55,.2);
  animation-duration: 12s; animation-direction: reverse;
}
@keyframes sgs-hex-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.sgs-footer__logo-img {
  width: 56px; height: 56px;
  object-fit: contain;
  display: block;
  position: relative; z-index: 2;
  filter: drop-shadow(0 0 10px rgba(200,16,46,.6)) drop-shadow(0 0 24px rgba(200,16,46,.3));
  animation: sgs-logo-glow 2.5s ease-in-out infinite;
  transition: filter .3s;
}
.sgs-footer__logo-img:hover {
  filter: drop-shadow(0 0 16px rgba(200,16,46,.9)) drop-shadow(0 0 36px rgba(200,16,46,.5));
}
@keyframes sgs-logo-glow {
  0%,100% { filter: drop-shadow(0 0 8px rgba(200,16,46,.5)) drop-shadow(0 0 20px rgba(200,16,46,.2)); }
  50%      { filter: drop-shadow(0 0 18px rgba(200,16,46,.9)) drop-shadow(0 0 40px rgba(200,16,46,.4)); }
}
  0%,100% { box-shadow: 0 0 16px rgba(200,16,46,.4), 0 0 32px rgba(200,16,46,.15); }
  50%      { box-shadow: 0 0 28px rgba(200,16,46,.7), 0 0 56px rgba(200,16,46,.3); }
}

.sgs-footer__logo-name {
  display: block;
  font-family: var(--f-title); font-size: 1.1rem; font-weight: 700;
  color: var(--white); letter-spacing: .04em; text-transform: uppercase;
  line-height: 1.1;
}
.sgs-footer__logo-name em  { color: var(--rouge); font-style: normal; }
.sgs-footer__logo-name strong { color: var(--or); }
.sgs-footer__logo-tag {
  display: block;
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin-top: 3px;
}

/* Description + téléphone */
.sgs-footer__desc { font-size: .85rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }

.sgs-footer__phone {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-title); font-size: .9rem; font-weight: 700;
  color: var(--or); text-decoration: none; margin-bottom: 6px;
  transition: var(--ease);
}
.sgs-footer__phone svg { width: 14px; height: 14px; color: var(--rouge); }
.sgs-footer__phone:hover { color: var(--white); }

/* Opérateurs */
.sgs-footer__operators { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.sgs-footer__op { font-size: .68rem; font-family: var(--f-title); font-weight: 700; letter-spacing: .06em; padding: 4px 10px; border-radius: 4px; border: 1px solid; }
.sgs-footer__op--wave   { color: #00B4FF; border-color: rgba(0,180,255,.3); background: rgba(0,180,255,.05); }
.sgs-footer__op--orange { color: #FF6600; border-color: rgba(255,102,0,.3);  background: rgba(255,102,0,.05); }
.sgs-footer__op--cash   { color: var(--or); border-color: rgba(212,175,55,.3); background: rgba(212,175,55,.05); }

/* ── Colonnes ── */
.sgs-footer__col-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-title); font-size: .7rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--white);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.sgs-footer__col-title::after {
  content: '';
  position: absolute; bottom: -1px; left: 0;
  width: 32px; height: 2px;
  background: var(--rouge); border-radius: 99px;
}
.sgs-footer__col-title svg { width: 14px; height: 14px; color: var(--rouge); }

/* Liens */
.sgs-footer__links { display: flex; flex-direction: column; gap: 10px; }
.sgs-footer__links a {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--muted); text-decoration: none;
  transition: var(--ease); padding: 3px 0;
  border-left: 2px solid transparent; padding-left: 6px;
}
.sgs-footer__links a svg { width: 11px; height: 11px; color: var(--rouge); flex-shrink: 0; transition: transform .25s; }
.sgs-footer__links a:hover { color: var(--white); border-left-color: var(--rouge); padding-left: 10px; }
.sgs-footer__links a:hover svg { transform: translateX(2px); }

/* Contact */
.sgs-footer__contacts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.sgs-footer__contact-row { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.sgs-footer__contact-row svg { width: 14px; height: 14px; color: var(--rouge); flex-shrink: 0; margin-top: 2px; }
.sgs-footer__contact-row a { color: var(--muted); transition: color .2s; }
.sgs-footer__contact-row a:hover { color: var(--or); }

/* Bouton CTA footer */
.sgs-footer__cta-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-title); font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  background: var(--rouge); padding: 9px 18px;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
  transition: var(--ease);
}
.sgs-footer__cta-btn svg { width: 12px; height: 12px; }
.sgs-footer__cta-btn:hover { background: var(--rouge-dk); transform: translateY(-2px); color: var(--white); }

/* ── Bas ── */
.sgs-footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0 24px; flex-wrap: wrap; gap: 14px;
}
.sgs-footer__copy { font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.sgs-footer__copy a { color: var(--rouge); }
.sgs-footer__copy a:hover { color: var(--or); }
.sgs-footer__legal-wrap { display: flex; align-items: center; gap: 8px; }
.sgs-footer__legal-item { display: flex; align-items: center; gap: 5px; }
.sgs-footer__legal-label { font-family: var(--f-title); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--or); background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.2); padding: 2px 6px; border-radius: 3px; }
.sgs-footer__legal-value { font-size: .75rem; color: var(--muted); font-weight: 600; }
.sgs-footer__legal-sep  { color: var(--border); font-size: .8rem; }
.sgs-footer__bottom-right { display: flex; align-items: center; gap: 12px; font-size: .72rem; color: var(--muted); }
.sgs-footer__secure { display: flex; align-items: center; gap: 5px; }
.sgs-footer__secure svg { width: 12px; height: 12px; color: var(--rouge); }
.sgs-footer__sep { color: var(--border); }
.sgs-footer__domain { color: var(--rouge); font-family: var(--f-title); letter-spacing: .06em; font-size: .72rem; }
.sgs-footer__domain:hover { color: var(--or); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sgs-footer__body { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .sgs-footer__body { grid-template-columns: 1fr; gap: 28px; }
  .sgs-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Crédit développeur */
.sgs-footer__dev { font-size: .72rem; color: var(--muted); }
.sgs-footer__dev a {
  color: var(--or);
  font-family: var(--f-title);
  font-size: .72rem;
  letter-spacing: .06em;
  text-decoration: none;
  transition: var(--ease);
  position: relative;
}
.sgs-footer__dev a::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 1px; background: var(--or);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.sgs-footer__dev a:hover { color: var(--white); }
.sgs-footer__dev a:hover::after { transform: scaleX(1); }


/* ═══════════════════════════════════════════════════
   BANDE TAPHATECH — Centrée avec effets lumière blancs
═══════════════════════════════════════════════════ */
.sgs-footer__tapha-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 24px 22px;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Lignes décoratives de chaque côté */
.sgs-footer__tapha-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  max-width: 320px;
}

/* Badge lien */
.sgs-footer__taphatech {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 7px 18px 7px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  position: relative;
  overflow: hidden;
  transition: all .35s ease;
}

/* Shimmer blanc */
.sgs-footer__taphatech::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,.12) 40%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,.12) 60%,
    transparent 100%
  );
  background-size: 250% 100%;
  animation: sgs-tapha-shimmer 3.5s ease-in-out infinite;
  transform: translateX(-100%);
}
@keyframes sgs-tapha-shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.sgs-footer__taphatech:hover {
  border-color: rgba(212,175,55,.4);
  background: rgba(212,175,55,.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212,175,55,.15), 0 0 40px rgba(212,175,55,.06);
}

/* "Développé par" */
.sgs-footer__taphatech-by {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
}

.sgs-footer__taphatech-brand {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Points lumineux blancs pulsants */
.sgs-footer__taphatech-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
  box-shadow: 0 0 5px rgba(255,255,255,.8), 0 0 10px rgba(255,255,255,.4);
  animation: sgs-tapha-dot 2s ease-in-out infinite;
}
.sgs-footer__taphatech-dot:last-child {
  animation-delay: .5s;
}
@keyframes sgs-tapha-dot {
  0%,100% { opacity: .5; transform: scale(1);   box-shadow: 0 0 4px rgba(255,255,255,.6); }
  50%      { opacity: 1;  transform: scale(1.5); box-shadow: 0 0 12px rgba(255,255,255,.9), 0 0 24px rgba(255,255,255,.3); }
}

/* Nom TAPHATECH — tout blanc */
.sgs-footer__taphatech-name {
  font-family: var(--f-title) !important;
  font-size: .92rem !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  white-space: nowrap;
  position: relative;
  text-shadow: 0 0 12px rgba(255,255,255,.4), 0 0 28px rgba(255,255,255,.15);
  transition: text-shadow .3s;
}
.sgs-footer__taphatech-name em {
  font-style: normal !important;
  color: #ffffff !important;
}

/* Soulignement blanc au hover */
.sgs-footer__taphatech-name::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform .4s;
}
.sgs-footer__taphatech:hover .sgs-footer__taphatech-name {
  color: var(--or) !important;
  text-shadow: 0 0 16px rgba(212,175,55,.6), 0 0 32px rgba(212,175,55,.3);
}
.sgs-footer__taphatech:hover .sgs-footer__taphatech-name em { color: var(--or) !important; }
.sgs-footer__taphatech:hover .sgs-footer__taphatech-name::after { transform: scaleX(1); }
