@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/Inter.woff2') format('woff2');
}

:root {
    --primary: #0066ff;
    --primary-dark: #004dcc;
    --bg: #0a0c10;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text: #e1e4e8;
    --text-muted: #8b949e;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --danger: #ff4b2b;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ─── HEADER ────────────────────────────────────────────── */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: all 0.3s ease;
}
header.scrolled {
    background: rgba(10, 12, 16, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.5rem; font-weight: 800; color: #fff;
    text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
}
.logo-img { height: 36px; width: 36px; border-radius: 8px; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-weight: 500; transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--primary); }

.btn {
    padding: 0.8rem 1.5rem; border-radius: 50px;
    font-weight: 600; text-decoration: none;
    transition: all 0.3s ease; cursor: pointer; border: none;
    display: inline-block;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.25);
}
.btn-ghost {
    background: transparent; color: var(--text-muted);
    border: 1px solid var(--border);
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none; flex-direction: column; gap: 1rem;
    padding: 1.5rem 2rem 2rem;
    background: rgba(10, 12, 16, 0.98);
    border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--text); text-decoration: none; font-weight: 500;
    font-size: 1.1rem;
}
.mobile-menu .btn { text-align: center; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
    padding-top: 160px; padding-bottom: 100px;
    text-align: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: #6ba3ff;
    padding: 0.4rem 1.2rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: 1.5rem; letter-spacing: 0.5px;
}
.hero h1 {
    font-size: 4.5rem; font-weight: 900; line-height: 1.05;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero h1 span {
    background: linear-gradient(135deg, #0066ff, #7c3aed);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero > .container > p {
    font-size: 1.3rem; color: var(--text-muted);
    max-width: 600px; margin: 0 auto 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 2rem; margin-top: 4rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 900; color: #fff; }
.stat span { font-size: 0.85rem; color: var(--text-muted); }
.stat-sep { width: 1px; height: 40px; background: var(--border); }

.hero-visual {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.06);
}
.hero-img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

/* ─── APERCU APP ─────────────────────────────────────────── */
.app-preview {
    padding: 100px 0 80px;
    text-align: center;
}
.preview-label {
    display: inline-block;
    background: rgba(0, 102, 255, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.app-preview h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}
.preview-sub {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}
.preview-frame {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
}
.preview-bar {
    background: #1c1f26;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}
.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.preview-dot:nth-child(1) { background: #ff5f57; }
.preview-dot:nth-child(2) { background: #febc2e; }
.preview-dot:nth-child(3) { background: #28c840; }
.preview-url {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 3px 10px;
    margin: 0 8px;
}
.preview-img {
    width: 100%;
    display: block;
    border-radius: 0 0 16px 16px;
}

/* ─── DDPP ──────────────────────────────────────────────── */
.ddpp-section {
    padding: 100px 0;
    background: rgba(255, 75, 43, 0.04);
    border-top: 1px solid rgba(255, 75, 43, 0.15);
    border-bottom: 1px solid rgba(255, 75, 43, 0.15);
}
.ddpp-header { text-align: center; margin-bottom: 3rem; }
.ddpp-icon { font-size: 3rem; margin-bottom: 1rem; }
.ddpp-header h2 {
    font-size: 2.5rem; font-weight: 800;
    margin-bottom: 1rem; color: #fff;
}
.ddpp-header p { color: var(--text-muted); max-width: 680px; margin: 0 auto; }
.ddpp-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; margin-bottom: 3rem;
}
.ddpp-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255, 75, 43, 0.2);
    border-radius: 16px; padding: 2rem;
    transition: transform 0.3s ease;
}
.ddpp-card:hover { transform: translateY(-4px); }
.ddpp-card-red {
    background: rgba(255, 75, 43, 0.08);
    border-color: rgba(255, 75, 43, 0.4);
}
.ddpp-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.ddpp-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; color: #fff; }
.ddpp-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.ddpp-card strong { color: #ff8066; }
.ddpp-cta {
    text-align: center;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 16px; padding: 2rem;
}
.ddpp-cta p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.1rem; }
.ddpp-cta strong { color: #fff; }

/* ─── FEATURES ──────────────────────────────────────────── */
.features { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.feature-card { padding: 2.5rem; transition: transform 0.3s ease; }
.feature-card:hover { transform: translateY(-6px); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ─── STEPS ─────────────────────────────────────────────── */
.steps-section { padding: 100px 0; background: rgba(255,255,255,0.02); }
.steps {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 1.5rem; flex-wrap: wrap;
}
.step {
    flex: 1; min-width: 220px; max-width: 300px;
    text-align: center;
}
.step-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); color: #fff;
    font-size: 1.5rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
}
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.step p { color: var(--text-muted); font-size: 0.9rem; }
.step-arrow {
    font-size: 2rem; color: var(--primary);
    margin-top: 1.5rem; flex-shrink: 0;
}

/* ─── SECTEURS ──────────────────────────────────────────── */
.sectors { padding: 100px 0; }
.sectors-grid {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 1rem;
    max-width: 1000px; margin: 0 auto;
}
.sector-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 1.5rem; border-radius: 12px;
    font-weight: 500; font-size: 0.95rem;
    display: flex; align-items: center; gap: 0.6rem;
    transition: all 0.3s ease;
}
.sector-item:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}
.sector-item span { font-size: 1.3rem; }

/* ─── PRICING ───────────────────────────────────────────── */
.pricing { padding: 100px 0; text-align: center; }
.price-card {
    max-width: 440px; margin: 3rem auto 0;
    padding: 3rem; border: 1px solid rgba(0,102,255,0.4);
    display: flex; flex-direction: column; align-items: center;
}
.badge-internal {
    background: rgba(255, 75, 43, 0.12);
    color: #ff8066; padding: 5px 15px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 800;
    margin-bottom: 1.5rem; border: 1px solid rgba(255,75,43,0.25);
    text-transform: uppercase; letter-spacing: 1px;
}
.plan-name { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); margin-bottom: 1rem; }
.price-main { font-size: 3.5rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.unit { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.price-muted { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2rem; }
.price-list { text-align: left; list-style: none; margin-bottom: 2.5rem; width: 100%; }
.price-list li {
    padding: 0.6rem 0; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 0.75rem;
    color: var(--text);
}
.price-list li::before { content: '✓'; color: var(--primary); font-weight: 900; }
.price-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 1rem; }

/* ─── FOOTER ────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; }
.footer-inner {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 2rem; flex-wrap: wrap;
    margin-bottom: 2rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.75rem; line-height: 1.6; }
.footer-links {
    display: flex; flex-direction: column;
    gap: 0.75rem; text-align: right;
}
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* ─── MAILTO FALLBACK ──────────────────────────────────── */
.mailto-fallback {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}
.mailto-fallback-inner {
    background: #1c1f26; border: 1px solid var(--border);
    border-radius: 16px; padding: 2.5rem; text-align: center;
    max-width: 400px; width: 90%;
}
.mailto-fallback-inner p { color: var(--text-muted); margin-bottom: 0.75rem; }
.mailto-fallback-inner strong {
    display: block; color: var(--primary); font-size: 1.2rem;
    margin-bottom: 1.5rem; word-break: break-all;
}
.mailto-fallback-inner button {
    display: block; width: 100%; padding: 0.8rem;
    border-radius: 50px; font-weight: 600; cursor: pointer;
    border: none; font-size: 0.95rem; margin-bottom: 0.5rem;
}
.mailto-fallback-inner button:first-of-type {
    background: var(--primary); color: #fff;
}
.mailto-fallback-inner button:first-of-type:hover { background: var(--primary-dark); }
.mailto-fallback-inner .mailto-close {
    background: transparent; color: var(--text-muted);
    border: 1px solid var(--border);
}
.mailto-fallback-inner .mailto-close:hover { color: #fff; }

/* ─── HERO PHONE (Harold direct) ────────────────────────── */
.hero-phone {
    margin-top: 1.5rem;
    color: var(--text);
    font-size: 1rem;
}
.hero-phone a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}
.hero-phone a:hover { text-decoration: underline; }

/* ─── LEGAL NAV LINK (header CGV/Mentions) ──────────────── */
.legal-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.legal-nav-link:hover { color: var(--primary); }

/* ─── COOKIE BANNER ─────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9000;
    background: rgba(20, 23, 30, 0.96);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
}
.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}
.cookie-banner p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}
.cookie-banner p strong { color: var(--text); }
.cookie-banner a {
    color: var(--primary);
    text-decoration: underline;
}
.cookie-banner-btn {
    flex-shrink: 0;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }
    .cookie-banner-btn { width: 100%; }
}

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

    .hero h1 { font-size: 2.8rem; }
    .hero > .container > p { font-size: 1.1rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-stats { gap: 1rem; }
    .stat-sep { display: none; }

    .ddpp-header h2 { font-size: 1.8rem; }
    .ddpp-cards { grid-template-columns: 1fr; }

    .section-header h2 { font-size: 1.8rem; }
    .features-grid { grid-template-columns: 1fr; }

    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); margin: 0; }
    .step { max-width: 100%; }

    .sectors-grid { gap: 0.75rem; }
    .sector-item { padding: 0.75rem 1rem; font-size: 0.85rem; }

    .price-card { padding: 2rem 1.5rem; }
    .price-main { font-size: 2.8rem; }

    .footer-inner { flex-direction: column; }
    .footer-links { text-align: left; }

    .hero-phone { font-size: 0.95rem; }
}
