/* =============================================================
   lc-design.css — Design system partagé (frontend public)
   Contient : variables, reset, navbar, footer, boutons communs
   ============================================================= */

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
    --primary:       #F3004F;
    --primary-dark:  #CB0027;
    --primary-light: #FF2877;
    --accent:        #00AEEF;
    --accent-dark:   #009ADB;
    --dark:          #131727;
    --dark-2:        #262a3a;
    --gray:          #6b7280;
    --light:         #f9fafb;
}

/* ── RESET & BASE ────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--light);
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.lc-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow .3s;
}
.lc-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

.lc-nav__inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 68px;
    display: flex; align-items: center; justify-content: space-between;
}

.lc-nav__logo {
    font-size: 22px; font-weight: 800; color: var(--dark);
    text-decoration: none; display: flex; align-items: center;
}
.lc-nav__logo span { color: var(--primary); }
.lc-nav__logo img { height: 36px; width: auto; }

.lc-nav__links { display: flex; gap: 32px; list-style: none; }
.lc-nav__links a {
    font-size: 15px; font-weight: 500; color: #374151;
    text-decoration: none; transition: color .2s;
}
.lc-nav__links a:hover,
.lc-nav__links a.active { color: var(--primary); }

.lc-nav__cta { display: flex; align-items: center; gap: 12px; }

.btn-login {
    font-size: 15px; font-weight: 500; color: #374151;
    text-decoration: none; padding: 8px 16px; border-radius: 8px;
    transition: background .2s;
}
.btn-login:hover { background: #f3f4f6; color: #374151; }

.btn-nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: white;
    font-weight: 600; font-size: 15px;
    padding: 10px 22px; border-radius: 10px;
    text-decoration: none; transition: background .2s, transform .15s;
}
.btn-nav-cta:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); }

.lc-nav__hamburger {
    display: none; background: none; border: none;
    cursor: pointer; font-size: 22px;
}

/* ── DROPDOWN NAVBAR ─────────────────────────────────────────── */
.lc-nav__dropdown { position: relative; }

.lc-nav__dropdown-toggle {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 15px; font-weight: 500; color: #374151;
    cursor: pointer; user-select: none; transition: color .2s;
    padding: 0;
}
.lc-nav__dropdown-toggle .dd-chevron { display: flex; transition: transform .25s; }
.lc-nav__dropdown-toggle.active,
.lc-nav__dropdown:hover .lc-nav__dropdown-toggle { color: var(--primary); }
.lc-nav__dropdown:hover .lc-nav__dropdown-toggle .dd-chevron,
.lc-nav__dropdown.open .lc-nav__dropdown-toggle .dd-chevron { transform: rotate(180deg); }

/* Pont invisible qui couvre le gap entre le toggle et le menu */
.lc-nav__dropdown::after {
    content: ''; position: absolute;
    top: calc(100% - 2px); left: -20px; right: -20px;
    height: 20px; background: transparent; z-index: 499;
}

.lc-nav__dropdown-menu {
    position: absolute; top: calc(100% + 10px); left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: white; border: 1px solid #e9eaec; border-radius: 14px;
    padding: 8px; min-width: 200px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 500;
}
.lc-nav__dropdown-menu::before {
    content: ''; position: absolute; top: -5px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px; height: 10px; background: white;
    border-left: 1px solid #e9eaec; border-top: 1px solid #e9eaec;
}
.lc-nav__dropdown:hover .lc-nav__dropdown-menu,
.lc-nav__dropdown.open .lc-nav__dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.lc-nav__dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 8px;
    font-size: 14px; font-weight: 500; color: #374151;
    text-decoration: none; transition: background .15s, color .15s;
    white-space: nowrap;
}
.lc-nav__dropdown-menu a:hover,
.lc-nav__dropdown-menu a.active { background: rgba(243,0,79,0.06); color: var(--primary); }
.lc-nav__dropdown-menu .dd-sep { height: 1px; background: #f3f4f6; margin: 6px 8px; }

/* ── BOUTONS COMMUNS ─────────────────────────────────────────── */
.btn-primary-lg {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: white;
    font-weight: 700; font-size: 16px;
    padding: 14px 32px; border-radius: 12px; text-decoration: none;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 20px rgba(243,0,79,0.3);
}
.btn-primary-lg:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); }

