/* ════════════════════════════════════════════════════════════════
   landing.css — Page de présentation Bibliothèque JDR
   Style fantasy / parchemin immersif — refonte v5.15
   ════════════════════════════════════════════════════════════════ */

:root {
    --land-gold:       #C9A84C;
    --land-gold-dim:   #b8983f;
    --land-gold-glow:  rgba(201, 168, 76, 0.25);
    --land-dark:       #1a1512;
    --land-darker:     #110e0b;
    --land-parchment:  #f5e6c8;
    --land-text:       #e8dcc8;
    --land-text-dim:   #a89878;
    --land-card-bg:    rgba(30, 25, 20, 0.85);
    --land-glass:      rgba(201, 168, 76, 0.08);
    --land-border:     rgba(201, 168, 76, 0.25);
    --land-red:        #c0392b;
    --land-red-dim:    rgba(192, 57, 43, 0.15);
    --land-radius:     12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.landing {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--land-darker);
    color: var(--land-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── NAV ───────────────────────────────────────────────────── */
.land-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2rem; height: 64px;
    background: rgba(17, 14, 11, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--land-border);
}
.land-nav-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--land-gold);
    font-size: 1.15rem; font-weight: 700; letter-spacing: 0.02em;
}
.land-nav-logo img { height: 36px; }
.land-nav-links { display: flex; align-items: center; gap: 1.5rem; }
.land-nav-link {
    color: var(--land-text-dim); text-decoration: none;
    font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s;
}
.land-nav-link:hover { color: var(--land-gold); }
.land-nav-cta {
    background: var(--land-gold); color: var(--land-dark);
    border: none; padding: 8px 20px; border-radius: 8px;
    font-weight: 700; font-size: 0.9rem; cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}
.land-nav-cta:hover { background: #ddb94f; transform: translateY(-1px); }

/* ── HERO ──────────────────────────────────────────────────── */
.land-hero {
    position: relative;
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 100px 2rem 60px;
    background:
        linear-gradient(180deg, rgba(17,14,11,0.55) 0%, rgba(17,14,11,0.45) 40%, rgba(17,14,11,0.7) 100%),
        url('../img/landing/hero-bg.jpg') center/cover no-repeat;
    overflow: hidden;
}
.land-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect fill="none"/><circle cx="30" cy="30" r="0.8" fill="rgba(201,168,76,0.08)"/></svg>');
    opacity: 0.5;
}

/* ── IMAGE BREAKS (parallax-like) ─────────────────────────── */
.land-img-break {
    position: relative;
    height: 320px;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.land-img-break::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg,
        var(--land-darker) 0%,
        rgba(17,14,11,0.3) 15%,
        rgba(17,14,11,0.3) 85%,
        var(--land-darker) 100%);
}
.land-img-break.break-combat  { background-image: url('../img/landing/dnd-combat.jpg'); }
.land-img-break.break-sage    { background-image: url('../img/landing/compendium-sage.jpg'); }
.land-img-break.break-battle  { background-image: url('../img/landing/cta-battle.jpg'); }
@media (max-width: 768px) {
    .land-img-break { background-attachment: scroll; height: 200px; }
}
.land-hero-content { position: relative; z-index: 1; max-width: 860px; }
.land-hero-logo { display: block; width: 120px; height: auto; margin: 0 auto 1.5rem; filter: drop-shadow(0 0 30px rgba(201,168,76,0.3)); }
.land-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(192,57,43,0.18), rgba(201,168,76,0.12));
    border: 1px solid rgba(192,57,43,0.35);
    border-radius: 30px; padding: 6px 18px;
    font-size: 0.85rem; font-weight: 700; color: var(--land-text);
    letter-spacing: 0.04em; text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.land-hero-badge img { height: 20px; filter: brightness(1.2); }
