@charset "UTF-8";
:root {
  --bg: #f7f8fa;
  --bg-alt: #ffffff;
  --text: #14161a;
  --text-dim: #5a6472;
  --accent: #3b5fe0;
  --accent-2: #0f8f7c;
  --border: rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg: #0f1115;
    --bg-alt: #15181f;
    --text: #f2f3f5;
    --text-dim: #9aa0ab;
    --accent: #6c8cff;
    --accent-2: #3ec9b0;
    --border: rgba(255, 255, 255, 0.08);
  }
}
:root[data-theme=dark] {
  --bg: #0f1115;
  --bg-alt: #15181f;
  --text: #f2f3f5;
  --text-dim: #9aa0ab;
  --accent: #6c8cff;
  --accent-2: #3ec9b0;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 24px;
}
@media (max-width: 600px) {
  body {
    padding: 16px;
  }
}
body {
  background: radial-gradient(circle at 15% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 45%), radial-gradient(circle at 85% 90%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 45%), radial-gradient(circle at 30% 20%, var(--bg-alt), var(--bg) 70%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

h1 {
  margin: 0 0 12px;
  background: linear-gradient(90deg, var(--text) 30%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.role {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 500;
}

.subtitle {
  margin: 0 0 24px;
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
}

.cta {
  display: inline-block;
  margin: 0 0 36px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-alt);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover {
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 40%, transparent);
  transform: translateY(-1px);
}
.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.card {
  width: 100%;
  max-width: 560px;
  padding: 48px 32px;
  text-align: center;
}
@media (max-width: 600px) {
  .card {
    padding: 32px 0;
  }
}
@media (min-width: 960px) {
  .card {
    max-width: 1080px;
  }
}

.panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
@media (min-width: 960px) {
  .panels {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
  }
}

.showcase {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-alt);
  display: block;
  overflow: hidden;
  color: inherit;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.showcase:hover, .showcase:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}
.showcase:hover .showcase-link, .showcase:focus-visible .showcase-link {
  text-decoration: underline;
}

.showcase-frame {
  display: block;
  border-bottom: 1px solid var(--border);
}
.showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg);
}
.showcase-bar > span:not(.showcase-url) {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: 0.4;
}

.showcase-url {
  margin-left: 8px;
  color: var(--text-dim);
  font-size: 11px;
}

.showcase-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px 18px;
}

.showcase-title {
  font-size: 16px;
  font-weight: 600;
}

.showcase-text {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
}

.showcase-link {
  margin-top: 4px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.progress {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-alt);
  padding: 22px 22px 18px;
  text-align: left;
}
@media (min-width: 960px) {
  .progress {
    display: flex;
    flex-direction: column;
  }
}

.progress-title {
  margin: 0 0 10px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.progress-bar {
  overflow: hidden;
  height: 6px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--border);
}
.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.progress-list li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding-left: 28px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 20px;
}
.progress-list a.step {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.progress-list a.step:hover {
  text-decoration: underline;
}

.progress-list li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--text-dim);
  border-radius: 50%;
  opacity: 0.45;
}
.progress-list li.done {
  color: var(--text);
}
.progress-list li.done::before {
  border-color: var(--accent-2);
  background: var(--accent-2);
  opacity: 1;
}
.progress-list li.done::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  box-sizing: border-box;
  width: 6px;
  height: 9px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.progress-list li.next {
  color: var(--text);
}
.progress-list li.next::before {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 3px var(--bg-alt), inset 0 0 0 8px var(--accent);
  opacity: 1;
}
.progress-list li.next .step::after {
  content: "Prochaine étape";
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
}

.tags {
  padding: 2px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--text-dim) 12%, transparent);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}
.done > .tags {
  background: color-mix(in srgb, var(--accent-2) 14%, transparent);
  color: var(--accent-2);
}
.next > .tags {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}

.repo-link {
  margin: 18px 0 0;
  font-size: 13px;
  text-align: center;
}
.repo-link a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.repo-link a:hover {
  text-decoration: underline;
}
@media (min-width: 960px) {
  .repo-link {
    margin-top: auto;
    padding-top: 18px;
  }
}

.contact {
  margin: 40px 0 0;
  color: var(--text-dim);
  font-size: 14px;
}
.contact a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.contact a:hover {
  text-decoration: underline;
}

footer {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 12px;
  opacity: 0.6;
}
