/* ============================================================
   PIXELFURAX — feuille de style partagée
   (mêmes tokens visuels que index.html, pour les pages
   catalogue + fiches produit)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0d0d12;
    --surface: #1a1a24;
    --surface-2: #14141a;
    --border-soft: #292933;
    --text-main: #f0f0f0;
    --text-muted: #9b9ba8;

    --accent-tool: #00f3ff;
    --accent-game: #ff0055;
    --accent-suite: #ffc857;

    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;

    --radius: 14px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: repeating-linear-gradient(
        180deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
        transparent 1px, transparent 3px
    );
    mix-blend-mode: overlay;
}

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

:focus-visible {
    outline: 2px solid var(--accent-tool);
    outline-offset: 3px;
    border-radius: 3px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

/* ---- HEADER / NAV ---- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px clamp(20px, 5vw, 50px);
    background-color: var(--surface);
    border-bottom: 2px solid var(--accent-tool);
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    font-family: var(--font-display);
    font-size: 1.5em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}
.logo span { color: var(--accent-tool); }

nav { display: flex; gap: clamp(14px, 3vw, 30px); flex-wrap: wrap; }
nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    transition: color 0.25s var(--ease);
    white-space: nowrap;
}
nav a:hover, nav a.active { color: var(--accent-tool); }

/* ---- BOUTONS ---- */
.btn {
    display: inline-block;
    padding: 11px 26px;
    background: transparent;
    border: 2px solid var(--accent-tool);
    color: var(--accent-tool);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 6px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all 0.25s var(--ease);
    cursor: pointer;
}
.btn:hover {
    background: var(--accent-tool);
    color: var(--bg);
    box-shadow: 0 0 18px rgba(0, 243, 255, 0.5);
    transform: translateY(-2px);
}
.btn.btn-game { border-color: var(--accent-game); color: var(--accent-game); }
.btn.btn-game:hover { background: var(--accent-game); color: #fff; box-shadow: 0 0 18px rgba(255,0,85,0.5); }
.btn.btn-suite { border-color: var(--accent-suite); color: var(--accent-suite); }
.btn.btn-suite:hover { background: var(--accent-suite); color: #241a00; box-shadow: 0 0 18px rgba(255,200,87,0.5); }
.btn.is-disabled {
    border-style: dashed;
    border-color: var(--border-soft);
    color: var(--text-muted);
    cursor: default;
    pointer-events: none;
}
.btn.is-disabled:hover { background: none; box-shadow: none; transform: none; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    transition: color 0.25s var(--ease);
}
.btn-ghost:hover { color: var(--accent-tool); }

/* ---- SECTIONS GÉNÉRIQUES ---- */
.section { padding: clamp(60px, 10vw, 90px) 8%; position: relative; z-index: 1; }
.section-head { text-align: center; margin-bottom: clamp(40px, 7vw, 64px); }
.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.section-head .eyebrow { justify-content: center; }

.subdivider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 56px 0 36px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.subdivider::before, .subdivider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-soft);
}

/* ---- ICON PANEL ---- */
.icon-panel {
    flex: 1;
    min-height: 220px;
    border-radius: 10px;
    background-color: var(--surface-2);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.icon-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, transparent 48%, currentColor 49%, currentColor 51%, transparent 52%);
    opacity: 0.05;
    background-size: 26px 26px;
}
.icon-panel svg {
    width: 30%;
    min-width: 64px;
    max-width: 96px;
    height: auto;
    position: relative;
    stroke: currentColor;
}
.icon-panel--tool  { color: var(--accent-tool); }
.icon-panel--game  { color: var(--accent-game); border-color: rgba(255,0,85,0.25); }
.icon-panel--suite { color: var(--accent-suite); border-color: rgba(255,200,87,0.35); }

/* ============================================================
   PRODUCT HERO (fiches produit)
   ============================================================ */
