/* Cartésys — Feuille de style principale */

:root {
    --bg: #0f172a;
    --bg-soft: #1e293b;
    --fg: #e2e8f0;
    --fg-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-2: #818cf8;
    --border: rgba(148, 163, 184, 0.15);
    --card: rgba(30, 41, 59, 0.6);
}

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

html, body { height: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    color: var(--fg);
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(56, 189, 248, 0.12), transparent 60%),
        radial-gradient(1000px 500px at -10% 110%, rgba(129, 140, 248, 0.12), transparent 60%),
        var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

header.site-header {
    position: relative;
    z-index: 2;
    padding: 28px clamp(20px, 5vw, 60px);
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

main {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px clamp(20px, 5vw, 60px) 60px;
}

.card {
    width: 100%;
    max-width: 760px;
    text-align: center;
    padding: clamp(32px, 5vw, 56px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--accent);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 999px;
    margin-bottom: 28px;
}

.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.6;
    color: var(--fg-muted);
    max-width: 560px;
    margin: 0 auto 32px;
}

.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 auto 36px;
    max-width: 560px;
}

@media (max-width: 520px) {
    .services { grid-template-columns: 1fr; }
}

.service {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--fg);
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: left;
}

.service svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.progress-wrap {
    margin: 0 auto 32px;
    max-width: 560px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--fg-muted);
    margin-bottom: 8px;
}

.progress {
    position: relative;
    height: 8px;
    background: rgba(148, 163, 184, 0.15);
    border-radius: 999px;
    overflow: hidden;
}

.progress::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 35%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 999px;
    animation: load 2.4s ease-in-out infinite;
}

@keyframes load {
    0%   { transform: translateX(-100%); }
    50%  { transform: translateX(150%); }
    100% { transform: translateX(300%); }
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(56, 189, 248, 0.35);
}

footer.site-footer {
    position: relative;
    z-index: 2;
    padding: 24px clamp(20px, 5vw, 60px);
    text-align: center;
    font-size: 13px;
    color: var(--fg-muted);
    border-top: 1px solid var(--border);
}

footer.site-footer a {
    color: var(--fg);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

footer.site-footer a:hover { border-color: var(--fg); }

.social-links {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.social-links a {
    display: inline-flex;
    color: var(--fg-muted);
    border: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.social-links a:hover {
    color: var(--fg);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}
