@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --bg: #0f0f0f;
  --bg-soft: #1a1a1a;
  --card: #1a1a1a;
  --card-2: #242424;
  --text: #ffffff;
  --muted: #d0d0d0;
  --primary: #d4af37;
  --primary-2: #e8d4b8;
  --primary-soft: rgba(139, 111, 71, 0.15);
  --border: rgba(139, 111, 71, 0.3);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 8px 22px rgba(0, 0, 0, 0.3);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(1200px 520px at -6% -5%, rgba(139, 111, 71, 0.12), transparent 64%),
    radial-gradient(1000px 460px at 105% -5%, rgba(201, 168, 119, 0.08), transparent 62%),
    var(--bg);
  color: var(--text);
  background-attachment: fixed;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 0.9rem 1rem;
}

.site-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.09em;
  font-size: 1.15rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text);
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  background: rgba(50, 50, 50, 0.6);
  font-weight: 500;
}

.nav-dropdown {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-parent::after {
  content: "▾";
  font-size: 0.72rem;
  opacity: 0.85;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(24, 24, 24, 0.98);
  box-shadow: var(--shadow-soft);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  display: flex;
}

.nav-submenu a {
  border-radius: 10px;
  padding: 0.42rem 0.65rem;
}

nav a:hover,
nav a.active {
  border-color: var(--primary);
  color: var(--primary);
  background: linear-gradient(135deg, rgba(70, 70, 70, 0.95), rgba(60, 60, 60, 0.92));
  transform: translateY(-1px) scale(1.01);
  box-shadow: var(--shadow-soft);
}

.nav-dropdown.active-dropdown .nav-parent {
  border-color: var(--primary);
  color: var(--primary);
  background: linear-gradient(135deg, rgba(70, 70, 70, 0.95), rgba(60, 60, 60, 0.92));
}

main {
  max-width: 1280px;
  margin: 2.2rem auto 3.8rem;
  padding: 0 1.15rem;
}

.hero,
.card,
article,
section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.55rem;
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.hero {
  background: linear-gradient(135deg, rgba(50, 50, 50, 0.98), rgba(40, 40, 40, 0.92));
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(21, 16, 12, 0.08), rgba(21, 16, 12, 0.82));
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.home-page .page-hero {
  background-image: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1800&q=80");
}

.tech-page .page-hero {
  background-image: url("https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=1800&q=80");
}

.human-page .page-hero {
  background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=80");
}

.real-page .page-hero {
  background-image: url("https://images.unsplash.com/photo-1497215842964-222b430dc094?auto=format&fit=crop&w=1800&q=80");
}

.parcours-page .page-hero {
  background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80");
}

.contact-page .page-hero {
  background-image: url("https://images.unsplash.com/photo-1521791055366-0d553872125f?auto=format&fit=crop&w=1800&q=80");
}

.competence-page .page-hero {
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=80");
}

.competence-domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.domain-card {
  display: block;
  text-decoration: none;
  background: #1f1f1f;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.15rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.domain-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.domain-card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.domain-card h3 {
  margin-bottom: 0.45rem;
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0.01em;
}

.domain-card p {
  margin: 0;
  color: var(--muted);
}

.competence-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #1f1f1f;
}