.land-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800; color: var(--land-gold);
    line-height: 1.15; margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(201,168,76,0.25);
}
.land-hero h1 span { display: block; color: var(--land-text); font-size: 0.5em; font-weight: 400; margin-top: 0.6rem; line-height: 1.5; }
.land-hero-sub {
    font-size: 1.1rem; color: var(--land-text-dim);
    max-width: 640px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.land-hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.land-hero-link {
    display: inline-block; margin-top: 1.2rem;
    color: var(--land-text-dim); font-size: 0.9rem;
    text-decoration: none; transition: color 0.2s;
}
.land-hero-link:hover { color: var(--land-gold); }
.land-btn-primary {
    background: var(--land-gold); color: var(--land-dark);
    border: none; padding: 14px 36px; border-radius: 10px;
    font-size: 1.05rem; font-weight: 700; cursor: pointer;
    transition: all 0.2s; text-decoration: none;
    box-shadow: 0 4px 20px var(--land-gold-glow);
}
.land-btn-primary:hover { background: #ddb94f; transform: translateY(-2px); box-shadow: 0 6px 30px rgba(201,168,76,0.35); }
.land-btn-secondary {
    background: transparent; color: var(--land-gold);
    border: 2px solid var(--land-border); padding: 12px 32px;
    border-radius: 10px; font-size: 1.05rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.land-btn-secondary:hover { border-color: var(--land-gold); background: rgba(201,168,76,0.08); }

/* ── ORNAMENT ──────────────────────────────────────────────── */
.land-ornament {
    display: flex; align-items: center; gap: 1rem;
    padding: 2rem 0; justify-content: center;
}
.land-ornament-line { flex: 0 1 120px; height: 1px; background: linear-gradient(to right, transparent, var(--land-border), transparent); }
.land-ornament-diamond { color: var(--land-gold); font-size: 1rem; }

/* ── SECTIONS ──────────────────────────────────────────────── */
.land-section {
    padding: 5rem 2rem;
    max-width: 1200px; margin: 0 auto;
}
.land-section-header {
    text-align: center; margin-bottom: 3.5rem;
}
.land-section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--land-gold); font-weight: 700;
    margin-bottom: 0.75rem;
}
.land-section-header p {
    color: var(--land-text-dim); font-size: 1.05rem;
    max-width: 650px; margin: 0 auto;
}

/* ── DND SHOWCASE — section D&D 5.5 mise en avant ─────────── */
.land-dnd-showcase {
    padding: 5rem 2rem;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(192,57,43,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.05) 0%, transparent 50%);
    border-top: 1px solid var(--land-border);
    border-bottom: 1px solid var(--land-border);
}
.land-dnd-showcase-inner { max-width: 1200px; margin: 0 auto; }
.land-dnd-header {
    display: flex; align-items: center; justify-content: center;
    gap: 18px; margin-bottom: 1rem;
}
.land-dnd-header img { height: 48px; filter: brightness(1.1); }
.land-dnd-header h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    color: var(--land-gold); font-weight: 800;
    margin: 0;
}
.land-dnd-sub {
    text-align: center; color: var(--land-text-dim);
    font-size: 1.05rem; max-width: 700px; margin: 0 auto 3rem;
}
.land-dnd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.land-dnd-card {
    background: var(--land-card-bg);
    border: 1px solid var(--land-border);
    border-radius: var(--land-radius);
    padding: 1.6rem 1.5rem;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.land-dnd-card:hover {
    transform: translateY(-4px);
    border-color: var(--land-gold);
    box-shadow: 0 8px 30px rgba(201,168,76,0.1);
}
.land-dnd-card-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 0.6rem;
}
.land-dnd-card-ic { font-size: 1.6rem; flex-shrink: 0; }
.land-dnd-card-ic img {
    width: 64px; height: 64px; object-fit: contain;
    border-radius: 10px; vertical-align: middle;
    filter: drop-shadow(0 0 8px rgba(201,168,76,0.25));
}
.land-dnd-card-head h3 {
    font-size: 1.05rem; color: var(--land-gold);
    font-weight: 700; margin: 0;
}
.land-dnd-card p {
    color: var(--land-text-dim); font-size: 0.9rem; line-height: 1.55;
    margin: 0;
}
.land-dnd-card .land-dnd-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    padding: 2px 8px; border-radius: 4px; margin-top: 8px;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.land-dnd-tag.srd { background: rgba(127,183,126,.15); color: #7FB77E; border: 1px solid rgba(127,183,126,.3); }
.land-dnd-tag.joueur { background: rgba(100,160,220,.12); color: #78b8e8; border: 1px solid rgba(100,160,220,.25); }
.land-dnd-tag.mj { background: rgba(201,168,76,.12); color: var(--land-gold); border: 1px solid rgba(201,168,76,.25); }

/* ── FEATURES GRID ─────────────────────────────────────────── */
.land-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.land-feature {
    background: var(--land-card-bg);
    border: 1px solid var(--land-border);
    border-radius: var(--land-radius);
    padding: 2rem;
    transition: transform 0.2s, border-color 0.2s;
}
.land-feature:hover {
    transform: translateY(-4px);
    border-color: var(--land-gold);
}
.land-feature-icon {
    font-size: 2.2rem; margin-bottom: 1rem;
    display: block;
}
.land-feature-icon img {
    width: 80px; height: 80px; object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 0 8px rgba(201,168,76,0.25));
}
.land-feature h3 {
    font-size: 1.15rem; color: var(--land-gold);
    margin-bottom: 0.5rem; font-weight: 700;
}
.land-feature p {
    color: var(--land-text-dim); font-size: 0.95rem; line-height: 1.6;
}

/* ── GAMES SHOWCASE ────────────────────────────────────────── */
.land-games-row {
    display: flex; gap: 1.5rem; justify-content: center;
    flex-wrap: wrap; padding: 1rem 0;
}
.land-game-badge {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.75rem; padding: 1.5rem 2rem;
    background: var(--land-card-bg);
    border: 1px solid var(--land-border);
    border-radius: var(--land-radius);
    min-width: 140px;
    transition: transform 0.2s, border-color 0.2s;
}
.land-game-badge:hover { transform: translateY(-3px); border-color: var(--land-gold); }
.land-game-badge img { height: 48px; object-fit: contain; filter: brightness(0.9); }
.land-game-badge span { font-size: 0.85rem; color: var(--land-text-dim); font-weight: 600; text-align: center; }
.land-game-badge.land-game-featured {
    border-color: rgba(192,57,43,0.4);
    background: linear-gradient(160deg, rgba(192,57,43,0.08), var(--land-card-bg) 60%);
}
.land-game-badge.land-game-featured:hover { border-color: var(--land-red); }
.land-game-badge .land-game-tag {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    padding: 2px 7px; border-radius: 3px; letter-spacing: 0.06em;
    background: rgba(192,57,43,0.2); color: #e8a09a; border: 1px solid rgba(192,57,43,0.35);
}

/* ── STATS BAR ─────────────────────────────────────────────── */
.land-stats {
    display: flex; justify-content: center; gap: 3rem;
    padding: 3rem 2rem; flex-wrap: wrap;
    background: var(--land-glass);
    border-top: 1px solid var(--land-border);
    border-bottom: 1px solid var(--land-border);
}
.land-stat { text-align: center; }
.land-stat-num {
    font-size: 2rem; font-weight: 800; color: var(--land-gold);
    display: block;
}
.land-stat-label {
    font-size: 0.85rem; color: var(--land-text-dim);
    text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── CTA SECTION ───────────────────────────────────────────── */
.land-cta-section {
    text-align: center; padding: 5rem 2rem;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.land-cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--land-gold); margin-bottom: 1rem;
}
.land-cta-section p {
    color: var(--land-text-dim); margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ── PRICING ───────────────────────────────────────────────── */
.land-price-group {
    text-align: center; font-size: 1.1rem; font-weight: 700;
    color: var(--land-text); margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--land-border);
    max-width: 600px; margin-left: auto; margin-right: auto;
}
.land-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 960px; margin: 0 auto;
}
.land-pricing-2 { max-width: 620px; }
.land-pricing-1 { max-width: 340px; }
.land-price-card {
    position: relative;
    background: var(--land-card-bg);
    border: 1px solid var(--land-border);
    border-radius: var(--land-radius);
    padding: 2.5rem 2rem 2rem;
    display: flex; flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}