.btn-outline-lg {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: var(--dark);
    font-weight: 600; font-size: 16px;
    padding: 14px 32px; border-radius: 12px; text-decoration: none;
    border: 1.5px solid #e5e7eb; transition: border-color .2s, box-shadow .2s;
}
.btn-outline-lg:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 2px 12px rgba(243,0,79,0.1); }

.btn-cta-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: white;
    font-weight: 700; font-size: 16px;
    padding: 14px 32px; border-radius: 12px; text-decoration: none;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 20px rgba(243,0,79,0.4);
}
.btn-cta-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); }

.btn-cta-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); color: white;
    font-weight: 600; font-size: 16px;
    padding: 14px 32px; border-radius: 12px; text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2); transition: background .2s;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.18); color: white; }

/* ── SECTION LABEL COMMUN ────────────────────────────────────── */
.lc-section-label {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(243,0,79,0.08); color: var(--primary-dark);
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}

/* ── TITRES DE SECTION COMMUNS ────────────────────────────────── */
.lc-section-title {
    font-size: clamp(26px, 3.5vw, 40px); font-weight: 900;
    color: var(--dark); line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px;
}
.lc-section-subtitle {
    font-size: 17px; color: var(--gray); line-height: 1.7; margin-bottom: 48px;
}

/* ── HERO PAGE (commun à toutes les pages intérieures) ────────── */
.page-hero {
    padding: 130px 24px 80px;
    background: linear-gradient(135deg, #fff0f3 0%, #ffffff 60%, #f0f8ff 100%);
    text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; top: -150px; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(243,0,79,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero::after {
    content: ''; position: absolute; bottom: -80px; left: -80px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(0,174,239,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero__inner {
    position: relative; z-index: 1; max-width: 700px; margin: 0 auto;
}
.page-hero__inner--sm  { max-width: 640px; }
.page-hero__inner--lg  { max-width: 1200px; text-align: left; }
.page-hero__label {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(243,0,79,0.08); color: var(--primary-dark);
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    padding: 6px 16px; border-radius: 100px; margin-bottom: 20px;
}
.page-hero__title {
    font-size: clamp(32px, 5vw, 52px); font-weight: 900; color: var(--dark);
    line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px;
}
.page-hero__title span { color: var(--primary); }
.page-hero__sub {
    font-size: 18px; color: var(--gray); line-height: 1.7; margin-bottom: 32px;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.lc-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 64px 24px 32px;
}
.lc-footer__inner { max-width: 1200px; margin: 0 auto; }

.lc-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.lc-footer__brand-name {
    font-size: 22px; font-weight: 800; color: white; margin-bottom: 12px;
}
.lc-footer__brand-name span { color: var(--primary); }

.lc-footer__brand-desc {
    font-size: 14px; line-height: 1.7; margin-bottom: 24px;
}

.lc-footer__socials { display: flex; gap: 10px; }
.lc-footer__social {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); text-decoration: none;
    font-size: 14px; font-weight: 700;
    transition: background .2s, color .2s;
}
.lc-footer__social:hover { background: var(--primary); color: white; }

.lc-footer__col-title {
    font-size: 13px; font-weight: 700; color: white;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.lc-footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lc-footer__links a {
    color: rgba(255,255,255,0.55); text-decoration: none;
    font-size: 14px; transition: color .2s;
}
.lc-footer__links a:hover { color: white; }

.lc-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px; font-size: 13px;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 991px) {
    .lc-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 767px) {
    .lc-nav__links,
    .lc-nav__cta { display: none; }
    .lc-nav__hamburger { display: block; }
    .lc-footer__grid { grid-template-columns: 1fr; gap: 24px; }
}
