/* GC Groupe — Landing Page with Dark/Light theme */

/* ══ DARK THEME (default) ══ */
[data-theme="dark"] {
    --bg: #06080e;
    --bg-2: #0c0f18;
    --bg-card: rgba(14, 17, 28, .9);
    --bg-header: rgba(6,8,14,.85);
    --border: rgba(255,255,255,.06);
    --text: #f0f2f8;
    --text-2: #8b95ad;
    --text-3: #4b5572;
    --accent: #5595f2;
    --accent-2: #38acff;
    --input-bg: #0c0f18;
    --hero-glow-1: rgba(99,102,241,.12);
    --hero-glow-2: rgba(85,149,242,.08);
    --hero-glow-3: rgba(139,92,246,.06);
    --section-alt: #0c0f18;
    --shadow-card: rgba(0,0,0,.3);
    --icon-sun: none;
    --icon-moon: block;
}

/* ══ LIGHT THEME ══ */
[data-theme="light"] {
    --bg: #f8f9fc;
    --bg-2: #ffffff;
    --bg-card: rgba(255,255,255,.95);
    --bg-header: rgba(248,249,252,.9);
    --border: rgba(0,0,0,.08);
    --text: #1a1d2e;
    --text-2: #5b6380;
    --text-3: #8b95ad;
    --accent: #4a7cdc;
    --accent-2: #3668c9;
    --input-bg: #ffffff;
    --hero-glow-1: rgba(99,102,241,.06);
    --hero-glow-2: rgba(85,149,242,.04);
    --hero-glow-3: rgba(139,92,246,.03);
    --section-alt: #f0f2f7;
    --shadow-card: rgba(0,0,0,.06);
    --icon-sun: block;
    --icon-moon: none;
}

/* ══ Shared vars ══ */
:root {
    --gclab: #5595f2;
    --oktoprint: #81d8d0;
    --sohos: #6366f1;
    --green: #22c55e;
    --gradient: linear-gradient(135deg, #5595f2, #6366f1, #8b5cf6);
    --gradient-2: linear-gradient(135deg, #0ea5e9, #6366f1);
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
    --mono: 'SF Mono', 'Fira Code', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background .35s, color .35s;
}

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-2); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.muted { color: var(--text-3); font-size: .85rem; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--gradient); color: #fff; border: none; border-radius: 10px;
    padding: .6rem 1.25rem; font-size: .88rem; font-weight: 700;
    cursor: pointer; white-space: nowrap; transition: opacity .15s, transform .15s;
    text-decoration: none;
}
.btn:hover { opacity: .9; transform: translateY(-2px); color: #fff; }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .4rem .9rem; font-size: .8rem; border-radius: 8px; }
.btn-lg { padding: .75rem 1.75rem; font-size: .95rem; border-radius: 12px; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(99,102,241,.05); }

/* ── Theme Toggle ── */
.theme-toggle {
    background: none; border: 1px solid var(--border); border-radius: 8px;
    color: var(--text-2); cursor: pointer; padding: .35rem;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .2s, color .2s;
    width: 34px; height: 34px;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.icon-sun { display: var(--icon-sun, none); }
.icon-moon { display: var(--icon-moon, block); }

/* ── Header ── */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--bg-header); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background .35s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; gap: .5rem; }
.logo { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.3rem; font-weight: 900; color: var(--text); letter-spacing: -.02em; text-decoration: none; }
.logo img { height: 24px; width: auto; }
.logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav { display: flex; align-items: center; gap: 1.5rem; font-size: .88rem; }
.nav a { color: var(--text-2); font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle-wrap { display: none; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-2); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* ── Hero ── */
.hero {
    min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 6rem 0 3rem; position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, var(--hero-glow-1), transparent),
        radial-gradient(ellipse 50% 40% at 80% 90%, var(--hero-glow-2), transparent),
        radial-gradient(ellipse 40% 30% at 20% 70%, var(--hero-glow-3), transparent);
    transition: background .35s;
}
.scroll-hint {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    width: 24px; height: 40px; border: 2px solid var(--border); border-radius: 12px;
    animation: scrollBounce 2.5s ease-in-out infinite;
}
.scroll-hint::after {
    content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 8px; background: var(--accent); border-radius: 2px;
    animation: scrollDot 2.5s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100% { opacity:.3 } 50% { opacity:.7 } }
