/* ============================================================
   home.css — Landing page bulltio.com
============================================================ */

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

:root {
    --cream:      #F7F5F0;
    --cream2:     #EFECE4;
    --gold:       #9A7B1A;
    --gold2:      #B8941F;
    --gold-light: #F0E8CC;
    --ink:        #1A1816;
    --ink2:       #4A4640;
    --ink3:       #8A8480;
    --white:      #FFFFFF;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
}

/* ══════════════════════════════════════════
   INTRO
══════════════════════════════════════════ */
.intro {
    position: relative;
    height: 100vh; min-height: 600px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: var(--ink);
    overflow: hidden;
}
.intro::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: .4; pointer-events: none; z-index: 0;
}
.intro::after {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(154,123,26,0.12) 0%, transparent 65%);
    pointer-events: none; z-index: 0;
}
.intro-content  { position: relative; z-index: 1; text-align: center; }
.intro-logo {
    width: min(420px, 85vw); margin: 0 auto;
    animation: logoReveal 1.2s cubic-bezier(.16,1,.3,1) both;
}
@keyframes logoReveal {
    from { opacity: 0; transform: translateY(30px) scale(.95); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.intro-line {
    width: 0; height: 1px; background: var(--gold);
    margin: 28px auto 20px;
    animation: lineGrow 1s .8s ease both;
}
@keyframes lineGrow { from { width: 0; } to { width: 180px; } }
.intro-tagline {
    font-size: 11px; font-weight: 400;
    letter-spacing: .22em; text-transform: uppercase;
    color: rgba(154,123,26,0.8);
    animation: fadeUp .8s 1.1s ease both;
}
.intro-scroll {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    cursor: pointer; z-index: 1;
    animation: fadeUp .6s 1.6s ease both;
    text-decoration: none;
}
.intro-scroll span {
    font-size: 10px; letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3); font-weight: 400;
}
.scroll-mouse {
    width: 22px; height: 34px;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 11px;
    display: flex; align-items: flex-start;
    justify-content: center; padding-top: 5px;
}
.scroll-wheel {
    width: 3px; height: 6px;
    background: rgba(154,123,26,0.7); border-radius: 2px;
    animation: scrollWheel 1.8s 2s ease-in-out infinite;
}
@keyframes scrollWheel {
    0%,100% { transform: translateY(0);   opacity: 1; }
    50%      { transform: translateY(8px); opacity: .3; }
}
.intro-candles {
    position: absolute; inset: 0;
    z-index: 0; pointer-events: none; opacity: .18;
}

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 60px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(247,245,240,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(154,123,26,0.15);
    transition: background .3s;
}
nav.dark {
    background: rgba(26,24,22,0.92);
    border-bottom-color: rgba(154,123,26,0.2);
}
nav.dark .nav-logo svg      { --bull-body: #ffffff; --bull-eye-bg: #1a1a1a; --bull-muzzle: #1a1a1a; }
nav:not(.dark) .nav-logo svg { --bull-body: #1a1a1a; --bull-eye-bg: #ffffff; --bull-muzzle: #ffffff; }
nav.dark .btn-login          { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }
nav.dark .btn-login:hover    { background: rgba(255,255,255,0.1); }
.nav-logo  { display: flex; align-items: center; gap: 10px; }
.nav-brand {
    font-family: 'EB Garamond', serif;
    font-size: 20px; font-weight: 700;
    letter-spacing: 2px; color: var(--ink); transition: color .3s;
}
nav.dark .nav-brand { color: #ffffff; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.btn-login {
    padding: 8px 20px; border: 1px solid var(--ink); border-radius: 2px;
    font-size: 13px; font-weight: 500; color: var(--ink);
    background: transparent; cursor: pointer;
    text-decoration: none; transition: all .2s; letter-spacing: .03em;
}
.btn-login:hover { background: var(--ink); color: var(--white); }
.btn-signup {
    padding: 8px 20px; border: 1px solid var(--gold); border-radius: 2px;
    font-size: 13px; font-weight: 500; color: var(--white);
    background: var(--gold); cursor: pointer;
    text-decoration: none; transition: all .2s; letter-spacing: .03em;
}
.btn-signup:hover { background: var(--gold2); border-color: var(--gold2); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 120px 60px 80px; gap: 60px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(154,123,26,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-text { animation: fadeUp .8s ease both; }
.hero-eyebrow {
    font-size: 11px; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
    display: flex; align-items: center; gap: 10px; margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
h1 {
    font-family: 'EB Garamond', serif;
    font-size: 58px; line-height: 1.1;
    font-weight: 600; letter-spacing: -.5px;
    color: var(--ink); margin-bottom: 24px;
}
h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
    font-size: 16px; line-height: 1.7;
    color: var(--ink2); max-width: 420px;
    font-weight: 300; margin-bottom: 40px;
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-primary {
    padding: 14px 32px; background: var(--ink); color: var(--white);
    border: none; border-radius: 2px;
    font-size: 14px; font-weight: 500; cursor: pointer;
    text-decoration: none; transition: all .2s; letter-spacing: .03em;
}
.cta-primary:hover { background: var(--gold); transform: translateY(-1px); }
.cta-secondary {
    font-size: 14px; color: var(--ink2); text-decoration: none;
    display: flex; align-items: center; gap: 6px;
    font-weight: 400; transition: color .2s;
}
.cta-secondary:hover { color: var(--gold); }
.cta-secondary svg { transition: transform .2s; }
.cta-secondary:hover svg { transform: translateX(3px); }
.hero-visual { animation: fadeUp .8s .2s ease both; position: relative; }

/* ══════════════════════════════════════════
   APP MOCKUP — Design Bulltio V2
══════════════════════════════════════════ */
.app-mockup {
    width: 100%; border-radius: 12px;
    box-shadow: 0 24px 80px rgba(26,24,22,0.18), 0 4px 16px rgba(26,24,22,0.08);
    background: #F7F6F3; overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    font-family: 'DM Sans', sans-serif;
}

/* Topbar */
.mock-topbar {
    height: 44px; background: #F7F6F3;
    border-bottom: 1px solid #E5E2DC;
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}
.mock-topbar-title {
    font-family: 'EB Garamond', serif;
    font-size: 13px; font-weight: 500; color: #1A1916;
}
.mock-topbar-actions { display: flex; align-items: center; gap: 6px; }
.mock-icon-btn {
    width: 24px; height: 24px; border-radius: 6px;
    border: 1px solid #E5E2DC; background: #fff;
}
.mock-avatar {
    width: 24px; height: 24px; border-radius: 50%;
    background: #F5F0E0; color: #9A7B1A;
    font-size: 8px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
}

/* Sidebar */
.mock-sidebar {
    width: 160px; background: #fff;
    border-right: 1px solid #E5E2DC;
    height: 300px; padding: 12px 8px;
    display: flex; flex-direction: column;
    flex-shrink: 0;
}
.mock-brand {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 8px 12px;
    border-bottom: 1px solid #E5E2DC;
    margin-bottom: 8px;
}
.mock-brand-icon {
    width: 22px; height: 22px; border-radius: 6px;
    background: #2D7D46;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mock-brand-name {
    font-family: 'EB Garamond', serif;
    font-size: 13px; color: #1A1916;
}
.mock-pf-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 8px; border-radius: 6px;
    background: #F0EEE9; margin-bottom: 10px;
}
.mock-pf-dot   { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.mock-pf-name  { flex: 1; font-weight: 500; font-size: 9px; color: #1A1916; }
.mock-pf-chev  { color: #9C9A94; font-size: 11px; }
.mock-nav-label {
    font-size: 8px; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: #9C9A94;
    padding: 4px 8px; margin-bottom: 2px;
}
.mock-nav-item {
    display: flex; align-items: center; gap: 6px;
    padding: 5px 8px; border-radius: 6px;
    font-size: 9px; color: #6B6860; margin-bottom: 1px;
}
.mock-nav-item.active { background: #EAF2ED; color: #2D7D46; font-weight: 500; }
.mock-nav-icon { font-size: 8px; opacity: .5; }
.mock-user {
    display: flex; align-items: center; gap: 6px;
    margin-top: auto; padding: 8px;
    border-top: 1px solid #E5E2DC;
}
.mock-user-avatar {
    width: 22px; height: 22px; border-radius: 50%;
    background: #F5F0E0; color: #9A7B1A;
    font-size: 7px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mock-user-name { font-size: 8px; font-weight: 500; color: #1A1916; }
.mock-user-role { font-size: 7px; color: #9C9A94; }

/* Main */
.mock-main { flex: 1; padding: 12px; overflow: hidden; }

/* Métriques */
.mock-metrics {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 6px; margin-bottom: 10px;
}
.mock-metric {
    background: #fff; border: 1px solid #E5E2DC;
    border-radius: 8px; padding: 8px 10px;
}
.mock-metric-label {
    font-size: 7px; font-weight: 600; letter-spacing: .05em;
    text-transform: uppercase; color: #9C9A94; margin-bottom: 3px;
}
.mock-metric-val {
    font-family: 'EB Garamond', serif;
    font-size: 14px; font-weight: 600; color: #1A1916;
}
.mock-metric-sub { font-size: 7px; color: #9C9A94; margin-top: 2px; }

/* Tableau */
.mock-table-card {
    background: #fff; border: 1px solid #E5E2DC;
    border-radius: 8px; overflow: hidden;
}
.mock-table-header {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-bottom: 1px solid #E5E2DC;
    font-size: 9px; font-weight: 500; color: #1A1916;
}
.mock-badge-green {
    font-size: 7px; font-weight: 600;
    background: #EAF2ED; color: #2D7D46;
    padding: 2px 6px; border-radius: 20px;
}
.mock-table { width: 100%; }
.mock-tr {
    display: flex; align-items: center;
    border-bottom: 1px solid #F2F0EC;
    padding: 5px 10px;
}
.mock-tr:last-child { border-bottom: none; }
.mock-th { background: #F7F6F3; }
.mock-th .mock-td {
    font-size: 7px; color: #9C9A94;
    font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.mock-td          { font-size: 8px; color: #1A1916; }
.mock-td-asset    { flex: 1.5; }
.mock-td-right    { flex: 1; text-align: right; }
.mock-td-badge    { flex: 1; text-align: right; }
.mock-ticker-main { font-size: 9px; font-weight: 600; color: #1A1916; }
.mock-ticker-sub  { font-size: 7px; color: #9C9A94; }
.mock-change      { font-size: 7px; }
.mock-bold        { font-weight: 600; }
.mock-green       { color: #2D7D46; }
.mock-red         { color: #C0392B; }

/* Badges signal */
.mock-badge {
    font-size: 6px; font-weight: 600;
    padding: 2px 5px; border-radius: 20px;
    white-space: nowrap; display: inline-block;
}
.mock-badge-buy  { background: #EAF2ED; color: #2D7D46; }
.mock-badge-hold { background: #F5F0E0; color: #9A7B1A; }
.mock-badge-sell { background: #FAEAE8; color: #C0392B; }

/* ══════════════════════════════════════════
   FEATURES
══════════════════════════════════════════ */
.features {
    padding: 100px 60px;
    background: var(--white);
    border-top: 1px solid rgba(154,123,26,0.12);
}

.section-label {
    font-size: 11px; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 16px; justify-content: center;
}
.section-label::before,
.section-label::after {
    content: ''; flex: 1; max-width: 60px; height: 1px; background: var(--gold);
}

h2 {
    font-family: 'EB Garamond', serif; font-size: 42px; font-weight: 600;
    text-align: center; letter-spacing: -.3px; margin-bottom: 16px;
}

.section-sub {
    text-align: center; color: var(--ink2); font-size: 15px;
    font-weight: 300; max-width: 480px; margin: 0 auto 56px; line-height: 1.6;
}

/* Grille 3 colonnes */
.features-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #E5E2DC;
    border: 1px solid #E5E2DC;
    border-radius: 10px;
    overflow: hidden;
}

.feature-card-large {
    background: var(--white);
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: background .2s;
    position: relative;
}

.feature-card-large::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .3s;
    transform-origin: left;
}

.feature-card-large:hover { background: #FAFAF8; }
.feature-card-large:hover::after { transform: scaleX(1); }

/* Carte mise en avant */
.feature-card-large.featured {
    background: #FAFAF6;
}
.feature-card-large.featured .feature-icon-large {
    background: var(--ink);
}
.feature-card-large.featured .feature-icon-large svg {
    stroke: var(--gold);
}

/* Carte pleine largeur */
.feature-card-full {
    grid-column: 1 / -1;
}

/* Icône */
.feature-icon-large {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--gold-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.feature-icon-large svg {
    width: 17px; height: 17px;
    stroke: var(--gold); fill: none; stroke-width: 1.5;
}

/* Texte */
.feature-card-body { flex: 1; }

.feature-title-large {
    font-family: 'EB Garamond', serif;
    font-size: 18px; font-weight: 600;
    color: var(--ink); margin-bottom: 6px;
}

.feature-desc-large {
    font-size: 13px; line-height: 1.7;
    color: var(--ink2); font-weight: 300;
}

.feature-desc-large strong {
    font-weight: 600; color: var(--ink);
}

/* Responsive */
@media (max-width: 900px) {
    .features-grid-large { grid-template-columns: 1fr 1fr; }
    .feature-card-full   { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .features-grid-large { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   CTA
══════════════════════════════════════════ */
.cta-section {
    padding: 100px 60px; text-align: center;
    position: relative; overflow: hidden;
    background: var(--ink);
}
.cta-section::before {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(154,123,26,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section .section-label { color: rgba(154,123,26,0.8); }
.cta-section .section-label::before,
.cta-section .section-label::after { background: rgba(154,123,26,0.4); }
.cta-section h2 { color: var(--white); }
.cta-section .section-sub { color: rgba(255,255,255,0.55); }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-big {
    padding: 16px 40px; background: var(--gold); color: var(--white);
    border: none; border-radius: 2px;
    font-size: 15px; font-weight: 500; cursor: pointer;
    text-decoration: none; transition: all .2s; letter-spacing: .03em;
}
.cta-big:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(154,123,26,.3); }
.cta-ghost {
    padding: 16px 40px; background: transparent; color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2); border-radius: 2px;
    font-size: 15px; font-weight: 400; cursor: pointer;
    text-decoration: none; transition: all .2s;
}
.cta-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
    padding: 24px 60px;
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid #E5E2DC; background: var(--cream);
    font-size: 11px; color: var(--ink3);
}
footer a { color: var(--ink3); text-decoration: none; }
footer a:hover { color: var(--gold); }

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.features-grid .feature-card               { animation: fadeUp .6s ease both; }
.features-grid .feature-card:nth-child(1)  { animation-delay: .1s; }
.features-grid .feature-card:nth-child(2)  { animation-delay: .2s; }
.features-grid .feature-card:nth-child(3)  { animation-delay: .3s; }
.features-grid .feature-card:nth-child(4)  { animation-delay: .4s; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
    nav                 { padding: 16px 24px; }
    .hero               { grid-template-columns: 1fr; padding: 100px 24px 60px; gap: 40px; }
    h1                  { font-size: 38px; }
    .features           { padding: 60px 24px; }
    .features-grid      { grid-template-columns: 1fr 1fr; }
    .feature-card       { border-right: none; border-bottom: 1px solid #E5E2DC; }
    .cta-section        { padding: 60px 24px; }
    footer              { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
    .mock-sidebar       { width: 120px; }
    .mock-metrics       { grid-template-columns: 1fr 1fr; }
    .mock-metric:last-child { display: none; }
}
/* ── Fix décalage nav fixe ── */
main {
    padding-top: 0;
    margin-top: 0;
}

.intro {
    margin-top: 0;
}

/* ── Fix Bootstrap reset ── */
body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.intro {
    margin-top: 0 !important;
}