/*
Theme Name: SNSS Technologies
Theme URI: https://www.snss-technologies.ma
Author: SNSS Technologies
Author URI: https://www.snss-technologies.ma
Description: Thème personnalisé pour SNSS Technologies – Sécurité Physique, Organisationnelle & Intégration SI
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: snss
Tags: one-page, security, professional, green, sidebar
*/

/* ══════════════════════════════════════════
   VARIABLES — Palette SNSS v2
   ══════════════════════════════════════════ */
:root {
  /* Verts — identité principale */
  --g1: #061a06;
  --g2: #0e3d0e;
  --g3: #1a6b1a;
  --g4: #25a025;
  --g5: #43c843;
  --g6: #82e082;

  /* Or — accent premium */
  --gold:  #e8a824;
  --gold2: #f5c85a;
  --gold3: #fde68a;

  /* Neutres */
  --white:  #ffffff;
  --off:    #f5f9f5;
  --off2:   #eaf3ea;
  --border: #cce3cc;
  --border2:#b3d4b3;
  --text:   #0a1a0a;
  --muted:  #3d5c3d;
  --muted2: #5a7a5a;

  /* Sidebar */
  --nav: 256px;

  /* Design tokens */
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,60,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,60,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,60,0,0.16);
  --transition: 0.24s cubic-bezier(0.4,0,0.2,1);
}

/* ══════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  display: flex;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
button { font-family: inherit; }

/* ══════════════════════════════════════════
   SIDEBAR — Navigation latérale
   ══════════════════════════════════════════ */
#sidebar {
  position: fixed; top: 0; left: 0;
  width: var(--nav); height: 100vh;
  background: var(--g1);
  display: flex; flex-direction: column;
  z-index: 200; overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.04);
}

/* Barre décorative latérale */
#sidebar::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 1px; height: 100%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(37,160,37,0.4) 30%,
    rgba(232,168,36,0.3) 70%,
    transparent 100%
  );
}

/* Logo zone */
.sb-top {
  padding: 28px 20px 24px;
  text-align: center;
  position: relative;
}
.sb-top::after {
  content: '';
  position: absolute; bottom: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, rgba(255,255,255,0.08), transparent
  );
}

/* Icône bouclier */
.sb-shield {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--g3) 0%, var(--g4) 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
  box-shadow: 0 0 0 1px rgba(37,160,37,0.3),
              0 8px 24px rgba(37,160,37,0.25);
  position: relative;
}
.sb-shield::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 17px;
  border: 1px solid rgba(37,160,37,0.2);
}

.sb-name {
  font-size: 1.55rem; font-weight: 800;
  color: #fff; letter-spacing: 5px; line-height: 1;
}
.sb-sub {
  font-size: 0.68rem; font-weight: 600;
  color: var(--gold); letter-spacing: 2.5px; margin-top: 4px;
  text-transform: uppercase;
}
.sb-tag {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.28);
  margin-top: 10px; line-height: 1.6;
  letter-spacing: 0.5px;
}

/* Navigation */
#sidebar nav { flex: 1; padding: 12px 0 24px; }

.nlabel {
  padding: 20px 20px 6px;
  font-size: 0.55rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

#sidebar nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 20px;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem; font-weight: 500;
  border-left: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
}
#sidebar nav a .ni {
  font-size: 0.85rem; opacity: 0.65;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
#sidebar nav a:hover {
  color: rgba(255,255,255,0.9);
  border-left-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  padding-left: 24px;
}
#sidebar nav a:hover .ni { opacity: 1; }
#sidebar nav a.active {
  color: var(--gold2);
  border-left-color: var(--gold);
  background: rgba(232,168,36,0.07);
  padding-left: 24px;
}
#sidebar nav a.active .ni { opacity: 1; }

/* Sous-liens */
#sidebar nav a.sub {
  padding-left: 36px; font-size: 0.72rem;
  font-weight: 400; color: rgba(255,255,255,0.35);
}
#sidebar nav a.sub:hover,
#sidebar nav a.sub.active {
  color: rgba(255,255,255,0.75);
  padding-left: 38px;
  background: rgba(255,255,255,0.03);
  border-left-color: rgba(255,255,255,0.12);
}

/* Pied de sidebar */
.sb-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.6rem; color: rgba(255,255,255,0.18);
  letter-spacing: 0.5px; line-height: 1.6;
  text-align: center;
}
.sb-status {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-bottom: 6px;
  font-size: 0.62rem; color: var(--g6);
}
.sb-status::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--g5);
  box-shadow: 0 0 6px var(--g5);
  animation: blink 2.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ══════════════════════════════════════════
   MAIN CONTENT
   ══════════════════════════════════════════ */
