*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #090d1a;
  --bg2:       #0c1220;
  --bg3:       #101828;
  --card:      #0f1826;
  --border:    #1a2840;
  --accent:    #00c8ff;
  --accent2:   #0062e6;
  --gold:      #d4a843;
  --gold-dim:  rgba(212,168,67,0.12);
  --text:      #e8f0fe;
  --muted:     #7a92b8;
  --radius:    12px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.45);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(9,13,26,0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
nav.scrolled {
  top: 8px; left: 16px; right: 16px;
  height: 60px; border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(9,13,26,0.96);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,200,255,0.06);
  padding: 0 4%;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.82rem;
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo img { height: 60px; width: auto; object-fit: contain; }
.nav-logo span.accent { color: var(--accent); }
.nav-logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; animation: pulse 2s infinite; }

.nav-links { display: flex; gap: 1.2rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.85rem; font-weight: 500;
  transition: color var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ─── DROPDOWN SOLUTIONS ─── */
.nav-dropdown-wrapper { position: relative; list-style: none; }
.nav-dropdown-btn {
  color: var(--muted); font-size: 0.85rem; font-weight: 500;
  font-family: inherit; cursor: pointer;
  text-decoration: none; transition: color var(--transition); position: relative;
  vertical-align: middle;
}
.nav-dropdown-btn::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width var(--transition);
}
.nav-dropdown-btn:hover { color: var(--text); }
.nav-dropdown-wrapper:hover .nav-dropdown-btn { color: var(--text); }
.nav-dropdown-wrapper:hover .nav-dropdown-btn::after { width: 100%; }
.nav-dropdown-btn.active { color: var(--text); }
.nav-dropdown-btn.active::after { width: 100%; }
.nav-dropdown-chevron { font-size: 0.6rem; transition: transform 0.2s; }
.nav-dropdown-wrapper.open .nav-dropdown-chevron,
.nav-dropdown-wrapper:hover .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  background: rgba(9,13,26,0.98); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.4rem; min-width: 210px;
  list-style: none; display: none; flex-direction: column; gap: 2px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6); z-index: 1001;
}
.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; background: rgba(9,13,26,0.98);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}
.nav-dropdown-menu li a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.8rem; border-radius: 8px;
  color: var(--muted); font-size: 0.83rem; font-weight: 500;
  text-decoration: none; transition: all 0.18s; white-space: nowrap;
}
.nav-dropdown-menu li a:hover { color: var(--text); background: rgba(0,200,255,0.07); }
.nav-dropdown-menu li a::after { display: none !important; }
.nav-dropdown-menu li a.active { color: var(--text); background: rgba(0,200,255,0.05); }
.dd-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 0.72rem;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #000 !important; font-weight: 700 !important; padding: 0.45rem 1.2rem;
  border-radius: 6px; transition: opacity var(--transition) !important;
}
.nav-cta:hover { opacity: 0.85; }
.nav-cta::after { display: none !important; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--muted); font-size: 0.8rem; font-weight: 700;
  text-decoration: none; padding: 4px 12px;
  border: 1px solid var(--border); border-radius: 20px;
  transition: all 0.2s; white-space: nowrap;
}
.lang-switch:hover { color: var(--accent); border-color: var(--accent); background: rgba(0,200,255,0.06); }
.lang-switch::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); transition: var(--transition); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 5%;
  position: relative; overflow: hidden;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute; top: 5%; right: 5%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,98,230,0.18) 0%, rgba(0,200,255,0.06) 50%, transparent 70%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute; bottom: 5%; left: 3%;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 3rem; width: 100%; }
