/* ═══════════════════════════════════════════════════════════════
   Le Hub — Lancer un projet CSS
   Complément de lehub.css — ne pas modifier lehub.css
════════════════════════════════════════════════════════════════ */

/* ─── Footer : même 5 colonnes que services.css ─────────────── */
.footer__inner { grid-template-columns: 1.4fr 1fr 1fr 0.8fr 0.8fr; }

.footer__socials {
    display: flex;
    gap: 10px;
}
.footer__social-link {
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-muted);
    transition: color var(--dur-fast) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out);
}
.footer__social-link:hover {
    color: var(--c-text);
    border-color: var(--c-primary);
}

.footer__legal {
    display: flex;
    gap: 24px;
}
.footer__legal .footer__link {
    font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
.lp-hero {
    padding-block: 72px 96px;
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse,
        rgba(108,59,255,0.14) 0%,
        rgba(214,51,255,0.06) 50%,
        transparent 70%);
    pointer-events: none;
}

.lp-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lp-hero__text .section-label {
    margin-bottom: 14px;
    display: block;
}

.lp-hero__title {
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.10;
    letter-spacing: -0.02em;
    color: var(--c-text);
    margin-bottom: 20px;
}

.lp-hero__desc {
    font-size: 16px;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 440px;
}

/* Badges hero */
.lp-hero__badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.lp-badge {
    background: var(--c-bg-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-badge__icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--r-sm);
    background: rgba(108,59,255,0.10);
    border: 1px solid rgba(108,59,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-badge__icon-wrap img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.lp-badge__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.2;
}

.lp-badge__sub {
    font-size: 11px;
    color: var(--c-text-muted);
    line-height: 1.4;
}

/* Visual hero */
.lp-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 460px;
    height: 320px;
    background: radial-gradient(ellipse,
        rgba(108,59,255,0.28) 0%,
        rgba(214,51,255,0.12) 45%,
        transparent 70%);
    filter: blur(32px);
    pointer-events: none;
    border-radius: 50%;
}

.lp-hero__img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 540px;
    height: auto;
    border-radius: var(--r-xl);
    animation: float-hero 6s ease-in-out infinite;
    will-change: transform;
}

/* ═══════════════════════════════════════════════════════════════
   STEPS BAR
════════════════════════════════════════════════════════════════ */
.lp-steps {
    padding-block: 36px;
    background: var(--c-bg-2);
    border-block: 1px solid var(--c-border);
}

.lp-steps__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-step {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.lp-step__circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(108,59,255,0.3);
}

.lp-step__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.2;
}

.lp-step__sub {
    font-size: 12px;
    color: var(--c-text-muted);
    margin-top: 2px;
}

.lp-steps__connector {
    flex: 0 0 48px;
    height: 2px;
    background: var(--gradient-brand);
    opacity: 0.25;
    margin: 0 12px;
    border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   MAIN : FORMULAIRE + SIDEBAR
════════════════════════════════════════════════════════════════ */
.lp-main {
    padding-block: 80px;
}

.lp-main__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ─── Carte formulaire ───────────────────────────────────────── */
.lp-form-card {
    background: var(--c-bg-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 40px;
}

.lp-form-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.lp-form-head__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(108,59,255,0.35);
}
.lp-form-head__icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.lp-form-head__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--c-text);
    line-height: 1.2;
    margin-bottom: 4px;
}

.lp-form-head__sub {
    font-size: 13px;
    color: var(--c-text-muted);
}

/* Grille de champs 2 colonnes */
.lp-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

/* Groupe champ : label + input + erreur */
.lp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.lp-field:last-child {
    margin-bottom: 0;
}

.lp-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
}
.lp-label .req {
    color: var(--c-accent);
    margin-left: 2px;
}
.lp-label .opt {
    color: var(--c-text-muted);
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
}

.lp-input,
.lp-select,
.lp-textarea {
    width: 100%;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 12px 16px;
    color: var(--c-text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--dur-base) var(--ease-out),
                box-shadow   var(--dur-base) var(--ease-out);
    appearance: none;
    -webkit-appearance: none;
}
.lp-input::placeholder,
.lp-textarea::placeholder {
    color: var(--c-text-muted);
    opacity: 0.7;
}
.lp-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23A0A0B0' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}
.lp-select option {
    background: var(--c-bg-2);
    color: var(--c-text);
}
.lp-input:focus,
.lp-select:focus,
.lp-textarea:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(108,59,255,0.15);
}
.lp-input.is-error,
.lp-select.is-error,
.lp-textarea.is-error {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(255,45,122,0.10);
}

.lp-textarea {
    resize: vertical;
    min-height: 120px;
}

.lp-field-error {
    font-size: 12px;
    color: var(--c-accent);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Séparateur de section dans le formulaire */
.lp-section-sep {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-block: 28px 20px;
}
.lp-section-sep__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    background: rgba(108,59,255,0.10);
    border: 1px solid rgba(108,59,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-section-sep__icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.lp-section-sep__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text);
}

/* Compteur textarea */
.lp-textarea-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 6px;
}
.lp-counter {
    font-size: 12px;
    color: var(--c-text-muted);
}

/* Mention obligatoire */
.lp-mention {
    font-size: 12px;
    color: var(--c-text-muted);
    margin-top: 20px;
    margin-bottom: 24px;
}
.lp-mention .req {
    color: var(--c-accent);
}