.competence-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.competence-compare-table th,
.competence-compare-table td {
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.competence-compare-table th {
  color: var(--primary);
  background: rgba(212, 175, 55, 0.12);
  font-weight: 700;
}

.competence-compare-table tr:last-child td {
  border-bottom: 0;
}

.competence-compare-table a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.competence-compare-table a:hover {
  text-decoration: underline;
}

.level-badge {
  display: inline-block;
  min-width: 3.2rem;
  text-align: center;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: rgba(212, 175, 55, 0.18);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.86rem;
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  margin-top: 0;
  color: var(--text);
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: 0.01em;
  margin-bottom: 0.8rem;
}

.page-hero h1,
.page-hero p {
  color: #fff;
  max-width: 900px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.96;
}

h2 {
  font-size: clamp(1.28rem, 1.5vw, 1.58rem);
  border-left: 4px solid var(--primary-2);
  padding-left: 0.65rem;
  margin-bottom: 0.95rem;
}

h3 {
  font-size: 1.08rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

h4 {
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
  color: var(--primary-2);
}

p {
  margin-top: 0.5rem;
  font-size: 1.01rem;
}

.muted {
  color: var(--muted);
  font-weight: 500;
}

.grid-2 {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  border: 1px solid var(--border);
  background: #f2e7dd;
  color: var(--primary);
  border-radius: 999px;
  padding: 0.38rem 0.82rem;
  font-size: 0.9rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  margin-bottom: 0.85rem;
  background: var(--card-2);
  box-shadow: var(--shadow-soft);
}

details[open] {
  background: #252525;
}

.table-like {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.table-like div {
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid var(--border);
}

.table-like div:last-child {
  border-bottom: 0;
}

footer {
  text-align: center;
  color: var(--muted);
  margin: 2rem 0;
  padding: 0 1rem;
}

.toc a {
  color: var(--primary);
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.toc {
  background: #1f1f1f;
  border: 1px solid var(--border);
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.visual-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #1f1f1f;
  box-shadow: var(--shadow-soft);
}

.visual-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
}

.visual-card p {
  margin: 0;
  padding: 0.55rem 0.7rem 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.kpi-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.kpi-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #1f1f1f;
  padding: 1rem 0.9rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.kpi-value {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  color: var(--primary);
}

.kpi-label {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.home-cta-links {
  margin-top: 1rem;
}

.contact-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.relation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.4rem 0 1.05rem;
}

.relation-links a {
  text-decoration: none;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  background: rgba(212, 175, 55, 0.25);
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.relation-links a:hover {
  border-color: var(--primary-2);
  color: var(--primary-2);
  background: rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.2);
}

.timeline {
  position: relative;
  margin-left: 0.35rem;
  padding-left: 1.7rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.45rem;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
}

.timeline-item {
  position: relative;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.1rem 1.15rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 1rem;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--primary);
  border: 2px solid #1a1a1a;
  box-shadow: 0 0 0 3px rgba(182, 132, 106, 0.18);
}

.timeline-date {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.timeline-item h3 a {
  color: inherit;
  text-decoration: none;
}

.timeline-item h3 a:hover {
  text-decoration: underline;
}

.timeline-parallel {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline-parallel .timeline-date {
  margin-bottom: 0.8rem;
}

.timeline-parallel-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.timeline-parallel .timeline-item {
  margin-bottom: 0;
}

.timeline-parallel .timeline-item::before {
  display: none;
}

.timeline-parallel .timeline-item:nth-child(1)::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: -2.2rem;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--primary);
  border: 2px solid #1a1a1a;
  box-shadow: 0 0 0 3px rgba(182, 132, 106, 0.18);
}

.timeline-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 0 0.8rem 0;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.timeline-logo img {
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
}

.timeline-item--secondary {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.12);
}

.timeline-more {
  margin-top: 0.8rem;
  background: #202020;
}

.parcours-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.parcours-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.parcours-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.9fr);
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
}

.parcours-entry--featured {
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 18px 40px rgba(61, 37, 27, 0.16);
}

.parcours-entry--parallel {
  min-height: 100%;
}

.parcours-entry-content {
  min-width: 0;
}

.parcours-entry-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  min-height: 180px;
  padding: 0.85rem;
  border-left: 1px solid rgba(212, 175, 55, 0.14);
}

.parcours-entry-media img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.parcours-entry-media .logo-placeholder {
  min-height: 110px;
}

.parcours-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.timeline-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.logo-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 95px;
}

.logo-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.95rem;
  min-height: 160px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #1f1f1f;
  box-shadow: var(--shadow-soft);
}

