/* EduRush — L'Élan · 16 juillet 2026 */
:root {
  --plum: #17111C;
  --aubergine: #241A2E;
  --bone: #F2ECE2;
  --coral: #FF5A36;
  --teal: #4C7E75;
  --warm-grey: #8C8290;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "Space Mono", monospace;
  --pad-section: clamp(5.5rem, 10vw, 8rem);
  --pad-section-sm: clamp(4rem, 7vw, 6rem);
  --max: 72rem;
  --shadow-soft: 0 18px 48px rgba(23, 17, 28, 0.12);
  --hairline: 1px solid currentColor;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bone);
  color: var(--plum);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.65rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
}

p {
  margin: 0 0 1.1rem;
}

ul,
ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 0.85rem;
}

.mono-tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}

.hand-slash {
  position: relative;
  display: inline;
  color: var(--coral);
  white-space: nowrap;
}

.hand-slash::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.08em;
  height: 0.14em;
  background: currentColor;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.9;
}

.js .hand-slash.is-drawn::after,
.hand-slash {
  /* drawn by default for no-JS; JS can re-animate */
}

.js .hand-slash::after {
  animation: slash-draw 0.9s var(--ease) 0.35s forwards;
}

@keyframes slash-draw {
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .hand-slash::after {
    animation: none;
    transform: scaleX(1);
  }
}

.momentum-tick {
  display: inline-block;
  letter-spacing: 0.08em;
}

.js .momentum-tick {
  animation: tick-pulse 2.8s var(--ease) infinite;
}

@keyframes tick-pulse {
  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(3px);
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .momentum-tick {
    animation: none;
  }
}

/* Surfaces — never set bg+color independently */
.surface-plum {
  background: var(--plum);
  color: var(--bone);
}

.surface-bone {
  background: var(--bone);
  color: var(--plum);
}

.surface-aubergine {
  background: var(--aubergine);
  color: var(--bone);
}

.surface-coral {
  background: var(--coral);
  color: var(--plum);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2.5rem, 42rem);
  margin-inline: auto;
}

.section {
  padding: var(--pad-section) 0;
}

.section-sm {
  padding: var(--pad-section-sm) 0;
}

.hairline {
  border: 0;
  border-top: var(--hairline);
  opacity: 0.22;
  margin: 0;
}

.rule {
  height: 1px;
  background: currentColor;
  opacity: 0.18;
  margin: 1.5rem 0;
}

.numeral {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.85;
  opacity: 0.08;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.9rem 1.35rem;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: var(--plum);
  border-color: var(--coral);
}

.btn-secondary {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1.1rem 0;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  color: var(--bone);
}

.site-header.is-sticky {
  position: fixed;
  background: var(--bone);
  color: var(--plum);
  box-shadow: 0 8px 28px rgba(23, 17, 28, 0.08);
}

.site-header:not(.is-sticky) .btn-nav {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--plum);
}

.site-header.is-sticky .btn-nav {
  background: var(--coral);
  color: var(--plum);
  border-color: var(--coral);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo span {
  color: var(--coral);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--coral);
}

.btn-nav {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid currentColor;
  color: currentColor;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  margin: 0.28rem auto;
}

body.nav-open {
  overflow: hidden;
}

/* Pages without dark hero */
.page-light .site-header {
  position: sticky;
  top: 0;
  background: var(--bone);
  color: var(--plum);
  box-shadow: 0 4px 20px rgba(23, 17, 28, 0.06);
}

/* Hero L'Élan */
.hero-elan {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--plum);
  color: var(--bone);
}

.hero-elan__bg {
  position: absolute;
  inset: 0;
  background-image: url("/images/edurush-01-hero-workshop.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-elan__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(23, 17, 28, 0.92) 0%,
    rgba(23, 17, 28, 0.72) 42%,
    rgba(23, 17, 28, 0.28) 100%
  );
}

.hero-elan__content {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 3.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(242, 236, 226, 0.35);
  margin-bottom: 3.5rem;
}

.hero-topbar .mono-tag {
  margin: 0;
}

.hero-lower {
  max-width: 38rem;
}

.hero-lower .mono-tag {
  margin-bottom: 1rem;
}

.hero-elan h1 {
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 34rem;
  color: rgba(242, 236, 226, 0.88);
}

.trust-strip {
  margin-top: 2.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(242, 236, 226, 0.22);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 236, 226, 0.7);
}

