/* ==============================================
   TAP EVOLUTION - Site Web
   Style principal | Thème Nature & Forêt
   ============________________________________ */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,600&family=Rajdhani:wght@600;700&display=swap');

/* === VARIABLES === */
:root {
    /* Palette nature */
    --bg-dark:          #060e06;
    --bg-main:          #091508;
    --bg-section:       #0c1e0c;
    --bg-card:          #0f2410;
    --bg-card-hover:    #142d14;
    --border:           #1c3d1c;
    --border-glow:      rgba(76, 175, 80, 0.35);

    --green-primary:    #4caf50;
    --green-dark:       #2e7d32;
    --green-light:      #81c784;
    --green-bright:     #69f0ae;
    --green-accent:     #aed581;

    --amber:            #ffc107;
    --amber-dark:       #e65100;
    --amber-light:      #ffe082;

    --text-primary:     #e8f5e9;
    --text-secondary:   #a5d6a7;
    --text-muted:       #66bb6a;
    --text-dim:         #4a7c4e;

    /* Layout */
    --nav-height:       70px;
    --section-pad:      90px;
    --container-max:    1200px;

    /* Misc */
    --font-body:        'Nunito', 'Segoe UI', sans-serif;
    --font-title:       'Rajdhani', 'Impact', sans-serif;
    --radius:           12px;
    --radius-lg:        20px;
    --radius-xl:        32px;
    --shadow:           0 8px 32px rgba(0, 0, 0, 0.55);
    --shadow-green:     0 4px 24px rgba(76, 175, 80, 0.25);
    --transition:       0.3s ease;
}

/* === RESET === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

/* Scrollbar personnalisée */
::-webkit-scrollbar         { width: 7px; }
::-webkit-scrollbar-track   { background: var(--bg-dark); }
::-webkit-scrollbar-thumb   { background: var(--green-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-primary); }

/* === TYPOGRAPHIE === */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    line-height: 1.15;
    letter-spacing: 0.04em;
}

h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--green-light);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--green-bright); }

img { max-width: 100%; height: auto; display: block; }

/* === CONTENEUR === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === BOUTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: #fff;
    box-shadow: var(--shadow-green);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--green-bright), var(--green-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(76, 175, 80, 0.5);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--green-light);
    border: 2px solid var(--green-primary);
}
.btn-secondary:hover {
    background: rgba(76, 175, 80, 0.1);
    color: var(--green-bright);
    transform: translateY(-2px);
}

.btn-download {
    background: linear-gradient(135deg, #1a6e22, var(--green-primary));
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.35);
    border: 1px solid rgba(105, 240, 174, 0.15);
}
.btn-download:hover {
    background: linear-gradient(135deg, var(--green-primary), var(--green-bright));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(105, 240, 174, 0.4);
    color: #fff;
}

.btn-lg {
    padding: 1rem 2.4rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(6, 14, 6, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(6, 14, 6, 0.97);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo img { height: 38px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
}

.nav-links a {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--green-bright);
    background: rgba(76, 175, 80, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

/* Sélecteur de langue */
.lang-toggle {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.lang-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    letter-spacing: 0.06em;
}
.lang-btn:hover,
.lang-btn.active {
    background: var(--green-dark);
    color: #fff;
}

/* Hamburger mobile */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.4rem;
    background: none;
    border: none;
}
.nav-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--green-light);
    border-radius: 2px;
    transition: all var(--transition);
    display: block;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Navigation mobile */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(6, 14, 6, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    z-index: 999;
    flex-direction: column;
    gap: 0.4rem;
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 700;
    transition: all var(--transition);
}
.nav-mobile a:hover,
.nav-mobile a.active {
    color: var(--green-bright);
    background: rgba(76, 175, 80, 0.1);
}

