/* =========================================
   BASE COLOR PALETTE (Blue Radiant Theme)
   ========================================= */
:root {
    /* Blue radiant background */
    --bg-main: linear-gradient(180deg, #4EC2FE 0%, #F7F7F1 60%, #E7E1D4 100%);
    --text-color: #0E1A1F;

    /* NAVA Blue palette */
    --blue: #4EC2FE;
    --dove-white: #F7F7F1;
    --warm-white: #E7E1D4;
    --halo-white: #F0EDE4;
    --olive: #91A13F;

    /* Buttons / accents */
    --accent-main: var(--blue);
    --accent-soft: var(--halo-white);

    /* Cards & elements */
    --card-bg: rgba(255,255,255,0.9);
    --card-border: rgba(145,161,63,0.6);

    /* Sections */
    --section-alt-bg: #FFFFFF;

    /* Header & footer */
    --header-bg: rgba(247, 247, 241, 0.96);
    --header-border: rgba(145, 161, 63, 0.5);
    --footer-bg: #F7F7F1;
    --footer-border: rgba(145, 161, 63, 0.5);

    --gold: var(--olive);
    --gold-soft: var(--halo-white);
}

/* =========================================
   DARK THEME OVERRIDES
   ========================================= */
html[data-theme="dark"] {
    --bg-main: radial-gradient(circle at top, #181818 0, #050505 45%, #000000 100%);
    --text-color: #ffffff;

    --card-bg: #101010;
    --card-border: rgba(212, 175, 55, 0.18);

    --section-alt-bg: rgba(10, 10, 10, 0.9);

    --gold: #d4af37;
    --gold-soft: #f1d27a;

    --accent-main: #d4af37;
    --accent-soft: #f1d27a;

    --header-bg: rgba(5, 5, 5, 0.92);
    --header-border: rgba(212, 175, 55, 0.25);

    --footer-bg: #050505;
    --footer-border: rgba(212, 175, 55, 0.3);
}

/* =========================================
   GLOBAL RESET
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================================
   BASE STRUCTURE
   ========================================= */
body {
    font-family: "Kalam", system-ui, sans-serif;
    background: var(--bg-main);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--section-alt-bg);
}

h1, h2, h3 {
    color: var(--text-color);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

p {
    color: var(--text-color);
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    gap: 10px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(78,194,254,0.6));
}

/* MENU */
.navbar {
    display: flex;
    gap: 14px;
    align-items: center;
}

.navbar a {
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-color);
    position: relative;
    padding-bottom: 4px;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--accent-main);
    transition: width 0.25s ease-out;
}

.navbar a:hover::after {
    width: 100%;
}

/* CTA Nav */
.nav-cta {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--gold);
    color: var(--gold);
}

/* THEME BUTTON */
.theme-btn {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.theme-btn:hover {
    background: rgba(255,255,255,0.15);
}

/* =========================================
   HERO SECTION (Blue variant = radiant)
   ========================================= */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: left;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(240, 237, 228, 0.7), transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    padding: 120px 16px 80px;
}


.hero-tagline.highlight {
    color: #66770d; /* olive plus forte OU ta couleur désirée */
}

.hero-text {
    max-width: 520px;
    margin-bottom: 22px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    transition: 0.25s;
}

.btn.primary {
    background: linear-gradient(135deg, var(--blue), var(--halo-white));
    color: #0E1A1F;
    box-shadow: 0 0 14px rgba(78, 194, 254, 0.35);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(78, 194, 254, 0.6);
}

.btn.ghost {
    background: transparent;
    color: var(--text-color);
}