#main { margin-left: var(--nav); flex: 1; min-height: 100vh; }

.snss-section {
  min-height: 100vh;
  padding: 96px 80px;
  display: flex; flex-direction: column;
  justify-content: center;
  position: relative;
}
.snss-section:nth-child(even) { background: var(--off); }

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
.reveal   { opacity:0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-l { opacity:0; transform: translateX(-28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-r { opacity:0; transform: translateX(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity:1; transform: translate(0,0); }
.d1{transition-delay:0.08s} .d2{transition-delay:0.16s}
.d3{transition-delay:0.24s} .d4{transition-delay:0.32s}

/* ══════════════════════════════════════════
   TYPOGRAPHIE
   ══════════════════════════════════════════ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--g4); margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  flex-shrink: 0; border-radius: 2px;
}

h2.st {
  font-size: 3rem; font-weight: 900;
  color: var(--g1); line-height: 1.04;
  margin-bottom: 22px; letter-spacing: -0.5px;
}
h2.st .hl { color: var(--g3); }

p {
  color: var(--muted2); line-height: 1.8;
  margin-bottom: 14px; font-size: 0.94rem;
}
p strong { color: var(--text); font-weight: 600; }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
#hero {
  background: var(--g1);
  position: relative; overflow: hidden;
  padding: 0 80px;
}

/* Grille décorative */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.hero-bg .orb1 {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,160,37,0.14) 0%, transparent 65%);
  top: -200px; right: -150px;
}
.hero-bg .orb2 {
  position: absolute; width: 450px; height: 450px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,36,0.07) 0%, transparent 65%);
  bottom: 0; left: 15%;
}
.hero-bg .vline {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.05) 40%, transparent 100%);
}
.hero-bg .vl1{left:33%} .hero-bg .vl2{left:66%}

/* Contenu hero */
.hi {
  position: relative; z-index: 1;
  max-width: 780px; padding: 130px 0 110px;
}

/* Badge animé */
.hbadge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(232,168,36,0.1);
  border: 1px solid rgba(232,168,36,0.3);
  color: var(--gold2);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 9px 18px; border-radius: 100px;
  margin-bottom: 36px;
  backdrop-filter: blur(4px);
}
.bdot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

/* Titre */
#hero h1 {
  font-size: 4.4rem; font-weight: 900;
  color: #fff; line-height: 1.01;
  margin-bottom: 22px; letter-spacing: -1.5px;
}
#hero h1 .a {
  background: linear-gradient(130deg, var(--g5) 0%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hdesc {
  font-size: 1.08rem; color: rgba(255,255,255,0.58);
  margin-bottom: 48px; line-height: 1.78; max-width: 600px;
}

/* Pills */
.hpills { display: flex; flex-wrap: wrap; gap: 10px; }
.hp {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.75);
  padding: 10px 20px; font-size: 0.78rem; font-weight: 500;
  border-radius: 100px; transition: all var(--transition);
  cursor: default;
}
.hp:hover {
  border-color: var(--g4);
  background: rgba(37,160,37,0.1);
  color: #fff;
}
.hpdot { width: 6px; height: 6px; border-radius: 50%; background: var(--g4); }

/* Stats */
.hstats {
  display: grid; grid-template-columns: repeat(4,1fr);
  margin-top: 64px; padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.07);
  gap: 0;
}
.hstat { text-align: left; padding-right: 28px; position: relative; }
.hstat:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,0.07);
}
.hstat:not(:first-child) { padding-left: 28px; }

