/* Fenryr — vitrine (fenryr.fr). Identité « Obsidienne » : noir, argent, énergie braise → or, givre. */
:root {
  --bg: #0a0a0b;
  --surface: #141417;
  --border: #26262b;
  --text: #ecedef;
  --muted: #a9afb7;
  --accent: #c4122f;
  --energy-from: #d2352b;
  --energy-to: #e8b45a;
  --frost: #7fc3e8;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: inherit;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  flex-shrink: 0;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(127, 195, 232, 0.18)) drop-shadow(0 0 2px rgba(127, 195, 232, 0.35));
}

.logo__eyes {
  filter: drop-shadow(0 0 3px var(--energy-from));
  animation: awake 2.4s ease-in-out infinite;
}

.logo--hero {
  width: min(320px, 70vw);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(127, 195, 232, 0.22));
}

@keyframes awake {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; filter: drop-shadow(0 0 8px var(--energy-to)); }
}

@media (prefers-reduced-motion: reduce) {
  .logo__eyes { animation: none; }
}

/* En-tête */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

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

.header__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.32em;
}

.header__link {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.header__link:hover {
  color: var(--text);
}

/* Accroche */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 96px;
}

.hero__eyebrow {
  margin-bottom: 16px;
  color: var(--frost);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__accent {
  color: var(--energy-from);
  text-shadow: 0 0 28px rgba(210, 53, 43, 0.35);
}

.hero__lead {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.hero__hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

/* Bouton */
.button {
  display: inline-block;
  padding: 14px 26px;
  background: var(--accent);
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 26px -8px var(--accent);
  transition: opacity 0.15s ease;
}

.button:hover {
  opacity: 0.9;
}

/* Sections */
.section-title {
  margin-bottom: 32px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.steps,
.control {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.steps__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.step__number {
  font-family: var(--display);
  font-weight: 700;
  color: var(--energy-to);
}

.step__title {
  margin: 8px 0 12px;
  font-family: var(--display);
  font-size: 1.35rem;
}

.step__text {
  color: var(--muted);
}

.control__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 40px;
}

.control__item {
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
}

.control__item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 96px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta__title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

/* Pied de page */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

/* Pages de texte (mentions légales, désinscription) */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.page h1 {
  margin-bottom: 32px;
  font-family: var(--display);
  font-size: 2rem;
}

.page h2 {
  margin: 32px 0 8px;
  font-family: var(--display);
  font-size: 1.2rem;
}

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

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 64px;
  }

  .hero__visual {
    order: -1;
  }

  .logo--hero {
    width: 160px;
  }

  .steps__list,
  .control__list {
    grid-template-columns: 1fr;
  }
}
