/* Philippe Tessier — auteur de jeux de rôle & de science-fiction (Polaris)
   Thème "Abysse" : océan post-apocalyptique, bioluminescence cyan, lumière d'ambre */

:root {
  --abyss-0: #050b16;   /* fond le plus profond */
  --abyss-1: #0a1424;   /* fond principal */
  --abyss-2: #0f1d33;   /* panneaux */
  --abyss-3: #16273f;   /* bordures/élévation */
  --cyan:    #39e0c8;    /* bioluminescence */
  --cyan-dim:#1f9d8c;
  --azure:   #4ea3ff;
  --amber:   #f0a868;    /* lumières chaudes */
  --text:    #c4d4e6;
  --text-dim:#8aa0bb;
  --head:    #eaf3fc;
  --line:    rgba(120,160,200,.14);
  --line-2:  rgba(120,160,200,.26);
  --radius:  16px;
  --radius-sm: 10px;
  --shadow:  0 24px 60px -28px rgba(0,0,0,.8);
  --maxw:    1140px;
  --f-head:  "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Spectral", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--text);
  background: var(--abyss-1);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--amber); }

h1, h2, h3, h4 { font-family: var(--f-head); color: var(--head); line-height: 1.14; letter-spacing: -.012em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); margin: 0 0 .55em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1.15em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; position: relative; }
.section--alt { background:
  radial-gradient(1200px 500px at 80% -10%, rgba(57,224,200,.06), transparent 60%),
  var(--abyss-0); }
