*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:#f5f7fb;color:#12213a}.shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.side{background:#07172d;color:#fff;padding:26px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;padding:0 8px 28px}.brand .logo{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#0879ff;font-weight:900;font-size:22px}.brand b{display:block}.brand small{color:#91a6c4}.side nav{display:grid;gap:6px}.nav{border:0;background:transparent;color:#aebdd1;text-align:left;padding:13px 14px;border-radius:10px;font-weight:700;cursor:pointer}.nav:hover,.nav.active{background:#102846;color:#fff}.plan{margin-top:auto;background:#102846;padding:16px;border-radius:14px}.plan small,.plan b{display:block}.plan small{color:#8da5c5}.plan b{margin:5px 0 10px}.bar{height:6px;background:#203d61;border-radius:99px}.bar i{display:block;height:100%;width:50%;background:#1788ff;border-radius:99px}main{padding:34px 42px 70px;max-width:1500px;width:100%}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}header h1{margin:4px 0;font-size:28px}.eyebrow{font-size:11px;letter-spacing:1.5px;color:#5e718e;font-weight:900}.user{font-weight:900}.user span{background:#e8f2ff;color:#0879ff;padding:6px 8px;border-radius:7px;font-size:11px}.view{display:none}.view.active{display:block}.hero{background:linear-gradient(135deg,#081a33,#0b315e);border-radius:24px;padding:46px;color:white;display:flex;justify-content:space-between;gap:35px;align-items:center;box-shadow:0 20px 60px #10284920}.hero h2{font-size:44px;line-height:1.04;margin:13px 0}.hero h2 em{font-style:normal;color:#55adff}.hero p{color:#c2d2e8;max-width:650px;font-size:17px}.pill{font-size:11px;background:#0e7cf0;padding:7px 10px;border-radius:999px;font-weight:900;letter-spacing:1px}.primary{background:#0879ff;color:#fff;border:0;border-radius:10px;padding:13px 18px;font-weight:900;cursor:pointer}.wide{width:100%;margin-top:15px}.score{min-width:210px;background:#ffffff10;border:1px solid #ffffff20;border-radius:18px;padding:24px;text-align:center}.score span,.score small{display:block;color:#afc4df}.score strong{display:block;font-size:56px;margin:5px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:18px 0 32px}.stats article,.panel{background:#fff;border:1px solid #e5eaf1;border-radius:16px;padding:22px}.stats span,.stats small{display:block;color:#71819a}.stats strong{display:block;font-size:28px;margin:4px 0}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.tool{background:#fff;border:1px solid #e3e9f1;border-radius:16px;padding:22px;text-align:left;cursor:pointer}.tool:hover{transform:translateY(-2px);box-shadow:0 10px 30px #15345d14}.tool b,.tool strong,.tool span{display:block}.tool b{font-size:25px;margin-bottom:18px}.tool span{color:#71819a;margin-top:6px}.two{display:grid;grid-template-columns:1fr 1fr;gap:28px}.form{max-width:850px}.panel h2{margin-top:0}label{display:block;font-size:13px;font-weight:800;margin:14px 0 7px}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d8e0eb;border-radius:9px;background:white;font:inherit}textarea{min-height:120px;resize:vertical}.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.output{border:1px solid #dfe6ef;border-radius:13px;min-height:470px;background:#0a1729;color:#dce9fa;overflow:hidden}.outputHead{display:flex;justify-content:space-between;padding:14px 16px;background:#10233e}.outputHead button,.sectionHead button{border:0;border-radius:7px;padding:7px 10px;cursor:pointer}.output pre{white-space:pre-wrap;font-family:inherit;line-height:1.6;padding:18px;margin:0}.hint{font-size:12px;color:#71819a}.history{display:grid;gap:10px}.history article{border:1px solid #e4e9f0;border-radius:12px;padding:14px}.history small{color:#71819a}.sectionHead{display:flex;justify-content:space-between;align-items:center}.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:18px}.pricing article{background:#fff;border:1px solid #dfe6ef;border-radius:18px;padding:28px}.pricing .featured{border:2px solid #0879ff;transform:translateY(-5px)}.pricing span{font-size:12px;font-weight:900;color:#0879ff}.pricing h2{font-size:38px;margin:10px 0}.pricing h2 small{font-size:14px;color:#71819a}.pricing button{width:100%;padding:11px;border-radius:9px;border:1px solid #0879ff;background:#fff;color:#0879ff;font-weight:900;cursor:pointer}.featured button{background:#0879ff;color:#fff}.notice{margin-top:20px}.codebox{margin-top:22px;padding:16px;border-radius:12px;background:#0a1729;color:#dce9fa}.codebox code{display:block;white-space:pre-wrap;margin-top:10px}.pricing p{min-height:28px}@media(max-width:950px){.shell{grid-template-columns:1fr}.side{height:auto;position:static}.side nav{grid-template-columns:repeat(3,1fr)}.plan{display:none}main{padding:24px}.cards{grid-template-columns:1fr 1fr}.two{grid-template-columns:1fr}.pricing{grid-template-columns:1fr}.pricing .featured{transform:none}.hero{align-items:flex-start}.hero h2{font-size:35px}}@media(max-width:600px){.side nav{grid-template-columns:1fr 1fr}.brand{padding-bottom:16px}.hero{padding:28px;display:block}.score{margin-top:22px}.stats,.cards,.row{grid-template-columns:1fr}header{align-items:flex-start}.user{display:none}}
/* V3 Marketing Department */
.planGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:22px}.actionCard{border:1px solid #e2e9f2;background:#fff;border-radius:16px;padding:20px;text-align:left;cursor:pointer;transition:.18s ease}.actionCard:hover{transform:translateY(-2px);box-shadow:0 12px 34px #10284914;border-color:#b8d6ff}.actionCard .actionIcon{display:block;font-size:26px;margin-bottom:14px}.actionCard small{display:block;color:#0879ff;font-weight:900;letter-spacing:.8px}.actionCard strong{display:block;font-size:17px;margin:7px 0}.actionCard p{color:#64758e;line-height:1.5;min-height:68px}.actionCard b{color:#0879ff;font-size:13px}.marketingStats{margin-top:18px}@media(max-width:950px){.planGrid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.planGrid{grid-template-columns:1fr}}

/* V4.1 — semaine marketing exécutable */
.weekCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}.weekDay{background:#fff;border:1px solid #dce5f0;border-radius:16px;padding:20px;box-shadow:0 8px 24px rgba(14,42,76,.05)}.weekDay:first-child{grid-column:1/-1}.weekTop{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.weekTop b{font-size:18px}.weekChannel{font-size:12px;font-weight:800;color:#0877ff;background:#edf5ff;border-radius:999px;padding:6px 10px;text-transform:uppercase}.weekObjective{font-size:13px;color:#64748b;margin:0 0 10px}.weekDay h3{margin:0 0 12px;font-size:20px}.weekContent{white-space:pre-wrap;line-height:1.55;color:#1e293b}.weekCta{margin-top:14px;padding-top:12px;border-top:1px solid #e7edf5;font-weight:700}.weekCopy{margin-top:14px;border:0;background:#eef5ff;color:#0669dc;padding:9px 12px;border-radius:9px;font-weight:700;cursor:pointer}@media(max-width:850px){.weekCards{grid-template-columns:1fr}.weekDay:first-child{grid-column:auto}}

.weekActions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}

