/* ========================================
   LUNYCE — CSS PAGES NICHE ASSURANCE
   ======================================== */

/* NOTIFICATION */
.notification { padding: 1rem 0; font-weight: 500; }
.notification .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.notification p { margin: 0; }
.notification button { background: none; border: none; font-size: 1.25rem; cursor: pointer; opacity: 0.7; }
.notification-success { background: #dcfce7; color: #166534; }

/* BREADCRUMB */
.breadcrumb { font-size: 0.875rem; color: #64748b; margin-bottom: 2rem; }
.breadcrumb a { color: #64748b; text-decoration: none; }
.breadcrumb a:hover { color: #2563eb; }
.breadcrumb span { margin: 0 0.5rem; color: #94a3b8; }

/* HERO */
.niche-hero { padding: 3rem 0 4rem; }

.niche-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.niche-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.niche-hero-content h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.niche-intro {
    font-size: 1.0625rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.niche-trust { display: flex; flex-direction: column; gap: 0.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: #334155; }
.trust-check { font-weight: 700; }

/* FORMULAIRE */
.niche-form-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 40px -8px rgba(0,0,0,0.1);
}

.niche-form-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.form-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.niche-form { display: flex; flex-direction: column; gap: 0.75rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.niche-form input,
.niche-form select {
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
    width: 100%;
}

.niche-form input:focus,
.niche-form select:focus {
    outline: none;
    border-color: #2563eb;
}

.btn-full { width: 100%; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.75rem;
}

/* AVANTAGES */
.niche-avantages { padding: 4rem 0; }

.niche-avantages h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2rem;
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.avantage-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.avantage-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
}

.avantage-card p {
    color: #334155;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
}

/* RELATED */
.niche-related { padding: 4rem 0; }

.niche-related h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.related-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}

.related-card:hover {
    border-color: var(--hub-color, #2563eb);
    transform: translateY(-2px);
}

.related-icon { font-size: 1.75rem; }
.related-card strong { color: #0f172a; font-size: 0.9375rem; }
.related-price { color: #64748b; font-size: 0.8125rem; }

/* CTA */
.niche-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.niche-cta h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.75rem; }
.niche-cta p { color: #94a3b8; max-width: 500px; margin: 0 auto 2rem; }

.btn-white {
    background: #ffffff;
    color: #0f172a;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .niche-hero-grid { grid-template-columns: 1fr; }
    .niche-form-container { max-width: 500px; }
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .avantages-grid { grid-template-columns: 1fr; }
}