.lead { font-size: 1.2rem; color: var(--text-dim); }
.eyebrow {
  display: inline-flex; align-items:center; gap: 9px;
  font-family: var(--f-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.eyebrow::before { content:""; width: 26px; height: 1.5px; background: var(--cyan); opacity:.7; }
.center { text-align: center; }
.center .eyebrow::before { display:none; }
.center .lead { max-width: 700px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn--primary { background: linear-gradient(120deg, var(--cyan), var(--cyan-dim)); color: #04221d; box-shadow: 0 0 0 1px rgba(57,224,200,.3), 0 14px 34px -12px rgba(57,224,200,.5); }
.btn--primary:hover { color:#04221d; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(57,224,200,.5), 0 18px 40px -12px rgba(57,224,200,.7); }
.btn--ghost { background: rgba(120,160,200,.06); color: var(--head); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,16,30,.78); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand { display:flex; align-items:center; gap: 12px; font-family: var(--f-head); }
.brand .mark { width: 34px; height: 34px; flex:0 0 auto; }
.brand .wm { line-height:1.05; }
.brand .wm b { display:block; color: var(--head); font-weight: 700; font-size: 1.12rem; letter-spacing:-.01em; }
.brand .wm small { display:block; color: var(--cyan); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; font-weight:600; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: var(--f-head); font-weight: 500; font-size: .97rem; color: var(--text); }
.nav a:hover { color: var(--cyan); }
.nav .btn { padding: 10px 20px; font-size: .92rem; }
.nav-toggle { display:none; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span { display:block; width:26px; height:2.4px; background: var(--head); border-radius:2px; margin:5px 0; transition:.2s; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .bg { position:absolute; inset:0; z-index:0; }
.hero .bg img { width:100%; height:100%; object-fit: cover; }
.hero .bg::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(5,11,22,.55) 0%, rgba(5,11,22,.35) 40%, rgba(5,11,22,.92) 100%),
    linear-gradient(95deg, rgba(5,11,22,.92) 18%, rgba(5,11,22,.2) 70%);
}
.hero .wrap { position: relative; z-index: 1; padding: 104px 24px 110px; max-width: 940px; }
.hero h1 { max-width: 16ch; }
.hero h1 .accent { background: linear-gradient(110deg, var(--cyan), var(--azure)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #cfe0f1; font-size: 1.26rem; max-width: 56ch; font-family: var(--f-serif); }
.hero .actions { display:flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero .pills { display:flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.pill { font-family: var(--f-head); font-weight:600; font-size:.78rem; letter-spacing:.04em; padding: 7px 15px; border-radius: 999px; background: rgba(57,224,200,.1); border:1px solid rgba(57,224,200,.32); color: var(--cyan); }

/* Stat / trust strip */
.strip { border-bottom:1px solid var(--line); background: var(--abyss-0); }
.strip .wrap { display:grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 34px 24px; text-align:center; }
.strip .num { font-family: var(--f-head); font-weight: 800; font-size: 2.1rem; color: var(--head); display:block; line-height:1; }
.strip .num em { color: var(--cyan); font-style: normal; }
.strip .lbl { color: var(--text-dim); font-size:.88rem; margin-top:8px; display:block; }

/* Split */
.split { display:grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items:center; }
.split .media { position:relative; border-radius: var(--radius); overflow:hidden; border:1px solid var(--line-2); box-shadow: var(--shadow); }
.split .media::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 80px rgba(57,224,200,.12); pointer-events:none; }
.split .media img { width:100%; display:block; }
.feat-list { list-style:none; padding:0; margin: 18px 0 26px; }
.feat-list li { position:relative; padding-left: 30px; margin-bottom: 13px; color: var(--text); }
.feat-list li::before { content:""; position:absolute; left:2px; top:9px; width:10px; height:10px; border-radius:50%; background: var(--cyan); box-shadow: 0 0 12px 2px rgba(57,224,200,.6); }

/* Cards */
.cards { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card {
  background: linear-gradient(180deg, var(--abyss-2), var(--abyss-1));
  border:1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 0 0 1px rgba(57,224,200,.15), var(--shadow); }
.card .ic { width:50px; height:50px; border-radius:13px; display:grid; place-items:center; font-size:1.5rem; background: rgba(57,224,200,.1); border:1px solid rgba(57,224,200,.25); margin-bottom:16px; }
.card p { color: var(--text-dim); font-size:.98rem; margin:0; }
.card h3 a { color: var(--head); }
.card h3 a:hover { color: var(--cyan); }

/* Prose / book list */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--text); }
.prose h2 { margin-top: 1.5em; }
.prose .serif { font-family: var(--f-serif); font-size: 1.15rem; font-style: italic; color: var(--text-dim); }

.booklist { list-style:none; padding:0; margin: 8px 0 0; display:grid; gap: 12px; }
.booklist li { display:flex; gap:16px; align-items:baseline; padding: 16px 20px; background: var(--abyss-2); border:1px solid var(--line); border-radius: var(--radius-sm); }
.booklist .yr { font-family: var(--f-head); font-weight:700; color: var(--cyan); font-size:.95rem; flex:0 0 auto; min-width: 42px; }
.booklist b { color: var(--head); font-family: var(--f-head); }
.booklist span { color: var(--text-dim); font-size:.95rem; }

/* Quote */
.quote { font-family: var(--f-serif); font-style: italic; font-size: 1.45rem; line-height:1.5; color: var(--head); max-width: 760px; margin: 0 auto; text-align:center; }
.quote::before, .quote::after { content:'"'; color: var(--cyan); }

/* Band */
.band {
  background:
    radial-gradient(800px 300px at 15% 20%, rgba(57,224,200,.16), transparent 60%),
    radial-gradient(600px 300px at 90% 90%, rgba(78,163,255,.14), transparent 60%),
    linear-gradient(120deg, var(--abyss-2), var(--abyss-3));
  border:1px solid var(--line-2);
  border-radius: var(--radius); padding: 52px; box-shadow: var(--shadow);
  display:flex; align-items:center; justify-content:space-between; gap: 28px; flex-wrap: wrap;
}
.band h2 { margin-bottom:.3em; }
.band p { color: var(--text-dim); margin:0; max-width: 46ch; }

/* Contact / info */
.info-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items:start; }
.info-card { background: var(--abyss-2); border:1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-row { display:flex; gap:14px; padding: 15px 0; border-bottom:1px solid var(--line); }
.info-row:last-child { border-bottom:0; }
.info-row .ic { color: var(--cyan); flex:0 0 auto; font-size:1.15rem; }
.info-row strong { display:block; font-family: var(--f-head); color: var(--head); }
.info-row span { color: var(--text-dim); }

/* Form */
form .field { margin-bottom: 16px; }
form label { display:block; font-family: var(--f-head); font-weight:600; font-size:.9rem; margin-bottom:7px; color: var(--head); }
form input, form textarea {
  width:100%; padding: 13px 15px; border:1.5px solid var(--line-2); border-radius: var(--radius-sm);
  font-family: var(--f-body); font-size: 1rem; color: var(--head); background: var(--abyss-1); transition: border .15s ease;
}
form input::placeholder, form textarea::placeholder { color: #5d7088; }
form input:focus, form textarea:focus { outline:none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(57,224,200,.12); }
form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size:.86rem; color: var(--text-dim); }

/* Footer */
.site-footer { background: var(--abyss-0); border-top:1px solid var(--line); color: var(--text-dim); padding: 60px 0 28px; font-size:.95rem; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--cyan); }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--head); font-size:1rem; margin-bottom: 16px; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer li { margin-bottom: 9px; }
.foot-bottom { border-top:1px solid var(--line); margin-top: 40px; padding-top: 22px; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:.85rem; }
.foot-bottom, .foot-bottom a { color: var(--text-dim); }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 58px 0; }
  .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items:stretch; background: var(--abyss-2); padding: 16px 24px 24px; border-bottom:1px solid var(--line); gap:2px; transform: translateY(-130%); transition: transform .25s ease; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 4px; border-bottom:1px solid var(--line); }
  .nav .btn { margin-top:10px; justify-content:center; }
  .nav-toggle { display:block; }
  .strip .wrap { grid-template-columns: 1fr 1fr; gap: 24px 8px; }
  .band { padding: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap:30px; }
}