/* === LAYOUT SECTIONS === */
.section {
    padding: var(--section-pad) 0;
}
.section-alt {
    background: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid var(--border-glow);
    color: var(--green-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
    background:
        radial-gradient(ellipse at 15% 60%, rgba(46, 125, 50, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 40%, rgba(139, 195, 74, 0.07) 0%, transparent 55%),
        var(--bg-dark);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float-particle 8s ease-in-out infinite;
}
.hero-particles::before {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.04) 0%, transparent 70%);
    top: 20%; left: 60%;
    animation-delay: 0s;
}
.hero-particles::after {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(174, 213, 130, 0.05) 0%, transparent 70%);
    top: 60%; left: 10%;
    animation-delay: 3s;
}

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0); opacity: 0.5; }
    50% { transform: translate(15px, -20px); opacity: 1; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 3rem 0;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.25);
    color: var(--amber);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    width: fit-content;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.0;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

.hero-title .highlight {
    color: var(--green-accent);
    text-shadow: 0 0 40px rgba(174, 213, 130, 0.45);
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--green-light);
    font-weight: 600;
    font-style: italic;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-store {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 0.55rem 1.1rem;
    transition: all var(--transition);
    text-decoration: none;
    width: fit-content;
}
.hero-store:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--green-primary);
    transform: translateY(-2px);
}
.hero-store-icon { font-size: 1.6rem; line-height: 1; }
.hero-store-text { display: flex; flex-direction: column; gap: 0.1rem; }
.hero-store-text small {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.hero-store-text strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Visuel hero */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 280px;
}

.hero-icon-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon-glow {
    position: absolute;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.18) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

.hero-icon {
    width: 200px;
    height: 200px;
    border-radius: 38px;
    box-shadow: var(--shadow), 0 0 50px rgba(76, 175, 80, 0.3);
    position: relative;
    z-index: 1;
    animation: float-icon 3.5s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* === SECTION VIDEO === */
.video-wrapper {
    max-width: 820px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 60px rgba(76, 175, 80, 0.18);
    border: 1px solid var(--border-glow);
    position: relative;
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none;
}

/* Vignette lazy-load */
.video-lazy {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
    display: block;
    background: #000;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.video-lazy:hover .video-thumb {
    transform: scale(1.02);
    opacity: 0.85;
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.video-play-btn svg {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.7));
    transition: transform 0.25s ease;
}

.video-lazy:hover .video-play-btn svg {
    transform: scale(1.12);
}

/* === FEATURES === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-green);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--green-accent);
    margin-bottom: 0.65rem;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.badge-new {
    background: rgba(105, 240, 174, 0.15);
    border: 1px solid rgba(105, 240, 174, 0.3);
    color: var(--green-bright);
}
.badge-pvp {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: var(--amber);
}
.badge-defi {
    background: rgba(100, 181, 246, 0.15);
    border: 1px solid rgba(100, 181, 246, 0.35);
    color: #90caf9;
}

/* === SCREENSHOTS === */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.85rem;
}

.screenshot-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    background: var(--bg-card);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.screenshot-item:hover {
    border-color: var(--green-primary);
    box-shadow: var(--shadow-green);
    transform: translateY(-4px);
}
.screenshot-item:hover img {
    transform: scale(1.06);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    cursor: pointer;
}
.lightbox.active { display: flex; }

