/* ==========================================================================
   DigiSoft Africa — Charte graphique
   Encre (texte, fonds sombres) · Émeraude (action) · Ocre (accent) · Sable (fonds clairs)
   ========================================================================== */

:root {
    --ink: #0B1D2E;
    --ink-2: #13293F;
    --ink-soft: #4A5B6C;
    --muted: #6B7A89;
    --line: #E3E8EC;

    --brand: #0E8A63;
    --brand-strong: #0A6E4F;
    --brand-bright: #2BC48F;
    --brand-tint: #E6F5EF;

    --ochre: #F0A93B;
    --ochre-strong: #C98A1E;
    --ochre-tint: #FDF3E2;

    --sand: #F7F5F0;
    --white: #FFFFFF;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(11, 29, 46, .06);
    --shadow: 0 6px 24px rgba(11, 29, 46, .08);
    --shadow-lg: 0 18px 50px rgba(11, 29, 46, .14);

    --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

    /* Bootstrap overrides */
    --bs-primary: var(--brand);
    --bs-primary-rgb: 14, 138, 99;
    --bs-link-color: var(--brand);
    --bs-link-hover-color: var(--brand-strong);
    --bs-body-color: var(--ink-soft);
    --bs-body-font-family: var(--font-body);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink-soft);
    background: var(--white);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-strong); }
img { max-width: 100%; }
::selection { background: var(--brand); color: #fff; }
.text-brand { color: var(--brand) !important; }
.text-ochre { color: var(--ochre-strong) !important; }
.text-ink { color: var(--ink) !important; }
.bg-sand { background: var(--sand) !important; }
.bg-ink { background: var(--ink) !important; }
.lead { color: var(--ink-soft); font-size: 1.15rem; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head);
    font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--ochre); }
