/* ============================================================
   UNEMPLOYED — noir & blanc, typographie forte, espace généreux
   ============================================================ */

:root {
  --noir: #000000;
  --blanc: #ffffff;
  --gris-trait: #e2e2e2;
  --gris-texte: #6b6b6b;
  --gris-sombre: #161616;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --pad-x: clamp(20px, 6vw, 96px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--blanc);
  color: var(--noir);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--noir);
  color: var(--blanc);
  padding: 14px var(--pad-x);
  border-bottom: 1px solid var(--gris-sombre);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header__logo {
  height: 40px;
  width: auto;
  /* le logo est noir sur fond transparent → inversé pour le header noir */
  filter: invert(1);
}

.header__name {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.header__nav {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
}

.header__nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.header__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* ===== Hero ===== */
.hero {
  background: var(--noir);
  color: var(--blanc);
  padding: clamp(72px, 12vh, 140px) var(--pad-x) clamp(80px, 14vh, 160px);
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.9rem, 10vw, 8.5rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}

.hero__line { display: block; }

/* lignes en contour : la troisième, pleine, porte le sens */
.hero__line--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--blanc);
}

.hero__tagline {
  max-width: 560px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #cfcfcf;
  margin-bottom: 48px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== Boutons ===== */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  padding: 18px 36px;
  border: 2px solid var(--blanc);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn--solid-light { background: var(--blanc); color: var(--noir); }
.btn--solid-light:hover { background: transparent; color: var(--blanc); }

.btn--ghost-light { background: transparent; color: var(--blanc); }
.btn--ghost-light:hover { background: var(--blanc); color: var(--noir); }

.btn--solid-dark {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}
.btn--solid-dark:hover { background: var(--blanc); color: var(--noir); }

.btn:disabled { opacity: 0.5; cursor: wait; }

/* ===== Bandeau défilant ===== */
.marquee {
  overflow: hidden;
  background: var(--blanc);
  color: var(--noir);
  border-bottom: 1px solid var(--gris-trait);
  padding: 14px 0;
  white-space: nowrap;
}

.marquee__track {
  display: inline-block;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: defile 30s linear infinite;
}

@keyframes defile {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

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

/* ===== Sections ===== */
.section { padding: clamp(72px, 10vh, 130px) var(--pad-x); }

.section--light { background: var(--blanc); color: var(--noir); }
.section--dark  { background: var(--noir);  color: var(--blanc); }

.section__inner { max-width: 1200px; margin: 0 auto; }

.section__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gris-texte);
  margin-bottom: 16px;
}

.section--dark .section__eyebrow { color: #9a9a9a; }

.section__title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  text-transform: uppercase;
  line-height: 1.02;
  margin-bottom: 40px;
}

.section__lead {
  max-width: 620px;
  font-size: 1.15rem;
  margin-bottom: 48px;
  color: #d6d6d6;
}

.section__cols {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.section__text p { margin-bottom: 18px; font-size: 1.05rem; }

.section__punch {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 22px;
}


/* ===== Emplacement badge ===== */
.badge-slot {
  margin-top: 32px;
  border: 2px dashed var(--noir);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 320px;
}

.badge-slot__label { font-weight: 600; }
.badge-slot__hint { font-size: 0.85rem; color: var(--gris-texte); }

/* ===== Formulaires ===== */
.form { display: flex; flex-direction: column; gap: 22px; }

.form__row { display: grid; gap: 22px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.form__row--3 { grid-template-columns: 1fr 1fr 1fr; }

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 14px 16px;
  border: 2px solid var(--noir);
  background: var(--blanc);
  color: var(--noir);
  border-radius: 0;
  width: 100%;
}

.field input[type="file"] { font-size: 0.95rem; }

.field textarea { resize: vertical; min-height: 220px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--noir);
  outline-offset: 2px;
}

/* champs sur fond noir : zones blanches, comme demandé */
.form--dark .field input:focus,
.form--dark .field select:focus,
.form--dark .field textarea:focus {
  outline-color: var(--blanc);
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.field--check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: currentColor;
  flex-shrink: 0;
}

.field--check label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form__submit { margin-top: 8px; align-self: flex-start; }

.form__status {
  font-weight: 600;
  min-height: 1.4em;
}

.form__status.ok::before { content: "✓ "; }
.form__status.err::before { content: "✕ "; }

/* ===== Footer ===== */
.footer {
  background: var(--noir);
  color: var(--blanc);
  border-top: 1px solid var(--gris-sombre);
  padding: 64px var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__logo {
  height: 120px;
  width: auto;
}

.footer__line { font-family: var(--display); font-size: 1rem; }

.footer__legal { font-size: 0.85rem; color: #9a9a9a; max-width: 480px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .section__cols { grid-template-columns: 1fr; }
  .form__row--3 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .form__row--2 { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .header__nav a { font-size: 0.8rem; }
}
