/* Header (ordinateur) */

.header-burger {
  display: none;
}

.header-center,
.header-right {
  display: flex;
}

.header {
  margin: 10px 50px;
  transition:
    background-color 0.4s ease,
    padding 0.4s ease,
    top 0.4s ease,
    transform 0.4s ease,
    border-radius 0.4s ease;
}

.header-left {
  flex: 1;
  min-width: 0;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-center .header-nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-center .header-nav-list a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

.header-center .header-nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 3px;
  width: 0;
  background-color: var(--accent-color);
  border-radius: 10px;
  transition: width 0.4s ease;
}

.header-center .header-nav-list a:hover::after,
.header-center .header-nav-list a.active::after {
  width: 100%;
}

.header-center .header-nav-list a.active {
  color: var(--accent-color);
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.header-cv {
  background-color: var(--accent-color);
  color: #f2f2f2;
  font-weight: bold;
  padding: 0.5rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.header-cv:hover {
  filter: brightness(1.1);
}

/* ---------- Sections (ordinateur) ---------- */
#home {
  padding: 2rem 50px 4rem;
}

.home-content h1 {
  letter-spacing: 0.2em;
}

.about {
  padding: 4rem 50px 5rem;
}

.about-inner {
  max-width: 960px;
}

.about-title {
  font-size: 1.85rem;
}

.about-grid {
  gap: 1.25rem;
}

#skills {
  padding: 4rem 50px;
}

#projects {
  padding: 4rem 50px 6rem;
  margin-bottom: 2rem;
}

#contact {
  padding: 6rem 50px 7rem;
}

.skills-section {
  padding: 4rem 50px 5rem;
}

.skills-competences {
  margin-bottom: 4rem;
}

.skills-arena {
  height: 400px;
}

.footer-content {
  padding: 3rem 50px 2rem;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 1.5rem;
}

.footer-brand {
  align-items: flex-start;
}

.footer-nav {
  justify-content: flex-start;
  order: 0;
  width: auto;
}

.footer-social {
  margin-left: auto;
}

.footer-bottom {
  width: 100%;
  max-width: none;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}