/* elricdenoblet.com — sombre, bleu nuit, minimaliste */

:root {
  --bg: #0a1424;          /* bleu nuit */
  --bg-soft: #101d33;     /* cartes, sections */
  --line: #1e2d47;        /* bordures fines */
  --text: #e8edf5;
  --muted: #8d9ab0;
  --accent: #7fb2ff;      /* bleu clair */
  --radius: 14px;
  --max: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 20, 36, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Titres */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 7vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
.eyebrow { color: var(--accent); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 20px; }
.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 620px; }

/* Sections */
section { padding: clamp(72px, 12vw, 140px) 0; }
section + section { border-top: 1px solid var(--line); }
.hero { padding-top: clamp(96px, 16vw, 180px); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--text); color: var(--bg);
  font: inherit; font-size: 16px; font-weight: 500;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); background: #fff; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--muted); }

/* Les deux parcours de l'accueil */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 56px; }
.path {
  display: block; padding: 36px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .25s, transform .25s;
}
.path:hover { border-color: var(--accent); transform: translateY(-3px); }
.path .eyebrow { margin-bottom: 12px; }
.path p { color: var(--muted); margin: 0 0 28px; }
.path .arrow { color: var(--accent); font-weight: 500; }

/* Grilles et cartes */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.card p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

/* Emplacements photo (à remplacer par les vraies images) */
.photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(160deg, #1a2b48, #0d1a2e);
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); font-size: 14px;
}
.photo.wide { aspect-ratio: 16 / 9; }

/* Texte à compléter */
.todo { color: var(--muted); font-style: italic; }

/* Formulaire newsletter */
.signup { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; max-width: 520px; }
.signup input[type="email"] {
  flex: 1 1 240px; padding: 14px 20px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); font: inherit;
}
.signup input[type="email"]:focus { outline: none; border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); flex-basis: 100%; }
.consent input { margin-top: 5px; accent-color: var(--accent); }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Page texte (mentions légales) */
.prose { max-width: 680px; }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose p { color: var(--muted); }

/* Téléphone */
@media (max-width: 720px) {
  .nav { gap: 18px; }
  .split { grid-template-columns: 1fr; }
  .path { padding: 28px; }
}