.hero-content { max-width: 560px; flex-shrink: 0; }
.hero-logo-right { flex: 1; display: flex; align-items: flex-start; justify-content: flex-end; margin-right: 3rem; margin-top: -3rem; }
.hero-compare { width: 100%; max-width: 3165px; aspect-ratio: 1.5; border-radius: var(--radius); overflow: hidden; cursor: col-resize; user-select: none; border: 1px solid var(--border); box-shadow: 0 0 40px rgba(0,200,255,0.15); position: relative; }
@media (max-width: 900px) {
  #hero { padding-top: calc(70px + 2rem); align-items: flex-start; min-height: auto; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .hero-compare { max-width: 100%; }
  .hero-content { max-width: 100%; }
  .hero-logo-right { margin-right: 0; margin-top: 0 !important; width: 100%; justify-content: flex-start; flex-direction: column; }
  .btn-alerte-formation { margin-top: 0 !important; width: 100%; justify-content: center; font-size: 0.75rem; padding: 0.65rem 1rem; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,200,255,0.1); border: 1px solid rgba(0,200,255,0.3);
  color: var(--accent); padding: 6px 16px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero-title .line2 { color: var(--accent); display: block; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted); max-width: 600px; margin-bottom: 2.5rem; font-weight: 400;
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.5rem; }
.tag {
  background: var(--card); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 6px; font-size: 0.82rem; color: var(--muted);
  font-weight: 500;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #000; font-weight: 700; padding: 0.85rem 2rem;
  border-radius: var(--radius); text-decoration: none; font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 30px rgba(0,200,255,0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(0,200,255,0.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); color: var(--text);
  font-weight: 600; padding: 0.85rem 2rem;
  border-radius: var(--radius); text-decoration: none; font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(0,200,255,0.06);
  box-shadow: 0 0 20px rgba(0,200,255,0.1);
}

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #b8860b, var(--gold));
  color: #0a0a0a; font-weight: 700; padding: 0.85rem 2rem;
  border-radius: var(--radius); text-decoration: none; font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 24px rgba(212,168,67,0.25);
  cursor: pointer;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(212,168,67,0.4); }

.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem; font-weight: 800; color: var(--accent);
}
.stat-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* ─── SECTIONS ─── */
section { padding: 100px 5%; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-label::before {
  content: ''; width: 24px; height: 2px; background: var(--accent);
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-desc { color: var(--muted); max-width: 560px; font-size: 1.05rem; margin-bottom: 3.5rem; }

/* ─── SERVICES ─── */
#services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--card); padding: 2.5rem;
  transition: background var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
}
.service-card:hover {
  background: #121d2e;
  box-shadow: inset 0 0 0 1px rgba(0,200,255,0.2), 0 8px 32px rgba(0,0,0,0.4);
}

.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.5rem;
}

.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.8rem; }
.service-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.2rem; }

.service-list { list-style: none; }
.service-list li {
  display: flex; align-items: flex-start; gap: 8px;
  color: var(--muted); font-size: 0.83rem; padding: 4px 0;
}
.service-list li::before {
  content: '→'; color: var(--accent); flex-shrink: 0; margin-top: 1px;
}

/* ─── FORMATION ─── */
#formation { background: var(--bg2); }

.formation-intro-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start; margin-bottom: 3.5rem;
}
.formation-intro-left .section-desc { margin-bottom: 0; }

.avantage-card {
  background: var(--card); border: 1px solid rgba(0,200,255,0.2);
  border-radius: var(--radius); padding: 2rem;
  border-top: 2px solid var(--accent);
}
.avantage-header { margin-bottom: 1.2rem; }
.avantage-badge {
  display: inline-block; background: rgba(0,200,255,0.1);
  color: var(--accent); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 0.5rem;
}
.avantage-header h3 { font-size: 1.2rem; font-weight: 700; margin: 0; }
.avantage-card > p { color: var(--muted); font-size: 0.88rem; margin-bottom: 1rem; line-height: 1.7; }
.avantage-list {
  list-style: none; padding: 0; margin: 0 0 1.2rem;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.avantage-list li { color: var(--muted); font-size: 0.88rem; display: flex; gap: 0.5rem; }
.avantage-highlight {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(0,200,255,0.05); border-radius: 8px;
  padding: 1rem; border: 1px solid rgba(0,200,255,0.12);
}
.avantage-icon { font-size: 1.5rem; flex-shrink: 0; }
.avantage-highlight strong { font-size: 0.9rem; display: block; margin-bottom: 0.4rem; }
.avantage-highlight p { color: var(--muted); font-size: 0.85rem; margin: 0; line-height: 1.6; }

.exclusivite-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: linear-gradient(135deg, rgba(255,107,0,0.07) 0%, rgba(0,200,255,0.05) 100%);
  border: 1px solid rgba(255,107,0,0.2); border-radius: var(--radius);
  padding: 2rem 2.5rem; margin-bottom: 3.5rem;
}
.exclusivite-left { flex: 1; }
.exclusivite-left h3 { font-size: 1.2rem; font-weight: 700; margin: 0.5rem 0 0.8rem; }
.exclusivite-left p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin: 0; }
.exclusivite-right { display: flex; gap: 2rem; flex-shrink: 0; }
.exclusivite-stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--accent2); line-height: 1; }
.stat-lbl { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 0.3rem; max-width: 100px; }