.lightbox img {
    max-width: min(90vw, 500px);
    max-height: 90vh;
    border-radius: var(--radius-lg);
    object-fit: contain;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

/* Prev/Next lightbox */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid var(--border-glow);
    color: white;
    width: 48px; height: 48px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.lightbox-nav:hover { background: rgba(76, 175, 80, 0.4); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* === CTA DOWNLOAD === */
.cta-section {
    padding: var(--section-pad) 0;
    background:
        radial-gradient(ellipse at center, rgba(46, 125, 50, 0.1) 0%, transparent 65%),
        var(--bg-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 75%, rgba(76, 175, 80, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 75% 25%, rgba(174, 213, 130, 0.04) 0%, transparent 40%);
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.cta-title .highlight { color: var(--green-accent); }

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* === PAGE HERO (pages intérieures) === */
.page-hero {
    padding: calc(var(--nav-height) + 4rem) 0 3rem;
    background:
        radial-gradient(ellipse at center top, rgba(46, 125, 50, 0.1) 0%, transparent 60%),
        var(--bg-dark);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.page-hero h1 {
    margin: 0.75rem 0 0.5rem;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === PAGE DESCRIPTION === */
.desc-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: start;
}

.desc-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
}

.sidebar-nav {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sidebar-nav a {
    display: block;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--green-bright);
    background: rgba(76, 175, 80, 0.1);
}

.desc-content {
    min-width: 0;
}

.desc-section {
    margin-bottom: 3rem;
    scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

.desc-section h2 {
    color: var(--green-accent);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.desc-section p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
}

.mechanics-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 1rem 0;
}

.mechanics-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.mechanics-list li span {
    text-align: left;
    flex: 1;
    min-width: 0;
}

.mechanics-list li::before {
    content: '▸';
    color: var(--green-primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.65rem 0.85rem;
}

.info-box {
    background: rgba(76, 175, 80, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* === PAGE AIDE === */
.help-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.help-tab {
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    transition: all var(--transition);
    text-decoration: none;
}
.help-tab:hover,
.help-tab.active {
    background: var(--green-dark);
    border-color: var(--green-primary);
    color: #fff;
}

.help-panel {
    display: none;
}
.help-panel.active {
    display: block;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.help-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
}

.help-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
}

.help-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.help-card h3 {
    color: var(--green-accent);
    font-size: 1rem;
    margin-bottom: 0.65rem;
}

.help-card p,
.help-card ul {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
}

.help-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.help-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.help-card ul li::before {
    content: '•';
    color: var(--green-primary);
    flex-shrink: 0;
}

.tip-box {
    background: rgba(255, 193, 7, 0.06);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    color: var(--amber-light);
    font-size: 0.9rem;
}
.tip-box strong {
    color: var(--amber);
    display: block;
    margin-bottom: 0.25rem;
}

/* === PAGE PRIVACY === */
.privacy-content {
    max-width: 820px;
    margin: 0 auto;
}

.privacy-content h2 {
    color: var(--green-accent);
    font-size: 1.3rem;
    margin: 2.5rem 0 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.privacy-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.privacy-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0.75rem 0 1rem 0;
}

.privacy-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.privacy-content ul li::before {
    content: '▸';
    color: var(--green-primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.privacy-content a {
    color: var(--green-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.privacy-content a:hover {
    color: var(--green-bright);
}

/* === FOOTER === */
footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand img {
    height: 36px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.footer-heading {
    font-family: var(--font-title);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-accent);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-links a:hover { color: var(--green-light); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    color: var(--text-dim);
    font-size: 0.82rem;
}

/* Image Google Play dans hero-store (icône ronde noire) */
.hero-store-icon-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Logo Google Play dans les boutons (icône ronde noire) */
.btn-store-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
    align-self: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}

/* Wrapper CTA download (bouton + QR) */
.cta-download-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* QR code */
.cta-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    border: 2px solid var(--border-glow);
    background: #fff;
    padding: 6px;
    box-shadow: var(--shadow-green);
}

.qr-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .cta-download-wrapper { gap: 1.5rem; }
    .qr-img { width: 100px; height: 100px; }
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .screenshots-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    :root { --section-pad: 65px; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text { align-items: center; }
    .hero-description { margin: 0 auto; }
    .hero-visual { order: -1; width: 100%; justify-content: center; }
    .hero-icon { width: 160px; height: 160px; }
    .hero-icon-glow { width: 220px; height: 220px; }
    .hero-actions { justify-content: center; }

    .desc-layout {
        grid-template-columns: 1fr;
    }
    .desc-sidebar {
        position: static;
    }
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --section-pad: 55px; }

    .nav-links,
    .nav-actions .btn-download { display: none; }
    .nav-hamburger { display: flex; }

    .features-grid {
        grid-template-columns: 1fr;
    }
    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-list {
        grid-template-columns: 1fr;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
    .lightbox img { max-width: 85vw; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
}
