:root {
  --c-bg: #151911;
  --c-khaki: #88937A;
  --c-khaki-light: #d0dcc0;
  --c-cream: #f6ffea;
  --c-lime: #92ed11;
  --c-lime-soft: #a8f23a;

  --radius: 14px;
  --radius-lg: 20px;

  --shadow-card: 0 24px 60px -20px rgba(0, 0, 0, 0.6);

  --maxw: 600px;
}

* { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-cream);
  font-family: 'Epilogue', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-height: 100vh; }

.page {
  position: relative;
  min-height: 100vh;
  padding: 0 0 64px;
  isolation: isolate;
}

/* ---------- HERO : annonce DA en pleine largeur ---------- */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(16px, 4vw, 40px) clamp(16px, 4vw, 40px) 0;
}
.hero-card {
  display: block;
  width: 100%;
  max-width: 1100px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

/* Bloc annonce texte (pas de visuel Instagram pour ce recrutement) :
   même gabarit que la carte DA du RSVP, composé en Epilogue Black. */
.hero-text {
  background:
    radial-gradient(120% 140% at 85% -10%, rgba(146, 237, 17, 0.14), transparent 55%),
    radial-gradient(90% 120% at -10% 110%, rgba(136, 147, 122, 0.28), transparent 60%),
    #1a1f15;
  border: 1px solid rgba(136, 147, 122, 0.35);
  padding: clamp(32px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 28px);
}

.hero-logo {
  height: clamp(28px, 4vw, 44px);
  width: auto;
}

.hero-eyebrow {
  margin: 0;
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-khaki-light);
}

.hero-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(24px, 7.4vw, 92px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--c-cream);
}
.hero-title > span {
  display: block;
  white-space: nowrap;
}

/* « vidéo & conception » : à 0.87em cette ligne fait exactement la
   largeur de « Créatif·ve junior » (mesuré sur Epilogue Black). */
.hero-title-sub {
  font-size: 0.87em;
  margin-top: 0.08em;
}

.hero-title-accent { color: var(--c-lime); }

.hero-chips {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-chips li {
  padding: 10px 16px;
  border: 2px solid var(--c-khaki);
  border-radius: 999px;
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-khaki-light);
}

/* ---------- SCROLL CUE ---------- */
/* Sur desktop : suit le scroll en glissant doucement vers le bas
   et en fondu jusqu'à disparaître quand on arrive sur le form. */
.scroll-cue {
  --scroll-offset: 0px;
  --scroll-opacity: 1;
  position: fixed;
  right: clamp(20px, 4vw, 56px);
  top: 50%;
  transform: translateY(calc(-50% + var(--scroll-offset)));
  opacity: var(--scroll-opacity);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  color: var(--c-lime);
  text-decoration: none;
  border-radius: 999px;
  z-index: 5;
  pointer-events: var(--scroll-pointer, auto);
  will-change: transform, opacity;
}
.scroll-cue:hover { opacity: calc(var(--scroll-opacity) * 0.85); }
.scroll-cue:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(146, 237, 17, 0.35);
}

.scroll-cue-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-cue-arrow {
  width: 32px;
  height: 32px;
  animation: bob 1.6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(8px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue-arrow { animation: none; opacity: 0.9; }
}

/* Sur écran étroit : pas de place sur le côté → on bascule en dessous, centré */
@media (max-width: 1340px) {
  .scroll-cue {
    position: static;
    transform: none;
    margin: clamp(28px, 5vw, 44px) auto 0;
    flex-direction: column;
    width: max-content;
    opacity: 1;
  }
  .scroll-cue:hover { transform: translateY(2px); }
  .scroll-cue-label {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .hero {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- CONTENU : le poste ---------- */
.content {
  max-width: 720px;
  margin: clamp(40px, 7vw, 72px) auto 0;
  padding: 0 clamp(20px, 5vw, 40px);
}

.section-title {
  font-weight: 900;
  font-size: clamp(32px, 6vw, 56px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-lime);
  margin: 0 0 24px;
  line-height: 0.95;
}

.lead {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--c-cream);
}
.lead + .lead { margin-top: clamp(18px, 2.5vw, 26px); }

.sub-title {
  margin: clamp(32px, 5vw, 44px) 0 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-khaki-light);
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-cream);
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c-lime);
}

/* --info-chips-cols : une page peut l'hériter d'un ancêtre (voir brief.css) ;
   la déclaration mobile ci-dessous reste prioritaire, étant posée sur
   l'élément lui-même. */
.info-chips {
  margin-top: clamp(32px, 5vw, 44px);
  display: grid;
  grid-template-columns: repeat(var(--info-chips-cols, 3), 1fr);
  gap: 12px;
}
@media (max-width: 560px) {
  .info-chips { --info-chips-cols: 1; }
}
.info-chips p {
  margin: 0;
  padding: 16px 18px;
  border: 2px solid var(--c-khaki);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-cream);
}
.info-chip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-khaki-light);
}

/* ---------- CANDIDATURE ---------- */
.rsvp {
  max-width: var(--maxw);
  margin: clamp(48px, 8vw, 88px) auto 0;
  scroll-margin-top: 32px;
  padding: 0 clamp(20px, 5vw, 40px);
  position: relative;
}

.rsvp-title {
  font-weight: 900;
  font-size: clamp(40px, 9vw, 80px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-lime);
  margin: 0 0 32px;
  text-align: center;
  line-height: 0.9;
}

/* ---------- CANDIDATURE PAR EMAIL ---------- */
.apply {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  padding: clamp(32px, 5vw, 48px) clamp(20px, 4vw, 40px);
  background:
    radial-gradient(120% 140% at 85% -10%, rgba(146, 237, 17, 0.14), transparent 55%),
    #1a1f15;
  border: 1px solid rgba(136, 147, 122, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.apply-intro {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--c-cream);
  max-width: 420px;
}

.apply-mail {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: var(--c-lime);
  color: var(--c-bg);
  font-weight: 900;
  font-size: clamp(17px, 3vw, 24px);
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 18px 28px;
  border-radius: var(--radius);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
  box-shadow: 0 8px 24px -8px rgba(146, 237, 17, 0.5);
}
.apply-mail:hover {
  background: var(--c-lime-soft);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -10px rgba(146, 237, 17, 0.6);
}
.apply-mail:active { transform: translateY(0); }
.apply-mail:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(146, 237, 17, 0.35);
}

.apply-copy {
  appearance: none;
  background: transparent;
  border: 2px solid var(--c-khaki);
  color: var(--c-khaki-light);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}
.apply-copy:hover {
  border-color: var(--c-khaki-light);
  color: var(--c-cream);
}
.apply-copy:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(146, 237, 17, 0.35);
}
.apply-copy.is-copied {
  border-color: var(--c-lime);
  color: var(--c-lime);
}

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 64px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(208, 220, 192, 0.6); /* ≥ 4.5:1 sur #151911 (WCAG AA) */
}
.footer p { margin: 0; }
