/* Velaryon Hosting — site vitrine (généré par /opt/velaryon-site/build.py) */
@font-face { font-family: Inter; src: url(/static/fonts/Inter-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/static/fonts/Inter-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(/static/fonts/Inter-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(/static/fonts/Inter-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0f0f11; --surface: #18181b; --surface-2: #202024; --line: #2a2a2f;
  --text: #e8e8ea; --muted: #a1a1aa; --faint: #71717a;
  --primary: #bb86fc; --accent: #ffd166; --ok: #4ade80;
  --radius: 14px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.grad { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 99; }

/* en-tête */
.top { position: sticky; top: 0; z-index: 20; background: rgba(15,15,17,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; margin-right: 4px; }
.nav { display: flex; gap: 2px; flex: 1; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14.5px; padding: 8px 11px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: var(--surface-2); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 7px 10px; font: inherit; cursor: pointer; }

/* boutons */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); transition: border-color .15s, filter .15s; white-space: nowrap; }
.btn:hover { border-color: #3f3f46; }
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--accent)); border: 0; color: #141414; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-small { padding: 7px 13px; font-size: 14px; }

/* sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(32px, 4.2vw, 46px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 640px; margin: 20px 0 0; }
.kicker { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.section-head { max-width: 700px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 12px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* accueil */
.hero { padding: 84px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-note { margin-top: 22px; font-size: 14.5px; color: var(--faint); }
.shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.shot img { width: 100%; height: auto; }
.shot figcaption { font-size: 13.5px; color: var(--faint); padding: 10px 14px; border-top: 1px solid var(--line); }

.offers { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offer { display: grid; grid-template-columns: 168px 1fr 1.8fr auto; gap: 24px; align-items: center; padding: 18px 26px 18px 18px; text-decoration: none; background: var(--surface); }
.offer + .offer { border-top: 1px solid var(--line); }
.offer:hover { background: var(--surface-2); }
.offer h3 { font-size: 20px; }
.offer img { width: 168px; height: 88px; object-fit: cover; object-position: 70% center; border-radius: 10px; }
.offer p { margin: 0; color: var(--muted); font-size: 15px; }
.price { font-weight: 700; font-size: 18px; white-space: nowrap; }
.price small { font-weight: 500; color: var(--muted); font-size: 14px; }
.offer .price { text-align: right; }
.offer .price span { display: block; font-size: 13px; font-weight: 500; color: var(--faint); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: 1.1fr 1fr; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.ticks li strong { color: var(--text); font-weight: 600; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--muted); font-size: 15px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--text); font-weight: 700; margin-bottom: 14px; }
.steps li strong { display: block; color: var(--text); margin-bottom: 4px; font-size: 16px; }

.callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.callout p { margin: 6px 0 0; color: var(--muted); }

/* tableaux d'offres */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.plans { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.plans th, .plans td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.plans th { font-size: 13px; font-weight: 600; color: var(--faint); background: var(--surface); text-transform: uppercase; letter-spacing: .04em; }
.plans tr:last-child td { border-bottom: 0; }
.plans td:first-child { font-weight: 600; }
.plans td.num { font-variant-numeric: tabular-nums; }
.plans td.go { text-align: right; }
.plans tbody tr:hover { background: var(--surface); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); margin-left: 6px; vertical-align: 1px; }
.tag.win { color: #7dd3fc; }
.table-note { font-size: 14px; color: var(--faint); margin: 14px 2px 0; }

.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.game { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.game:hover { border-color: #3f3f46; }
.game h3 { margin-bottom: 6px; }
.game.has-art { padding: 0 0 20px; overflow: hidden; }
.game.has-art img { width: 100%; height: 150px; object-fit: cover; object-position: 72% center; margin-bottom: 16px; transition: transform .3s; }
.game.has-art:hover img { transform: scale(1.03); }
.game.has-art h3, .game.has-art p, .game.has-art .price { margin-left: 20px; margin-right: 20px; }
.game.has-art .price { display: inline-block; }
.game p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 17px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* texte long : blog, légal */
.page-head { padding: 64px 0 28px; }
.page-head p { color: var(--muted); max-width: 680px; margin: 14px 0 0; font-size: 17.5px; }
/* en-tête illustré (scènes 3D générées par marketing/scenes) */
.page-head.art { position: relative; padding: 120px 0 84px; margin-bottom: 12px; background:
  linear-gradient(90deg, var(--bg) 0%, rgba(15,15,17,.88) 30%, rgba(15,15,17,.35) 62%, rgba(15,15,17,.05) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(15,15,17,0) 38%), var(--art) 70% center / cover no-repeat; }
.page-head.art h1 { text-shadow: 0 2px 24px rgba(0,0,0,.5); max-width: 640px; }
.page-head.art p { color: #c9c9d1; max-width: 560px; }
.page-head.art .kicker a { color: inherit; }
.visuels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.visuel img { border-radius: 12px; border: 1px solid var(--line); width: 100%; height: auto; }
.visuel h3 { font-size: 17px; margin: 12px 0 4px; }
.visuel p { margin: 0; font-size: 13.5px; color: var(--faint); line-height: 1.7; }
.visuel p a { color: var(--muted); }
.prose { max-width: 740px; font-size: 16.5px; line-height: 1.75; color: #d4d4d8; }
.prose h2 { font-size: 25px; margin: 42px 0 14px; color: var(--text); }
.prose h3 { font-size: 19px; margin: 30px 0 10px; color: var(--text); }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary); }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 14.5px; }
.prose pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 0 0 18px; padding: 4px 18px; border-left: 3px solid var(--line); color: var(--muted); }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.legal h1 { display: none; }
.legal h2, .legal h3 { font-size: 20px; }

.posts { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 820px; }
.post { display: block; text-decoration: none; padding: 26px 0; border-bottom: 1px solid var(--line); }
.post .meta { font-size: 13.5px; color: var(--faint); }
.post h2 { font-size: 22px; margin: 6px 0 8px; }
.post:hover h2 { color: var(--primary); }
.post p { margin: 0; color: var(--muted); }
.article-meta { color: var(--faint); font-size: 14px; margin-top: 14px; }
.back { display: inline-block; margin-top: 40px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-grid p { color: var(--muted); margin: 8px 0 18px; font-size: 15px; }

/* pied de page */
footer { border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 40px; font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); margin: 0 0 12px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot p { color: var(--muted); margin: 12px 0 0; max-width: 300px; }
.copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--faint); font-size: 13.5px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.copy a { color: var(--faint); }

@media (max-width: 960px) {
  .hero .wrap, .split, .split.rev { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .games, .contact-grid { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 120px 1fr auto; }
  .offer img { width: 120px; height: 72px; grid-row: 1 / 3; }
  .offer p { grid-column: 2 / -1; grid-row: 2; }
  .visuels { grid-template-columns: repeat(3, 1fr); }
  .page-head.art { padding: 90px 0 60px; background:
    linear-gradient(90deg, rgba(15,15,17,.92) 0%, rgba(15,15,17,.6) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(15,15,17,0) 40%), var(--art) 70% center / cover no-repeat; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; }
  .nav.open { display: flex; }
  .menu-btn { display: block; margin-left: auto; }
  .top-actions .btn:not(.btn-primary) { display: none; }
}
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .steps, .games, .contact-grid, .foot { grid-template-columns: 1fr; }
  .visuels { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 1fr auto; }
  .offer img { width: 100%; height: 120px; grid-column: 1 / -1; grid-row: auto; }
  .offer p { grid-column: 1 / -1; grid-row: auto; }
  .hero { padding-top: 56px; }
}
