/* LuirosTek — feuille de style commune (accueil, actualités, articles, pages légales).
   Principes : fond clair (sombre automatique), une seule couleur d'accent, pas de dégradés ni de halos. */

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #eeece6;
  --ink: #15171c;
  --muted: #565b66;
  --faint: #868b95;
  --line: #e1ded6;
  --accent: #1d4ed8;
  --accent-hover: #173fb0;
  --accent-soft: #e6ecfb;
  --on-accent: #ffffff;
  --radius: 14px;
  --wrap: 1080px;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --surface: #171a20;
    --surface-2: #1d2129;
    --ink: #eceef2;
    --muted: #a6acb7;
    --faint: #7d838e;
    --line: #2a2e37;
    --accent: #7f9dff;
    --accent-hover: #a2b8ff;
    --accent-soft: #1b2440;
    --on-accent: #0b1022;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
[id] { scroll-margin-top: 80px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 500; background: var(--surface); padding: 8px 12px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 600px) {
  .site-header .wrap { gap: 12px; }
  .brand span { display: none; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 0.88rem; }
}
@media (max-width: 380px) { .main-nav .nav-contact { display: none; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0.8rem 1.25rem; border-radius: 12px;
  font: inherit; font-weight: 600; font-size: 0.98rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
}
.btn-store, .btn-play {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--bg);
  padding: 0.65rem 1.2rem 0.65rem 1rem; border-radius: 12px; text-decoration: none;
}
.btn-store:hover, .btn-play:hover { color: var(--bg); opacity: 0.88; }
.btn-store svg, .btn-play svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-store span, .btn-play span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; font-size: 1.05rem; text-align: left; }
.btn-store small, .btn-play small { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.06em; opacity: 0.8; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Accueil : héros ---------- */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.015em; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.note { margin-top: 18px; font-size: 0.9rem; color: var(--faint); }

.app-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.app-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.app-card-head img { width: 64px; height: 64px; border-radius: 16px; }
.app-card-head strong { display: block; font-size: 1.2rem; }
.app-card-head span { color: var(--muted); font-size: 0.92rem; }
.app-card h2 { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--muted); margin: 18px 0 10px; }
.games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.games li { font-size: 0.97rem; padding-left: 14px; position: relative; }
.games li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.app-card .more { margin: 18px 0 0; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 860px) {
  .hero { padding: 44px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 400px) { .games { grid-template-columns: 1fr; } }

/* ---------- Chiffres ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats ul { list-style: none; margin: 0 auto; padding: 0 20px; max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 26px 12px 26px 0; color: var(--muted); font-size: 0.95rem; line-height: 1.35; }
.stats li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.3rem; color: var(--ink); line-height: 1.1; margin-bottom: 4px; letter-spacing: -0.01em; }
@media (max-width: 760px) {
  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section h2.title, .section-head h2 { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 2.8rem); line-height: 1.1; letter-spacing: -0.01em; }
.section-head a { white-space: nowrap; font-size: 0.95rem; text-decoration: none; }
@media (max-width: 760px) { .section { padding: 60px 0; } .section-head { flex-direction: column; gap: 8px; margin-bottom: 26px; } }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.features li { border-top: 1px solid var(--line); padding: 22px 0 30px; }
.features h3 { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; margin-bottom: 8px; }
.features p { color: var(--muted); font-size: 0.98rem; margin: 0; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; gap: 0 28px; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.small-print { margin-top: 18px; font-size: 0.8rem; color: var(--faint); max-width: 60em; }

/* ---------- Gratuit / Pro ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan-pro { border-color: var(--accent); }
.plan h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; }
.plan .price { font-family: var(--serif); font-size: 1.9rem; line-height: 1.2; margin: 6px 0 18px; }
.plan-pro .price { font-size: 1.45rem; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--line); font-size: 0.98rem; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 600; }
.plan .intro { color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; }
.plans + .small-print { margin-top: 14px; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Encadré vie privée ---------- */
.privacy-band { background: var(--surface-2); border-radius: 20px; padding: 44px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.privacy-band h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.1; }
.privacy-band p { color: var(--muted); }
@media (max-width: 760px) { .privacy-band { grid-template-columns: 1fr; padding: 28px; gap: 14px; } }

/* ---------- Liste des actualités ---------- */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 20px; align-items: baseline; padding: 22px 0; color: var(--ink); text-decoration: none; }
.news-item:hover { color: var(--ink); }
.news-item:hover .news-title { color: var(--accent); }
.news-item time { color: var(--faint); font-size: 0.9rem; }
.news-tag { display: block; font-size: 0.78rem; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.news-title { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; margin-bottom: 6px; }
.news-desc { display: block; color: var(--muted); font-size: 0.97rem; }
.news-arrow { color: var(--faint); font-size: 1.2rem; }
.news-error { color: var(--muted); padding: 20px 0; }
@media (max-width: 640px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .news-arrow { display: none; }
  .news-title { font-size: 1.3rem; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 36px 18px 0; margin: 0; }

/* ---------- À propos / contact ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about p { color: var(--muted); font-size: 1.1rem; }
.about .actions { justify-content: flex-start; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 44px 0 36px; font-size: 0.92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.footer-brand img { width: 26px; height: 26px; border-radius: 7px; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--faint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Page « Actualités » ---------- */
.page-head { padding: 64px 0 28px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.05; margin-bottom: 10px; }
.page-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Articles ---------- */
article { max-width: 760px; margin: 0 auto; padding: 56px 20px 40px; }
article .section-label { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
article h1 { font-family: var(--serif); font-size: clamp(2.3rem, 5.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 16px; }
article h1 span { font-style: italic; }
article .meta { color: var(--faint); font-size: 0.92rem; margin-bottom: 28px; }
article .lead { font-size: 1.2rem; color: var(--ink); margin-bottom: 26px; }
article > .btn-play { margin: 0 0 32px; }
article h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.2rem); line-height: 1.15; margin: 56px 0 18px; }
article h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
article p, article li { color: var(--muted); }
article p strong, article li strong { color: var(--ink); font-weight: 600; }
.hero-banner { display: none; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; border-top: 1px solid var(--line); padding: 24px 0; }
.feature .text p { margin: 0; }
.feature .shots { display: flex; gap: 12px; justify-content: center; }
.feature .shots img { max-width: min(160px, calc(50% - 6px)); min-width: 0; border-radius: 12px; border: 1px solid var(--line); display: block; }
.feature.solo { grid-template-columns: 1fr; padding: 20px 0; }
.feature:nth-of-type(even) .text { order: 2; }
.feature.solo .text { order: 0; }
@media (max-width: 700px) { .feature { grid-template-columns: 1fr; } .feature:nth-of-type(even) .text { order: 0; } }

.pro { background: var(--surface-2); border-radius: var(--radius); padding: 22px 24px; margin: 28px 0; }
.pro-title { font-weight: 600; color: var(--ink) !important; margin-bottom: 6px; }
.pro ul { padding-left: 1.2rem; margin: 0; }
.pro-body { display: grid; grid-template-columns: 1fr 150px; gap: 20px; align-items: center; }
.pro-body img { border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 700px) { .pro-body { grid-template-columns: 1fr; } .pro-body img { max-width: 150px; } }
ul.points { padding-left: 1.2rem; }
ul.points li { margin-bottom: 8px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.gallery button { background: none; border: 0; padding: 0; cursor: zoom-in; }
.gallery img { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.lang-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.lang-tabs button { background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: inherit; font-size: 0.85rem; padding: 0.3rem 0.85rem; cursor: pointer; }
.lang-tabs button:hover { color: var(--ink); border-color: var(--ink); }
.lang-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.lightbox { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(10, 12, 16, 0.88); align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; max-height: 92dvh; width: auto; border-radius: 12px; }

.cta { margin: 40px 0 8px; }
.disclaimer { font-size: 0.8rem !important; color: var(--faint) !important; margin-top: 36px; }

/* ---------- Pages légales ---------- */
.policy { max-width: 760px; margin: 0 auto; padding: 56px 20px 40px; }
.policy h1 { font-family: var(--serif); font-size: clamp(2.3rem, 5.6vw, 3.4rem); line-height: 1.05; margin-bottom: 10px; }
.policy h2 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; margin: 48px 0 14px; }
.policy h2 .num { color: var(--faint); margin-right: 8px; }
.policy h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin: 26px 0 6px; }
.policy p, .policy li { color: var(--muted); }
.policy strong { color: var(--ink); font-weight: 600; }
.policy ul { padding-left: 1.2rem; }
.policy .maj { color: var(--faint); font-size: 0.9rem; }
.policy .resume { background: var(--surface-2); border-radius: var(--radius); padding: 18px 20px; margin: 22px 0 28px; color: var(--muted); }
.policy .contact { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.policy .contact strong { display: block; }
.policy .toc { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; }
.policy section { scroll-margin-top: 80px; }
.legal-note { font-style: italic; font-size: 0.85rem; color: var(--faint); }

/* ---------- Accueil : captures ---------- */
.head-note { color: var(--faint); font-size: 0.9rem; margin: 0; }
.shots-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 0; }
.themes-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.shots-row figure, .themes-row figure { margin: 0; }
.shots-row img, .themes-row img { display: block; width: 100%; border-radius: 18px; border: 1px solid var(--line); background: #00102a; }
.shots-row figcaption, .themes-row figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--muted); text-align: center; }
.themes-block { display: grid; grid-template-columns: 1fr 2.4fr; gap: 36px; align-items: center; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.themes-block h3 { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.2rem); line-height: 1.1; margin-bottom: 10px; }
.themes-block p { color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .shots-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 10px; margin-right: -20px; padding-right: 20px; }
  .shots-row figure { flex: 0 0 46%; scroll-snap-align: start; }
  .themes-block { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; padding-top: 28px; }
}
@media (max-width: 560px) {
  .shots-row figure { flex-basis: 64%; }
  .themes-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Accueil du studio (vitrine LuirosTek) ---------- */
.hero-studio { padding: 96px 0 72px; }
.hero-studio .wrap { display: block; }
.hero-studio h1 { max-width: 13em; }
.hero-studio .lead { max-width: 36em; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.products { display: grid; gap: 20px; }
.product { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px 40px; overflow: hidden; }
.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.product-head img { width: 56px; height: 56px; border-radius: 14px; }
.product h3 { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.product .tags { color: var(--faint); font-size: 0.9rem; }
.product p { color: var(--muted); font-size: 1.05rem; max-width: 34em; }
.product-facts { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.92rem; }
.product-facts b { color: var(--ink); font-weight: 600; }
.product-shot { justify-self: center; width: min(230px, 100%); margin-bottom: -80px; }
.product-shot img { display: block; width: 100%; border-radius: 22px 22px 0 0; border: 1px solid var(--line); border-bottom: 0; background: #00102a; }
.values { margin-top: 4px; }
@media (max-width: 760px) {
  .hero-studio { padding: 56px 0 40px; }
  .product { grid-template-columns: 1fr; padding: 26px 22px 0; gap: 24px; }
  .product-shot { width: min(220px, 72%); margin-bottom: 0; }
}