.formation-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}

.formation-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer; position: relative; overflow: hidden;
}
.formation-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.formation-card:hover {
  border-color: rgba(0,200,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.formation-card:hover::before { transform: scaleX(1); }

.formation-level {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem;
}
.formation-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.8rem; }
.formation-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.2rem; }

.formation-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.f-tag {
  background: rgba(0,200,255,0.08); border: 1px solid rgba(0,200,255,0.2);
  color: var(--accent); padding: 3px 10px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 600;
}

.formation-info {
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 0.82rem; margin-top: 1rem;
}
.formation-info i { color: var(--accent); }

/* ─── AUTOMATION ─── */
#automation { background: var(--bg); }

.automation-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.auto-visual {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  font-family: 'Fira Code', 'Courier New', monospace; font-size: 0.82rem;
  color: #6edf9f; line-height: 2;
  position: relative; overflow: hidden;
}
.auto-visual::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 36px;
  background: #0f0f0f; border-bottom: 1px solid var(--border);
}
.auto-visual .dots {
  position: absolute; top: 12px; left: 16px;
  display: flex; gap: 6px;
}
.auto-visual .dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.auto-visual .dots span:nth-child(1) { background: #ff5f56; }
.auto-visual .dots span:nth-child(2) { background: #ffbd2e; }
.auto-visual .dots span:nth-child(3) { background: #27c93f; }
.auto-visual .code-body { margin-top: 2.5rem; }

.code-line .kw { color: #569cd6; }
.code-line .fn { color: #dcdcaa; }
.code-line .str { color: #ce9178; }
.code-line .cm { color: #555; }
.code-line .num { color: #b5cea8; }

.auto-items { display: flex; flex-direction: column; gap: 1.5rem; }
.auto-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: border-color var(--transition);
}
.auto-item:hover { border-color: var(--accent); }
.auto-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.auto-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.auto-item p { color: var(--muted); font-size: 0.83rem; }

/* ─── PROJETS ─── */
#projets { background: var(--bg2); }

.projets-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.projet-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.projet-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,200,255,0.35);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,200,255,0.12);
}

.projet-thumb {
  height: 210px; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; overflow: hidden;
}

.projet-thumb > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.projet-thumb:hover > img { transform: scale(1.05); }

.projet-thumb iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}

/* YouTube thumbnail lazy-load player */
.yt-facade {
  position: relative; width: 100%; height: 100%;
  cursor: pointer; overflow: hidden;
}
.yt-facade img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.yt-facade:hover img { transform: scale(1.04); }
.yt-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(0,0,0,0.75); border: 2px solid rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; padding-left: 4px;
  transition: background 0.3s, transform 0.3s;
  pointer-events: none;
}
.yt-facade:hover .yt-play-btn {
  background: #ff0000; transform: translate(-50%, -50%) scale(1.1);
}
.yt-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.75); color: #fff;
  font-size: 0.7rem; font-weight: 700; padding: 3px 8px;
  border-radius: 4px; display: flex; align-items: center; gap: 5px;
}
.yt-badge i { color: #ff0000; }

.projet-type {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.7); border: 1px solid var(--border);
  color: var(--muted); font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 4px; letter-spacing: 0.05em;
  text-transform: uppercase;
}