@media (max-width: 768px) {
  .hero-elan {
    min-height: 82vh;
  }
  .hero-elan__content {
    padding-top: 6.5rem;
    padding-bottom: 2.5rem;
  }
  .nav-toggle {
    display: inline-block;
  }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--bone);
    color: var(--plum);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transform: translateY(-110%);
    transition: transform 0.35s var(--ease);
    z-index: 50;
  }
  .site-nav.is-open {
    transform: translateY(0);
  }
  .site-header:not(.is-sticky) .site-nav {
    color: var(--plum);
  }
}

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.metric-value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--coral);
  letter-spacing: 0.04em;
}

.metric-label {
  font-size: 0.92rem;
  color: var(--warm-grey);
  margin-top: 0.4rem;
}

@media (max-width: 640px) {
  .metrics {
    grid-template-columns: 1fr;
  }
}

/* Stages */
.stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(23, 17, 28, 0.18);
  border-bottom: 1px solid rgba(23, 17, 28, 0.18);
}

.stage {
  padding: 1.75rem 1.25rem;
  border-right: 1px solid rgba(23, 17, 28, 0.18);
}

.stage:last-child {
  border-right: 0;
}

.stage-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--coral);
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
  .stages {
    grid-template-columns: 1fr 1fr;
  }
  .stage:nth-child(2n) {
    border-right: 0;
  }
  .stage:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(23, 17, 28, 0.18);
  }
}

@media (max-width: 520px) {
  .stages {
    grid-template-columns: 1fr;
  }
  .stage {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 17, 28, 0.18);
  }
  .stage:last-child {
    border-bottom: 0;
  }
}

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(23, 17, 28, 0.18);
}

.service-card {
  padding: 1.75rem 1.35rem;
  border-right: 1px solid rgba(23, 17, 28, 0.18);
  border-bottom: 1px solid rgba(23, 17, 28, 0.18);
}

.service-card:nth-child(3n) {
  border-right: 0;
}

.service-card h3 {
  margin-bottom: 0.65rem;
}

.price-range {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--coral);
  letter-spacing: 0.06em;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card:nth-child(3n) {
    border-right: 1px solid rgba(23, 17, 28, 0.18);
  }
  .service-card:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    border-right: 0;
  }
}

/* Media */
.media-frame {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.65rem;
  color: var(--warm-grey);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

@media (max-width: 860px) {
  .split,
  .split-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 860px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-item h3 {
  margin-top: 1rem;
}

.disclaimer {
  font-size: 0.88rem;
  color: var(--warm-grey);
  border-left: 2px solid var(--coral);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.faq-list details {
  border-bottom: 1px solid rgba(23, 17, 28, 0.16);
  padding: 1.1rem 0;
}

.faq-list summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "»»";
  float: right;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.faq-list details[open] summary::after {
  content: "««";
}

.faq-list details p {
  margin-top: 0.85rem;
}

/* Forms — light surface only */
.form-stack {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form-stack label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}

.form-stack input,
.form-stack select,
.form-stack textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid rgba(23, 17, 28, 0.22);
  background: #fff;
  color: var(--plum);
  width: 100%;
}

.form-stack textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.consent-row input {
  width: auto;
  margin-top: 0.25rem;
}

.contact-aside {
  border-top: 1px solid rgba(23, 17, 28, 0.18);
  padding-top: 1.5rem;
}

.contact-aside p {
  margin-bottom: 0.45rem;
}

/* Legal prose */
.prose h2 {
  margin-top: 2.5rem;
}

.prose h3 {
  margin-top: 1.75rem;
}

.page-hero {
  padding: 8rem 0 3.5rem;
}

.page-hero h1 {
  max-width: 18ch;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h3 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li + li {
  margin-top: 0.4rem;
}

.footer-grid a {
  text-decoration: none;
}

.footer-meta {
  font-size: 0.85rem;
  opacity: 0.85;
  border-top: 1px solid rgba(242, 236, 226, 0.18);
  padding-top: 1.25rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.72;
  margin-top: 0.85rem;
  max-width: 52rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 36rem;
  margin-inline: auto;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.cookie-panel {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(23, 17, 28, 0.16);
}

.cookie-panel label {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

/* Reveal — only when .js */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Utility */
.lede {
  font-size: 1.15rem;
  max-width: 40rem;
}

.muted {
  color: var(--warm-grey);
}

.teal {
  color: var(--teal);
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 1.25rem;
}

.thanks-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 1.25rem;
}

.photo-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (max-width: 700px) {
  .photo-row {
    grid-template-columns: 1fr;
  }
}

.legal-note {
  font-size: 0.9rem;
  opacity: 0.85;
}