.logo-card img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

.logo-placeholder {
  width: 100%;
  min-height: 90px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px dashed rgba(212, 175, 55, 0.45);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(212, 175, 55, 0.06);
}

.logo-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.logo-action:hover {
  transform: translateY(-2px);
  background: var(--primary-2);
}

.logo-caption {
  margin: -0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.parcours-block {
  padding: 1.15rem 1.2rem;
}

.parcours-block h3 {
  margin-bottom: 0.35rem;
}

.parcours-block p {
  margin-bottom: 0.45rem;
}

.parcours-nested {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.parcours-nested-item {
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.parcours-nested-item h4 {
  margin-bottom: 0.25rem;
  color: var(--primary);
  font-size: 0.98rem;
  text-transform: none;
}

.parcours-nested-item p {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.parcours-cards {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.parcours-cards h2 {
  margin-bottom: 1.2rem;
}

.parcours-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.parcours-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #1f1f1f;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.parcours-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.15);
}

.parcours-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 120px;
}

.parcours-card-media img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.parcours-card h3 {
  margin: 0;
  text-align: center;
  font-size: 1.1rem;
}

.parcours-card .logo-action {
  margin-top: 0.5rem;
}

article {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tech-page article[id]::before,
.human-page article[id]::before,
.real-page article[id]::before {
  content: "";
  display: block;
  height: 190px;
  margin: -1.45rem -1.45rem 1rem;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}

.tech-page #admin-systeme::before { background-image: url("https://images.unsplash.com/photo-1580894908361-967195033215?auto=format&fit=crop&w=1600&q=80"); }
.tech-page #virtualisation::before { background-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80"); }
.tech-page #cloud::before { background-image: url("https://images.unsplash.com/photo-1484417894907-623942c8ee29?auto=format&fit=crop&w=1600&q=80"); }
.tech-page #hebergement-web::before { background-image: url("https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=1600&q=80"); }
.tech-page #admin-reseau::before { background-image: url("https://images.unsplash.com/photo-1544197150-b99a580bb7a8?auto=format&fit=crop&w=1600&q=80"); }

.human-page #relationnel-partenaire::before { background-image: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1600&q=80"); }
.human-page #gestion-projet::before { background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80"); }
.human-page #gestion-budget::before { background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=80"); }
.human-page #travail-equipe::before { background-image: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80"); }
.human-page #communication-virale::before { background-image: url("https://images.unsplash.com/photo-1492724441997-5dc865305da7?auto=format&fit=crop&w=1600&q=80"); }

.real-page #infra::before { background-image: url("https://images.unsplash.com/photo-1563770660941-10a6360764a9?auto=format&fit=crop&w=1600&q=80"); }
.real-page #site::before { background-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80"); }
.real-page #mobile::before { background-image: url("https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?auto=format&fit=crop&w=1600&q=80"); }
.real-page #video::before { background-image: url("https://images.unsplash.com/photo-1492619375914-88005aa9e8fb?auto=format&fit=crop&w=1600&q=80"); }
.real-page #nextcloud::before { background-image: url("https://images.unsplash.com/photo-1518773553398-650c184e0bb3?auto=format&fit=crop&w=1600&q=80"); }

.tech-page main,
.human-page main {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.tech-page main .page-hero,
.human-page main .page-hero {
  grid-column: 1 / -1;
}

.tech-page main > section:nth-of-type(2),
.human-page main > section:nth-of-type(2) {
  position: sticky;
  top: 95px;
  grid-column: 1;
}

.tech-page main > article,
.human-page main > article {
  grid-column: 2;
}

article:hover,
section:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(61, 37, 27, 0.11);
}

.real-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
}

.real-overview-card {
  display: block;
  text-decoration: none;
  background: #1f1f1f;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.real-overview-card h3 {
  margin-bottom: 0.45rem;
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0.01em;
}

.real-overview-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.real-overview-card .card-meta {
  margin-top: 0.65rem;
  font-size: 0.88rem;
}

.real-overview-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.skill-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.95rem;
}

.skill-overview-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #1f1f1f;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.competence-page .skill-overview-card {
  text-align: center;
  padding-top: 1.2rem;
}

.competence-page .skill-overview-card::before {
  content: "";
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.skill-overview-card h3 {
  margin-bottom: 0.45rem;
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0.01em;
}

.competence-page .skill-overview-card h3 {
  font-size: 1.06rem;
}

.competence-page .skill-overview-card p {
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.competence-page .skill-overview-card .relation-links {
  justify-content: center;
}

.detail-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.detail-link:hover {
  text-decoration: underline;
}

.linked-realisations-label {
  margin: 0.7rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.competence-overview-page main,
.real-overview-page main {
  display: block;
}

.competence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.competence-panel {
  background: #1f1f1f;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.level-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.level-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid var(--border);
  padding: 0.62rem 0;
}

.level-list li:last-child {
  border-bottom: 0;
}

.level-chip {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: rgba(212, 175, 55, 0.14);
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-submenu {
    position: static;
    display: flex;
    margin-top: 0.4rem;
    width: 100%;
  }

  .page-hero {
    min-height: 230px;
    padding: 1.3rem;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .tech-page article[id]::before,
  .human-page article[id]::before,
  .real-page article[id]::before {
    height: 130px;
  }

  .tech-page main,
  .human-page main {
    display: block;
  }

  .parcours-compare {
    grid-template-columns: 1fr;
  }

  .parcours-entry {
    grid-template-columns: 1fr;
  }

  .parcours-entry-media {
    border-left: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.14);
    padding-top: 1rem;
  }

  .parcours-layout {
    display: block;
  }

  .logo-column {
    position: static;
    margin-top: 1rem;
  }

  .tech-page main > section:nth-of-type(2),
  .human-page main > section:nth-of-type(2) {
    position: static;
  }

  .timeline-parallel-items {
    grid-template-columns: 1fr;
  }

  .timeline-parallel .timeline-item:nth-child(1)::before {
    display: none;
  }

  .timeline-item {
    margin-bottom: 1rem;
  }

  .timeline-parallel .timeline-item::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 1rem;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--primary);
    border: 2px solid #1a1a1a;
    box-shadow: 0 0 0 3px rgba(182, 132, 106, 0.18);
  }
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(50, 50, 50, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.25s ease;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(50, 50, 50, 0.8);
  box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.2);
}

button[type="submit"] {
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

button[type="submit"]:hover {
  background: var(--primary-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.logo-badge {
  height: 1.2em;
  width: auto;
  margin-right: 0.5em;
  vertical-align: middle;
  opacity: 0.8;
}

.real-page main {
  max-width: 100%;
}

@media (min-width: 641px) and (max-width: 1024px) {
  .tech-page main,
  .human-page main {
    display: block;
  }

  .parcours-compare {
    grid-template-columns: 1fr;
  }

  .parcours-entry {
    grid-template-columns: 1fr;
  }

  .parcours-entry-media {
    border-left: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.14);
    padding-top: 1rem;
  }

  .parcours-layout {
    display: block;
  }

  .logo-column {
    position: static;
    margin-top: 1rem;
  }

  .tech-page main > section:nth-of-type(2),
  .human-page main > section:nth-of-type(2) {
    position: static;
  }

  .timeline-parallel-items {
    grid-template-columns: 1fr;
  }

  .timeline-parallel .timeline-item:nth-child(1)::before {
    display: none;
  }

  .timeline-item {
    margin-bottom: 1rem;
  }

  .timeline-parallel .timeline-item::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 1rem;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--primary);
    border: 2px solid #1a1a1a;
    box-shadow: 0 0 0 3px rgba(182, 132, 106, 0.18);
  }
}