.projet-body { padding: 1.5rem; }
.projet-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.projet-body p { color: var(--muted); font-size: 0.83rem; margin-bottom: 1.2rem; }

.projet-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.p-tag {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--muted); padding: 3px 10px; border-radius: 4px; font-size: 0.75rem;
}

/* ─── CLIENTS ─── */
#clients { background: var(--bg); text-align: center; }

.clients-marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.clients-marquee {
  display: flex; gap: 2rem; width: max-content;
  animation: marquee 20s linear infinite;
}
.clients-marquee:hover { animation-play-state: paused; }

.client-chip {
  background: var(--card); border: 1px solid var(--border);
  padding: 0.8rem 1.8rem; border-radius: 8px; white-space: nowrap;
  font-weight: 600; font-size: 0.9rem; color: var(--muted);
  transition: border-color var(--transition), color var(--transition);
}
.client-chip:hover { border-color: var(--accent); color: var(--text); }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── CONTACT ─── */
#contact { background: var(--bg2); }

.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start;
}

.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-info p { color: var(--muted); margin-bottom: 2rem; font-size: 0.9rem; }

.contact-detail {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 1.2rem;
}
.contact-detail .icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(0,200,255,0.08); border: 1px solid rgba(0,200,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1rem; flex-shrink: 0;
}
.contact-detail a, .contact-detail span {
  color: var(--text); text-decoration: none; font-size: 0.88rem; font-weight: 500;
  transition: color var(--transition);
}
.contact-detail a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--muted); }

.form-group input, .form-group textarea, .form-group select {
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); padding: 0.75rem 1rem; border-radius: 8px;
  font-size: 0.9rem; font-family: inherit; outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--bg2); }

.btn-submit {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #000; font-weight: 700; padding: 0.9rem 2rem;
  border: none; border-radius: var(--radius); cursor: pointer;
  font-size: 0.95rem; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity var(--transition), transform var(--transition);
}
.btn-submit:hover { opacity: 0.88; transform: translateY(-1px); }

/* ─── MODAL TÉLÉCHARGEMENT ─── */
.dl-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9990;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.dl-modal-overlay.open { display: flex; animation: dlFadeIn 0.2s ease; }
@keyframes dlFadeIn { from { opacity:0; } to { opacity:1; } }

.dl-modal-box {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 20px; width: 100%; max-width: 480px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  animation: dlSlideUp 0.25s ease;
  overflow: hidden;
}
@keyframes dlSlideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

.dl-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.dl-modal-close {
  background: none; border: none; color: var(--muted); font-size: 1.5rem;
  cursor: pointer; line-height: 1; padding: 0.2rem 0.5rem; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.dl-modal-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.dl-modal-body { padding: 1.4rem; }

.dl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.dl-form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.dl-form-group label { font-size: 0.8rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.dl-form-group input,
.dl-form-group select {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.65rem 0.9rem;
  color: var(--text); font-size: 0.88rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.dl-form-group input:focus,
.dl-form-group select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,200,255,0.12);
}
.dl-form-group input::placeholder { color: #4a5568; }
.dl-form-group select option { background: var(--bg3); }

.dl-submit-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 0.9rem 1.5rem; border-radius: 12px; border: none;
  cursor: pointer; transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 6px 20px rgba(0,200,255,0.3); margin-top: 0.4rem;
}
.dl-submit-btn:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.dl-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

@media (max-width: 480px) {
  .dl-form-row { grid-template-columns: 1fr; }
  .dl-modal-box { border-radius: 16px; }
}

/* ─── FOOTER ─── */
footer {
  background: #000; border-top: 1px solid var(--border);
  padding: 2.5rem 5%; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: gap 1rem;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.1rem;
}
.footer-logo span { color: var(--accent); }
footer p { color: var(--muted); font-size: 0.82rem; }

.footer-socials { display: flex; gap: 12px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: 0.95rem;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  cursor: pointer;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,200,255,0.06); }