.product-hero {
    position: relative;
    padding: clamp(60px, 10vw, 90px) 8% clamp(40px, 6vw, 60px);
    text-align: center;
    background: radial-gradient(circle at center, #1a1a24 0%, #0d0d12 100%);
}
.product-hero .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.product-hero--tool h1  { color: var(--accent-tool); }
.product-hero--suite h1 { color: var(--accent-suite); }
.product-hero--game h1  { color: var(--accent-game); }
.product-hero--tool .status-badge  { background: var(--accent-tool); color: #002326; }
.product-hero--suite .status-badge { background: var(--accent-suite); color: #241a00; }
.product-hero--game .status-badge  { background: var(--accent-game); color: #2a0010; }

.product-hero h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 3.4rem);
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.product-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-main);
    font-weight: 600;
    max-width: 680px;
    margin: 0 auto 30px;
}
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; align-items: center; }

/* ---- CORPS DE FICHE PRODUIT ---- */
.product-body {
    display: flex;
    align-items: flex-start;
    gap: 44px;
    max-width: 1100px;
    margin: 0 auto;
}
.product-icon { min-height: 260px; flex: 0 0 260px; }
.product-content { flex: 1.4; }
.product-content > p { color: var(--text-muted); margin-bottom: 16px; }
.product-content h2, .product-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin: 26px 0 14px;
    text-transform: uppercase;
}
.product-content ul { list-style: none; margin-bottom: 10px; }
.product-content ul li {
    position: relative;
    padding-left: 22px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.product-content ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-tool);
}
.product-hero--suite ~ .section .product-content ul li::before,
.product-body--suite ul li::before { color: var(--accent-suite); }
.product-hero--game ~ .section .product-content ul li::before,
.product-body--game ul li::before { color: var(--accent-game); }

@media (max-width: 800px) {
    .product-body { flex-direction: column; }
    .product-icon { flex-basis: auto; width: 100%; min-height: 180px; }
}

/* ============================================================
   PAGE DE GARDE — CATALOGUE
   ============================================================ */
.catalog-hero {
    padding: clamp(60px, 10vw, 90px) 8% clamp(30px, 5vw, 50px);
    text-align: center;
    background: radial-gradient(circle at center, #1a1a24 0%, #0d0d12 100%);
}
.catalog-hero h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.catalog-hero h1 span { color: var(--accent-tool); }
.catalog-hero p { color: var(--text-muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--accent-tool);
    border-radius: var(--radius);
    padding: 22px;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}
.catalog-card.in-view { opacity: 1; transform: translateY(0); }
.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    animation: fx-shake 1s var(--ease);
}
.catalog-card.card-suite { border-left-color: var(--accent-suite); }
.catalog-card.card-game  { border-left-color: var(--accent-game); }
.catalog-card.card-soon  { opacity: 0.75; }

.catalog-card .card-icon {
    width: 46px; height: 46px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-tool);
}
.catalog-card.card-suite .card-icon { color: var(--accent-suite); border-color: rgba(255,200,87,0.35); }
.catalog-card.card-game  .card-icon { color: var(--accent-game); border-color: rgba(255,0,85,0.3); }
.catalog-card .card-icon svg { width: 22px; height: 22px; }

.catalog-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.4px;
}
.catalog-card p { color: var(--text-muted); font-size: 0.88rem; flex: 1; }
.catalog-card .card-tag {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border-soft);
    padding: 3px 10px;
    border-radius: 100px;
}

/* ============================================================
   EFFET TREMBLEMENT (hover produit) — ~1s, discret
   ============================================================ */
@keyframes fx-shake {
    0%   { transform: translate(0,0) rotate(0); }
    10%  { transform: translate(-2px, 1px) rotate(-0.6deg); }
    20%  { transform: translate(2px, -1px) rotate(0.6deg); }
    30%  { transform: translate(-2px, 0) rotate(-0.5deg); }
    40%  { transform: translate(2px, 1px) rotate(0.5deg); }
    50%  { transform: translate(-1px, -1px) rotate(-0.3deg); }
    60%  { transform: translate(1px, 1px) rotate(0.3deg); }
    70%  { transform: translate(-1px, 0) rotate(-0.2deg); }
    80%  { transform: translate(1px, -1px) rotate(0.2deg); }
    90%  { transform: translate(-0.5px, 0) rotate(-0.1deg); }
    100% { transform: translate(0,0) rotate(0); }
}

