/* 7ISSABI — pages fonctionnalités (/features/) */
.feature-page-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    font-family: var(--font-primary, 'Inter', system-ui, sans-serif);
    color: #1e293b;
}

.feature-main {
    flex: 1;
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
    padding: max(5.5rem, calc(3.75rem + env(safe-area-inset-top, 0px) + 1.5rem)) 1.25rem 3rem;
    box-sizing: border-box;
}

@media (min-width: 1025px) {
    .feature-main {
        padding-top: max(6.5rem, calc(80px + 1.5rem));
    }
}

.feature-article {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.feature-article h1 {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.feature-lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 2rem;
}

.feature-section {
    margin-bottom: 1.75rem;
}

.feature-section h2 {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 0.5rem;
}

.feature-section p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #334155;
}

.cloud-callout {
    margin: 2rem 0;
    padding: 1.25rem 1.25rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
}

html.i18n-rtl .cloud-callout {
    border-left: none;
    border-right: 4px solid #2563eb;
}

.cloud-callout h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 0.75rem;
}

.cloud-callout p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #334155;
}

.feature-list-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #0f172a;
}

.feature-article ul {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    color: #334155;
    font-size: 0.9375rem;
    line-height: 1.6;
}

html.i18n-rtl .feature-article ul {
    padding-left: 0;
    padding-right: 1.25rem;
}

.feature-article li {
    margin-bottom: 0.35rem;
}

.feature-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 2rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #2563eb;
    text-decoration: none;
}

.feature-back:hover {
    text-decoration: underline;
}

html.i18n-rtl .feature-back .fa-arrow-left {
    transform: scaleX(-1);
}

.feature-page-footer {
    margin-top: auto;
    padding: 1.25rem 1rem;
    text-align: center;
    font-size: 0.8125rem;
    color: #64748b;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.feature-page-footer a {
    color: #2563eb;
    text-decoration: none;
}

.feature-page-footer a:hover {
    text-decoration: underline;
}

.navbar-brand.feature-brand-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.nav-link-active {
    color: #2563eb !important;
    border-bottom-color: #2563eb !important;
    background: rgba(37, 99, 235, 0.08);
}