/* ─── FOCUS STATES (WCAG AA) ─── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible { outline-offset: 4px; }

/* ─── PREFERS-REDUCED-MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── ANIMATIONS ─── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .formation-grid { grid-template-columns: 1fr; }
  .formation-intro-row { grid-template-columns: 1fr; }
  .exclusivite-banner { flex-direction: column; }
  .exclusivite-right { justify-content: center; }
  .automation-hero { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; }
  #hero { padding-top: calc(70px + 2rem) !important; align-items: flex-start !important; min-height: auto !important; }
  .hero-inner { flex-direction: column !important; align-items: flex-start !important; gap: 2rem !important; }
  .hero-content { max-width: 100% !important; }
  .hero-logo-right { margin-right: 0 !important; margin-top: 1.5rem !important; width: 100% !important; justify-content: flex-start !important; }
  .btn-alerte-formation { margin-top: 0 !important; width: 100% !important; justify-content: center !important; font-size: 0.75rem !important; box-sizing: border-box !important; }
}

@media (max-width: 1050px) {
  /* Navbar mobile / tablette */
  .nav-links { display: none !important; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(8,8,8,0.97); padding: 1.5rem 5%; border-bottom: 1px solid var(--border); gap: 1rem; z-index: 999; }
  .nav-links.open { display: flex !important; }
  .hamburger { display: flex !important; }
  /* Dropdown mobile */
  .nav-dropdown-wrapper { position: static; }
  .nav-dropdown-menu { position: static; transform: none; background: rgba(255,255,255,0.03); border: none; border-left: 2px solid var(--accent); border-radius: 0 8px 8px 0; box-shadow: none; padding: 0.3rem 0; margin-left: 0.5rem; min-width: unset; }
  .nav-dropdown-wrapper:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown-wrapper.open .nav-dropdown-menu { display: flex; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu li a { padding: 0.45rem 0.8rem; font-size: 0.82rem; }
  .nav-logo { font-size: 1rem !important; gap: 5px !important; white-space: nowrap; }
  .nav-logo .dot { width: 6px; height: 6px; }
  .btn-autoentrepreneur { font-size: 0.65rem !important; padding: 4px 8px !important; }

  /* Sections — padding top pour navbar fixe */
  section:not(#hero) { scroll-margin-top: 70px; }
  #formation, #services, #projets, #contact, #automation, #familles, #promo-2mois, #blog {
    padding-left: 4% !important; padding-right: 4% !important;
  }

  /* Hero mobile */
  .hero-actions { flex-direction: column !important; gap: 0.8rem !important; }
  .hero-actions a { width: 100% !important; text-align: center !important; justify-content: center !important; }
  .hero-tags { gap: 0.4rem; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }

  /* Sections mobile */
  .section-title { font-size: clamp(1.3rem, 5vw, 2rem) !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .projets-grid { grid-template-columns: 1fr !important; }
  .stats-row { flex-direction: column; gap: 1.5rem; }
  .footer-socials { justify-content: center; }
  footer { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 1rem !important; }

  /* Promo section mobile */
  #promo-2mois { padding-top: calc(70px + 2rem) !important; }
  .promo-programme { grid-template-columns: 1fr !important; }
  .promo-footer { flex-direction: column !important; }
  .promo-cta-group { flex-direction: column !important; align-items: flex-start !important; }
  .btn-promo-inscrit { width: 100% !important; justify-content: center !important; }

  /* Inscription modal mobile */
  .insc-row { grid-template-columns: 1fr !important; }
  .insc-inner { padding: 2rem 1.2rem !important; }
}

/* ─── SLIDER ADMIN ─── */
.admin-slider { width:100%; height:100%; position:relative; }
.admin-slide {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; opacity:0; transition:opacity 0.5s ease; cursor:pointer;
}
.admin-slide.active { opacity:1; }
#famillesSlider .admin-slide { object-fit:contain; background:#0a0f19; }
.famille-label {
  position:absolute; bottom:0; left:0; right:0; z-index:5;
  background:linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color:#fff; font-size:0.82rem; font-weight:700;
  padding:28px 12px 8px; text-align:center;
  pointer-events:none; letter-spacing:0.03em;
}

.slide-btn {
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(0,0,0,0.55); border:none; color:#fff;
  font-size:1.4rem; width:30px; height:44px; cursor:pointer;
  border-radius:4px; z-index:10; transition:background 0.2s;
  display:flex; align-items:center; justify-content:center; padding:0;
}
.slide-btn:hover { background:rgba(0,200,255,0.7); }
.slide-prev { left:8px; }
.slide-next { right:8px; }

.slide-dots {
  position:absolute; bottom:8px; left:50%; transform:translateX(-50%);
  display:flex; gap:6px; z-index:10;
}
.slide-dot {
  width:7px; height:7px; border-radius:50%;
  background:rgba(255,255,255,0.4); cursor:pointer; transition:background 0.3s;
}
.slide-dot.active { background:#00c8ff; }

/* ─── COMPARATEUR BIM ─── */
.bim-compare {
  position: relative; width: 100%; max-width: 1100px; margin: 0 auto;
  aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  cursor: col-resize; user-select: none;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(0,200,255,0.1);
}

.compare-before, .compare-after {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center center;
}
.compare-after  { z-index: 1; }
.compare-before { z-index: 2; clip-path: inset(0 50% 0 0); }

.compare-line {
  position: absolute; top: 0; left: 50%; z-index: 3;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,200,255,0.6);
}

.compare-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
  box-shadow: 0 0 20px rgba(0,200,255,0.5);
  transition: transform 0.15s, box-shadow 0.15s;
}
.bim-compare:hover .compare-handle {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 30px rgba(0,200,255,0.8);
}