/* ============================================================
   BLOCS MARKETING (pitch produit, grille d'emojis, tarif)
   ============================================================ */
.pitch-intro { max-width: 720px; margin: 0 auto 10px; text-align: center; }
.pitch-lead { font-size: 1.15rem; margin-bottom: 16px; }
.pitch-intro p { color: var(--text-muted); margin-bottom: 14px; }
.pitch-actions {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 22px 0;
}
.pitch-actions li {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-main);
}
.pitch-highlight {
    font-family: var(--font-display);
    color: var(--accent-tool);
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    margin-top: 12px;
}
.product-hero--suite ~ * .pitch-highlight { color: var(--accent-suite); }

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 40px;
}
.emoji-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 16px 18px;
    font-weight: 600;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.emoji-item:hover { transform: translateY(-3px); border-color: var(--accent-tool); }
.emoji-item span { font-size: 1.4rem; line-height: 1; }

.pitch-closing {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.pitch-closing strong { color: var(--accent-tool); }

.pricing-badge {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.pricing-badge span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    padding: 10px 18px;
    border-radius: 100px;
    color: var(--text-main);
}

/* ============================================================
   FICHE PRODUIT ENRICHIE (capture d'écran, listes détaillées...)
   ============================================================ */
.screenshot-frame {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    max-width: 920px;
    margin: 0 auto 14px;
}
.screenshot-frame img { width: 100%; display: block; }
.screenshot-caption {
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    max-width: 700px;
    margin: 0 auto;
}

.feature-detail-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
}
.feature-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 18px 20px;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.feature-detail-item:hover { border-color: var(--accent-tool); transform: translateY(-2px); }
.feature-detail-list--suite .feature-detail-item:hover { border-color: var(--accent-suite); }
.feature-detail-item .fd-emoji { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.feature-detail-item p { color: var(--text-muted); margin: 0; }
.feature-detail-item strong { color: var(--text-main); }

.not-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.not-item {
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--accent-game);
    border-radius: 10px;
    padding: 18px 20px;
}
.not-item strong { color: var(--accent-game); display: block; margin-bottom: 6px; }
.not-item p { color: var(--text-muted); margin: 0; font-size: 0.92rem; }

.audience-list { list-style: none; max-width: 640px; margin: 0 auto; }
.audience-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: var(--text-muted);
}
.audience-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent-tool); }

.lang-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid var(--border-soft);
    padding: 8px 16px;
    border-radius: 100px;
}

/* ============================================================
   TABLEAU D'EXPORT / TARIFS / FAQ
   ============================================================ */
.export-table {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
}
.export-table th, .export-table td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-soft);
}
.export-table th {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--surface-2);
}
.export-table td:first-child {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent-tool);
    white-space: nowrap;
}
.export-table td { color: var(--text-muted); }
.export-table tr:last-child td { border-bottom: none; }

.pricing-tiers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}
.price-card {
    flex: 1;
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 26px 22px;
    text-align: center;
}
.price-card.is-current { border-color: var(--accent-tool); box-shadow: 0 0 24px rgba(0,243,255,0.12); }
.price-card .price-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}
.price-card .price-value {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--text-main);
}
.price-card.is-current .price-value { color: var(--accent-tool); }
.price-card .price-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 8px; }

.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 18px 22px;
}
.faq-item .faq-q {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    display: block;
}
.faq-item .faq-a { color: var(--text-muted); margin: 0; }

/* ---- FOOTER ---- */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #08080b;
    color: var(--text-muted);
    border-top: 1px solid var(--border-soft);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}
footer strong { color: var(--text-main); }
footer a { color: var(--accent-tool); text-decoration: none; }

@media (max-width: 620px) {
    header { padding: 16px 20px; flex-wrap: wrap; gap: 10px; }
    nav { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .catalog-card { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}