@keyframes scrollDot { 0%,100% { transform:translateX(-50%) translateY(0); opacity:.5 } 50% { transform:translateX(-50%) translateY(10px); opacity:1 } }

.hero-badge {
    display: inline-block; padding: .3rem 1rem; font-size: .75rem; font-weight: 600;
    color: var(--accent); background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.15);
    border-radius: 20px; margin-bottom: 1.5rem; letter-spacing: .03em; text-transform: uppercase;
}
.hero h1 { font-size: 4.2rem; font-weight: 900; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 1.25rem; }
.gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { color: var(--text-2); font-size: 1.2rem; max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.65; }
.hero-actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats { display: flex; justify-content: center; gap: 4rem; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 2.2rem; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat-label { font-size: .72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-top: .15rem; }

/* ── Sections ── */
.section { padding: 5rem 0; transition: background .35s; }
.section-alt { background: var(--section-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-badge {
    display: inline-block; padding: .25rem .85rem; font-size: .68rem; font-weight: 700;
    color: var(--accent); background: rgba(99,102,241,.08); border-radius: 20px;
    margin-bottom: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.section-header h2 { font-size: 2rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: .5rem; }
.section-sub { color: var(--text-2); font-size: 1rem; max-width: 480px; margin: 0 auto; }

/* ── Brand Cards ── */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.brand-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
    padding: 2rem 1.5rem; text-decoration: none; color: var(--text); display: block;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.brand-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px var(--shadow-card); color: var(--text); }
.brand-gclab:hover { border-color: rgba(85,149,242,.4); }
.brand-oktoprint:hover { border-color: rgba(129,216,208,.4); }
.brand-sohos:hover { border-color: rgba(99,102,241,.4); }
.brand-icon { font-size: 2.2rem; margin-bottom: .75rem; }
.brand-tag {
    display: inline-block; font-size: .62rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; padding: .15rem .55rem; border-radius: 5px; margin-bottom: .75rem;
}
.brand-gclab .brand-tag { background: rgba(85,149,242,.12); color: var(--gclab); }
.brand-oktoprint .brand-tag { background: rgba(129,216,208,.12); color: var(--oktoprint); }
.brand-sohos .brand-tag { background: rgba(99,102,241,.12); color: var(--sohos); }
.brand-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.brand-card p { font-size: .85rem; color: var(--text-2); margin-bottom: .85rem; line-height: 1.5; }
.brand-services { list-style: none; margin-bottom: 1rem; }
.brand-services li { font-size: .78rem; color: var(--text-3); padding: .2rem 0 .2rem 1.1rem; position: relative; }
.brand-services li::before { content: ''; position: absolute; left: 0; top: .55rem; width: 5px; height: 5px; border-radius: 50%; }
.brand-gclab .brand-services li::before { background: var(--gclab); }
.brand-oktoprint .brand-services li::before { background: var(--oktoprint); }
.brand-sohos .brand-services li::before { background: var(--sohos); }
.brand-link { font-size: .82rem; font-weight: 600; }
.brand-gclab .brand-link { color: var(--gclab); }
.brand-oktoprint .brand-link { color: var(--oktoprint); }
.brand-sohos .brand-link { color: var(--sohos); }

/* ── Tools Grid ── */
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.tool-card {
    display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
    transition: border-color .25s, transform .25s, box-shadow .25s; text-decoration: none; color: var(--text);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tool-card:hover { border-color: rgba(99,102,241,.25); transform: translateY(-3px); box-shadow: 0 8px 32px var(--shadow-card); color: var(--text); }
.tool-icon {
    width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center;
    justify-content: center; font-size: 1.3rem; flex-shrink: 0;
    background: color-mix(in srgb, var(--tool-color, #6366f1) 12%, transparent);
    color: var(--tool-color, #6366f1);
}
.tool-card h4 { font-size: .92rem; font-weight: 700; margin-bottom: .2rem; }
.tool-card p { font-size: .78rem; color: var(--text-3); line-height: 1.45; }

/* ── Contact Form ── */
.contact-form { display: flex; flex-direction: column; gap: .65rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.contact-form input, .contact-form textarea {
    background: var(--input-bg); border: 1px solid var(--border); border-radius: 10px;
    color: var(--text); font-family: var(--sans); font-size: .92rem;
    padding: .75rem 1rem; width: 100%; outline: none;
    transition: border-color .2s, box-shadow .2s, background .35s;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-3); }
.contact-form textarea { resize: vertical; min-height: 100px; }
/* ── Chip Select ── */
.chip-select {
    background: var(--input-bg); border: 1px solid var(--border); border-radius: 10px;
    padding: .75rem; transition: background .35s, border-color .2s;
}
.chip-label { font-size: .75rem; color: var(--text-3); margin-bottom: .55rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.chip-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.chip {
    background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
    color: var(--text-2); font-family: var(--sans); font-size: .82rem; font-weight: 500;
    padding: .6rem .5rem; cursor: pointer; text-align: center;
    transition: border-color .2s, background .2s, color .2s, transform .15s, box-shadow .2s;
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.active {
    background: var(--gradient); border-color: transparent; color: #fff; font-weight: 600;
    box-shadow: 0 2px 16px rgba(99,102,241,.3);
}

.contact-form select {
    background: var(--input-bg); border: 1px solid var(--border); border-radius: 10px;
    color: var(--text); font-family: var(--sans); font-size: .92rem;
    padding: .75rem 1rem; width: 100%; outline: none;
    transition: border-color .2s, box-shadow .2s, background .35s;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234b5572' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center;
    padding-right: 2.5rem; cursor: pointer;
}
.contact-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,.1); }
.contact-form select option { background: var(--bg-2); color: var(--text); padding: .5rem; }

/* ── Footer ── */
.footer { padding: 3rem 0 1.5rem; border-top: 1px solid var(--border); transition: background .35s; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer h5 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: .75rem; }
.footer a { display: block; color: var(--text-2); font-size: .85rem; padding: .2rem 0; text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer-bottom { text-align: center; font-size: .75rem; color: var(--text-3); padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: center; align-items: center; gap: .5rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: var(--accent); }

/* ── Nearby cities (SEO maillage) ── */
.nearby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; max-width: 100%; }
.nearby-card {
    display: block; padding: 1rem 1.25rem; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; text-decoration: none; color: var(--text);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.nearby-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-2px); box-shadow: 0 6px 24px var(--shadow-card); color: var(--text); }
.nearby-name { font-weight: 700; font-size: .92rem; margin-bottom: .15rem; }
.nearby-info { font-size: .75rem; color: var(--text-3); }

@media (max-width: 768px) { .nearby-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .nearby-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════ */
/* ══ SHOWCASE SECTIONS (Sohos.fr & Maggui)        ══ */
/* ══════════════════════════════════════════════════ */

.showcase {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    isolation: isolate;
}

/* Aurora background animé (DNA Sohos OS) */
.showcase-aurora {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.aurora-blob {
    position: absolute; border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    animation: drift 18s ease-in-out infinite alternate;
}
[data-theme="light"] .aurora-blob { opacity: .35; }
.showcase-sohos .a-1 { top: -15%; left: -10%; width: 55vw; height: 55vw;
    background: radial-gradient(ellipse at center, rgba(251,146,60,.45) 0%, rgba(245,158,11,.18) 35%, transparent 70%); }
.showcase-sohos .a-2 { bottom: -20%; right: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(ellipse at center, rgba(244,114,182,.30) 0%, rgba(251,146,60,.12) 40%, transparent 70%);
    animation-duration: 22s; animation-direction: alternate-reverse; }
.showcase-maggui .a-3 { top: -10%; right: -15%; width: 55vw; height: 55vw;
    background: radial-gradient(ellipse at center, rgba(124,58,237,.38) 0%, rgba(167,139,250,.15) 35%, transparent 70%); }
.showcase-maggui .a-4 { bottom: -15%; left: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(ellipse at center, rgba(225,29,72,.30) 0%, rgba(124,58,237,.10) 40%, transparent 70%);
    animation-duration: 24s; animation-direction: alternate-reverse; }

@keyframes drift {
    0%   { transform: translate(0,0) scale(1); }
    50%  { transform: translate(4%,3%) scale(1.05); }
    100% { transform: translate(-3%,5%) scale(.97); }
}

/* Layout 2 colonnes texte/mockup */
.showcase-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
    gap: 3.5rem;
    align-items: center;
}
.showcase-reverse { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
.showcase-reverse .showcase-text { order: 2; }
.showcase-reverse .showcase-mockup { order: 1; }

.showcase-text h2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 900; letter-spacing: -.04em; line-height: 1.05;
    margin-bottom: 1.25rem;
}
.showcase-sub {
    color: var(--text-2); font-size: 1.05rem; line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Gradients spécifiques produits */
.grad-warm {
    background: linear-gradient(135deg, #fb923c 0%, #f59e0b 50%, #ec4899 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.grad-rose {
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 50%, #e11d48 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Badge sous-titre */
.showcase-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(251,146,60,.10); border: 1px solid rgba(251,146,60,.25);
    color: #f59e0b;
    padding: .35rem 1rem; border-radius: 99px;
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.showcase-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.showcase-badge-rose {
    background: rgba(225,29,72,.10); border-color: rgba(225,29,72,.25); color: #e11d48;
}

/* Liste features */
.showcase-features {
    list-style: none; margin: 0 0 1.75rem; padding: 0;
}
.showcase-features li {
    display: flex; align-items: flex-start; gap: .65rem;
    font-size: .92rem; color: var(--text-2); line-height: 1.55;
    padding: .35rem 0;
}
.check {
    flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
    background: linear-gradient(135deg, #fb923c, #ec4899);
    color: #fff; font-size: .7rem; font-weight: 900;
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 1px;
}
.showcase-maggui .check { background: linear-gradient(135deg, #a78bfa, #e11d48); }

/* Actions */
.showcase-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-rose {
    background: linear-gradient(135deg, #a78bfa 0%, #e11d48 100%);
    box-shadow: 0 6px 28px rgba(225,29,72,.35);
}

/* Early access bandeau */
.early-access {
    display: flex; align-items: center; gap: .85rem; flex-wrap: wrap;
    padding: .85rem 1.2rem; margin-bottom: 1.25rem;
    background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.25);
    border-radius: 12px; font-size: .85rem; color: var(--text-2);
}
.ea-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f1300; padding: .25rem .7rem; border-radius: 6px;
    font-size: .72rem; font-weight: 800; letter-spacing: .03em;
    flex-shrink: 0;
}

/* Caption sous mockup */
.mockup-caption {
    text-align: center; font-size: .75rem; color: var(--text-3);
    margin-top: 1rem; font-style: italic;
}

/* ══ MOCKUP : Sohos OS Desktop ══ */
.os-window {
    background: linear-gradient(135deg, #fbbf24 0%, #fb923c 50%, #f59e0b 100%);
    border-radius: 14px;
    box-shadow:
        0 30px 80px -20px rgba(0,0,0,.45),
        0 8px 24px rgba(0,0,0,.2),
        0 0 0 1px rgba(255,255,255,.1);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    position: relative;
    transform: perspective(1400px) rotateY(-3deg) rotateX(2deg);
    transition: transform .5s ease;
}
.showcase-mockup:hover .os-window { transform: perspective(1400px) rotateY(-1deg) rotateX(1deg); }

/* Menu bar */
.os-menubar {
    height: 28px;
    background: rgba(120, 50, 0, .15);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; padding: 0 .65rem;
    gap: .55rem; font-size: .58rem; color: rgba(255,255,255,.92);
}
.os-menu-left { display: flex; align-items: center; gap: .35rem; font-weight: 700; }
.os-logo { font-size: .7rem; }
.os-brand { letter-spacing: .02em; }
.os-menu-search {
    flex: 1; max-width: 280px; margin: 0 auto;
    display: flex; align-items: center; gap: .35rem;
    background: rgba(255,255,255,.18); border-radius: 6px;
    padding: 3px 8px; font-size: .55rem; color: rgba(255,255,255,.7);
}
.os-menu-search .os-kbd {
    margin-left: auto; background: rgba(255,255,255,.2);
    padding: 1px 4px; border-radius: 3px; font-size: .5rem; color: rgba(255,255,255,.85);
}
.os-menu-right { display: flex; align-items: center; gap: .45rem; font-size: .55rem; }
.os-bell { color: #fff; }
.os-bell::after { content:''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #ef4444; margin-left: -3px; vertical-align: top; }
.os-avatar {
    width: 16px; height: 16px; border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    color: #fff; font-size: .55rem; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
}

/* Desktop area */
.os-desktop {
    position: relative;
    height: calc(100% - 28px - 38px);
    padding: .85rem;
    display: flex; justify-content: space-between;
}

/* Widgets gauche */
.os-widgets { display: flex; flex-direction: column; gap: .55rem; width: 22%; }
.os-widget {
    border-radius: 10px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    background: rgba(180, 100, 50, .25);
    border: 1px solid rgba(255,255,255,.18);
    padding: .55rem;
    color: rgba(255,255,255,.95);
    font-size: .52rem;
}
.os-widget-clock { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; }
.clock-face {
    position: relative; width: 60%; aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(120, 50, 0, .25);
    border: 1px solid rgba(255,255,255,.25);
}
.clock-face::before {
    content:''; position: absolute; inset: 4px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), transparent 60%);
}
.clock-hand {
    position: absolute; left: 50%; top: 50%; transform-origin: bottom center;
    background: rgba(255,255,255,.85); border-radius: 2px;
}
.clock-hand.h { width: 1.5px; height: 22%; transform: translate(-50%, -100%) rotate(70deg); }
.clock-hand.m { width: 1.5px; height: 32%; transform: translate(-50%, -100%) rotate(220deg); }
.clock-hand.s { width: 1px; height: 36%; background: #ef4444; transform: translate(-50%, -100%) rotate(45deg); }
.widget-label { font-size: .5rem; opacity: .85; }
.os-widget-weather { display: flex; flex-direction: column; gap: .15rem; }
.weather-icon { font-size: .85rem; }
.widget-temp { font-size: 1rem; font-weight: 800; line-height: 1; }
.widget-loc { font-size: .55rem; font-weight: 600; }
.widget-cond { font-size: .48rem; opacity: .8; }

/* Sidebar Espaces CRM */
.os-sidebar {
    width: 18%;
    display: flex; flex-direction: column; gap: .35rem;
    align-items: center;
}
.os-sidebar-title {
    font-size: .48rem; letter-spacing: .15em; text-transform: uppercase;
    color: rgba(255,255,255,.85); font-weight: 700; margin-bottom: .15rem;
}
.os-server { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.os-server-icon {
    width: 26px; height: 18px; border-radius: 4px;
    background: linear-gradient(180deg, #f1f5f9, #cbd5e1);
    box-shadow: 0 1px 3px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.6);
    position: relative;
}
.os-server-icon::before {
    content:''; position: absolute; left: 4px; right: 4px; top: 6px; height: 1.5px;
    background: rgba(0,0,0,.15); border-radius: 1px;
    box-shadow: 0 3px 0 rgba(0,0,0,.15);
}
.os-server-icon::after {
    content:''; position: absolute; right: 4px; top: 4px;
    width: 3px; height: 3px; border-radius: 50%; background: #22c55e;
    box-shadow: 0 0 4px #22c55e;
}
.os-server-label { font-size: .48rem; color: rgba(255,255,255,.92); font-weight: 600; text-align: center; }

/* Dock */
.os-dock {
    position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
    background: rgba(180, 100, 50, .25);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    padding: 4px 6px;
    display: flex; gap: 3px; align-items: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.dock-app {
    width: 18px; height: 18px; border-radius: 5px;
    background: var(--c, #6366f1);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .55rem; color: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.2);
    transition: transform .15s;
}
.dock-app:hover { transform: translateY(-3px) scale(1.15); }

/* ══ MOCKUP : Maggui CRM Window ══ */
.maggui-window {
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow:
        0 30px 80px -20px rgba(124, 58, 237, .35),
        0 8px 24px rgba(0,0,0,.25),
        0 0 0 1px rgba(255,255,255,.05);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    transform: perspective(1400px) rotateY(3deg) rotateX(2deg);
    transition: transform .5s ease;
}
.showcase-mockup:hover .maggui-window { transform: perspective(1400px) rotateY(1deg) rotateX(1deg); }

.mw-titlebar {
    height: 28px; background: rgba(124,58,237,.06);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: .55rem; padding: 0 .65rem;
}
.mw-dots { display: flex; gap: 4px; }
.mw-dots span { width: 8px; height: 8px; border-radius: 50%; }
.mw-dots span:nth-child(1) { background: #ef4444; }
.mw-dots span:nth-child(2) { background: #f59e0b; }
.mw-dots span:nth-child(3) { background: #22c55e; }
.mw-title { font-size: .58rem; color: var(--text-2); font-weight: 600; margin: 0 auto; }

.mw-body {
    display: grid; grid-template-columns: 90px 1fr;
    height: calc(100% - 28px);
}
.mw-sidebar {
    background: rgba(124,58,237,.04);
    border-right: 1px solid var(--border);
    padding: .6rem .35rem; display: flex; flex-direction: column; gap: 2px;
}
.mw-side-logo {
    font-size: .65rem; font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #e11d48);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: .35rem; padding: .15rem .35rem;
}
.mw-side-item {
    font-size: .52rem; color: var(--text-2);
    padding: .25rem .35rem; border-radius: 4px; line-height: 1.2;
}
.mw-side-item.active {
    background: linear-gradient(90deg, rgba(124,58,237,.15), rgba(225,29,72,.08));
    color: #a78bfa; font-weight: 700;
}

.mw-content {
    padding: .85rem; display: flex; flex-direction: column; gap: .65rem;
    background: var(--bg);
}
.mw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mw-stat {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: .5rem; border-radius: 6px;
}
.mw-stat-n {
    font-size: .85rem; font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1;
}
.mw-stat-l { font-size: .48rem; color: var(--text-3); margin-top: .15rem; text-transform: uppercase; letter-spacing: .05em; }

.mw-chart {
    display: flex; align-items: flex-end; gap: 4px;
    height: 50px;
    padding: .35rem; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 6px;
}
.mw-bar {
    flex: 1; height: var(--h);
    background: linear-gradient(180deg, #a78bfa, #e11d48);
    border-radius: 2px 2px 0 0;
    opacity: .85;
}

.mw-rows { display: flex; flex-direction: column; gap: 3px; }
.mw-row {
    display: flex; align-items: center; gap: .45rem;
    padding: .4rem .55rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .52rem; color: var(--text-2);
}
.mw-pill {
    font-size: .42rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    padding: 2px 5px; border-radius: 3px; flex-shrink: 0;
}
.mw-pill-green { background: rgba(34,197,94,.15); color: #22c55e; }
.mw-pill-orange { background: rgba(251,146,60,.15); color: #fb923c; }
.mw-pill-blue { background: rgba(59,130,246,.15); color: #3b82f6; }
.mw-amount { margin-left: auto; font-weight: 700; color: var(--text); }

/* Brands : 2 colonnes pour "Le groupe" */
.brands-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }

/* Mobile */
@media (max-width: 900px) {
    .showcase-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .showcase-reverse .showcase-text { order: 1; }
    .showcase-reverse .showcase-mockup { order: 2; }
    .os-window, .maggui-window { transform: none; }
    .showcase { padding: 4rem 0; }
    .brands-2 { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════ */
/* ══ PWA INSTALL BANNER                           ══ */
/* ══════════════════════════════════════════════════ */
.pwa-install {
    position: fixed; bottom: 1rem; left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 250;
    display: flex; align-items: center; gap: .9rem;
    width: calc(100% - 2rem); max-width: 460px;
    padding: .85rem 1rem;
    background: var(--bg-header);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,.25), 0 0 0 1px rgba(85,149,242,.1);
    opacity: 0;
    transition: opacity .3s ease, transform .3s cubic-bezier(.4,0,.2,1);
}
.pwa-install.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.pwa-install[hidden] { display: none; }

.pwa-install-icon {
    width: 44px; height: 44px; border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.pwa-install-text { flex: 1; min-width: 0; }
.pwa-install-title {
    font-size: .92rem; font-weight: 800; color: var(--text);
    line-height: 1.2; margin-bottom: .15rem;
}
.pwa-install-sub {
    font-size: .75rem; color: var(--text-2); line-height: 1.4;
}
.pwa-install-actions { display: flex; align-items: center; gap: .35rem; flex-shrink: 0; }
.pwa-install-cta { white-space: nowrap; }
.pwa-install-close {
    background: none; border: none; cursor: pointer;
    width: 28px; height: 28px; border-radius: 8px;
    color: var(--text-3); font-size: 1.4rem; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
}
.pwa-install-close:hover { background: var(--border); color: var(--text); }

/* Décale le banner cookies si install banner visible (les 2 en bas) */
.pwa-install.visible ~ #cookie-banner { bottom: 90px; }

@media (max-width: 480px) {
    .pwa-install { padding: .7rem .85rem; gap: .65rem; }
    .pwa-install-icon { width: 38px; height: 38px; }
    .pwa-install-title { font-size: .85rem; }
    .pwa-install-sub { font-size: .7rem; }
}

/* En mode standalone (PWA installée), masquer le banner d'install */
@media (display-mode: standalone) {
    .pwa-install { display: none !important; }
}

/* ══ ANIMATIONS ══ */

/* Fade in on load (hero elements) */
.anim-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .7s ease forwards;
    animation-delay: var(--delay, 0s);
}

/* Slide up on scroll (sections) */
.anim-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.anim-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.brands .anim-up:nth-child(1) { transition-delay: 0s; }
.brands .anim-up:nth-child(2) { transition-delay: .1s; }
.brands .anim-up:nth-child(3) { transition-delay: .2s; }
.tools-grid .anim-up:nth-child(1) { transition-delay: 0s; }
.tools-grid .anim-up:nth-child(2) { transition-delay: .05s; }
.tools-grid .anim-up:nth-child(3) { transition-delay: .1s; }
.tools-grid .anim-up:nth-child(4) { transition-delay: .15s; }
.tools-grid .anim-up:nth-child(5) { transition-delay: .2s; }
.tools-grid .anim-up:nth-child(6) { transition-delay: .25s; }
.tools-grid .anim-up:nth-child(7) { transition-delay: .3s; }
.tools-grid .anim-up:nth-child(8) { transition-delay: .35s; }
.tools-grid .anim-up:nth-child(9) { transition-delay: .4s; }
.tools-grid .anim-up:nth-child(10) { transition-delay: .45s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .anim-fade, .anim-up { animation: none; opacity: 1; transform: none; transition: none; }
    .scroll-hint { display: none; }
}

/* ══ MOBILE ══ */
@media (max-width: 768px) {
    .nav {
        display: none; position: fixed; top: 56px; left: 0; right: 0;
        background: var(--bg-header); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        flex-direction: column; padding: 1.5rem; gap: 1rem;
        border-bottom: 1px solid var(--border);
    }
    .nav.open { display: flex; }
    .nav .theme-toggle { display: none !important; }
    .nav-toggle-wrap { display: flex; align-items: center; gap: .5rem; }
    .nav-toggle { display: block; }
    .container { padding: 0 1.25rem; }
    .header { padding: .25rem .5rem; }
    .logo img { height: 40px !important; }
    .hero { padding: 5rem 0 3rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero-sub { font-size: .95rem; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-num { font-size: 1.6rem; }
    .brands { grid-template-columns: 1fr; gap: .85rem; }
    .tools-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .chip-options { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .section { padding: 3rem 0; }
    .section-header h2 { font-size: 1.5rem; }
    .scroll-hint { bottom: 1.5rem; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 1.7rem; }
    .hero-stats { flex-direction: column; gap: .75rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
