/* ── Design tokens (alignés sur l'identité Lynakor CRM) ── */
:root {
    --pub-bg:              #f0f6ff;
    --pub-card:            rgba(255, 255, 255, 0.95);
    --pub-border:          rgba(100, 130, 160, 0.18);
    --pub-text:            #1e293b;
    --pub-text-muted:      #64748b;
    --pub-accent:          #0891b2;
    --pub-accent-dim:      rgba(8, 145, 178, 0.10);
    --pub-accent-strong:   #0369a1;
    --pub-radius:          14px;
    --max-width:           1120px;
}

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

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: var(--pub-bg);
    color: var(--pub-text);
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Fixed decorative background gradient */
.pub-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(8, 145, 178, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%,  rgba(59, 130, 246, 0.06), transparent),
        radial-gradient(ellipse 50% 30% at 0%   80%,  rgba(6, 182, 212, 0.05),  transparent);
    pointer-events: none;
}

.pub-wrap {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
}

/* ── Header ── */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.site-logo {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: var(--pub-accent);
    text-decoration: none;
    line-height: 1;
}

.site-nav {
    display: flex;
    gap: 0.75rem;
}

.site-nav a {
    color: var(--pub-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.site-nav a:hover {
    color: var(--pub-text);
    background: rgba(0, 0, 0, 0.06);
}

/* ── Footer ── */
.site-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--pub-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    position: relative;
    z-index: 2;
}

.site-footer p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--pub-text-muted);
}

.site-footer a {
    color: var(--pub-accent);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* ── Hero section ── */
.lyn-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    margin-bottom: 5rem;
}

.lyn-hero-text {
    flex: 1 1 28rem;
    min-width: 0;
}

.lyn-badge {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    background: var(--pub-accent-dim);
    color: var(--pub-accent-strong);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 1.25rem;
}

.lyn-hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.15;
    margin: 0 0 1.25rem;
    font-weight: 700;
}

.lyn-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--pub-text-muted);
    margin: 0 0 1rem;
}

.lyn-lead strong {
    color: var(--pub-text);
}

.lyn-cta-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.lyn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
}

.lyn-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--pub-accent), var(--pub-accent-strong));
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.22);
}

.lyn-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(8, 145, 178, 0.32);
}

.lyn-hero-visual {
    flex: 0 0 auto;
    max-width: 420px;
}

.lyn-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

/* ── Sections ── */
.lyn-section {
    margin-bottom: 4.5rem;
}

.lyn-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.25;
    margin: 0 0 1rem;
    font-weight: 700;
}

.lyn-sub {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--pub-text-muted);
    margin: 0 0 2rem;
    max-width: 48rem;
}

/* ── Stats ── */
.lyn-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.lyn-stat {
    background: var(--pub-card);
    border: 1px solid var(--pub-border);
    border-radius: 16px;
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.lyn-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pub-accent);
    margin: 0 0 0.5rem;
}

.lyn-stat-label {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--pub-text);
}

.lyn-stat-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--pub-text-muted);
}

/* ── Pills ── */
.lyn-pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.lyn-pill {
    background: var(--pub-card);
    border: 1px solid var(--pub-border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lyn-pill strong {
    font-size: 0.95rem;
    color: var(--pub-text);
}

.lyn-pill span {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--pub-text-muted);
}

/* ── Steps ── */
.lyn-steps {
    display: grid;
    gap: 1rem;
}

.lyn-step {
    background: var(--pub-card);
    border: 1px solid var(--pub-border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lyn-step strong {
    font-size: 1.05rem;
    color: var(--pub-accent-strong);
    font-weight: 600;
}

.lyn-step span {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--pub-text-muted);
}

/* ── Cards (offer) ── */
.lyn-grid-2 {
    display: grid;
    gap: 1.5rem;
}

.lyn-card {
    background: var(--pub-card);
    border: 1px solid var(--pub-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.lyn-tag {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: var(--pub-accent-dim);
    color: var(--pub-accent-strong);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 1rem;
}

.lyn-card h3 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 0 0.85rem;
    font-weight: 600;
}

.lyn-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--pub-text-muted);
    margin: 0;
}

/* ── Page intro (Clara page) ── */
.page-intro {
    margin-bottom: 3rem;
}

.page-intro .lyn-badge {
    margin-bottom: 1rem;
}

.page-intro h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    font-weight: 700;
}

.page-intro .lyn-lead {
    font-size: 1.125rem;
    max-width: 44rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .lyn-hero {
        flex-direction: column;
        gap: 2rem;
    }

    .lyn-hero-visual {
        max-width: 100%;
    }

    .lyn-stats,
    .lyn-pill-grid {
        grid-template-columns: 1fr;
    }
}
