/* ═══════════════════════════════════════════════════
   shared.css — Styles communs à toutes les pages
   SolidApps SAS
═══════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
    --bg: #272727;
    --bg2: #2D2D2D;
    --bg3: #333333;
    --bg4: #3A3A3A;
    --border: rgba(160,189,195,0.16);
    --border2: rgba(160,189,195,0.32);
    --gloss: rgba(255,255,255,0.07);
    --text: #F5F5F5;
    --text-2: #A0BDC3;
    --text-3: #7A8A95;
    --accent: #A6B727;
    --accent-2: #8F9E22;
    --accent-3: #7A8A1C;
    --accent-glow: rgba(166,183,39,0.25);
    --blue: #418AB3;
    --red: #EF4444;
    --yellow: #F59E0B;
    --r: 8px;
    --r-lg: 14px;
    --r-xl: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ── LAYOUT ── */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2.25rem;
}

.container-sm {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2.25rem;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 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.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.4;
}

/* ── TYPOGRAPHY ── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(166,183,39,0.08);
    border: 1px solid rgba(166,183,39,0.25);
}

    .eyebrow::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 8px var(--accent-glow);
        flex-shrink: 0;
    }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: var(--r);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border: none;
    text-decoration: none;
}

.btn-accent {
    background: linear-gradient(180deg, #C4D14A 0%, var(--accent) 45%, var(--accent-2) 100%);
    color: #1a1e00;
    box-shadow:
        0 4px 20px var(--accent-glow),
        0 8px 32px rgba(166,183,39,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4),
        inset 0 -2px 0 rgba(0,0,0,0.18);
}

    .btn-accent:hover {
        transform: translateY(-2px);
        box-shadow:
            0 8px 36px rgba(166,183,39,0.45),
            inset 0 1px 0 rgba(255,255,255,0.4),
            inset 0 -2px 0 rgba(0,0,0,0.18);
        color: #1a1e00;
    }

.btn-outline {
    background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
    color: var(--text);
    border: 1.5px solid var(--border2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.12), 0 2px 12px rgba(0,0,0,0.2);
}

    .btn-outline:hover {
        border-color: rgba(255,255,255,0.35);
        background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 4px 16px rgba(0,0,0,0.25);
    }

.btn-ghost {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    color: var(--text-2);
    font-size: 13px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 1px 6px rgba(0,0,0,0.15);
}

    .btn-ghost:hover {
        color: var(--text);
        border-color: var(--border2);
        background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    }

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: linear-gradient(180deg, rgba(55,55,55,0.96) 0%, rgba(35,35,35,0.94) 100%);
    border-bottom: 1px solid var(--border2);
    backdrop-filter: blur(32px) saturate(1.4);
    -webkit-backdrop-filter: blur(32px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 32px rgba(0,0,0,0.4);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .nav-logo img {
        height: 36px;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

    .nav-links a {
        font-size: 13px;
        font-weight: 500;
        color: var(--text-2);
        transition: color 0.2s;
    }

        .nav-links a:hover {
            color: var(--text);
        }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ── FOOTER ── */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo img {
    height: 32px;
    opacity: 0.7;
}

.footer-links-row {
    display: flex;
    gap: 2rem;
}

    .footer-links-row a {
        font-size: 13px;
        color: var(--text-3);
        transition: color 0.2s;
    }

        .footer-links-row a:hover {
            color: var(--text-2);
        }

.footer-copy {
    font-size: 12px;
    color: var(--text-3);
}

/* ── DIVIDER ── */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border2), transparent);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta .btn-ghost {
        display: none;
    }

    .container,
    .container-sm {
        padding: 0 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links-row {
        flex-wrap: wrap;
        gap: 1rem;
    }
}
