/* ClairFacture · Design II: navy, ivory, champagne gold. */
:root{--navy:#0b1730;--navy2:#111f3d;--teal:#c39b58;--teal2:#9e752d;--ink:#18233a;--muted:#8490a2;--line:#e7e9ef;--bg:#f6f7fa;--shadow:0 12px 36px rgba(9,23,45,.035)}
body{background:#f7f8fa;color:#1c2942}
.sidebar{background:linear-gradient(168deg,#07152c,#0e2444 76%,#112a4a);border-right:1px solid rgba(255,255,255,.09)}
.side-top{height:97px}
.brand{font-family:Manrope,sans-serif;letter-spacing:-.9px}
.brand-light{color:#d7b476}
.brand-mark{background:linear-gradient(145deg,#e6c990,#ae7e32);color:#0b1830;box-shadow:0 5px 19px rgba(226,188,119,.15)}
.workspace{background:#142d4b;border-color:#2c4462;border-radius:13px}
.workspace-avatar,.avatar{background:#f6e9cd;color:#725022}
.workspace-text span{color:#9cacc6}
.nav-label{color:#8095b5}
.nav-link{color:#becbe0;font-weight:600;border-radius:11px;padding:13px 16px}
.nav-link.active,.nav-link:hover{background:linear-gradient(90deg,rgba(226,195,142,.14),rgba(255,255,255,.06));color:#fff}
.nav-link.active{box-shadow:inset 3px 0 #e6bd7b}
.nav-link.active .nav-icon{color:#edc68a}
.nav-icon{color:#9db4d1}
.sidebar-info{background:linear-gradient(143deg,#1c3656,#152644);border:1px solid #36506d}
.sidebar-info .info-icon,.sidebar-info span{color:#ecc68a}
.sidebar-info:after{background:rgba(232,193,123,.12)}
.topbar{background:#fff;height:78px;padding:0 34px}
.breadcrumbs strong{color:#1b3257}
.beta-tag{color:#a37a38;background:#fcf6e9}
.main-content{padding:36px 38px 62px}
.btn{border-radius:10px;padding:12px 17px}
.btn-primary{background:#0d2345;color:#fff;box-shadow:0 5px 17px rgba(5,27,61,.16)}
.btn-primary:hover{background:#19345e}
.btn-secondary{background:#fff;color:#30415d;border-color:#e2e7ef}
.btn-ghost{color:#8a6529}
.btn-gold{background:linear-gradient(120deg,#e7c88f,#c99e58);color:#1b2b43;border:0;box-shadow:0 8px 22px rgba(175,127,51,.19)}
.btn-gold:hover{filter:brightness(.98)}
.metric{border-radius:15px}
.metric-icon{background:#f8f0e1;color:#a88145}
.metric:nth-child(2) .metric-icon{background:#fff4e9;color:#d18b48}
.chart-col:last-child .chart-bar,.chart-bar.highlight{background:#c7a16c}
.chart-bar{background:#d9dfe9}
.notice{background:#fffcf5;color:#866b3d;border-color:#f0e1bf}
.notice strong{color:#806029}
.panel{border-radius:17px}
.status-paid{color:#167a56;background:#e9f7f0}
.status-sent{color:#bd8528;background:#fff5e1}
.doc-number,.btn-ghost{color:#9f7338}
.field input:focus,.field select:focus,.field textarea:focus,.login-box input:focus{border-color:#bc985b;box-shadow:0 0 0 3px rgba(198,158,89,.16)}
.check-row input{accent-color:#b48b4a}
.heading-row h1{font-size:29px}
.eyebrow{color:#ad8548}
.auth-left{background:linear-gradient(145deg,#07162d,#10284c)!important}
.auth-story em{color:#e7bf7d!important}
.login-box .pill-blue{background:#fbf2e1;color:#8d662f}
.lux-intro{display:flex;justify-content:space-between;align-items:center;gap:26px;margin:5px 0 27px}
.lux-kicker{font-size:10px;letter-spacing:2px;font-weight:850;color:#a78351}
.lux-kicker span{margin-left:10px;color:#697a92;letter-spacing:.4px}
.lux-intro h1{font-size:30px;line-height:1.3;letter-spacing:-1px;margin:12px 0 9px;font-family:Manrope,sans-serif}
.lux-intro h1 span{color:#c7a169}
.lux-intro p{color:#8794a5;font-size:13px;line-height:1.6}
.lux-hero-actions{display:flex;align-items:center;gap:13px}
.lux-period{padding:11px 14px;border:1px solid #e4e8ef;background:#fff;border-radius:10px;color:#60728c;font-size:12px;font-weight:700}
.lux-tip{display:flex;gap:13px;align-items:flex-start;color:#866e46;background:#fffcf6;border:1px solid #f4e8d3;padding:12px 16px;border-radius:11px;margin-bottom:21px;font-size:11px;line-height:1.5}
.lux-tip>span{font-size:19px;color:#bd9152}
.lux-tip b{color:#755628}
.lux-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}
.lux-card{background:#fff;border:1px solid #e8eaf1;border-radius:16px;padding:20px 21px 17px;min-width:0;box-shadow:0 9px 32px rgba(20,38,63,.03)}
.lux-card-head{display:flex;align-items:center;justify-content:space-between;gap:5px;color:#6b7790;font-weight:700;font-size:11px;line-height:1.3}
.lux-card-head i{width:38px;height:38px;display:grid;place-items:center;font-style:normal;border-radius:12px;font-size:19px;color:#2c5c98;background:#eaf2fc}
.lux-card.orange .lux-card-head i{background:#fff1e4;color:#e18a40}
.lux-card.purple .lux-card-head i{background:#f1edff;color:#8273c8}
.lux-card.green .lux-card-head i{background:#e8f7ef;color:#2a9a71}
.lux-card>b{display:block;white-space:nowrap;font-family:Manrope,sans-serif;letter-spacing:-.65px;font-weight:800;font-size:27px;margin:12px 0 7px}
.lux-card small{font-size:10px;color:#8995a6;line-height:1.3}
.lux-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,1fr);gap:20px}
.lux-panel{overflow:hidden}
.lux-panel .panel-head{padding-top:24px}
.lux-panel .chart{height:223px}
.lux-chart-legend{padding:0 27px 23px;font-size:10px;color:#8d99a8}
.lux-chart-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#c39a5f;margin-right:7px}
.lux-shortcuts{margin-top:20px}
.lux-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:3px 22px 22px}
.lux-actions button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;background:#fff;border:1px solid #e9edf2;border-radius:13px;padding:16px 12px;text-align:left;transition:.18s}
.lux-actions button:hover{border-color:#d7b47c;background:#fffaf2;transform:translateY(-2px)}
.lux-actions i{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#f5eddd;color:#a77730;font-size:22px;font-style:normal}
.lux-actions strong{font-size:11px;color:#24334f}
.lux-actions small{font-size:10px;color:#97a2b2;line-height:1.4}
.lux-bottom-panels{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:18px;margin-top:20px}
.lux-upsell{min-height:185px;background:linear-gradient(120deg,#0c203e,#18335b);border:1px solid #274664;border-radius:16px;color:#fff;padding:23px 27px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.lux-upsell h2{font-size:20px;font-family:Manrope,sans-serif;margin:8px 0}
.lux-upsell p{font-size:11px;color:#c4d1e3;line-height:1.7;max-width:410px}
.lux-upsell .lux-kicker{color:#eac887}
.lux-next{background:#fff;border:1px solid #e8eaf1;border-radius:16px;padding:23px}
.lux-next>span{display:block;font-size:10px;letter-spacing:1.3px;color:#ae884f;font-weight:800}
.lux-next h3{margin:13px 0;font-size:17px}
.lux-next p{color:#8a97a9;font-size:11px;line-height:1.6}
.premium-banner{display:flex;align-items:center;gap:15px;padding:17px 22px;background:linear-gradient(102deg,#0b1d3b,#1d3657);border-radius:15px;color:white;margin:0 0 22px}
.premium-crest{width:44px;height:44px;display:grid;place-items:center;font-size:23px;background:rgba(226,189,126,.18);color:#f5d49c;border-radius:12px;flex-shrink:0}
.premium-banner>div:nth-child(2){flex:1}
.premium-banner b{font-size:13px}
.premium-banner p{font-size:11px;line-height:1.5;color:#c2cfe0;margin-top:5px}
.premium-badge{color:#f2d198;border:1px solid rgba(235,199,141,.38);border-radius:25px;padding:8px 12px;font-size:10px;font-weight:800;white-space:nowrap}
.lux-cards-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.crm-pipeline{margin-top:20px}
.stage-filters{display:flex;gap:9px;flex-wrap:wrap;padding:2px 22px 20px}
.stage-filters button{border:1px solid #e1e6ee;background:#fff;border-radius:9px;padding:10px 13px;font-weight:700;font-size:11px;color:#566987}
.stage-filters button strong{margin-left:6px;color:#9a7796}
.stage-filters button.selected{background:#122c4f;color:#fff;border-color:#122c4f}
.stage-filters button.selected strong{color:#edd3a0}
.crm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:0 22px 22px}
.crm-tile{border:1px solid #e8ebf2;border-radius:13px;padding:19px;background:linear-gradient(155deg,#fff,#fbfcff)}
.crm-tile-top{display:flex;align-items:center;justify-content:space-between}
.crm-monogram{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#f7edda;color:#a7752c;font-size:16px;font-weight:800}
.crm-stage{padding:6px 9px;background:#f0f3f8;color:#586986;border-radius:30px;font-size:10px;font-weight:800}
.crm-stage-contacte{background:#e7f0ff;color:#4771a8}.crm-stage-proposition{background:#fff4db;color:#b1802d}
.crm-stage-gagne{background:#e4f8ec;color:#2a936a}.crm-stage-perdu{background:#feecef;color:#bc5970}
.crm-tile h3{font-size:14px;margin:15px 0 6px}
.crm-tile>p{font-size:11px;color:#8391a4;margin-bottom:20px}
.crm-details{display:flex;justify-content:space-between;gap:7px;margin-top:12px;font-size:11px;color:#7b8899}
.crm-details b{font-size:12px;color:#273c5d}
.crm-tile-actions{display:flex;gap:9px;margin-top:19px;padding-top:14px;border-top:1px solid #edf0f5}
.lux-empty{padding:26px;text-align:center;color:#8997a9;font-size:12px;grid-column:1/-1}
.lux-note{font-size:11px;line-height:1.75;color:#867651;background:#fdf9ef;border:1px solid #f0e4ca;border-radius:10px;padding:14px 17px;margin-top:16px}
.mkt-templates{display:flex;gap:26px;align-items:center;justify-content:space-between;border:1px solid #e6e9f0;border-radius:15px;background:#fff;padding:25px;margin:20px 0}
.mkt-templates h2{font-size:18px;margin:7px 0}
.mkt-templates p{font-size:11px;color:#94a1b2}
.mkt-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex:1;max-width:680px}
.mkt-template-grid button{border:1px solid #e5e9f1;background:#fff;display:flex;align-items:flex-start;flex-direction:column;gap:7px;border-radius:12px;text-align:left;padding:15px}
.mkt-template-grid button:hover{border-color:#c8a16a;background:#fffcf6}
.mkt-template-grid i{font-size:24px;font-style:normal;color:#b88a4b}
.mkt-template-grid b{font-size:12px}
.mkt-template-grid small{color:#8a96a5;font-size:10px}
.campaign-list{padding:0 22px 22px}
.campaign-row{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid #eef0f5}
.campaign-icon{display:grid;place-items:center;border-radius:11px;background:#f5eddc;color:#ae7f36;font-size:21px;width:43px;height:43px;flex-shrink:0}
.campaign-info{flex:1;min-width:0}.campaign-info h3{font-size:13px}.campaign-info p{color:#8a96a6;font-size:11px;margin-top:6px}
.campaign-draft{border-radius:30px;background:#f3f5f8;color:#6e7890;padding:7px 11px;font-size:10px;font-weight:800}
.campaign-actions{display:flex;gap:6px}
.campaign-preview{border:1px solid #e8eaf0;border-radius:12px;overflow:hidden}
.campaign-preview>div{padding:17px 20px;border-bottom:1px solid #e8eaf0;background:#fafbfd}
.campaign-preview strong{display:block;margin-bottom:7px}
.campaign-preview span{font-size:11px;color:#8a96a9}
.campaign-preview pre{padding:25px;white-space:pre-wrap;font:13px/1.7 'DM Sans',sans-serif;color:#34455c}
.modal{border-radius:17px;box-shadow:0 30px 90px rgba(9,22,45,.22)}
.modal-head{border-bottom-color:#e9edf4}
.modal-head h2{color:#112b4d}
@media(max-width:1250px){.lux-dashboard-grid{grid-template-columns:1fr}.lux-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lux-cards-three{grid-template-columns:repeat(3,minmax(0,1fr))}.lux-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.main-content{padding:23px 18px 40px}.lux-intro{align-items:stretch;flex-direction:column}.lux-hero-actions{justify-content:space-between}.lux-intro h1{font-size:24px}.lux-bottom-panels{grid-template-columns:1fr}.mkt-templates{flex-direction:column;align-items:stretch}.mkt-template-grid{max-width:none}.crm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{padding:0 18px}}
@media(max-width:600px){.lux-cards,.lux-cards-three{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lux-card{padding:15px 12px}.lux-card>b{font-size:20px;white-space:normal}.lux-card-head{font-size:10px}.lux-card-head i{width:29px;height:29px}.lux-dashboard-grid{display:block}.lux-dashboard-grid .lux-panel+.lux-panel{margin-top:16px}.lux-actions{grid-template-columns:repeat(2,minmax(0,1fr));padding:2px 14px 15px}.lux-upsell{flex-direction:column;align-items:flex-start}.crm-grid{grid-template-columns:1fr;padding:0 14px 17px}.stage-filters{padding:0 14px 18px}.premium-banner{padding:15px}.premium-badge{display:none}.mkt-template-grid{grid-template-columns:1fr}.mkt-template-grid button{flex-direction:row;align-items:center}.mkt-template-grid small{margin-left:auto}.campaign-row{flex-wrap:wrap}.campaign-actions{width:100%;justify-content:flex-end}.lux-intro .lux-period{display:none}.crm-tile{padding:17px}.lux-shortcuts{margin-top:16px}}

.plan-section{margin-top:22px;padding:27px;background:#fff;border:1px solid #e7ebf0;border-radius:17px}
.plan-section h2{margin:9px 0;font-size:20px;color:#1a2d4b}
.plan-section>p{color:#8591a2;font-size:12px;line-height:1.6}
.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:21px}
.plan{border:1px solid #e6e9ef;border-radius:14px;padding:22px;display:flex;flex-direction:column;min-height:235px}
.plan>span{font-size:10px;font-weight:800;letter-spacing:1px;color:#9a8055}
.plan h3{font-size:19px;margin:14px 0}
.plan strong{font:800 28px Manrope,sans-serif;color:#192f51;letter-spacing:-1px}
.plan strong small{font:500 12px 'DM Sans',sans-serif;color:#95a0ae;letter-spacing:0}
.plan p{font-size:11px;line-height:1.6;color:#8994a3;margin:11px 0}
.plan em{margin-top:auto;font-style:normal;font-size:10px;color:#9f8457}
.plan.featured{background:linear-gradient(140deg,#10284b,#1b385b);border-color:#23486e}
.plan.featured>span,.plan.featured strong,.plan.featured h3{color:#efd3a6}
.plan.featured p{color:#c7d2e0}
@media(max-width:650px){.plan-grid{grid-template-columns:1fr}.plan{min-height:0}}
