/* MyHub — ivoire, encre, terracotta (hub), or Adjogné, vert WhatsApp */
:root {
  --bg: #efe6d6;
  --paper: #faf6ef;
  --card: #fffdf8;
  --ink: #1a1612;
  --muted: #5a534b;
  --line: #e2d6c4;
  --accent: #c64520;
  --accent-deep: #9e3416;
  --sun: #8a6414;
  --sun-bright: #e8b84a;
  --whatsapp: #167a39;
  --whatsapp-deep: #0f5c2b;
  --overlay: rgba(26, 22, 18, 0.42);
  --shadow: 0 1.125rem 2.5rem rgba(26, 22, 18, 0.08);
  --radius-sm: 0.7rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --touch: 2.75rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2.5rem;
  --space-7: 4rem;
  --step-0: 1rem;
  --step-1: 1.0625rem;
  --step-2: clamp(1.35rem, 2vw, 1.6rem);
  --step-3: clamp(1.7rem, 3vw, 2.15rem);
  --step-4: clamp(2rem, 4.5vw, 3.2rem);
  --step-5: clamp(2.35rem, 6.2vw, 4.4rem);
  --nav-bp: 64rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background:
    radial-gradient(42rem 22rem at 100% -8%, rgba(198, 69, 32, 0.12), transparent 55%),
    radial-gradient(32rem 20rem at -8% 10%, rgba(232, 184, 74, 0.18), transparent 52%),
    var(--bg);
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 0.125rem solid var(--accent);
  outline-offset: 0.2rem;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -3.5rem;
  z-index: 30;
  min-height: var(--touch);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header + off-canvas (mobile-first) */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.75rem;
  padding: 0.45rem var(--gutter);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(1rem);
  transition: box-shadow 0.2s ease;
}

.top.is-stuck {
  box-shadow: 0 0.5rem 1.4rem rgba(26, 22, 18, 0.06);
}

.mark {
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.top-cta {
  margin-left: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch);
  height: var(--touch);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 0.125rem;
  background: var(--ink);
  border-radius: var(--radius-pill);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
  width: 1.15rem;
  height: 0.125rem;
  background: var(--ink);
  border-radius: var(--radius-pill);
  content: "";
}

.nav-toggle-bars::before {
  top: -0.38rem;
}

.nav-toggle-bars::after {
  top: 0.38rem;
}

body.nav-open .nav-toggle-bars {
  background: transparent;
}

body.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 18;
  background: var(--overlay);
}

.nav-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 19;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: min(22rem, 88vw);
  padding: 5.2rem 1.4rem 1.8rem;
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s ease;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-panel {
  transform: translateX(0);
  visibility: visible;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-current,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: color-mix(in srgb, var(--sun-bright) 18%, var(--card));
}

.nav-ext {
  color: var(--accent) !important;
}

.nav button {
  min-height: var(--touch);
  padding: 0 0.65rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.nav-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
  gap: 0.2rem;
}

.panel-cta {
  margin-top: auto;
}

/* Type */
.kicker,
.stamp {
  margin: 0 0 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1,
.feature h2,
.prototype h2,
.projects h2,
.bootcamp-why h2,
.bootcamp-join h2,
.coords h1,
.studio h1,
.traffic h2,
.gate h1 {
  margin: 0 0 0.9rem;
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 16ch;
  font-size: var(--step-5);
}

.lead,
.feature-copy > p,
.prototype p,
.projects-head p,
.bootcamp-why p:not(.stamp),
.bootcamp-join > p,
.traffic > p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: var(--step-1);
}

.lead {
  margin-top: 0;
}

.lead strong {
  color: var(--ink);
  font-weight: 700;
}

/* Buttons */
.hero-actions,
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: var(--touch);
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: none;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: #2b241e;
}

.btn-ghost {
  border-color: var(--line);
  background: var(--card);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-sun {
  background: var(--sun-bright);
  color: var(--ink);
}

.btn-sun:hover {
  background: #d9a63a;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 0.35rem 0.9rem rgba(22, 122, 57, 0.28);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-deep);
  transform: translateY(-1px);
}

.btn-whatsapp:active {
  transform: translateY(1px);
  box-shadow: 0 0.15rem 0.4rem rgba(22, 122, 57, 0.22);
}

.btn-whatsapp-lg {
  margin-top: 1.25rem;
  min-height: 3.15rem;
  padding-inline: 1.7rem;
  font-size: 1.08rem;
  animation: cta-pulse 2.4s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 0.35rem 0.9rem rgba(22, 122, 57, 0.28);
  }
  50% {
    box-shadow: 0 0.45rem 1.45rem rgba(22, 122, 57, 0.48);
  }
}

