/* =====================================================
   Mubsira Business — Trade landing pages
   Shared styles for /business/pour-electriciens, /pour-plombiers, /pour-paysagistes
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-bg: #ffffff;
    --color-surface: #f7f8fa;
    --color-surface-2: #eef0f3;
    --color-border: #e3e6eb;
    --color-text: #0f172a;
    --color-text-muted: #4b5563;
    --color-text-soft: #6b7280;
    --color-accent: #1e40af;
    --color-accent-soft: #eef2ff;
    --color-accent-strong: #1e3a8a;
    --color-success: #15803d;
    --color-warning: #b45309;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 760px;
    --max-width-wide: 1080px;
    --radius: 12px;
    --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--color-accent-strong); }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}
.nav-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.3px;
}
.nav-brand .dot { color: var(--color-accent); }
.nav-brand .sep { color: var(--color-border); margin: 0 6px; font-weight: 400; }
.nav-brand .app { color: var(--color-text-muted); font-weight: 500; }
.nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
}
.nav-links a:hover { color: var(--color-text); }
.nav-cta {
    background: var(--color-text);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}
.nav-cta:hover { background: var(--color-accent); color: #fff !important; }

@media (max-width: 720px) {
    .nav-links li:not(:last-child) { display: none; }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 14px 24px 0;
    font-size: 13px;
    color: var(--color-text-soft);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--color-border);
}
.breadcrumb a { color: var(--color-text-soft); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb [aria-current="page"] { color: var(--color-text); }

/* ===== Hero ===== */
.hero {
    padding: 56px 24px 48px;
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}
.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.hero h1 {
    font-size: clamp(28px, 4.5vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: var(--color-text);
}
.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 640px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    line-height: 1;
}
.btn-primary {
    background: var(--color-text);
    color: #fff;
}
.btn-primary:hover { background: var(--color-accent); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}
.btn-outline:hover { border-color: var(--color-text); color: var(--color-text); }

.hero-meta {
    margin-top: 28px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--color-text-soft);
}
.hero-meta span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-success);
    margin-right: 8px;
    vertical-align: middle;
}

/* ===== Section structure ===== */
.section {
    padding: 64px 24px;
    border-bottom: 1px solid var(--color-border);
}
.section:nth-of-type(even) {
    background: var(--color-surface);
}
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.section h2 {
    font-size: clamp(24px, 3.5vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--color-text);
    margin-bottom: 16px;
}
.section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin: 28px 0 8px;
}
.section .lead {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}
.section p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}
.section ul, .section ol {
    color: var(--color-text-muted);
    margin: 0 0 20px 22px;
}
.section li { margin-bottom: 8px; }
.section strong { color: var(--color-text); font-weight: 600; }

/* ===== Reality cards ===== */
.reality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 32px;
}
.reality-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 22px;
}
.reality-card h3 {
    font-size: 16px;
    margin: 0 0 8px;
    color: var(--color-text);
}
.reality-card p {
    font-size: 14.5px;
    margin: 0;
    color: var(--color-text-muted);
}

/* ===== Solution rows ===== */
.solution-row {
    padding: 28px 0;
    border-bottom: 1px solid var(--color-border);
}
.solution-row:last-child { border-bottom: none; }
.solution-row .label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    margin-bottom: 6px;
}
.solution-row h3 {
    margin-top: 0;
    margin-bottom: 10px;
}
.solution-row p { margin-bottom: 0; }

/* ===== Scenario block ===== */
.scenario {
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-accent);
    border-radius: var(--radius);
    padding: 26px 28px;
    margin: 24px 0;
}
.scenario .scenario-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.scenario h3 { margin-top: 0; font-size: 17px; }
.scenario p:last-child { margin-bottom: 0; }

/* ===== Testimonial ===== */
.testimonial {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 36px;
    max-width: 720px;
    margin: 0 auto;
}
.testimonial blockquote {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 20px;
    font-style: normal;
}
.testimonial blockquote::before {
    content: '\201C';
    display: block;
    font-size: 48px;
    line-height: 0.5;
    color: var(--color-accent);
    margin-bottom: 16px;
    font-family: Georgia, serif;
}
.testimonial-author {
    font-size: 14px;
    color: var(--color-text-muted);
}
.testimonial-author strong { color: var(--color-text); display: block; margin-bottom: 2px; }

/* ===== FAQ ===== */
.faq-list { margin-top: 24px; }
.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 18px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
    margin: 0 0 8px;
    font-size: 16px;
}
.faq-item p {
    margin: 0;
    font-size: 15px;
}

/* ===== CTA banner ===== */
.cta-banner {
    background: var(--color-text);
    color: #fff;
    padding: 56px 24px;
    text-align: center;
}
.cta-banner h2 {
    color: #fff;
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 12px;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    max-width: 540px;
    margin: 0 auto 28px;
}
.cta-banner .btn-primary {
    background: #fff;
    color: var(--color-text);
}
.cta-banner .btn-primary:hover {
    background: var(--color-accent);
    color: #fff;
}
.cta-banner .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.cta-banner .btn-outline:hover {
    border-color: #fff;
    color: #fff;
}

/* ===== Related links ===== */
.related {
    padding: 56px 24px;
    background: var(--color-surface);
}
.related-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.related h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.related ul { list-style: none; padding: 0; }
.related li {
    border-bottom: 1px solid var(--color-border);
    padding: 14px 0;
}
.related li:last-child { border-bottom: none; }
.related a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
}
.related a span:last-child {
    color: var(--color-text-soft);
    font-size: 13px;
    flex-shrink: 0;
}
.related a:hover { color: var(--color-accent); }

/* ===== Footer (matches pdftable pattern) ===== */
.site-footer {
    background: #0f1825;
    padding: 40px 24px 32px;
}
.footer-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.footer-sitemap {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 1.75rem;
}
.footer-sitemap strong {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.footer-sitemap ul { list-style: none; padding: 0; margin: 0; }
.footer-sitemap li + li { margin-top: 6px; }
.footer-sitemap a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-sitemap a:hover { color: rgba(255, 255, 255, 0.9); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.5); margin-left: 18px; }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.9); }

@media (max-width: 640px) {
    .hero { padding: 40px 20px 36px; }
    .section { padding: 48px 20px; }
    .testimonial { padding: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-bottom a { margin-left: 0; margin-right: 18px; }
}