.btn.ghost:hover {
    background: rgba(145,161,63,0.12);
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

/* =========================================
   CARDS & ELEMENTS
   ========================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* IMPACT, STEPS, ETC */
.steps,
.impact-cards,
.timeline {
    display: grid;
    gap: 20px;
}

.step,
.impact-card,
.timeline-item,
.founder-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.step-number {
    background: var(--accent-main);
    color: #0E1A1F;
}

/* =========================================
   APP MOCKUP (Blue variant)
   ========================================= */
.app-screen {
    width: 240px;
    height: 420px;
    border-radius: 26px;
    border: 1px solid var(--accent-main);
    background: radial-gradient(circle at top, var(--halo-white), var(--warm-white));
    box-shadow: 0 18px 35px rgba(0,0,0,0.2);
    padding: 22px 18px;
    text-align: center;
    position: relative;
}

.app-logo-circle {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    border-radius: 50%;
    border: 2px solid var(--olive);
    box-shadow: 0 0 16px rgba(78,194,254,0.6);
}

.app-button {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    width: 70%;
    padding: 10px 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--halo-white));
    color: #0E1A1F;
    font-weight: 700;
}

/* =========================================
   CTA + FOOTER
   ========================================= */
.cta-section {
    background: linear-gradient(145deg, var(--halo-white), var(--warm-white));
    border-top: 1px solid var(--footer-border);
    border-bottom: 1px solid var(--footer-border);
}

.site-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    padding: 24px 0 30px;
}

.footer-note {
    color: #6b7560;
    font-size: 0.8rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .navbar { display: none; }
    .two-columns { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .btn { width: 100%; }
    .app-screen { transform: scale(0.9); }
}
/* ===========================================================
   FAQ BLOCKS – Clean, Premium, Radiant
   =========================================================== */
.faq-block {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 28px 26px;
    margin-bottom: 40px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/* Title of each section */
.faq-block h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: none;
    color: var(--text-color);
}

/* Paragraphs */
.faq-block p {
    margin-bottom: 12px;
    line-height: 1.65;
}

/* Lists */
.faq-block ul {
    margin: 12px 0 18px 0;
    padding-left: 22px;
}

.faq-block ul li {
    margin-bottom: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Divider between questions (soft, elegant) */
.faq-block + .faq-block {
    margin-top: 40px;
}
/* ===========================================================
   NFT TABLE – clean, elegant, scrollable on mobile
   =========================================================== */
.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 14px;
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    background: var(--section-alt-bg);
    border-radius: 14px;
    overflow: hidden;
}

/* Table headers */
.table-wrapper thead th {
    background: var(--accent-main);
    color: #000000;
    padding: 12px 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* Table rows */
.table-wrapper tbody td {
    padding: 12px 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-color);
}

/* Last row bottom border removed */
.table-wrapper tbody tr:last-child td {
    border-bottom: none;
}

/* Zebra effect (subtle) */
html[data-theme="blue"] .table-wrapper tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.6);
}
html[data-theme="dark"] .table-wrapper tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.06);
}
/* Enhance section title spacing */
#everything h2 {
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-main);
    display: inline-block;
}
html[data-theme="blue"] .faq-block {
    box-shadow: 0 10px 26px rgba(78, 194, 254, 0.28);
    border-color: rgba(78, 194, 254, 0.45);
}
/* =========================================
   FIX APP SECTION — FORCE 2 COLUMNS DESKTOP
   ========================================= */
#app .two-columns {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr !important;
    gap: 40px !important;
    align-items: center !important;
}

/* Make sure the mockup stays nicely positioned */
#app .app-mockup {
    display: flex !important;
    justify-content: center !important;
}

/* Prevent the text column from becoming too wide */
#app .two-columns > div:nth-child(2) {
    max-width: 600px;
}

/* MOBILE FIX (tel, tablette) */
@media (max-width: 900px) {
    #app .two-columns {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}
/* ======================================
   APP MOCKUP SLIDER (AUTO-CAROUSEL)
   ====================================== */

.mockup-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mockup-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease, transform 1.2s ease;
    border-radius: 26px;
}