.land-price-card:hover {
    transform: translateY(-4px);
    border-color: var(--land-gold);
}
.land-price-featured {
    border-color: var(--land-gold);
    box-shadow: 0 0 30px rgba(201,168,76,0.12);
}
.land-price-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--land-gold); color: var(--land-dark);
    font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
    padding: 3px 14px; border-radius: 20px; letter-spacing: 0.06em;
}
.land-price-name {
    font-size: 1.2rem; font-weight: 700; color: var(--land-gold);
    margin-bottom: 0.5rem;
}
.land-price-tag {
    font-size: 2.2rem; font-weight: 800; color: var(--land-text);
}
.land-price-tag span {
    font-size: 0.85rem; font-weight: 500; color: var(--land-text-dim);
}
.land-price-period {
    font-size: 0.85rem; color: var(--land-text-dim);
    margin-bottom: 1.5rem;
}
.land-price-list {
    list-style: none; flex: 1;
    margin-bottom: 1.5rem;
}
.land-price-list li {
    padding: 0.4rem 0; font-size: 0.92rem;
    color: var(--land-text-dim);
    border-bottom: 1px solid rgba(201,168,76,0.08);
}
.land-price-list li::before {
    content: '\2713'; color: var(--land-gold);
    font-weight: 700; margin-right: 8px;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.land-footer {
    text-align: center; padding: 2.5rem 2rem;
    border-top: 1px solid var(--land-border);
    color: var(--land-text-dim); font-size: 0.85rem;
}
.land-footer a { color: var(--land-gold); text-decoration: none; }
.land-footer a:hover { text-decoration: underline; }
.land-footer-fr {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.9rem; font-weight: 600; color: var(--land-text);
    margin-top: 0.5rem;
}
.land-footer-fr .flag { font-style: normal; }
.land-footer-legal { font-size: 0.75rem; opacity: 0.55; margin-top: 0.75rem; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.land-footer-version { opacity: 0.5; margin-top: 0.5rem; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .land-nav { padding: 0 1rem; }
    .land-nav-links { gap: 0.75rem; }
    .land-nav-link { display: none; }
    .land-hero { padding: 80px 1.5rem 40px; }
    .land-features { grid-template-columns: 1fr; }
    .land-dnd-grid { grid-template-columns: 1fr; }
    .land-stats { gap: 1.5rem; }
    .land-games-row { gap: 1rem; }
    .land-game-badge { min-width: 110px; padding: 1rem 1.25rem; }
    .land-dnd-header img { height: 36px; }
    .land-pricing { grid-template-columns: 1fr; max-width: 400px; }
}
