/* ============================================================
   LivreConnect — Launch Page Stylesheet
   Extrait de bookconnect-presentation/public/index.html
   ============================================================ */

/* ============================================================
   DESIGN SYSTEM — Variables & Base
   ============================================================ */
:root {
    --color-primary: #2C3E50;
    --color-accent: #7c3aed;
    --color-bg-light: #f8f9fa;
    --color-c1: #e11d48;
    --color-c2: #0ea5e9;
    --color-c3: #8B5CF6;
    --color-c4: #d97706;
    --color-c5: #10b981;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--color-primary);
    line-height: 1.6;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-lc {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: .75rem 0;
    transition: box-shadow .3s;
}
.navbar-lc.scrolled {
    box-shadow: var(--shadow-md);
}
.navbar-lc .navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-primary);
}
.navbar-lc .navbar-brand i {
    color: var(--color-accent);
    margin-right: .4rem;
}
.navbar-lc .nav-link {
    color: var(--color-primary);
    font-weight: 500;
    font-size: .95rem;
    padding: .5rem 1rem !important;
    transition: color .2s;
}
.navbar-lc .nav-link:hover {
    color: var(--color-accent);
}
.btn-login {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    padding: .4rem 1rem;
}
.btn-login:hover {
    color: var(--color-accent);
}
.btn-signup {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: .5rem 1.25rem;
    font-weight: 600;
    font-size: .9rem;
    transition: background .2s;
}
.btn-signup:hover {
    background: #1a252f;
    color: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: #fff;
}
.hero-section .hero-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--color-accent);
    transition: background .4s;
}
.hero-section h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.hero-section .lead {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 600px;
}

/* Role pills */
.role-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 2rem 0 1.5rem;
}
.role-pill {
    border: 2px solid #e5e7eb;
    background: #fff;
    color: var(--color-primary);
    border-radius: 50px;
    padding: .5rem 1.25rem;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: all .25s;
}
.role-pill:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.role-pill.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* Dynamic hero content */
.hero-dynamic {
    min-height: 160px;
    transition: opacity .3s;
}
.hero-dynamic .advantage-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .75rem;
}
.hero-dynamic .advantage-item i {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-top: .2rem;
}
.hero-dynamic .advantage-item span {
    font-size: .95rem;
}

.btn-cta-hero {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: .75rem 2rem;
    font-weight: 700;
    font-size: 1.05rem;
    transition: background .2s, transform .2s;
}
.btn-cta-hero:hover {
    background: #6d28d9;
    color: #fff;
    transform: translateY(-1px);
}

/* ============================================================
   CHIFFRES CLES
   ============================================================ */
.stats-section {
    background: var(--color-bg-light);
    padding: 3rem 0;
}
.stat-item {
    text-align: center;
}
.stat-item i {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: .5rem;
}
.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
}
.stat-item .stat-label {
    font-size: .9rem;
    color: #64748b;
}

/* ============================================================
   SERVICES PAR PROFIL
   ============================================================ */
.services-section {
    padding: 5rem 0;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: .5rem;
}
.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.accordion-lc .accordion-button {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    border-radius: var(--radius) !important;
    padding: 1.25rem 1.5rem;
}
.accordion-lc .accordion-button:not(.collapsed) {
    background: var(--color-bg-light);
    color: var(--color-accent);
    box-shadow: none;
}
.accordion-lc .accordion-button::after {
    filter: none;
}
.accordion-lc .accordion-button:focus {
    box-shadow: none;
}
.accordion-lc .accordion-body {
    padding: 1.5rem;
}
.accordion-lc .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.accordion-lc .feature-list li {
    padding: .4rem 0;
    font-size: .95rem;
}
.accordion-lc .feature-list li i {
    color: var(--color-accent);
    margin-right: .5rem;
    width: 18px;
}

/* ============================================================
   MARKETPLACE
   ============================================================ */
.marketplace-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}
.marketplace-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--color-accent);
    transition: transform .2s;
}
.marketplace-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.marketplace-card .offer-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .25rem;
}
.marketplace-card .offer-price {
    color: var(--color-accent);
    font-weight: 700;
}
.marketplace-card .offer-author {
    font-size: .85rem;
    color: #64748b;
}

