/* layout.css — page structure & section grids */

/* ── Shared section padding ── */
section {
  padding: var(--section-pad-y) var(--section-pad-x);
}

/* ── Section labels & titles ── */
.section-label {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--purple);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  margin-bottom: 60px;
  letter-spacing: 1px;
}
.section-title em {
  font-style: normal;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
  color: transparent;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--section-pad-x) 80px var(--section-pad-x);
  position: relative;
  z-index: 2;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

/* ── PROFIL ── */
#profil {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--dark2);
}

.profil-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.profil-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.formation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}

/* ── COMPÉTENCES ── */
#competences {
  background: var(--dark2);
}

.competences-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── EXPÉRIENCE ── */
#experience {
  background: var(--black);
}

.exp-timeline {
  position: relative;
  padding-left: 48px;
}
.exp-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--purple) 60%, transparent 100%);
}

/* ── CONTACT ── */
#contact {
  background: var(--dark2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px var(--section-pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}
footer a {
  color: var(--purple);
  text-decoration: none;
  transition: color var(--duration-fast);
}
footer a:hover { color: var(--purple-light); }

/* ── MARQUEE ── */
.marquee-section {
  border-top: 1px solid var(--purple-border);
  border-bottom: 1px solid var(--purple-border);
  padding: 18px 0;
  overflow: hidden;
  background: var(--dark2);
}
.marquee-track {
  display: flex;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
