/* Theme inspired by persohack logo: teal accents on deep navy */
:root {
  --bg-1: #07121f;
  --bg-2: #0b1e30;
  --panel: #0f2538;
  --accent: #00c6c8;
  --accent-2: #39e3d9;
  --text: #e6f7ff;
  --muted: #9eb6c8;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --glass: rgba(11, 30, 48, 0.7);
  --border: rgba(255, 255, 255, 0.06);
  --grid: rgba(0, 198, 200, 0.08);
  font-family: 'Space Grotesk', 'Segoe UI', Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(0, 198, 200, 0.1), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(57, 227, 217, 0.1), transparent 30%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
  opacity: 0.3;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  color: white;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 28px 80px;
  position: relative;
}

.section {
  margin-bottom: 18px;
}

header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 18, 31, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  color: var(--text);
}

.nav-links a.active,
.nav-links a:hover {
  border-color: var(--accent);
  background: rgba(0, 198, 200, 0.08);
}

.hero {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  margin-bottom: 30px;
}

.hero .card {
  padding: 24px;
}

h1, h2, h3, h4 {
  margin: 0 0 10px;
  color: white;
  letter-spacing: 0.3px;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.card {
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.card.soft {
  background: rgba(15, 37, 56, 0.6);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 198, 200, 0.14);
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.3px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.list .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.table th,
.table td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  color: var(--muted);
}

.table th {
  color: white;
  background: rgba(0, 198, 200, 0.12);
}

.synthese-wrap {
  margin-top: 10px;
  overflow-x: hidden;
  border-radius: 8px;
  background: #e9e9e9;
  box-shadow: inset 0 0 0 1px #6f6a52;
}

.synthese-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  background: #e9e9e9;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
}

.synthese-table col.col-realisation {
  width: 36%;
}

.synthese-table col.col-periode {
  width: 5.5%;
}

.synthese-table col.col-comp {
  width: 9.75%;
}

.synthese-table th,
.synthese-table td {
  border: 1px solid #6f6a52;
  padding: 6px 6px;
  vertical-align: middle;
  text-align: center;
  font-size: 16px;
  line-height: 1.25;
  background: #e9e9e9;
}

.synthese-table .main-title,
.synthese-table .session,
.synthese-table .subtitle {
  background: #e9e9e9;
  font-weight: 700;
  color: #000;
}

.synthese-table .main-title,
.synthese-table .session {
  font-size: 30px;
  line-height: 1.1;
  padding-top: 10px;
  padding-bottom: 10px;
}

.synthese-table .subtitle {
  font-size: 24px;
  line-height: 1.05;
  padding-top: 8px;
  padding-bottom: 8px;
}

.synthese-table .left {
  text-align: left;
}

.synthese-table .id-line {
  font-size: 14px;
  font-weight: 700;
  padding-top: 8px;
  padding-bottom: 8px;
}

.synthese-table .diagonal-cell {
  position: relative;
  height: 420px;
  padding: 0;
}

.synthese-table .diagonal-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    transparent calc(50% - 0.5px),
    #6f6a52 calc(50% - 0.5px),
    #6f6a52 calc(50% + 0.5px),
    transparent calc(50% + 0.5px)
  );
  pointer-events: none;
}

.synthese-table .diag-top {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-style: italic;
  font-weight: 700;
  white-space: nowrap;
}

.synthese-table .diag-bottom {
  position: absolute;
  bottom: 18px;
  left: 16px;
  right: 16px;
  text-align: center;
  font-size: 16px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.15;
}

.synthese-table .period-head {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.synthese-table thead tr:nth-child(6) th {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
  padding: 8px 6px;
}

.synthese-table .vertical-cell {
  height: 320px;
  padding: 0;
}

.synthese-table .vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  display: inline-block;
  font-size: 10px;
  line-height: 1.2;
  text-align: left;
  padding: 8px 2px;
}

.synthese-table .formation-title-row td {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 4px 6px;
}

.synthese-table .project-empty-row td {
  height: 46px;
}

.projects-presentation .projects-title {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: 20px;
}

.projects-presentation .project-block + .project-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.projects-presentation .project-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 2.4vw, 30px);
  margin-bottom: 12px;
}

.projects-presentation .project-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 198, 200, 0.18);
  flex: 0 0 14px;
}

.realisation-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.realisation-title-row h2 {
  margin-bottom: 0;
}

.realisation-doc-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inline-doc-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  color: var(--accent-2);
  background: rgba(0, 198, 200, 0.08);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.inline-doc-link:hover {
  color: #fff;
  border-color: var(--accent-2);
  background: rgba(0, 198, 200, 0.16);
}

.home-intro {
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-intro h1 {
  margin-bottom: 16px;
}

.home-intro p {
  max-width: 900px;
  margin: 0 auto;
}

.home-quick {
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-quick-actions {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-intro:hover,
.home-quick:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 227, 217, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(57, 227, 217, 0.2);
}

@media (max-width: 1920px) {
  .synthese-table .main-title,
  .synthese-table .session {
    font-size: 24px;
  }

  .synthese-table .subtitle {
    font-size: 20px;
  }

  .synthese-table .id-line {
    font-size: 13px;
  }

  .synthese-table thead tr:nth-child(6) th {
    font-size: 11px;
  }

  .synthese-table .period-head {
    font-size: 12px;
  }

  .synthese-table .diag-top {
    font-size: 15px;
  }

  .synthese-table .diag-bottom {
    font-size: 14px;
  }

  .synthese-table .vertical-cell {
    height: 280px;
  }

  .synthese-table .vertical-text {
    font-size: 9px;
  }
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent-2);
  font-size: 12px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #022128;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 198, 200, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 198, 200, 0.3);
  filter: saturate(1.1);
}

.cta.secondary {
  background: transparent;
  color: var(--accent-2);
  border: 1px solid var(--accent);
}
.projects-presentation .project-doc-link {
  padding: 7px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  color: var(--muted);
  border-color: rgba(0, 198, 200, 0.45);
  background: rgba(0, 198, 200, 0.04);
  box-shadow: none;
  margin-bottom: 8px;
}

.projects-presentation .project-doc-link:hover {
  color: var(--text);
  border-color: rgba(0, 198, 200, 0.7);
  background: rgba(0, 198, 200, 0.08);
  transform: none;
  box-shadow: none;
  filter: none;
}

.quick-link::after {
  content: "→";
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.quick-link:hover::after {
  transform: translateX(3px);
}

.two-col {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.steps .step {
  position: relative;
  padding-left: 42px;
}

.steps .step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-2);
  background: rgba(0, 198, 200, 0.08);
}

.footer {
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 720px) {
  .nav-links {
    flex-wrap: wrap;
  }
}