.eyebrow.light { color: var(--brand-bright); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.section-head p { font-size: 1.08rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
    font-family: var(--font-head); font-weight: 700; font-size: .95rem;
    border-radius: 999px; padding: 12px 26px;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-brand { background: var(--brand); color: #fff; border: 2px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14, 138, 99, .28); }
.btn-ochre { background: var(--ochre); color: var(--ink); border: 2px solid var(--ochre); }
.btn-ochre:hover { background: #F5B95A; color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-primary { background: var(--brand); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.link-arrow { font-family: var(--font-head); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }
.btn:focus-visible, a:focus-visible, .form-control:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }

/* ---------- Topbar & Navbar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: #fff; }
.topbar .info span { margin-right: 22px; }
.topbar .info i { color: var(--brand-bright); margin-right: 7px; }
.topbar .social a { margin-left: 16px; }

.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .navbar { padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; color: var(--ink); }
.brand-name span { color: var(--brand); }
.brand-tag { font-family: var(--font-head); font-weight: 700; font-size: .62rem; letter-spacing: .38em; color: var(--ochre-strong); margin-top: 5px; }
.brand.light .brand-name { color: #fff; }
.brand.light .brand-name span { color: var(--brand-bright); }
.brand.light .brand-tag { color: var(--ochre); }

.site-header .nav-link { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink) !important; padding: 8px 14px !important; border-radius: 999px; }
.site-header .nav-link:hover { color: var(--brand) !important; }
.site-header .nav-link.active { color: var(--brand) !important; background: var(--brand-tint); }
.site-header .dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; margin-top: 10px !important; min-width: 220px; }
.site-header .dropdown-item { border-radius: var(--radius-sm); padding: 9px 14px; font-weight: 500; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.site-header .dropdown-item i { color: var(--brand); width: 18px; text-align: center; }
.site-header .dropdown-item:hover, .site-header .dropdown-item.active { background: var(--brand-tint); color: var(--brand-strong); }
.navbar-toggler { border: 0; padding: 8px; font-size: 1.4rem; color: var(--ink); }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991px) {
    .site-header .navbar-collapse { padding: 16px 0 8px; }
    .site-header .nav-link { padding: 10px 12px !important; }
    .site-header .dropdown-menu { box-shadow: none; border: 0; padding-left: 12px; margin-top: 0 !important; }
}

/* ---------- Hero (accueil) ---------- */
.hero { position: relative; overflow: hidden; background: var(--sand); padding: 88px 0 96px; }
.hero::before { content: ''; position: absolute; right: -180px; top: -180px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(43,196,143,.18), transparent 65%); }
.hero::after { content: ''; position: absolute; left: -120px; bottom: -220px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(240,169,59,.16), transparent 65%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: var(--ochre); opacity: .45; border-radius: 4px; z-index: -1; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.hero-proof i { color: var(--brand); margin-right: 8px; }

/* Maquette visuelle dans le hero */
.mock { position: relative; max-width: 520px; margin-left: auto; }
.mock-window { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.mock-bar { display: flex; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FBFBFA; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-body { padding: 22px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.mock-kpi { background: var(--sand); border-radius: 12px; padding: 12px; }
.mock-kpi small { display: block; font-size: .7rem; color: var(--muted); }
.mock-kpi strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); }
.mock-kpi .up { color: var(--brand); font-size: .7rem; font-weight: 700; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 0 4px; border-bottom: 1px dashed var(--line); }
.mock-chart div { flex: 1; border-radius: 6px 6px 0 0; background: var(--brand-tint); }
.mock-chart div.on { background: var(--brand); }
.mock-rows { margin-top: 16px; padding-left: 150px; }
@media (max-width: 575px) { .mock-rows { padding-left: 0; } .mock-kpi .up { display: none; } .mock-kpi small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: .8rem; }
.mock-row .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .75rem; color: #fff; }
.mock-row .grow { flex: 1; }
.mock-row b { color: var(--ink); font-weight: 600; }
.mock-phone { position: absolute; left: -48px; bottom: -36px; width: 190px; background: var(--ink); border-radius: 26px; padding: 10px; box-shadow: var(--shadow-lg); }
.mock-phone-screen { background: #fff; border-radius: 18px; padding: 16px 14px; }
.mock-phone-screen small { display: block; color: var(--muted); font-size: .68rem; }
.mock-phone-screen .amount { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); margin: 2px 0 10px; }
.mock-pay { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; font-size: .72rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.mock-pay span { width: 18px; height: 18px; border-radius: 5px; }
.mock-pay.sel { border-color: var(--brand); background: var(--brand-tint); }
.mock-phone .btn-pay { display: block; text-align: center; background: var(--brand); color: #fff; border-radius: 10px; padding: 8px; font-size: .75rem; font-weight: 700; margin-top: 10px; }
.mock-badge { position: absolute; right: -14px; top: -18px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; display: flex; gap: 10px; align-items: center; font-size: .78rem; }
.mock-badge i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--ochre-tint); color: var(--ochre-strong); }
.mock-badge b { display: block; color: var(--ink); font-family: var(--font-head); }
@media (max-width: 991px) { .mock { margin: 56px auto 24px; } .mock-phone { left: -10px; } }
@media (max-width: 575px) { .mock-phone { display: none; } .mock-badge { right: 8px; } }

/* ---------- Page header (pages internes) ---------- */
.page-header { background: var(--ink); color: rgba(255,255,255,.75); padding: 76px 0 72px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 70%); }
.page-header::after { content: ''; position: absolute; right: -120px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(43,196,143,.25), transparent 65%); }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin-bottom: 14px; max-width: 820px; }
.page-header p { font-size: 1.1rem; max-width: 640px; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; margin-bottom: 18px; color: rgba(255,255,255,.55); }
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: #fff; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat strong sup { color: var(--brand); font-size: 1.3rem; top: -.7em; margin-left: 2px; }
.stat > span { font-size: .92rem; }
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stats-wrap { margin-top: -48px; position: relative; z-index: 2; }

/* ---------- Cards ---------- */
.card-x { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; height: 100%; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-x:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-x h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card-x p { margin-bottom: 0; }
.icon-box { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--brand-tint); color: var(--brand); margin-bottom: 22px; transition: background .25s, color .25s; }
.card-x:hover .icon-box { background: var(--brand); color: #fff; }
.icon-box.ochre { background: var(--ochre-tint); color: var(--ochre-strong); }
.card-x .link-arrow { margin-top: 18px; }

/* Services (liste détaillée) */
.service-row { display: flex; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; height: 100%; transition: box-shadow .25s, transform .25s; }
.service-row:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-row .icon-box { flex-shrink: 0; margin: 0; }
.service-row .num { font-family: var(--font-head); font-weight: 800; color: var(--line); font-size: 1rem; }

/* ---------- Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 20px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; transition: all .2s; }
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.project-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; color: inherit; transition: transform .3s, box-shadow .3s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.project-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-cover img { transform: scale(1.05); }
.project-cover.generated { display: grid; place-items: center; }
.project-cover.generated::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 18px 18px; }
.project-cover.generated .glyph { position: relative; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; font-size: 2rem; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.cover-web { background: linear-gradient(135deg, #0B1D2E 0%, #0E5A47 100%); }
.cover-mobile { background: linear-gradient(135deg, #0E8A63 0%, #0B3B4A 100%); }
.cover-ecommerce { background: linear-gradient(135deg, #7A4B0E 0%, #C98A1E 100%); }
.cover-saas { background: linear-gradient(135deg, #13293F 0%, #2C5C7A 100%); }
.cover-design { background: linear-gradient(135deg, #3B2A1A 0%, #0E8A63 130%); }
.project-tag { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.95); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .75rem; padding: 6px 12px; border-radius: 999px; z-index: 1; }
.project-body { padding: 24px 26px 28px; }
.project-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.project-body p { font-size: .95rem; margin-bottom: 16px; }
.project-meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--sand); color: var(--ink); border-radius: 999px; padding: 4px 11px; font-size: .78rem; font-weight: 500; }
.project-item.is-hidden { display: none; }

/* Étude de cas */
.case-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; margin-bottom: 48px; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-cover.generated { aspect-ratio: auto; height: 280px; }
.case-cover.generated .glyph { width: 120px; height: 120px; font-size: 3rem; border-radius: 32px; }
.case-content h2 { font-size: 1.6rem; margin: 0 0 16px; }
.case-content p { font-size: 1.05rem; }
.results { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.results li { display: flex; gap: 14px; align-items: flex-start; background: var(--brand-tint); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); font-weight: 500; }
.results li i { color: var(--brand); margin-top: 5px; }
.case-aside { background: var(--sand); border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 110px; }
.case-aside dl { margin: 0; }
.case-aside dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.case-aside dd { color: var(--ink); font-weight: 600; margin-bottom: 20px; }

/* ---------- Process ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.25); line-height: 1; display: block; margin-bottom: 18px; }
.step h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.68); font-size: .95rem; margin: 0; }
.step .bar { height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; margin-bottom: 22px; position: relative; overflow: hidden; }
.step .bar::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 40%; background: var(--brand-bright); }
.step:nth-child(2) .bar::after { width: 60%; }
.step:nth-child(3) .bar::after { width: 80%; }
.step:nth-child(4) .bar::after { width: 100%; background: var(--ochre); }
.dark-section { background: var(--ink); color: rgba(255,255,255,.7); }
.dark-section h2 { color: #fff; }

/* ---------- Atouts / feature list ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; color: var(--ink); font-weight: 500; }
.check-list li i { color: var(--brand); margin-top: 5px; }
.check-list.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 575px) { .check-list.two { grid-template-columns: 1fr; } }

.panel { background: var(--sand); border-radius: var(--radius-lg); padding: 40px; height: 100%; }
.panel-ink { background: var(--ink); color: rgba(255,255,255,.75); border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; }
.panel-ink h2, .panel-ink h3, .panel-ink h4 { color: #fff; }
.panel-ink::after { content: ''; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(43,196,143,.3), transparent 65%); }
.panel-ink > * { position: relative; z-index: 1; }

.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.value i { color: var(--ochre-strong); font-size: 1.2rem; margin-bottom: 10px; display: block; }
.value h4 { font-size: 1rem; margin-bottom: 4px; }
.value p { font-size: .88rem; margin: 0; }
@media (max-width: 575px) { .value-grid { grid-template-columns: 1fr; } }

.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tech { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; transition: border-color .2s, transform .2s; }
.tech:hover { border-color: var(--brand); transform: translateY(-3px); }
.tech i { font-size: 1.9rem; color: var(--brand); margin-bottom: 10px; }
.tech span { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .95rem; }

/* ---------- Témoignages ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; height: 100%; display: flex; flex-direction: column; }
.quote-card .stars { color: var(--ochre); font-size: .9rem; margin-bottom: 16px; letter-spacing: 2px; }
.quote-card blockquote { color: var(--ink); font-size: 1.05rem; line-height: 1.7; flex: 1; margin-bottom: 24px; }
.person { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-initials { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-strong); font-family: var(--font-head); font-weight: 800; flex-shrink: 0; }
.person b { display: block; color: var(--ink); font-family: var(--font-head); }
.person small { color: var(--muted); }

/* ---------- Équipe ---------- */
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; transition: box-shadow .25s, transform .25s; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-photo { aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--ink) 0%, #0E5A47 100%); display: grid; place-items: center; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .initials { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; color: #fff; letter-spacing: -.02em; }
.team-info { padding: 22px 24px 26px; }
.team-info h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-info .role { color: var(--brand); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.team-info p { font-size: .9rem; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--ink); transition: all .2s; }
.socials a:hover { background: var(--brand); color: #fff; }

/* ---------- Tarifs ---------- */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 34px; height: 100%; display: flex; flex-direction: column; position: relative; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price-card .for { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.price { font-family: var(--font-head); color: var(--ink); font-weight: 800; font-size: 2.5rem; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-from { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.price-card hr { border-color: var(--line); opacity: 1; margin: 26px 0; }
.price-card .check-list { flex: 1; margin-bottom: 30px; }
.price-card.featured { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.75); box-shadow: var(--shadow-lg); }
.price-card.featured h3, .price-card.featured .price, .price-card.featured .check-list li { color: #fff; }
.price-card.featured .for, .price-card.featured .price small, .price-card.featured .price-from { color: rgba(255,255,255,.6); }
.price-card.featured hr { border-color: rgba(255,255,255,.15); }
.price-card.featured .check-list li i { color: var(--brand-bright); }
.badge-pop { position: absolute; top: -13px; left: 34px; background: var(--ochre); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: .75rem; padding: 6px 14px; border-radius: 999px; }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; margin-bottom: 12px; overflow: hidden; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 700; color: var(--ink); padding: 20px 24px; }
.faq .accordion-button:not(.collapsed) { background: var(--brand-tint); color: var(--brand-strong); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { padding: 0 24px 22px; background: var(--brand-tint); }

/* ---------- Blog ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post-cover { aspect-ratio: 16 / 9; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--brand); }
.post-body p { font-size: .93rem; flex: 1; }
.article-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 24px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--muted); }
.article-meta i { color: var(--brand); margin-right: 7px; }
.article-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 40px; }
.article-body { font-size: 1.1rem; line-height: 1.85; color: var(--ink-soft); }
.article-body p { margin-bottom: 1.4em; }
.article-body h2 { font-size: 1.65rem; margin: 2.2em 0 .7em; scroll-margin-top: 110px; }
.article-body h3 { font-size: 1.25rem; margin: 1.8em 0 .6em; }
.article-body h2:first-child { margin-top: 0; }
.article-body ul, .article-body ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.article-body li { margin-bottom: .55em; padding-left: .3em; }
.article-body ul li::marker { color: var(--brand); }
.article-body ol li::marker { color: var(--brand); font-weight: 700; font-family: var(--font-head); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin: 1.8em 0; padding: 20px 24px; border-left: 4px solid var(--ochre); background: var(--ochre-tint); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); font-weight: 500; }

.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .95rem; transition: all .2s; }
.share-btn:hover { color: #fff; transform: translateY(-2px); border-color: transparent; }
.share-btn.wa:hover { background: #25D366; }
.share-btn.fb:hover { background: #1877F2; }
.share-btn.li:hover { background: #0A66C2; }
.share-btn.x:hover { background: #000; }
.share-btn.copy:hover, .share-btn.copy.done { background: var(--brand); color: #fff; border-color: var(--brand); }
.share-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding: 24px 28px; background: var(--sand); border-radius: var(--radius-lg); }
.share-bottom b { display: block; color: var(--ink); font-family: var(--font-head); }
.share-bottom span { font-size: .92rem; }
.share-bottom .share-label { display: none; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 24px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); font-size: .95rem; }
.author-box b { color: var(--ink); font-family: var(--font-head); display: block; margin-bottom: 4px; }
.author-mark svg { width: 52px; height: 52px; }
.article-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.toc { background: var(--sand); border-radius: var(--radius-lg); padding: 26px 28px; }
.toc h2 { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; display: grid; gap: 10px; }
.toc li { counter-increment: toc; display: flex; gap: 10px; font-size: .93rem; line-height: 1.45; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; color: var(--brand); font-size: .8rem; padding-top: 2px; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--brand); }
.aside-cta { background: var(--ink); color: rgba(255,255,255,.7); border-radius: var(--radius-lg); padding: 26px 28px; }
.aside-cta h2 { color: #fff; }
.aside-cta .btn-light { background: #fff; color: var(--ink); border: 2px solid #fff; }
.aside-cta .btn-light:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 991px) { .article-aside { position: static; } }

/* ---------- Formulaires ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
@media (max-width: 575px) { .form-card, .panel, .panel-ink { padding: 26px; } }
.form-label { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: 6px; }
.form-control, .form-select { border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: .97rem; color: var(--ink); background-color: #fff; transition: border-color .2s, box-shadow .2s; }
.form-control::placeholder { color: #9AA6B2; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 138, 99, .12); }
.errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: #C0392B; font-size: .85rem; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-item .icon-box { margin: 0; flex-shrink: 0; width: 48px; height: 48px; font-size: 1.1rem; }
.contact-item small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-item b, .contact-item a { color: var(--ink); font-weight: 600; }
.panel-ink .contact-item small { color: rgba(255,255,255,.55); }
.panel-ink .contact-item b, .panel-ink .contact-item a { color: #fff; }
.panel-ink .icon-box { background: rgba(255,255,255,.08); color: var(--brand-bright); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Messages */
.flash { border: 0; border-radius: var(--radius); padding: 16px 20px; font-weight: 500; }
.alert-success.flash { background: var(--brand-tint); color: var(--brand-strong); }
.alert-error.flash, .alert-danger.flash { background: #FDECEA; color: #A93226; }

/* Empty state */
.empty { text-align: center; padding: 64px 24px; background: var(--sand); border-radius: var(--radius-lg); border: 1.5px dashed var(--line); }
.empty i { font-size: 2.2rem; color: var(--brand); margin-bottom: 14px; }
.empty h3 { font-size: 1.25rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); border-radius: var(--radius-lg); padding: 56px; color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(270deg, #000, transparent 60%); }
.cta-band::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: var(--ochre); opacity: .22; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.cta-band .btn-light { background: #fff; color: var(--ink); border: 2px solid #fff; }
.cta-band .btn-light:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
@media (max-width: 767px) { .cta-band { padding: 36px 28px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 80px 0 0; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.site-footer a { color: rgba(255,255,255,.62); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .contact-line { display: flex; gap: 12px; margin-bottom: 12px; }
.site-footer .contact-line i { color: var(--brand-bright); margin-top: 5px; width: 16px; }
.site-footer .socials a { background: rgba(255,255,255,.07); color: #fff; }
.site-footer .socials a:hover { background: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding: 24px 0; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

.back-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 1000; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--brand-strong); color: #fff; }