.compare-label-left, .compare-label-right {
  position: absolute; top: 16px;
  background: rgba(0,0,0,0.65); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 4px;
  white-space: nowrap;
}
.compare-label-left  { right: 12px; color: var(--accent); border: 1px solid var(--accent); }
.compare-label-right { left: 12px; }

@media (max-width: 700px) { .bim-compare { aspect-ratio: 16/9; } }

/* Color utilities for icons */
.c1 { background: rgba(0,200,255,0.1); color: var(--accent); }
.c2 { background: rgba(0,119,255,0.1); color: var(--accent2); }
.c3 { background: rgba(245,166,35,0.1); color: var(--gold); }
.c4 { background: rgba(110,223,159,0.1); color: #6edf9f; }
.c5 { background: rgba(200,100,255,0.1); color: #c864ff; }

/* ─── FAMILLES REVIT ─── */
#familles-revit { padding: 100px 5%; background: var(--bg); }

.familles-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.famille-benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.famille-benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.famille-benefit-card:hover {
  border-color: rgba(0,200,255,0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.famille-benefit-card:hover::before { transform: scaleX(1); }

.famille-benefit-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}

.famille-benefit-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.famille-benefit-card p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.7;
}

.familles-section-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.familles-section-sub-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.familles-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1rem;
  margin-bottom: 5rem;
}

.famille-category {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 0.8rem;
  text-align: center;
  transition: var(--transition);
  display: flex; flex-direction: column;
  align-items: center; gap: 0.7rem;
  cursor: pointer;
}

.famille-category:hover {
  border-color: var(--accent);
  background: rgba(0,200,255,0.04);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,200,255,0.08);
}

.famille-category i { font-size: 1.7rem; }

.famille-category span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 27px);
  right: calc(12.5% + 27px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  opacity: 0.35;
}

.process-step {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 1rem;
  position: relative; z-index: 1;
}

.process-step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.15rem;
  color: #000;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0,200,255,0.3);
}

.process-step h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.process-step p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.familles-header-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.familles-header-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 0 40px rgba(0,200,255,0.07);
  position: relative;
}

.familles-header-img svg { display: block; width: 100%; height: auto; }


@media (max-width: 900px) {
  .familles-header-wrap { grid-template-columns: 1fr; }
  .familles-header-img { display: none; }
}

.familles-process { margin-bottom: 5rem; }

.familles-cta-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.familles-cta-block::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,200,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.familles-cta-block h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.familles-cta-block p {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 520px;
  line-height: 1.7;
}