/* ============================================================
   FORMATIONS
   ============================================================ */
.formations-section {
    padding: 5rem 0;
}
.formation-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.formation-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.formation-card .formation-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
}
.formation-card .formation-body {
    padding: 1.5rem;
}
.formation-card .formation-body h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: .75rem;
}
.formation-card .badge-level {
    font-size: .75rem;
    font-weight: 600;
    border-radius: 50px;
    padding: .25rem .75rem;
}
.formation-card .formation-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: .75rem;
    border-top: 1px solid #e5e7eb;
}
.formation-card .formation-price {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-primary);
}
.formation-card .formation-price.free {
    color: var(--color-c5);
}

/* ============================================================
   PLUMES
   ============================================================ */
.plumes-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f0ff 0%, #ede9fe 100%);
}
.plume-step {
    text-align: center;
    padding: 2rem 1.5rem;
}
.plume-step .plume-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.25rem;
}
.plume-step h5 {
    font-weight: 700;
    margin-bottom: .5rem;
}
.plume-step p {
    color: #64748b;
    font-size: .9rem;
}
.plume-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-accent);
    opacity: .5;
}

/* ============================================================
   TARIFS
   ============================================================ */
.pricing-section {
    padding: 5rem 0;
}
.pricing-table {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.pricing-table table {
    margin-bottom: 0;
}
.pricing-table thead th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
    vertical-align: middle;
    border: none;
}
.pricing-table thead th:first-child {
    text-align: left;
    background: #1a252f;
}
.pricing-table thead th.highlight {
    background: var(--color-accent);
    position: relative;
}
.pricing-table thead th .price {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
}
.pricing-table thead th .period {
    font-weight: 400;
    font-size: .8rem;
    opacity: .85;
}
.pricing-table tbody td {
    text-align: center;
    padding: .85rem 1rem;
    vertical-align: middle;
    font-size: .9rem;
}
.pricing-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
}
.pricing-table tbody tr:nth-child(even) {
    background: var(--color-bg-light);
}
.pricing-table .check {
    color: var(--color-c5);
    font-size: 1.1rem;
}
.pricing-table .cross {
    color: #d1d5db;
    font-size: 1.1rem;
}
.pricing-table .limited {
    color: var(--color-c4);
    font-size: .8rem;
    font-weight: 600;
}
.pricing-table tfoot td {
    padding: 1.25rem 1rem;
    border: none;
}
.btn-pricing {
    border-radius: var(--radius);
    padding: .5rem 1.25rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .2s;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
    padding: 5rem 0;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
}
.cta-final h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.cta-final p {
    opacity: .8;
    margin-bottom: 2rem;
}
.cta-final .btn-cta-final {
    background: #fff;
    color: var(--color-primary);
    border: none;
    border-radius: var(--radius);
    padding: .85rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform .2s, box-shadow .2s;
}
.cta-final .btn-cta-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.cta-final .stats-mini {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.cta-final .stats-mini span {
    font-size: .95rem;
    opacity: .85;
}
.cta-final .stats-mini strong {
    opacity: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-lc {
    background: #1a252f;
    color: #cbd5e1;
    padding: 3.5rem 0 2rem;
    font-size: .9rem;
}
.footer-lc h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: .95rem;
}
.footer-lc a {
    color: #94a3b8;
    text-decoration: none;
    transition: color .2s;
}
.footer-lc a:hover {
    color: #fff;
}
.footer-lc ul {
    list-style: none;
    padding: 0;
}
.footer-lc ul li {
    margin-bottom: .4rem;
}
.footer-lc .footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    font-size: .8rem;
    color: #64748b;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .plume-arrow {
        transform: rotate(90deg);
        margin: .5rem 0;
    }
}
@media (max-width: 767px) {
    .hero-section {
        padding: 3.5rem 0 3rem;
    }
    .hero-section h1 {
        font-size: 1.75rem;
    }
    .pricing-table {
        overflow-x: auto;
    }
    .pricing-table table {
        min-width: 600px;
    }
    .cta-final h2 {
        font-size: 1.6rem;
    }
}