.hn {
  font-size: 2.4rem; font-weight: 900;
  background: linear-gradient(135deg, var(--g5), var(--gold2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.hl {
  font-size: 0.62rem; font-weight: 600;
  color: rgba(255,255,255,0.35); margin-top: 7px;
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* ══════════════════════════════════════════
   ABOUT — Qui sommes-nous
   ══════════════════════════════════════════ */
.alay {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; margin-top: 32px; align-items: start;
}

.vals { display: flex; flex-direction: column; gap: 16px; }

/* Cartes valeur */
.vc {
  background: var(--white);
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.vc::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--g4), var(--gold));
  border-radius: 0 2px 2px 0;
}
.vc::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(37,160,37,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.vc:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border2);
}
.vc h3 {
  font-size: 0.8rem; font-weight: 700;
  color: var(--g2); margin-bottom: 9px;
  text-transform: uppercase; letter-spacing: 0.6px;
}
.vc p { margin: 0; font-size: 0.87rem; }

/* Bloc valeurs différenciantes */
.vblock {
  background: linear-gradient(150deg, var(--g1) 0%, var(--g2) 100%);
  padding: 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  position: relative; overflow: hidden;
}
.vblock::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,160,37,0.15) 0%, transparent 70%);
}
.vbtit {
  font-size: 0.75rem; font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: 2px;
}
.vbtit::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--gold); flex-shrink: 0;
}
.vbi {
  display: flex; gap: 16px; margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.vbi:last-child { margin-bottom:0; padding-bottom:0; border-bottom:none; }
.vbi .ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center;
  justify-content: center; font-size: 1.15rem; flex-shrink: 0;
}
.vbi .tx { font-size: 0.84rem; color: rgba(255,255,255,0.72); line-height: 1.65; }
.vbi .tx strong { color: #fff; display: block; margin-bottom: 3px; font-weight: 600; }

/* ══════════════════════════════════════════
   ACTIVITÉS
   ══════════════════════════════════════════ */
.agrid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 22px; margin-top: 40px;
}
.ac {
  background: var(--white);
  padding: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  group: true;
}
.ac::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(37,160,37,0.04) 0%, transparent 60%
  );
  pointer-events: none;
}
.ac:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border2);
}
.ac-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; margin-bottom: 20px;
}
.ac-ico {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--off2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.ac:hover .ac-ico {
  background: var(--g3);
  box-shadow: 0 8px 24px rgba(26,107,26,0.3);
}
.ac-num {
  font-size: 3rem; font-weight: 900;
  color: var(--off2); line-height: 1;
  transition: color var(--transition);
  font-variant-numeric: tabular-nums;
}
.ac:hover .ac-num { color: var(--border); }
.ac h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--g1); margin-bottom: 11px; letter-spacing: -0.2px;
}
.ac p { font-size: 0.87rem; margin:0; }

/* Barre de progression au hover */
.ac-bar {
  position: absolute; bottom:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--g4), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ac:hover .ac-bar { transform: scaleX(1); }

/* ══════════════════════════════════════════
   PARTENAIRES
   ══════════════════════════════════════════ */
.pgrid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 14px; margin-top: 44px;
}
.pb {
  background: var(--white);
  padding: 26px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 7px; min-height: 90px;
  text-align: center;
  font-weight: 700; font-size: 0.9rem; color: var(--text);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.pb::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--g4), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.pb:hover {
  border-color: var(--g3);
  background: var(--off);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pb:hover::after { transform: scaleX(1); }
.pb small {
  font-size: 0.62rem; font-weight: 500;
  color: var(--muted2);
}

/* ══════════════════════════════════════════
   SOLUTIONS — Onglets
   ══════════════════════════════════════════ */
.tabs {
  display: flex; flex-wrap: wrap;
  gap: 8px; margin-top: 40px;
}
.tb {
  padding: 10px 20px;
  font-size: 0.76rem; font-weight: 600;
  background: var(--white); color: var(--muted2);
  border: 1px solid var(--border);
  border-radius: 100px; cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.tb:hover { border-color: var(--g3); color: var(--g2); background: var(--off); }
.tb.on {
  background: var(--g2); color: #fff;
  border-color: var(--g2);
  box-shadow: 0 4px 16px rgba(14,61,14,0.3);
}

.tp { display: none; }
.tp.on {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 52px; margin-top: 40px; align-items: start;
}
.tp.on.full { grid-template-columns: 1fr; }

.tpc h3 {
  font-size: 1.35rem; font-weight: 800;
  color: var(--g1); margin-bottom: 14px; letter-spacing: -0.3px;
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.badge {
  background: linear-gradient(135deg, var(--g2), var(--g3));
  color: #fff;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px; border-radius: 100px;
}
.slist { list-style: none; padding:0; margin-top: 16px; }
.slist li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem; color: var(--muted2);
}
.slist li:last-child { border-bottom: none; }
.slist li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--g4); flex-shrink: 0; margin-top: 5px;
}