.familles-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  flex-shrink: 0;
}

.badge-bim {
  display: inline-block;
  background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.3);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline::before { display: none; }
  .familles-cta-block { grid-template-columns: 1fr; }
  .familles-cta-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}

/* Active nav link */
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

/* ─── BOUTON AUTO-ENTREPRENEUR ─── */
.btn-autoentrepreneur {
  font-size: 0.75rem; font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(0,200,255,0.4);
  border-radius: 4px;
  padding: 4px 12px;
  margin-left: 80px;
  letter-spacing: 0.05em;
  vertical-align: middle;
  background: rgba(0,200,255,0.08);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
}
.btn-autoentrepreneur:hover {
  background: rgba(0,200,255,0.18);
  border-color: var(--accent);
}

/* ─── PROFIL MODAL ─── */
#profileModal {
  display: none; position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.88);
  align-items: center; justify-content: center;
  padding: 1rem; overflow-y: auto;
}
.profile-modal-inner {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%; max-width: 800px;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  animation: pmSlideIn 0.3s ease;
}
@keyframes pmSlideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pm-header {
  background: linear-gradient(135deg, #0a0a0a, #111);
  border-bottom: 1px solid var(--border);
  padding: 2rem 2rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap; position: relative;
}
.pm-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--muted); font-size: 1.8rem;
  cursor: pointer; line-height: 1; transition: color 0.2s;
}
.pm-close:hover { color: #fff; }
.pm-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 1.3rem; color: #000;
  flex-shrink: 0; box-shadow: 0 0 24px rgba(0,200,255,0.35);
}
.pm-title-block { flex: 1; min-width: 180px; }
.pm-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem; font-weight: 800; margin-bottom: 0.3rem;
}
.pm-role { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }
.pm-location { color: var(--muted); font-size: 0.8rem; }
.pm-location i { color: var(--accent); margin-right: 4px; }
.pm-stats { display: flex; gap: 1.5rem; flex-shrink: 0; }
.pm-stat { text-align: center; }
.pm-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--accent); display: block;
}
.pm-stat-lbl { font-size: 0.68rem; color: var(--muted); font-weight: 500; }
.pm-body { padding: 2rem; display: flex; flex-direction: column; gap: 2rem; }
.pm-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 8px;
}
.pm-text { color: var(--muted); font-size: 0.88rem; line-height: 1.8; }
.pm-timeline { display: flex; flex-direction: column; }
.pm-exp {
  display: flex; gap: 1.2rem; padding: 0.85rem 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.pm-exp:last-child { border-bottom: none; }
.pm-exp-date {
  font-size: 0.75rem; font-weight: 700; color: var(--muted);
  min-width: 115px; padding-top: 2px; flex-shrink: 0;
}
.pm-exp.active-exp .pm-exp-date { color: var(--accent); }
.pm-exp h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.pm-exp p { color: var(--muted); font-size: 0.8rem; }
.pm-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 0.75rem;
}
.pm-skill-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.9rem;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.82rem; font-weight: 600;
  transition: border-color 0.3s;
}
.pm-skill-card:hover { border-color: var(--accent); }
.pm-skill-card i { font-size: 1.2rem; flex-shrink: 0; }
.pm-skill-card small { color: var(--muted); font-weight: 400; font-size: 0.7rem; display: block; }
.pm-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-tool {
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); padding: 4px 13px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
  transition: border-color 0.3s, color 0.3s;
}
.pm-tool:hover { border-color: var(--accent); color: var(--accent); }
.pm-formation { display: flex; flex-direction: column; }
.pm-form-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.pm-form-item:last-child { border-bottom: none; }
.pm-form-year { font-weight: 700; color: var(--accent); min-width: 90px; font-size: 0.8rem; }
.pm-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.2rem; border-top: 1px solid var(--border);
}
.profile-modal-inner::-webkit-scrollbar { width: 4px; }
.profile-modal-inner::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
@media (max-width: 600px) {
  .pm-stats { gap: 1rem; }
  .pm-exp-date { min-width: 90px; }
}
