/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 3rem;
  background: #020812;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 12% 50%, rgba(0,212,180,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 65% 60% at 75% 25%, rgba(69,128,255,0.08) 0%, transparent 58%),
    radial-gradient(ellipse 50% 45% at 55% 90%, rgba(99,102,241,0.05) 0%, transparent 55%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  padding: 5px 12px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-bd);
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,180,0.2);
  animation: pulse 2s infinite;
}
/* ── Photo + nom côte à côte ── */
.hero-profile {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 0.5rem;
}

/* ── Photo — frame coupé ── */
.hero-avatar-frame {
  position: relative;
  flex-shrink: 0;
  width: 156px;
  height: 156px;
}
.hero-avatar {
  width: 156px;
  height: 156px;
  object-fit: cover;
  display: block;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
  background: #0c1829;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,0.55));
}
/* barre accent verticale gauche */
.hero-avatar-frame::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent) 40%, transparent);
  border-radius: 1px;
}
/* trait accent horizontal bas */
.hero-avatar-frame::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 55%;
  height: 2px;
  background: linear-gradient(to right, var(--accent) 40%, transparent);
  border-radius: 1px;
}
/* bracket coin coupé */
.hero-avatar-corner {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 36px;
  height: 36px;
  color: var(--accent);
  opacity: 0.85;
}

.hero-profile-text { display: flex; flex-direction: column; }

.hero-title { margin-bottom: 0.3rem; }
.hero-title span { color: var(--accent); }
.hero-role {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dim);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-desc {
  font-size: 0.95rem;
  color: var(--dim);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.hero-skills-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 600px;
}
.hero-skills-list li {
  font-size: 0.88rem;
  color: var(--dim);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.hero-skills-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.hero-seeking {
  font-size: 0.85rem;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-bd);
  border-radius: var(--r);
  padding: 0.6rem 1rem;
  margin-bottom: 1rem !important;
  max-width: 600px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stack {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.hero-stack span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-stack span.sep { color: var(--border-2); }

/* ── Hero visual — empilement de couches SIG ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-layers-stack {
  position: relative;
  width: 400px;
  height: 380px;
  perspective: 700px;
  perspective-origin: 50% -10%;
}
.layer-card {
  position: absolute;
  width: 340px;
  height: 128px;
  left: 30px;
  border-radius: 12px;
  background: var(--surf);
  border: 1px solid rgba(0,212,180,0.12);
  overflow: hidden;
  transform: rotateX(52deg);
  box-shadow: 0 10px 35px rgba(0,0,0,0.6);
}
.layer-card svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.lc-1 { top: 228px; border-color: rgba(255,255,255,0.08); background: linear-gradient(120deg,#0c1829,#0e2035); animation: lcFloat 5s ease-in-out infinite 0s; }
.lc-2 { top: 158px; border-color: rgba(74,200,110,0.20); animation: lcFloat 5s ease-in-out infinite 0.45s; }
.lc-3 { top: 88px;  border-color: rgba(69,128,255,0.22); animation: lcFloat 5s ease-in-out infinite 0.9s; }
.lc-4 { top: 18px;  border-color: rgba(0,212,180,0.32); animation: lcFloat 5s ease-in-out infinite 1.35s; }
@keyframes lcFloat {
  0%, 100% { transform: rotateX(52deg) translateY(0); }
  50%       { transform: rotateX(52deg) translateY(-10px); }
}
.lc-label {
  position: absolute;
  bottom: 7px; left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(122,150,176,0.85);
  font-family: var(--font-b);
  z-index: 2;
  pointer-events: none;
}
.lc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.station-halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: stationPulse 3s ease-in-out infinite;
}
.station-halo-2 { animation-delay: 1s; }
.station-halo-3 { animation-delay: 2s; }
@keyframes stationPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50%       { opacity: 0.65; transform: scale(1.5); }
}

/* ── Scroll indicator ── */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2.4s ease-in-out infinite;
  z-index: 2;
}
.scroll-hint svg { opacity: 0.6; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Cards section ── */
.cards-wrap {
  background: linear-gradient(to bottom, var(--bg), var(--surf) 50%, var(--bg));
}

/* ── Contact section ── */
.contact-wrap {
  background: var(--bg);
}

@media (max-width: 900px) {
  .hero { padding: 0 1.5rem; min-height: auto; padding-top: 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0 3rem; }
  .hero-visual { display: none; }
  .hero-avatar { width: 88px; height: 88px; }
}
@media (max-width: 600px) {
  .hero-profile { gap: 1.25rem; }
  .hero-avatar { width: 76px; height: 76px; }
  .hero { padding: 0 1.25rem; }
}
