/* Socle commun des pages solutions de myefficioflow.com — même charte que l'accueil
   (index.html garde son CSS embarqué ; les pages solutions partagent ce fichier). */
:root {
    --primary: #1e6fe8;
    --primary-dark: #1558c4;
    --accent: #38bdf8;
    --navy: #0f172a;
    --basic: #34a853;
    --premium: #2563eb;
    --ultra: #ea4335;
    --genius: #8e44ad;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 20px 40px rgba(15, 23, 42, .07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; color: var(--text-dark); line-height: 1.65; background: #fff; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
section { scroll-margin-top: 90px; }

.icon { width: 24px; height: 24px; stroke: var(--primary); stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ── Navbar ── */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, .06); z-index: 1000;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 68px; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.brand img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { font-weight: 500; font-size: .92rem; color: #334155; }
.nav-links a:hover { color: var(--primary); }
.btn-nav { background: var(--primary); color: #fff !important; padding: 9px 20px; border-radius: 40px; font-weight: 600; }
.btn-nav:hover { background: var(--primary-dark); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger .icon { width: 26px; height: 26px; stroke: var(--navy); }

/* ── En-tête de page solution ── */
.page-hero { padding: 130px 0 46px; }
.breadcrumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--primary); font-weight: 500; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; line-height: 1.18; margin-bottom: 16px; max-width: 780px; }
.page-hero h1 span { background: linear-gradient(120deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero .lead { font-size: 1.12rem; color: var(--text-muted); max-width: 720px; margin-bottom: 26px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
    background: var(--primary); color: #fff; padding: 14px 28px; border-radius: 40px;
    font-weight: 600; font-size: .98rem; display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 10px 26px rgba(30, 111, 232, .28); transition: background .3s, transform .2s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary {
    background: #fff; border: 1.5px solid var(--border); color: #1e293b;
    padding: 14px 28px; border-radius: 40px; font-weight: 600; font-size: .98rem;
    display: inline-flex; align-items: center; gap: 8px; transition: border-color .3s, color .3s;
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* ── Sections de contenu ── */
.section { padding: 46px 0; }
.section h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.section > .container > p, .section .prose p { color: var(--text-muted); margin-bottom: 14px; max-width: 780px; }
.prose strong { color: var(--text-dark); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 26px; }
.feature-card { background: var(--bg-light); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.feature-card .icon { width: 28px; height: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .92rem; }

.check-list { list-style: none; display: grid; gap: 12px; margin: 20px 0; max-width: 760px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; color: #1e293b; }
.check-list .icon { flex-shrink: 0; width: 21px; height: 21px; stroke: var(--basic); margin-top: 3px; }

.steps-row { display: flex; flex-wrap: wrap; gap: 28px; counter-reset: step; margin-top: 26px; }
.steps-row .step { flex: 1 1 220px; }
.steps-row .step::before {
    counter-increment: step; content: counter(step);
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--primary); color: #fff; font-size: 1.1rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.steps-row .step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.steps-row .step p { color: var(--text-muted); font-size: .93rem; }

/* ── FAQ ── */
.faq-list { display: grid; gap: 12px; margin-top: 26px; max-width: 780px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: .97rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 16px; color: var(--text-muted); font-size: .93rem; }
.faq-item a { color: var(--primary); font-weight: 600; }

/* ── Liens entre solutions ── */
.related { background: var(--bg-light); border-radius: 24px; padding: 34px; margin: 46px 0; }
.related h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.related-grid a {
    background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px;
    font-weight: 600; font-size: .93rem; color: var(--text-dark);
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    transition: border-color .2s, transform .2s;
}
.related-grid a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ── CTA final ── */
.cta-final {
    background: linear-gradient(135deg, var(--primary), #6d5df0);
    color: #fff; text-align: center; padding: 56px 28px; border-radius: 28px; margin: 20px 0 60px;
}
.cta-final h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
.cta-final p { opacity: .92; margin-bottom: 24px; }
.cta-final a {
    background: #fff; color: var(--primary-dark); padding: 14px 30px; border-radius: 40px;
    font-weight: 700; display: inline-block; box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    transition: transform .2s;
}
.cta-final a:hover { transform: translateY(-2px); }

/* ── Footer ── */
.footer { background: var(--navy); color: #cbd5e1; padding: 50px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; max-width: 1180px; margin: 0 auto; }
.footer-col img { height: 30px; width: auto; margin-bottom: 12px; }
.footer-col h4 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: .93rem; }
.footer-col a { color: #94a3b8; display: block; margin-bottom: 9px; font-size: .88rem; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: #94a3b8; font-size: .88rem; }
.footer-bottom { text-align: center; margin-top: 44px; padding-top: 26px; border-top: 1px solid #1e293b; font-size: .82rem; color: #64748b; }

@media (max-width: 768px) {
    .nav-links {
        display: none; flex-direction: column; align-items: stretch; text-align: center;
        position: absolute; top: 68px; left: 0; width: 100%;
        background: rgba(255, 255, 255, .98); padding: 20px; border-bottom: 1px solid var(--border); gap: 16px;
    }
    .nav-links.show { display: flex; }
    .hamburger { display: block; }
    .page-hero { padding-top: 108px; }
    .page-hero h1 { font-size: 1.85rem; }
    .section h2 { font-size: 1.45rem; }
    .related { padding: 24px 18px; }
}

/* Questions de FAQ en <h3> dans les <summary> : semantique de titre pour les extracteurs,
   rendu inchange (le h3 herite du style du summary). */
.faq-item summary h3 { font-size: inherit; font-weight: inherit; margin: 0; display: inline; }