.wa-ico,
.lock-ico {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.btn-extra {
  display: none;
}

/* Hero + stats */
.hero {
  padding: clamp(2.8rem, 8vw, 5.5rem) var(--gutter) 2.8rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: 36rem;
  margin: 2.2rem 0 0;
}

.stats div {
  padding: 0.7rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.stats dt {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stats dd {
  margin: 0.25rem 0 0;
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: clamp(0.92rem, 2.4vw, 1.12rem);
  font-weight: 700;
  line-height: 1.2;
}

/* Sections */
.feature,
.prototype,
.projects,
.bootcamp-why,
.bootcamp-days {
  padding: clamp(2.4rem, 6vw, 4.2rem) var(--gutter);
}

.feature {
  display: grid;
  gap: 1.5rem;
  margin: 0 var(--gutter);
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.feature-copy .stamp {
  color: var(--sun);
}

.feature.is-bootcamp {
  background:
    linear-gradient(180deg, rgba(198, 69, 32, 0.08), transparent 42%),
    var(--card);
}

.feature.is-bootcamp .stamp,
.feature.is-bootcamp .brand-line {
  color: var(--accent);
}

.brand-line {
  margin: 0;
  color: var(--sun);
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: var(--step-2);
  font-weight: 800;
}

.feature h2 {
  font-size: var(--step-4);
}

.tagline {
  margin: 0.15rem 0 0.85rem !important;
  color: var(--ink) !important;
  font-size: 1.15rem;
  font-style: italic;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 1.1rem 0 0.2rem;
  list-style: none;
}

.pills li {
  min-height: 2.2rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 600;
}

.stage {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.stage-chrome {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  border-bottom: 1px solid var(--line);
}

.shot {
  position: relative;
  display: block;
  background: #f4f1ea;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.shot-poster {
  background: #f4e6d2;
}

.shot-poster img {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
}

.shot-cta {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
}

.shot:hover .shot-cta,
.shot:focus-visible .shot-cta {
  background: var(--accent);
}

.prototype-card {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(232, 184, 74, 0.16), transparent 42%),
    var(--card);
}

.prototype h2 {
  font-size: var(--step-4);
}

.prototype .hero-actions {
  margin-top: 1.25rem;
}

.projects-head {
  margin-bottom: 1.3rem;
}

.projects h2,
.bootcamp-why h2,
.bootcamp-join h2,
.bootcamp-days h2,
.prototype h2 {
  font-size: var(--step-4);
}

.cards,
.days,
.traffic-grid {
  display: grid;
  gap: 1rem;
}

.card,
.day,
.traffic-grid article {
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 15rem;
}

.card-live {
  background:
    linear-gradient(180deg, rgba(198, 69, 32, 0.08), transparent 48%),
    var(--card);
}

.card-adjogne {
  background:
    linear-gradient(180deg, rgba(232, 184, 74, 0.2), transparent 48%),
    var(--card);
}

.card-no {
  margin: 0;
  color: var(--accent);
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-weight: 800;
}

.card-adjogne .card-no {
  color: var(--sun);
}

.card h3,
.day h3 {
  margin: 1.6rem 0 0.4rem;
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: var(--step-2);
  font-weight: 800;
}

.card p,
.day-tease {
  color: var(--muted);
}

.card p {
  margin: 0;
  flex: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  margin-top: 0.6rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.card-empty {
  border-style: dashed;
  opacity: 0.88;
}

.card-empty .text-link {
  color: var(--muted);
  font-weight: 600;
}

/* Bootcamp */
.bootcamp-join {
  margin: 0 var(--gutter) 2.5rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.bootcamp-join .btn {
  margin: 1.1rem 0.65rem 0 0;
}

.day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.day-time {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.day h3 {
  margin-top: 0.7rem;
}

.day-tease {
  margin: 0 0 0.85rem;
}

.day.is-open {
  background:
    linear-gradient(180deg, rgba(198, 69, 32, 0.08), transparent 48%),
    var(--card);
}

.day-program {
  margin: 0;
  padding: 0.15rem 0 0 1.15rem;
}

.day-program li {
  margin: 0.45rem 0;
  color: var(--ink);
  line-height: 1.45;
}

.day-program li + li {
  margin-top: 0.35rem;
}

.day-locked-block {
  position: relative;
  overflow: hidden;
  min-height: 7.5rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.day-secret {
  padding: 1rem 1rem 2.2rem;
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
}

.day-secret p {
  margin: 0.4rem 0;
  color: var(--muted);
}

.day-veil {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.3rem;
  background: linear-gradient(180deg, rgba(250, 246, 239, 0.2), rgba(250, 246, 239, 0.82) 55%);
  color: var(--ink);
  text-align: center;
}

.day-veil p {
  margin: 0;
  font-weight: 700;
}

.lock-ico {
  width: 1.6rem;
  height: 1.6rem;
}

.full-dialog {
  width: min(24rem, calc(100% - 2rem));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.full-dialog::backdrop {
  background: var(--overlay);
}

.full-dialog-inner {
  padding: 1.5rem 1.4rem 1.35rem;
}

.full-dialog h2 {
  margin: 0 0 0.7rem;
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.full-dialog p:not(.stamp) {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.full-dialog form {
  margin: 0;
}

.full-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.full-dialog .btn {
  min-width: 8rem;
}

/* Atelier */
.gate {
  max-width: 28rem;
  min-height: 100dvh;
  padding: 18vh var(--gutter) 4rem;
}

.gate h1 {
  font-size: var(--step-5);
}

.gate p {
  color: var(--muted);
}

.gate form {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.gate label {
  font-weight: 700;
}

.gate input {
  width: 100%;
  min-height: var(--touch);
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  font: inherit;
}

.gate input[aria-invalid="true"] {
  border-color: #b42318;
}

.gate .btn {
  justify-self: start;
  min-width: 8.5rem;
}

.gate-error,
.form-error {
  margin: 0;
  color: #b42318;
  font-weight: 600;
}

.coords {
  padding: clamp(2.4rem, 7vw, 4.5rem) var(--gutter) 3rem;
}

.coords-card {
  max-width: 28rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.coords h1 {
  font-size: var(--step-4);
}

.coords-card > p {
  margin: 0;
  color: var(--muted);
  font-size: var(--step-1);
}

.coords-card > p + p {
  margin-top: 0.85rem;
}

.coords-card > p strong {
  color: var(--ink);
  font-weight: 700;
}

.coords-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.coords-form .field {
  display: grid;
  gap: 0.35rem;
}

.coords-form label {
  font-weight: 700;
}

.need {
  margin-left: 0.25rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.coords-form input,
.coords-form select {
  width: 100%;
  min-height: var(--touch);
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.coords-form input[aria-invalid="true"] {
  border-color: #b42318;
}

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.coords-form .btn {
  justify-self: stretch;
  margin-top: 0.2rem;
  min-height: 3.15rem;
}

.coords-form textarea {
  width: 100%;
  min-height: 10rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.form-ok {
  margin: 0;
  color: var(--whatsapp);
  font-weight: 600;
}

.studio {
  padding: clamp(2.4rem, 7vw, 4.5rem) var(--gutter) 3rem;
}

.studio-card,
.studio-board {
  max-width: 40rem;
  margin: 0 auto;
}

.studio-board.dash {
  max-width: 52rem;
}

.studio-card {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.studio h1 {
  font-size: var(--step-4);
}

.studio-card > p,
.studio-hello p,
.studio-block > p {
  margin: 0;
  color: var(--muted);
}

.studio-hello .field-hint {
  margin-top: 0.5rem;
}

.studio-card > p + p,
.studio-block > p + p {
  margin-top: 0.7rem;
}

.auth-alt {
  margin: 1.2rem 0 0;
  color: var(--muted);
}

.auth-alt a {
  color: var(--accent);
  font-weight: 700;
}

.studio-card.is-register {
  background:
    linear-gradient(180deg, rgba(198, 69, 32, 0.08), transparent 42%),
    var(--card);
}

.studio-hello {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.studio-hello h1 {
  margin: 0 0 0.35rem;
}

.studio-block {
  margin-bottom: 1.6rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.studio-block h2 {
  margin: 0 0 0.55rem;
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: var(--step-2);
  font-weight: 800;
}

.progress-meter {
  display: block;
  height: 0.55rem;
  margin: 0.9rem 0 1.1rem;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--paper);
}

.progress-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}

.studio-days {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-day {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.studio-day.is-open {
  background:
    linear-gradient(180deg, rgba(198, 69, 32, 0.08), transparent 48%),
    var(--card);
}

.studio-day.is-done {
  background:
    linear-gradient(180deg, rgba(22, 122, 57, 0.1), transparent 48%),
    var(--card);
}

.studio-day.is-locked {
  opacity: 0.72;
}

.studio-day h3 {
  margin: 0.25rem 0 0.2rem;
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: var(--step-2);
}

.studio-day p {
  margin: 0;
  color: var(--muted);
}

.studio-day .text-link {
  margin-top: 0.35rem;
}

.dash-title {
  margin: 0 0 1rem;
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: var(--step-2);
  font-weight: 800;
}

.dash-empty {
  color: var(--muted);
}

.course-card {
  margin-bottom: 1.1rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.course-card h3 {
  margin: 0 0 0.4rem;
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: var(--step-2);
}

.course-card > p {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.works-title {
  margin: 1.1rem 0 0.7rem;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-list {
  display: grid;
  gap: 0.85rem;
}

.work-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.work-card.is-done {
  background:
    linear-gradient(180deg, rgba(22, 122, 57, 0.1), transparent 48%),
    var(--card);
}

.work-card header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
}

.work-card h4 {
  margin: 0;
  font-family: "Bricolage Grotesque", Georgia, serif;
}

.work-status {
  margin: 0;
  font-weight: 700;
  color: var(--accent);
}

.work-card.is-done .work-status {
  color: var(--whatsapp);
}

.work-form {
  margin-top: 0.85rem;
}

.work-form textarea {
  min-height: 7rem;
}

.dash-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.dash-tabs button {
  min-height: var(--touch);
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.dash-tabs button[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fffdf8;
}

.admin-item {
  margin-bottom: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.admin-item h4 {
  margin: 0 0 0.25rem;
  font-family: "Bricolage Grotesque", Georgia, serif;
}

.admin-item p {
  margin: 0.15rem 0;
  color: var(--muted);
}

.check-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: var(--touch);
  font-weight: 700;
}

.check-line input {
  width: 1.15rem;
  height: 1.15rem;
}

.copy-dialog-inner {
  max-width: min(42rem, calc(100vw - 2rem));
}

.copy-code {
  max-height: 16rem;
  overflow: auto;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  white-space: pre-wrap;
}

.copy-frame {
  width: 100%;
  min-height: 16rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.traffic {
  padding: clamp(2.8rem, 7vw, 5rem) var(--gutter) 3rem;
}

.traffic h2 {
  font-size: var(--step-4);
}

.traffic-grid p {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.traffic-grid b {
  display: block;
  margin: 1.2rem 0 0.4rem;
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.traffic-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.2rem;
  padding: 1.35rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.foot p {
  margin: 0;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.2rem;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.65rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.foot-nav a:hover,
.foot-nav a:focus-visible {
  text-decoration: underline;
}

/* Breakpoints — contenu, pas d’appareils */
@media (min-width: 40rem) {
  .stats {
    max-width: 40rem;
    gap: 0.8rem;
  }

  .stats div {
    padding: 0.85rem 0.95rem;
  }

  .btn-extra {
    display: inline;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .days {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-days {
    grid-template-columns: repeat(2, 1fr);
  }

  .day:nth-child(5) {
    grid-column: 1 / -1;
  }

  .traffic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 48rem) {
  .feature {
    padding: 1.8rem;
  }

  .prototype-card,
  .bootcamp-join,
  .coords-card,
  .studio-card,
  .studio-block {
    padding: 2rem;
  }
}

@media (min-width: 60rem) {
  .feature {
    grid-template-columns: minmax(17rem, 0.9fr) minmax(22rem, 1.15fr);
    align-items: center;
    gap: 2.4rem;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .dash-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 64rem) {
  .nav-toggle,
  .nav-backdrop,
  .panel-cta {
    display: none;
  }

  .nav-panel {
    position: static;
    inset: auto;
    order: 2;
    width: auto;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.15rem;
  }

  .nav a {
    min-height: 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    background: transparent;
  }

  .nav a:hover,
  .nav a:focus-visible,
  .nav a.is-current,
  .nav a[aria-current="page"] {
    background: transparent;
  }

  .nav a.is-current,
  .nav a[aria-current="page"] {
    color: var(--ink);
    box-shadow: inset 0 -0.12rem 0 var(--accent);
  }

  .top-cta {
    order: 3;
    margin-left: 0.4rem;
  }

  body.nav-open {
    overflow: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
