/* stylesacceuil.css — page accueil uniquement */

/* ── Hero ───────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 80px;
  padding-top: 110px;
  padding-bottom: 64px;
}

/* Texte */
.hero-name {
  font-family: var(--fhead);
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.0;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-name span {
  background: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-bio {
  font-size: 1rem;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 40px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text2);
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.pill:hover {
  border-color: rgba(59,130,246,0.4);
  color: #93c5fd;
  background: var(--blue-dim);
}

/* ── Photo ──────────────────────────────────────────────────── */
.hero-photo-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.photo-frame {
  position: relative;
  width: 280px;
  height: 280px;
}

.photo-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
}

.r1 {
  width: 310px; height: 310px;
  border-width: 1px;
  border-color: rgba(59,130,246,0.2);
  animation: ring-turn 24s linear infinite;
  border-top-color: rgba(59,130,246,0.55);
}
.r2 {
  width: 346px; height: 346px;
  border-width: 1px;
  border-color: rgba(6,182,212,0.1);
  border-style: dashed;
  animation: ring-turn 38s linear infinite reverse;
}

@keyframes ring-turn { to { transform: translate(-50%,-50%) rotate(360deg); } }

.profile-pic {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% center;
  border: 2px solid rgba(59,130,246,0.35);
  box-shadow:
    0 0 0 6px rgba(59,130,246,0.06),
    0 20px 60px rgba(0,0,0,0.55),
    0 0 60px rgba(59,130,246,0.12);
  display: block;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}
.photo-frame:hover .profile-pic { transform: scale(1.02); }

.available-badge {
  position: absolute;
  bottom: 8px; right: -10px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(10,12,16,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 40px;
  padding: 6px 16px;
  font-size: 0.77rem;
  font-weight: 600;
  color: #6ee7b7;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 6px; height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
  animation: pdot 2s ease-in-out infinite;
}
@keyframes pdot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.5)} }

/* Bulles stats */
.stat-bubble {
  position: absolute;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 10px 16px;
  text-align: center;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.stat-bubble strong {
  display: block;
  font-family: var(--fhead);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-bubble span {
  display: block;
  font-size: 0.7rem;
  color: var(--text3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 3px;
}
.sb-top { top: 20px; left: -30px; animation: sb-float 7s ease-in-out infinite; }
.sb-bot { bottom: 50px; right: -30px; animation: sb-float 9s ease-in-out infinite 1.2s; }
@keyframes sb-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

.hero-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border2) 30%, var(--border2) 70%, transparent 100%);
  margin: 0 48px;
}

/* ── About ──────────────────────────────────────────────────── */
.about-section {
  position: relative; z-index: 1;
  padding: 72px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-left p {
  color: var(--text2);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 14px;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.xp-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.xp-item:hover { background: var(--surface2); }

.xp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c, var(--blue));
  box-shadow: 0 0 8px var(--c, var(--blue));
  flex-shrink: 0;
}

.xp-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.xp-detail {
  font-size: 0.78rem;
  color: var(--text2);
  margin-top: 2px;
}

/* ── Documents ──────────────────────────────────────────────── */
.docs-section {
  position: relative; z-index: 1;
  padding: 0 0 80px;
}

.docs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.doc-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(59,130,246,0.04), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.doc-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.doc-card:hover::before { opacity: 1; }

.doc-card img {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--surface2);
  padding: 5px;
  flex-shrink: 0;
}
.doc-info { flex: 1; }
.doc-name { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.doc-type { display: block; font-size: 0.72rem; color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }
.doc-dl { font-size: 1rem; color: var(--text2); opacity: 0; transition: all var(--transition); }
.doc-card:hover .doc-dl { opacity: 1; transform: translateY(2px); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 50px; padding-top: 100px; }
  .hero-bio { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-pills { justify-content: center; }
  .page-eyebrow { justify-content: center; }
  .hero-photo-col { order: -1; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .docs-row { grid-template-columns: 1fr; }
  .hero-line { margin: 0 20px; }
}

@media (max-width: 640px) {
  .hero-grid { padding-top: 90px; }
  .photo-frame, .profile-pic { width: 220px; height: 220px; }
  .r1 { width: 250px; height: 250px; }
  .r2 { width: 280px; height: 280px; }
  .sb-top { left: -10px; top: 10px; }
  .sb-bot { right: -10px; bottom: 30px; }
}