/* Bouton soumettre */
.lp-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--r-full);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 24px rgba(108,59,255,0.35);
    transition: opacity var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-out),
                transform  var(--dur-base) var(--ease-out);
    font-family: inherit;
}
.lp-submit-btn:hover {
    opacity: 0.92;
    box-shadow: 0 0 36px rgba(108,59,255,0.5);
    transform: translateY(-1px);
}
.lp-submit-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Alertes succès / erreur */
.lp-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--r-md);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}
.lp-alert--success {
    background: rgba(34,197,94,0.10);
    border: 1px solid rgba(34,197,94,0.25);
    color: #4ade80;
}
.lp-alert--error {
    background: rgba(255,45,122,0.08);
    border: 1px solid rgba(255,45,122,0.20);
    color: var(--c-accent);
}

/* ─── Sidebar ────────────────────────────────────────────────── */
.lp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 96px;
}

.lp-why-card {
    background: var(--c-bg-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 32px;
}

.lp-why-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--c-text);
    line-height: 1.3;
    margin-bottom: 24px;
}

.lp-why-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lp-why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.lp-why-item__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-sm);
    background: rgba(108,59,255,0.10);
    border: 1px solid rgba(108,59,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-why-item__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.lp-why-item__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 4px;
}
.lp-why-item__desc {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.65;
}

.lp-quote {
    margin-top: 24px;
    background: rgba(108,59,255,0.06);
    border: 1px solid rgba(108,59,255,0.2);
    border-left: 3px solid var(--c-primary);
    border-radius: var(--r-md);
    padding: 18px 20px;
    font-size: 13px;
    font-style: italic;
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION SÉCURITÉ
════════════════════════════════════════════════════════════════ */
.lp-security {
    padding-block: 56px;
    background: var(--c-bg-2);
    border-block: 1px solid var(--c-border);
}

.lp-security__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.lp-security__left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.lp-security__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--r-md);
    background: rgba(108,59,255,0.10);
    border: 1px solid rgba(108,59,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-security__icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.lp-security__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 6px;
}

.lp-security__desc {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.65;
    max-width: 380px;
}

.lp-security__badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lp-sec-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 10px 16px;
    white-space: nowrap;
}

.lp-sec-badge__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: rgba(108,59,255,0.10);
    border: 1px solid rgba(108,59,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-sec-badge__icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.lp-sec-badge__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text);
}

/* ═══════════════════════════════════════════════════════════════
   CTA FINAL
════════════════════════════════════════════════════════════════ */
.lp-cta {
    padding-block: 80px;
}

.lp-cta__inner {
    background: var(--c-bg-2);
    border: 1px solid rgba(108,59,255,0.22);
    border-radius: var(--r-xl);
    padding: 56px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

.lp-cta__inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse,
        rgba(108,59,255,0.14) 0%,
        rgba(214,51,255,0.06) 50%,
        transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.lp-cta__left {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.lp-cta__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--c-text);
    margin-bottom: 12px;
}

.lp-cta__desc {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.65;
    max-width: 480px;
}

.lp-cta__right {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.lp-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--r-full);
    text-decoration: none;
    box-shadow: 0 0 28px rgba(108,59,255,0.4);
    transition: opacity var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-out),
                transform  var(--dur-base) var(--ease-out);
    white-space: nowrap;
}
.lp-cta__btn:hover {
    opacity: 0.9;
    box-shadow: 0 0 40px rgba(108,59,255,0.55);
    transform: translateY(-2px);
}
.lp-cta__btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */

/* Tablette ≤ 1024px */
@media (max-width: 1024px) {
    .footer__inner    { grid-template-columns: 1fr 1fr 1fr; }
    .footer__brand    { grid-column: 1 / -1; }

    .lp-hero__inner   { grid-template-columns: 1fr; }
    .lp-hero__visual  { display: none; }

    .lp-steps__connector { flex: 0 0 24px; margin: 0 8px; }

    .lp-main__grid    { grid-template-columns: 1fr; }
    .lp-sidebar       { position: static; }

    .lp-security__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
    .lp-security__badges { flex-wrap: wrap; }

    .lp-cta__inner    { flex-direction: column; align-items: flex-start; padding: 40px; }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
    .footer__inner          { grid-template-columns: 1fr 1fr; }
    .footer__brand          { grid-column: 1 / -1; }
    .footer__col:last-child { grid-column: 1 / -1; }

    .lp-hero__badges  { grid-template-columns: 1fr; }

    .lp-steps         { overflow-x: auto; }
    .lp-steps__inner  { width: max-content; min-width: 100%; gap: 0; padding-inline: 4px; }
    .lp-step          { flex: 0 0 auto; min-width: 140px; }

    .lp-form-card     { padding: 24px 20px; }

    .lp-fields-row    { grid-template-columns: 1fr; }

    .lp-security__badges { flex-direction: column; align-items: flex-start; }
    .lp-sec-badge     { white-space: normal; }

    .lp-cta__inner    { padding: 32px 24px; }
    .lp-cta__btn      { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .lp-hero__title   { font-size: 2rem; }
    .lp-submit-btn    { width: 100%; justify-content: center; }
}
