﻿@charset "UTF-8";
/* Page de présentation commerciale — /Presentation */

:root {
    --ink: #1d2433;
    --muted: #5d6678;
    --line: #e4e7ee;
    --bg: #ffffff;
    --bg-alt: #f5f7fb;
    --brand: #902b68;
    --brand-dark: #621c4d;
    --accent: #b8327f;
    --s1: #f8e4f0; --s1-ink: #902b68;
    --s2: #ffe9dc; --s2-ink: #b4501d;
    --s3: #e5f6e8; --s3-ink: #2e7d3e;
    --radius: 14px;
    --shadow: 0 18px 40px rgba(29, 36, 51, .12);
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--muted); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 780px; }

.eyebrow {
    display: inline-block;
    font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand);
    margin-bottom: .75rem;
}

/* Boutons */
.btn {
    display: inline-block; padding: .6rem 1.1rem; border-radius: 999px;
    font-weight: 500; font-size: .95rem; transition: all .2s; white-space: nowrap;
    border: 1px solid transparent;
}
.btn-lg { padding: .85rem 1.5rem; font-size: 1rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--brand); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }

/* Navigation */
.nav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; display: block; }

/* Barre d'accès rapide, visible uniquement sur mobile */
.mobile-bar { display: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: .92rem; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }

/* Hero */
.hero {
    padding: 72px 0 88px;
    background:
        radial-gradient(900px 400px at 85% 10%, rgba(144,43,104,.13), transparent 60%),
        radial-gradient(700px 360px at 0% 100%, rgba(193,97,151,.12), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 1.1rem; max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: .9rem; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--s3-ink); font-weight: 700; margin-right: 6px; }

/* Maquette planning */
.mock {
    position: relative; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--line); overflow: visible;
}
.mock-bar {
    display: flex; align-items: center; gap: 6px; padding: 12px 16px;
    border-bottom: 1px solid var(--line); font-size: .85rem;
}
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar b { margin-left: 10px; font-weight: 600; }
.mock-grid { width: 100%; border-collapse: collapse; font-size: .8rem; }
.mock-grid th, .mock-grid td { padding: 9px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.mock-grid th { color: var(--muted); font-weight: 500; background: var(--bg-alt); }
.mock-grid td:first-child, .mock-grid th:first-child { text-align: left; padding-left: 16px; font-weight: 500; }
.mock-grid tfoot td { font-weight: 600; border-bottom: 0; background: var(--bg-alt); }
.mock-grid .ok { color: var(--s3-ink); font-weight: 600; }
.mock-grid .warn { color: #fff; background: var(--accent); font-weight: 700; }

.s {
    display: inline-block; padding: 3px 8px; border-radius: 6px;
    font-style: normal; font-size: .75rem; font-weight: 500; white-space: nowrap;
}
.s1 { background: var(--s1); color: var(--s1-ink); }
.s2 { background: var(--s2); color: var(--s2-ink); }
.s3 { background: var(--s3); color: var(--s3-ink); }
.off { background: #f0f1f4; color: #8a91a0; }
.conge { background: #efe6ff; color: #6b3fbf; }
.indispo { background: repeating-linear-gradient(135deg, #fde3e3 0 6px, #fff 6px 12px); color: #b42d2d; }

.mock-toast {
    position: absolute; right: -18px; bottom: -26px; max-width: 260px;
    background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 14px;
    font-size: .8rem; line-height: 1.4; box-shadow: var(--shadow);
}
.mock-toast strong { display: block; color: #f2a6cf; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }

/* Bandeau problèmes */
.band { background: var(--ink); color: #fff; padding: 28px 0; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pains strong { display: block; font-size: 1.05rem; }
.pains span { color: #b6bdcc; font-size: .92rem; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

/* Fonctionnalités */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature p { font-size: .93rem; }
.feature ul { margin: 0; padding: 0; list-style: none; font-size: .88rem; }
.feature li { padding: 4px 0 4px 20px; position: relative; color: var(--ink); }
.feature li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 16px; }
.ico-1 { background: var(--s1); }
.ico-2 { background: #fde3e3; }
.ico-3 { background: #efe6ff; }
.ico-4 { background: #fff3cf; }
.ico-5 { background: var(--s3); }
.ico-6 { background: var(--s2); }

/* Mobile */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.phone {
    justify-self: center; width: 280px; padding: 12px; border-radius: 38px;
    background: var(--ink); box-shadow: var(--shadow);
}
.phone-screen { background: #fff; border-radius: 28px; padding: 22px 16px; min-height: 480px; }
.ph-head { font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.ph-day {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; font-size: .82rem;
}
.ph-notif { margin: 16px 0; padding: 10px 12px; border-radius: 12px; background: var(--s3); color: var(--s3-ink); font-size: .8rem; font-weight: 500; }
.ph-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-actions span { text-align: center; padding: 9px; border-radius: 10px; background: var(--bg-alt); font-size: .8rem; font-weight: 500; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks li { padding-left: 28px; position: relative; font-size: .95rem; }
.checks li::before {
    content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--brand); color: #fff; font-size: .7rem; display: grid; place-items: center;
}

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: none; }
.steps li { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.steps b {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent); color: #fff; margin-bottom: 14px;
}

/* Profils */
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.role { background: #fff; border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--brand); }
.role:nth-child(2) { border-top-color: var(--accent); }
.role:nth-child(3) { border-top-color: var(--s3-ink); }
.role:nth-child(4) { border-top-color: #6b3fbf; }
.role:nth-child(5) { border-top-color: #8a91a0; }
.role p { font-size: .88rem; margin: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; }

/* CTA final */
.cta { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; padding: 80px 0; text-align: center; }
.cta p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 28px; }

/* Pied de page */
.footer { padding: 26px 0; font-size: .85rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer a:hover { color: var(--brand); }

/* Responsive */
@media (max-width: 1000px) {
    .roles { grid-template-columns: repeat(3, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-cta { margin-left: auto; }
    .hero { padding: 48px 0 72px; }
    .hero-inner, .split { grid-template-columns: 1fr; gap: 48px; }
    .mock-toast { right: 8px; }
    .pains, .steps { grid-template-columns: 1fr; }
    .roles { grid-template-columns: 1fr 1fr; }
    .section { padding: 64px 0; }
}
@media (max-width: 560px) {
    /* En-tête : on garde « Se connecter » visible, la démo passe dans la barre du bas */
    .nav-inner { height: 60px; }
    .brand img { height: 44px; }
    .nav-cta .btn-demo { display: none; }
    .nav-cta .btn-login { background: var(--accent); border-color: var(--accent); color: #fff; }

    .mobile-bar {
        display: flex; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
        border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(29,36,51,.08);
    }
    .mobile-bar .btn { flex: 1; text-align: center; padding: .8rem 1rem; }
    .mobile-bar .btn-primary { flex: 2; }
    body { padding-bottom: 76px; }

    .features, .roles, .checks { grid-template-columns: 1fr; }
    .mock { overflow-x: auto; }
    .mock-grid { min-width: 480px; }
    .mock-toast { position: static; max-width: none; margin: 12px; }
    .phone { width: 100%; max-width: 280px; }
}