.weekActions button{
  border:0;
  background:#0879ff;
  color:#fff;
  border-radius:10px;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}

.weekActions button:hover{
  background:#0669dc;
  transform:translateY(-1px);
  box-shadow:0 5px 14px rgba(8,121,255,.22);
}

.weekActions button:disabled{
  opacity:.65;
  cursor:wait;
  transform:none;
  box-shadow:none;
}

.weekActions button:focus-visible{
  outline:3px solid #b9d9ff;
  outline-offset:2px;
}
/* HVAC Marketing AI — Dark V5 / Climatisation ARM */
:root{--arm-bg:#050b14;--arm-panel:#0b1524;--arm-panel2:#0e1b2d;--arm-border:#1b2b40;--arm-blue:#0879ff;--arm-blue2:#2d9cff;--arm-text:#f5f9ff;--arm-muted:#91a4bd}
html,body{background:#050b14!important;color:var(--arm-text)!important}
body{background:radial-gradient(circle at 78% -10%,rgba(8,121,255,.13),transparent 32rem),linear-gradient(180deg,#050b14,#07111e)!important}
.shell{background:transparent!important}.side{background:linear-gradient(180deg,#050c16,#07111f)!important;border-right:1px solid #17263a!important;padding:22px 16px!important}
.brand{border-bottom:1px solid #142337;margin-bottom:20px}.brand .logo{background:linear-gradient(135deg,#0879ff,#0054c7)!important;box-shadow:0 8px 24px rgba(8,121,255,.25)}
.brand b{color:#fff!important}.brand small{color:#7f94ae!important}.nav{color:#aebdd1!important;border-color:transparent!important;border-radius:10px!important}.nav:hover{background:#0d1c2e!important;color:#fff!important;border-color:#17304d!important}.nav.active{background:linear-gradient(90deg,rgba(8,121,255,.22),rgba(8,121,255,.06))!important;color:#36a0ff!important;border-color:#16477d!important;box-shadow:inset 3px 0 0 var(--arm-blue)}
.plan{background:linear-gradient(180deg,#0d1d31,#0a1727)!important;border:1px solid #19304a!important;border-radius:15px!important}.plan small{color:#7f96b3!important}.bar{background:#172b43!important}.bar i{background:linear-gradient(90deg,#0879ff,#35a6ff)!important}
main{max-width:1500px!important;padding:28px 30px 65px!important}header h1{color:#f7fbff!important}.user{color:#dce7f4!important}.user span{background:#0b2540!important;color:#45a6ff!important;border:1px solid #164574!important}
.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 75% 50%,rgba(8,121,255,.24),transparent 28rem),linear-gradient(135deg,#07182d,#0a2c54)!important;border:1px solid #164579;border-radius:20px!important;box-shadow:0 22px 65px rgba(0,0,0,.24)!important}.hero h2{color:#fff!important}.hero h2 em{color:#43a8ff!important}.hero p{color:#bdcde0!important}.pill{background:#0879ff!important;color:#fff!important}
.primary{background:linear-gradient(135deg,#0879ff,#147fe9)!important;color:#fff!important;border:1px solid #1689ff!important;border-radius:9px!important;box-shadow:0 8px 22px rgba(8,121,255,.18)}.primary:hover{transform:translateY(-1px);box-shadow:0 11px 28px rgba(8,121,255,.28)}
.score{background:rgba(12,35,61,.78)!important;border:1px solid #28527d!important;border-radius:17px!important}.score span,.score small{color:#b3c7de!important}.score strong{color:#fff!important}
.stats article,.panel{background:linear-gradient(180deg,#0b1625,#0a1421)!important;border:1px solid #1a2b40!important;border-radius:15px!important;color:#eef5ff!important;box-shadow:0 10px 35px rgba(0,0,0,.13)}.stats span,.stats small,.hint{color:#8398b2!important}.stats strong{color:#fff!important}
.tool{background:linear-gradient(180deg,#0d1929,#0a1422)!important;border:1px solid #1b2c41!important;border-radius:15px!important;color:#fff!important;box-shadow:0 8px 25px rgba(0,0,0,.12);transition:.18s ease!important}.tool:hover{transform:translateY(-3px)!important;border-color:#245687!important;box-shadow:0 15px 38px rgba(0,0,0,.24)!important}.tool b{color:#fff!important}.tool span{color:#91a4bc!important}
.panel h2,.panel h3,.sectionHead h2{color:#fff!important}label{color:#c7d5e5!important}
input,select,textarea{background:#081321!important;color:#edf5ff!important;border:1px solid #21344a!important;border-radius:9px!important}input::placeholder,textarea::placeholder{color:#667b95!important}input:focus,select:focus,textarea:focus{outline:none!important;border-color:#0879ff!important;box-shadow:0 0 0 3px rgba(8,121,255,.12)!important}
.output{background:#050c15!important;border-color:#1c3047!important}.outputHead{background:#0d1d31!important;color:#fff!important}.outputHead button,.sectionHead button{background:#10253c!important;color:#d9e8f8!important;border:1px solid #1d3a5a!important}.output pre{color:#dce9fa!important}
.history article{background:#0b1625!important;border-color:#1b2c41!important;color:#e9f2fb!important}.history small{color:#7890ab!important}
.pricing article{background:linear-gradient(180deg,#0d1929,#0a1422)!important;border-color:#1c3047!important;color:#fff!important}.pricing .featured{border-color:#0879ff!important;box-shadow:0 14px 45px rgba(8,121,255,.15)}.pricing p{color:#91a4bc!important}.pricing h2{color:#fff!important}.pricing button{background:#0b1a2b!important;color:#55adff!important;border-color:#0879ff!important}
.weekDay{background:linear-gradient(180deg,#0d1929,#0a1422)!important;border-color:#1b2d43!important;color:#eef5ff!important;box-shadow:0 8px 24px rgba(0,0,0,.12)!important}.weekTop b,.weekDay h3{color:#fff!important}.weekChannel{color:#48a7ff!important;background:#0b2540!important}.weekObjective{color:#8298b2!important}.weekContent{color:#cbd9e8!important}.weekCta{border-color:#1c3045!important}.weekCopy{background:#0c2440!important;color:#49a7ff!important}
.languageSelect,#languageSelect,.lang-select{background:#091728!important;color:#f3f8ff!important;border:1px solid #1e4b7a!important;border-radius:9px!important;min-height:42px;font-weight:800;padding:0 12px}.languageSelect option,#languageSelect option,.lang-select option{background:#091728;color:#fff}
.creditsBadge{background:#0a1c31!important;border:1px solid #1c4d82!important;color:#35a4ff!important;border-radius:10px!important;padding:9px 14px!important;font-weight:900!important}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #2d9cff!important;outline-offset:3px}
@media(max-width:950px){main{padding:24px!important}.hero{padding:32px!important}.side{border-right:0!important;border-bottom:1px solid #17263a!important}}
@media(max-width:600px){main{padding:18px!important}.hero{padding:25px!important;border-radius:17px!important}.hero h2{font-size:34px!important}.stats,.cards,.row{grid-template-columns:1fr!important}}

/* === MARKETING ACTION CARDS — DARK V5 === */
.actionCard{
  background:#0b1b2e !important;
  border:1px solid #1b3858 !important;
  color:#f3f8ff !important;
  border-radius:16px !important;
  padding:22px !important;
  text-align:left;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}

.actionCard:hover{
  background:#0f2742 !important;
  border-color:#247dcc !important;
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(0,0,0,.28);
}

.actionCard .actionIcon{
  display:block;
  font-size:26px;
  margin-bottom:16px;
}

.actionCard small{
  display:block;
  color:#35a4ff !important;
  font-weight:900;
  letter-spacing:.8px;
}

.actionCard strong{
  display:block;
  color:#f3f8ff !important;
  font-size:17px;
  margin:8px 0;
}

.actionCard p{
  color:#9db3cd !important;
  line-height:1.5;
  min-height:68px;
}

.actionCard b{
  color:#35a4ff !important;
  font-size:13px;
}


/* === INDUSTRY BADGE LAYOUT V6 === */
.user{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:nowrap;
  white-space:nowrap;
}

#industryBadge{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  line-height:1;
}

.user .planName{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  line-height:1;
}

@media (max-width:900px){
  .user{
    gap:4px;
  }

  #industryBadge,
  .user .planName{
    font-size:12px;
  }
}

/* Gestion abonnement */
#portalBtn{
  margin-top:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 18px;
  border:1px solid #0879ff;
  border-radius:9px;
  background:#0b1a2b;
  color:#55adff;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
#portalBtn:hover{
  background:#0879ff;
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 8px 24px rgba(8,121,255,.20);
}
#portalBtn:active{
  transform:translateY(0);
}

/* Annulation abonnement */
#cancelSubscriptionBtn{
  margin-top:14px;
  margin-left:10px;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 18px;
  border:1px solid #dc3545;
  border-radius:9px;
  background:#241217;
  color:#ff6b78;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
#cancelSubscriptionBtn:hover{
  background:#dc3545;
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 8px 24px rgba(220,53,69,.20);
}
#cancelSubscriptionBtn:active{
  transform:translateY(0);
}

/* === ACCOUNT BUTTONS V6 === */
.accountSecondary{
  width:100%;
  padding:13px 18px;
  background:#0b1a2b;
  color:#dce9fa;
  border:1px solid #29425f;
  border-radius:9px;
  font-weight:800;
  font-size:14px;
  cursor:pointer;
  transition:.2s ease;
}

.accountSecondary:hover{
  background:#102846;
  border-color:#0879ff;
  color:#fff;
  transform:translateY(-1px);
}

.accountLogout{
  color:#ffb4b4;
  border-color:#57313b;
}

.accountLogout:hover{
  background:#301820;
  border-color:#d95763;
  color:#fff;
}

#resetBox{
  border:1px solid #213d5d;
  background:linear-gradient(180deg,#0d1d31,#081321);
  padding:22px;
}

#resetBox #resetBtn{
  width:100%;
}

/* ===== MARKET PRO AI - SOCIAL CALENDAR ACTIONS ===== */

.calendar-action{
  appearance:none;
  border:1px solid transparent;
  border-radius:9px;
  padding:9px 14px;
  min-height:38px;
  font-size:14px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.calendar-action:hover{
  transform:translateY(-1px);
  box-shadow:0 5px 14px rgba(0,0,0,.22);
}

.calendar-action:active{
  transform:translateY(0);
}

.calendar-action:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

/* Modifier */
.calendar-edit{
  background:#1687ff;
  border-color:#1687ff;
  color:#fff;
}

/* Approuver */
.calendar-approve{
  background:#1687ff;
  border-color:#5cc8ff;
  color:#fff;
}

/* Annuler */
.calendar-cancel{
  background:#1a2c42;
  border-color:#40566f;
  color:#fff;
}

/* Supprimer */
.calendar-delete{
  background:#3a1d25;
  border-color:#a94b5d;
  color:#fff;
}

@media(max-width:600px){
  .calendar-action{
    padding:9px 11px;
    font-size:13px;
  }
}

/* ===== END SOCIAL CALENDAR ACTIONS ===== */


/* ===== MARKET PRO AI BRAND ===== */

.market-pro-brand{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:0 0 22px;
  margin-bottom:20px;
  border-bottom:1px solid #142337;
}

.market-pro-logo{
  display:block;
  width:205px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}

@media(max-width:950px){
  .market-pro-logo{
    width:180px;
  }
}

/* ===== END MARKET PRO AI BRAND ===== */


body[class*="industry-"] .nav.active{
  color:var(--arm-blue2)!important;
  border-color:var(--arm-blue)!important;
  box-shadow:inset 3px 0 0 var(--arm-blue)!important;
}

body[class*="industry-"] .primary{
  background:linear-gradient(135deg,var(--arm-blue),var(--arm-blue2))!important;
}

body[class*="industry-"] .hero{
  background:linear-gradient(135deg,var(--arm-bg),var(--arm-panel2))!important;
  border:1px solid var(--arm-border);
  box-shadow:0 20px 60px rgba(0,0,0,.22);
}

body[class*="industry-"] .pill{
  background:var(--arm-blue)!important;
}

body[class*="industry-"] .hero h2 em,
body[class*="industry-"] .eyebrow{
  color:var(--arm-blue2)!important;
}

body[class*="industry-"] .user span{
  color:var(--arm-blue)!important;
}

body[class*="industry-"] .bar i{
  background:linear-gradient(90deg,var(--arm-blue),var(--arm-blue2))!important;
}


/* =========================================================
   MARKET PRO AI — COULEURS PAR MÉTIER V2
   ========================================================= */

/* HVAC */
body.industry-hvac{
  --industry-accent:#27A9F5;
  --industry-accent2:#63C5FF;
  --arm-bg:#050B14;
  --arm-panel:#091827;
  --arm-panel2:#0D2032;
  --arm-border:#1D5275;
  --arm-blue:#27A9F5;
  --arm-blue2:#63C5FF;
}

/* PLOMBERIE */
body.industry-plomberie{
  --industry-accent:#F53527;
  --industry-accent2:#FF6A60;
  --arm-bg:#120605;
  --arm-panel:#1D0908;
  --arm-panel2:#2A0D0B;
  --arm-border:#6B211B;
  --arm-blue:#F53527;
  --arm-blue2:#FF6A60;
}

/* ÉLECTRICITÉ */
body.industry-electricite{
  --industry-accent:#3705A3;
  --industry-accent2:#7040D0;
  --arm-bg:#08040F;
  --arm-panel:#10091C;
  --arm-panel2:#180D2B;
  --arm-border:#43227D;
  --arm-blue:#3705A3;
  --arm-blue2:#7040D0;
}

/* RÉNOVATION — conserve le thème actuel */
body.industry-renovation{
  --industry-accent:#C8793D;
  --industry-accent2:#E6A269;
  --arm-bg:#130D09;
  --arm-panel:#21150E;
  --arm-panel2:#2D1D13;
  --arm-border:#51321E;
  --arm-blue:#C8793D;
  --arm-blue2:#E6A269;
}

/* CONSTRUCTION */
body.industry-construction{
  --industry-accent:#BF8704;
  --industry-accent2:#E0AA32;
  --arm-bg:#100C04;
  --arm-panel:#1B1407;
  --arm-panel2:#281D09;
  --arm-border:#5A4312;
  --arm-blue:#BF8704;
  --arm-blue2:#E0AA32;
}

/* NETTOYAGE */
body.industry-nettoyage{
  --industry-accent:#14EAFF;
  --industry-accent2:#72F4FF;
  --arm-bg:#031014;
  --arm-panel:#061C22;
  --arm-panel2:#092A31;
  --arm-border:#155D68;
  --arm-blue:#14EAFF;
  --arm-blue2:#72F4FF;
}

/* PAYSAGEMENT */
body.industry-paysagement{
  --industry-accent:#184528;
  --industry-accent2:#397A4F;
  --arm-bg:#050B07;
  --arm-panel:#09170D;
  --arm-panel2:#0E2114;
  --arm-border:#275738;
  --arm-blue:#184528;
  --arm-blue2:#397A4F;
}

/* AUTOMOBILE */
body.industry-automobile{
  --industry-accent:#827F7F;
  --industry-accent2:#B2AFAF;
  --arm-bg:#080808;
  --arm-panel:#111111;
  --arm-panel2:#1A1A1A;
  --arm-border:#454545;
  --arm-blue:#827F7F;
  --arm-blue2:#B2AFAF;
}

/* BEAUTÉ — conserve le thème actuel */
body.industry-beaute{
  --industry-accent:#D85B9D;
  --industry-accent2:#F28BC0;
  --arm-bg:#130A10;
  --arm-panel:#21101B;
  --arm-panel2:#2D1726;
  --arm-border:#4C2941;
  --arm-blue:#D85B9D;
  --arm-blue2:#F28BC0;
}

/* AUTRE — conserve le thème actuel */
body.industry-autre{
  --industry-accent:#0879FF;
  --industry-accent2:#2D9CFF;
  --arm-bg:#050B14;
  --arm-panel:#0B1524;
  --arm-panel2:#0E1B2D;
  --arm-border:#1B2B40;
  --arm-blue:#0879FF;
  --arm-blue2:#2D9CFF;
}


/* ---------- APPLICATION DE LA COULEUR ---------- */

body[class*="industry-"] .nav.active{
  color:var(--industry-accent)!important;
  border-color:var(--industry-accent)!important;
  box-shadow:inset 3px 0 0 var(--industry-accent)!important;
}

body[class*="industry-"] .primary{
  background:var(--industry-accent)!important;
  border-color:var(--industry-accent)!important;
}

body[class*="industry-"] .primary:hover{
  box-shadow:0 10px 28px color-mix(in srgb,var(--industry-accent) 30%,transparent)!important;
}

body[class*="industry-"] .pill{
  background:var(--industry-accent)!important;
}

body[class*="industry-"] .user span{
  color:var(--industry-accent)!important;
  border-color:var(--industry-accent)!important;
}

body[class*="industry-"] .creditsBadge{
  color:var(--industry-accent)!important;
  border-color:var(--industry-accent)!important;
}

body[class*="industry-"] input:focus,
body[class*="industry-"] select:focus,
body[class*="industry-"] textarea:focus{
  border-color:var(--industry-accent)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--industry-accent) 15%,transparent)!important;
}

body[class*="industry-"] .weekChannel,
body[class*="industry-"] .weekCopy{
  color:var(--industry-accent)!important;
}

body[class*="industry-"] .pricing .featured{
  border-color:var(--industry-accent)!important;
}

body[class*="industry-"] .pricing span{
  color:var(--industry-accent)!important;
}

body[class*="industry-"] .bar i{
  background:var(--industry-accent)!important;
}

body[class*="industry-"] .eyebrow{
  color:var(--industry-accent)!important;
}

body[class*="industry-"] .sectionHead button{
  border-color:var(--industry-accent)!important;
}


/* === MARKET PRO AI — FULL INDUSTRY BACKGROUND V3.1 === */

/* Fond général */
body[class*="industry-"]{
  background:
    radial-gradient(circle at 78% -10%,var(--industry-accent) 0,transparent 32rem),
    linear-gradient(180deg,var(--arm-bg),var(--arm-bg))!important;
}

/* Menu latéral */
body[class*="industry-"] .side{
  background:linear-gradient(180deg,var(--arm-bg),var(--arm-panel))!important;
  border-right-color:var(--arm-border)!important;
}

/* Bannière principale */
body[class*="industry-"] .hero{
  background:linear-gradient(135deg,var(--arm-bg),var(--arm-panel2))!important;
  border-color:var(--arm-border)!important;
}

/* Panneaux et cartes principales */
body[class*="industry-"] .stats article,
body[class*="industry-"] .panel,
body[class*="industry-"] .tool,
body[class*="industry-"] .pricing article,
body[class*="industry-"] .history article{
  background:linear-gradient(180deg,var(--arm-panel2),var(--arm-panel))!important;
  border-color:var(--arm-border)!important;
}

/* Champs */
body[class*="industry-"] input,
body[class*="industry-"] select,
body[class*="industry-"] textarea{
  background:var(--arm-panel)!important;
  border-color:var(--arm-border)!important;
}

/* Zones de résultat */
body[class*="industry-"] .output,
body[class*="industry-"] .codebox{
  background:var(--arm-bg)!important;
  border-color:var(--arm-border)!important;
}

body[class*="industry-"] .outputHead{
  background:var(--arm-panel2)!important;
}

/* Navigation */
body[class*="industry-"] .nav:hover,
body[class*="industry-"] .nav.active{
  background:var(--arm-panel2)!important;
}

/* Bloc forfait dans le menu */
body[class*="industry-"] .plan{
  background:var(--arm-panel2)!important;
}


/* === MARKET PRO AI — INDUSTRY COMPONENTS V3.2 === */

/* Sélecteur de langue */
body[class*="industry-"] .languageSelect,
body[class*="industry-"] #languageSelect,
body[class*="industry-"] .lang-select{
  background:var(--arm-panel2)!important;
  color:#f3f8ff!important;
  border-color:var(--arm-border)!important;
}

body[class*="industry-"] .languageSelect option,
body[class*="industry-"] #languageSelect option,
body[class*="industry-"] .lang-select option{
  background:var(--arm-panel)!important;
  color:#fff!important;
}

/* Carte crédits dans la bannière */
body[class*="industry-"] .score{
  background:var(--arm-panel2)!important;
  border-color:var(--arm-border)!important;
}

/* Badge crédits */
body[class*="industry-"] .creditsBadge{
  background:var(--arm-panel2)!important;
  border-color:var(--industry-accent)!important;
  color:var(--industry-accent2)!important;
}


/* === MARKET PRO AI - RESET PROFILE BUTTON === */
#resetCompany{
  display:block;
  width:100%;
  margin-top:12px !important;
  padding:13px 18px;
  border:1px solid rgba(255,80,80,.45);
  border-radius:10px;
  background:rgba(120,20,20,.12);
  color:#ff8b8b;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}

#resetCompany:hover{
  background:rgba(180,30,30,.20);
  border-color:rgba(255,100,100,.75);
  transform:translateY(-1px);
}

#resetCompany:active{
  transform:translateY(0);
}

/* === BOUTON TELECHARGEMENT VISUEL === */
.studioImageResult a[download],
.weekImageResult a[download]{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  max-width:700px !important;
  box-sizing:border-box !important;
  margin:14px 0 4px !important;
  padding:14px 20px !important;
  border:1px solid rgba(92,200,255,.45) !important;
  border-radius:12px !important;
  background:linear-gradient(135deg,#1687ff,#1266d6) !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  text-decoration:none !important;
  cursor:pointer !important;
  box-shadow:0 8px 22px rgba(22,135,255,.22) !important;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease !important;
}

.studioImageResult a[download]:hover,
.weekImageResult a[download]:hover{
  color:#fff !important;
  text-decoration:none !important;
  transform:translateY(-1px) !important;
  filter:brightness(1.08) !important;
  box-shadow:0 10px 26px rgba(22,135,255,.32) !important;
}

/* === DATE / HEURE CALENDRIER SOCIAL === */
input[type="datetime-local"]{
  appearance:auto;
  -webkit-appearance:auto;
  min-height:44px;
  padding:10px 42px 10px 12px !important;
  border:1px solid #218cff !important;
  border-radius:10px !important;
  background:#0b1c2d !important;
  color:#ffffff !important;
  font-size:15px !important;
  color-scheme:dark;
  box-sizing:border-box;
}

input[type="datetime-local"]:focus{
  outline:none !important;
  border-color:#5cc8ff !important;
  box-shadow:0 0 0 3px rgba(33,140,255,.18) !important;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator{
  opacity:1 !important;
  cursor:pointer;
  filter:invert(1) brightness(1.7);
  width:20px;
  height:20px;
}

/* === BOUTON CONNEXION FACEBOOK / INSTAGRAM === */
#metaConnectBtn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:10px 18px !important;
  border:1px solid #35a7ff !important;
  border-radius:10px !important;
  background:linear-gradient(135deg,#1687ff,#1266d6) !important;
  color:#ffffff !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  text-decoration:none !important;
  cursor:pointer !important;
  box-shadow:0 6px 18px rgba(22,135,255,.20) !important;
  transition:transform .15s ease,filter .15s ease,box-shadow .15s ease !important;
}

#metaConnectBtn:hover{
  color:#ffffff !important;
  transform:translateY(-1px) !important;
  filter:brightness(1.08) !important;
  box-shadow:0 8px 22px rgba(22,135,255,.32) !important;
}

#metaConnectBtn:disabled{
  opacity:.65 !important;
  cursor:not-allowed !important;
  transform:none !important;
}
/* === CARTES ACTIONS INDUSTRY === */
body[class*="industry-"] .actionCard{
  border-color:var(--industry-accent)!important;
  background:linear-gradient(145deg,
    color-mix(in srgb,var(--industry-accent) 18%,#0d1d2f),
    #0b1726 72%)!important;
}

body[class*="industry-"] .actionCard:hover{
  border-color:var(--industry-accent2)!important;
  background:linear-gradient(145deg,
    color-mix(in srgb,var(--industry-accent) 28%,#0d1d2f),
    #0b1726 72%)!important;
}

body[class*="industry-"] .actionCard small,
body[class*="industry-"] .actionCard b{
  color:var(--industry-accent2)!important;
}

/* === ACTION CARDS INDUSTRY FINAL — COULEURS EXPLICITES === */

/* HVAC */
body.industry-hvac .actionCard{
  background:#0D2032 !important;
  border-color:#27A9F5 !important;
}

/* PLOMBERIE */
body.industry-plomberie .actionCard{
  background:#2A0D0B !important;
  border-color:#F53527 !important;
}

/* ELECTRICITE */
body.industry-electricite .actionCard{
  background:#180D2B !important;
  border-color:#7040D0 !important;
}

/* RENOVATION */
body.industry-renovation .actionCard{
  background:#2D1D13 !important;
  border-color:#C8793D !important;
}

/* CONSTRUCTION */
body.industry-construction .actionCard{
  background:#281D09 !important;
  border-color:#BF8704 !important;
}

/* NETTOYAGE */
body.industry-nettoyage .actionCard{
  background:#092A31 !important;
  border-color:#14EAFF !important;
}

/* PAYSAGEMENT */
body.industry-paysagement .actionCard{
  background:#0E2114 !important;
  border-color:#397A4F !important;
}

/* AUTOMOBILE */
body.industry-automobile .actionCard{
  background:#1A1A1A !important;
  border-color:#827F7F !important;
}

/* BEAUTE */
body.industry-beaute .actionCard{
  background:#2D1726 !important;
  border-color:#D85B9D !important;
}

/* AUTRE */
body.industry-autre .actionCard{
  background:#0E1B2D !important;
  border-color:#0879FF !important;
}

/* Texte accentué selon le métier */
body[class*="industry-"] .actionCard small,
body[class*="industry-"] .actionCard b{
  color:var(--industry-accent2) !important;
}

/* Hover */
body[class*="industry-"] .actionCard:hover{
  border-color:var(--industry-accent2) !important;
  box-shadow:0 12px 32px rgba(0,0,0,.30) !important;
  transform:translateY(-3px);
}

/* === BOUTONS PROGRAMMATION PUBLICATION === */
button[data-confirm-schedule]{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:10px 16px !important;
  border:1px solid #35a7ff !important;
  border-radius:10px !important;
  background:linear-gradient(135deg,#1687ff,#1266d6) !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:700 !important;
  cursor:pointer !important;
  box-shadow:0 6px 18px rgba(22,135,255,.20) !important;
}

button[data-confirm-schedule]:hover{
  filter:brightness(1.08) !important;
  transform:translateY(-1px);
}

button[data-close-schedule]{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:10px 16px !important;
  border:1px solid #35516f !important;
  border-radius:10px !important;
  background:#122236 !important;
  color:#dfefff !important;
  font-size:14px !important;
  font-weight:700 !important;
  cursor:pointer !important;
}

button[data-close-schedule]:hover{
  background:#18304b !important;
  border-color:#4f759d !important;
}

button[data-confirm-schedule]:disabled{
  opacity:.65 !important;
  cursor:not-allowed !important;
}