/* Panneau latéral solution */
.tpa {
  background: linear-gradient(150deg, var(--g1) 0%, var(--g2) 100%);
  padding: 36px; border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; text-align: center; min-height: 240px;
  position: relative; overflow: hidden;
}
.tpa::before {
  content: '';
  position: absolute; bottom: -40px; right: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,36,0.15) 0%, transparent 70%);
}
.tpa .aico { font-size: 3.2rem; }
.tpa .abr { font-size: 1.05rem; font-weight: 700; color: var(--gold); }
.tpa .adesc {
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   RÉFÉRENCES
   ══════════════════════════════════════════ */
.rgrid {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 12px; margin-top: 40px;
}
.rc {
  background: var(--white);
  padding: 22px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem; font-weight: 700;
  color: var(--g2);
  min-height: 64px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1.4;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.rc::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--g2), var(--g3));
  opacity: 0; transition: opacity var(--transition);
}
.rc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.rc:hover::before { opacity: 1; }
.rc span { position: relative; z-index: 1; transition: color var(--transition); }
.rc:hover span { color: #fff; }

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
#contact {
  background: linear-gradient(150deg, var(--g1) 0%, var(--g2) 100%);
  position: relative; overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,160,37,0.08) 0%, transparent 70%);
  pointer-events: none;
}
#contact .eyebrow { color: var(--gold); }
#contact .eyebrow::before { background: var(--gold); }
#contact h2.st { color: #fff; }
#contact > p { color: rgba(255,255,255,0.55); }

.cgrid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 64px; margin-top: 40px;
}
.ci-tit {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.crow {
  display: flex; gap: 14px;
  margin-bottom: 22px; align-items: flex-start;
}
.crow .ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center;
  justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.crow .cd { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.65); }
.crow .cd strong {
  color: #fff; font-weight: 600;
  display: block; margin-bottom: 2px;
}

/* Formulaire */
.cform { display: flex; flex-direction: column; gap: 12px; }
.cform input, .cform select, .cform textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 14px 17px;
  font-family: 'Inter', sans-serif; font-size: 0.88rem;
  outline: none;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.cform input::placeholder, .cform textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.cform input:focus, .cform select:focus, .cform textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(232,168,36,0.12);
}
.cform select {
  color: rgba(255,255,255,0.45); cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.3)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.cform select option { background: var(--g2); color: #fff; }
.cform textarea { min-height: 130px; resize: vertical; }

.r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* CTA */
.bcta {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--g1);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.8px;
  padding: 15px 32px; border: none; cursor: pointer;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  transition: all var(--transition);
  text-transform: uppercase;
  position: relative; overflow: hidden;
}
.bcta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.bcta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232,168,36,0.4);
}
.bcta:hover::before { opacity: 1; }
.bcta:active { transform: translateY(0); }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.snss-footer {
  background: #020a02;
  color: rgba(255,255,255,0.22);
  padding: 28px 40px;
  font-size: 0.73rem; font-weight: 500;
  letter-spacing: 0.3px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.snss-footer span { color: rgba(255,255,255,0.38); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.28); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ══════════════════════════════════════════
   HAMBURGER MOBILE
   ══════════════════════════════════════════ */
#ham { display: none; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .snss-section { padding: 80px 56px; }
  #hero { padding: 0 56px; }
}

@media (max-width: 960px) {
  :root { --nav: 260px; }

  #sidebar {
    transform: translateX(-260px);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  }
  #sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  #main { margin-left: 0; }

  .snss-section { padding: 64px 24px; min-height: auto; }
  #hero { padding: 0 24px; }
  #hero h1 { font-size: 2.8rem; }
  h2.st { font-size: 2.2rem; }

  .alay, .cgrid { grid-template-columns: 1fr; gap: 40px; }
  .agrid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2,1fr); }
  .tp.on { grid-template-columns: 1fr; }
  .rgrid { grid-template-columns: repeat(2,1fr); }
  .hstats { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .hstat:not(:last-child)::after { display: none; }
  .hstat:not(:first-child) { padding-left: 0; }

  .snss-footer { flex-direction: column; text-align: center; }

  #ham {
    display: flex; position: fixed; top: 14px; left: 14px;
    z-index: 300;
    background: var(--g2); border: none;
    width: 44px; height: 44px; border-radius: 11px;
    flex-direction: column; align-items: center;
    justify-content: center; gap: 5px; cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transition: background var(--transition);
  }
  #ham:hover { background: var(--g3); }
  #ham span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }
}

@media (max-width: 480px) {
  #hero h1 { font-size: 2.2rem; letter-spacing: -0.8px; }
  .pgrid, .rgrid { grid-template-columns: 1fr; }
  .r2 { grid-template-columns: 1fr; }
  .hstats { grid-template-columns: repeat(2,1fr); }
}

/* ══════════════════════════════════════════
   OVERLAY MOBILE
   ══════════════════════════════════════════ */
.sb-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199; backdrop-filter: blur(2px);
}
.sb-overlay.active { display: block; }

/* ══════════════════════════════════════════
   FOCUS VISIBLE — Accessibilité
   ══════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ══════════════════════════════════════════
   SCROLLBAR CUSTOM
   ══════════════════════════════════════════ */
#sidebar::-webkit-scrollbar { width: 4px; }
#sidebar::-webkit-scrollbar-track { background: transparent; }
#sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