/* slide visible */
.mockup-slide.active {
    opacity: 1;
    transform: scale(1);
}
/* ==========================================================
   HERO RIGHT-SIDE BIG LOGO (FIXED & OPTIMIZED)
   ========================================================== */

.hero {
    position: relative;
    overflow: hidden;
}

/* Radiant MUST be behind */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at top, rgba(240, 237, 228, 0.7), transparent 70%);
    pointer-events: none;
}

/* Big logo container */
.hero-big-logo {
    position: absolute;
    top: 50%;
    right: 5%; /* ← Corrected */
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    background-image: url("assets/logo_no_background.png"); /* ← Unified logo */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.25; /* slightly stronger */
    pointer-events: none;
    filter: drop-shadow(0 0 18px rgba(0,0,0,0.13));
    z-index: 5; /* ← Forces logo ABOVE the radiant */
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-big-logo {
        width: 350px;
        height: 350px;
        right: -10%;   /* better position for mobile/tablet */
        opacity: 0.12;
    }
}

@media (max-width: 600px) {
    .hero-big-logo {
        display: none;
    }
}
/* ==========================================================
   FINAL FIX — FORCE LOGO ABOVE EVERYTHING
   ========================================================== */

.hero {
    position: relative;
    z-index: 0; /* baseline */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1; /* radiant behind */
}

.hero-content {
    position: relative;
    z-index: 2; /* text above radiant */
}

/* BIG LOGO — TOP OF ALL */
.hero-big-logo {
    position: absolute;
    z-index: 10 !important; /* ← WINNER */
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    background-image: url("assets/logo_no_background.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.25;
    pointer-events: none;
    filter: drop-shadow(0 0 18px rgba(0,0,0,0.13));
}
/* ==========================================================
   MANIFESTO — Compact, Centered, Premium Layout
   ========================================================== */

.manifesto-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.3));
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.manifesto-wrapper {
    max-width: 650px; /* ← PLUS COMPACT */
    text-align: center; /* ← CENTRÉ */
}

.manifesto-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 28px;
    letter-spacing: 0.06em;
    color: var(--olive);
}

/* Texte plus compact */
.manifesto-content {
    font-size: 1.15rem;
    line-height: 1.55;   /* ← moins espacé */
    font-weight: 400;
    color: var(--text-color);
}

/* Réduction des marges entre paragraphes */
.manifesto-content p {
    margin-bottom: 14px; /* ← était ~22px */
}

/* Ligne finale accentuée */
.manifesto-content strong {
    display: block;
    margin-top: 20px;
    font-size: 1.25rem;
    color: var(--olive);
}

.manifesto-section::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px; /* un peu plus petit pour un look discret */
    height: 110px;
    background-image: url("assets/logo_no_background.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.12; /* encore plus doux */
    pointer-events: none;
}
.language-selector {
    margin-right: 10px;
}

.language-selector select {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--text-color);
    font-family: Kalam, sans-serif;
    cursor: pointer;
}
.blockchain-visual {
    width: 100%;        /* largeur relative — tu peux changer */
    max-width: 480px;   /* taille maximale de l’image */
    height: auto;       /* garde les proportions */
    display: block;
    margin: 0 auto;     /* centre l’image */
}
/* GRID 2 COLUMNS FOR BLOCKCHAIN */
#blockchain .two-columns {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* LEFT IMAGE */
.blockchain-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* IMAGE SIZE */
.blockchain-visual {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
}

/* RIGHT TEXT */
.blockchain-right {
    flex: 1;
}

/* TITLE */
#blockchain h2 {
    margin-bottom: 15px;
}

/* RESPONSIVE MOBILE */
@media (max-width: 900px) {
    #blockchain .two-columns {
        flex-direction: column;
        text-align: center;
    }

    .blockchain-right {
        text-align: center;
    }
}
/* ============================
   BACK TO TOP BUTTON
   ============================ */
#backToTop {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 48px;
    height: 48px;
    background: var(--blue);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
