
:root{
  --sd-chocolat:#56331f;
  --sd-vert:#5e8b6f;
  --sd-creme:#f8f4ec;
  --sd-card:#fffdf8;
  --sd-text:#2b241f;
  --sd-muted:#766b61;
  --sd-border:#eadfce;
  --sd-shadow:0 18px 45px rgba(86,51,31,.08);
  --sd-radius:22px;
}
*{box-sizing:border-box}
body{margin:0;background:var(--sd-creme);color:var(--sd-text);font-family:Inter,Segoe UI,Arial,sans-serif}
a{text-decoration:none;color:inherit}
.apphead{background:rgba(255,253,248,.92)!important;border-bottom:1px solid var(--sd-border)!important;color:var(--sd-chocolat)!important}
.app{background:var(--sd-creme)!important}
.appside{background:linear-gradient(180deg,#fffdf8,#f4ecdf)!important;border-right:1px solid var(--sd-border)!important;box-shadow:var(--sd-shadow)}
.brand{color:var(--sd-chocolat)!important;font-size:25px!important;letter-spacing:-.03em}
.tag{color:var(--sd-vert)!important;text-transform:uppercase;letter-spacing:.14em;font-size:11px!important}
.appside nav a{color:var(--sd-text)!important;border-radius:14px!important;margin:6px 10px!important;padding:12px 14px!important;font-weight:600}
.appside nav a:hover,.appside nav a.active{background:var(--sd-chocolat)!important;color:#fff!important}
.main{background:var(--sd-creme)!important;padding:34px!important}
.card{background:var(--sd-card)!important;border:1px solid var(--sd-border)!important;border-radius:var(--sd-radius)!important;box-shadow:var(--sd-shadow)!important}
.card h1,.card h2,.card h3{color:var(--sd-chocolat)!important;letter-spacing:-.035em}
.card p{color:var(--sd-muted)}
.tile,.stat{background:#fffaf2!important;border:1px solid var(--sd-border)!important;border-radius:20px!important;box-shadow:0 10px 28px rgba(86,51,31,.05)!important}
.tile strong,.stat strong{color:var(--sd-chocolat)!important}
.stat span{color:var(--sd-muted)!important}
button,.btn,input[type="submit"]{background:var(--sd-chocolat)!important;color:#fff!important;border:none!important;border-radius:999px!important;padding:12px 22px!important;font-weight:700!important}
input,textarea,select{border:1px solid var(--sd-border)!important;border-radius:14px!important;background:#fffdf8!important;color:var(--sd-text)!important}
.sd-hero-public{min-height:100vh;display:grid;grid-template-columns:minmax(360px,36%) 1fr;background:var(--sd-creme)}
.sd-hero-panel{position:relative;padding:64px 58px;background:#fffdf8;display:flex;flex-direction:column;justify-content:center;z-index:2}
.sd-hero-panel:after{content:"";position:absolute;right:-80px;top:0;height:100%;width:160px;background:#fffdf8;transform:skewX(-8deg);z-index:-1}
.sd-hero-video{position:relative;overflow:hidden;background:linear-gradient(135deg,#2b241f,#5e8b6f)}
.sd-hero-video video{width:100%;height:100%;object-fit:cover;display:block}
.sd-video-placeholder{width:100%;height:100%;min-height:100vh;background:linear-gradient(90deg,rgba(43,36,31,.55),rgba(43,36,31,.15)),radial-gradient(circle at 70% 35%,rgba(94,139,111,.36),transparent 36%),linear-gradient(135deg,#3a271c,#8f7157);display:flex;align-items:center;justify-content:center;color:#fff;text-align:center;padding:50px}
.sd-video-placeholder h2{font-size:54px;line-height:1.05;font-family:Georgia,serif;font-weight:400}
.sd-hero-logo{max-width:290px;margin-bottom:30px}
.sd-hero-title{color:var(--sd-chocolat);font-family:Georgia,serif;font-size:42px;margin:0 0 8px}
.sd-hero-tag{color:var(--sd-vert);text-transform:uppercase;letter-spacing:.15em;font-weight:700;font-size:13px;margin-bottom:28px}
.sd-hero-text{color:var(--sd-text);font-family:Georgia,serif;font-size:22px;line-height:1.45;max-width:360px}
.sd-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
.sd-pill{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 24px;border-radius:999px;font-weight:700}
.sd-pill.primary{background:var(--sd-chocolat);color:#fff}
.sd-pill.light{border:1px solid var(--sd-border);color:var(--sd-chocolat);background:#fff}
.sd-dashboard-hero{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:center}
.sd-dashboard-hero img{max-width:220px;justify-self:end;opacity:.95}
.sd-status-ok{color:var(--sd-vert);font-weight:800}
@media(max-width:900px){
  .sd-hero-public{grid-template-columns:1fr}
  .sd-hero-panel:after{display:none}
  .sd-hero-video{min-height:420px}
  .sd-dashboard-hero{grid-template-columns:1fr}
  .sd-dashboard-hero img{justify-self:start}
}


/* CORRECTIF ACCUEIL PREMIUM STUDIO DALINE */
.sd-hero-panel{
  background:#fffdf8 !important;
  color:#2b241f !important;
}
.sd-hero-title,
.sd-hero-panel h1,
.sd-hero-panel h2{
  color:#56331f !important;
}
.sd-hero-text,
.sd-hero-panel p{
  color:#2b241f !important;
}
.sd-hero-tag{
  color:#4f7c61 !important;
}
.sd-hero-video{
  position:relative;
  min-height:100vh;
  background:#2b241f;
}
.sd-hero-video video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  z-index:1;
}
.sd-hero-video::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(43,36,31,.42),rgba(43,36,31,.16));
  z-index:2;
  pointer-events:none;
}
.sd-video-placeholder{
  position:relative;
  z-index:3;
  background:transparent !important;
  color:#fffdf8 !important;
  text-shadow:0 3px 18px rgba(0,0,0,.45);
}
.sd-video-placeholder h2{
  color:#fffdf8 !important;
}
.sd-pill.primary{
  background:#56331f !important;
  color:#ffffff !important;
}
.sd-pill.light{
  background:#fffdf8 !important;
  color:#56331f !important;
  border:1px solid #d8c7b2 !important;
}
.card,.tile,.stat{
  color:#2b241f !important;
}
.card h1,.card h2,.card h3,.tile strong,.stat strong{
  color:#56331f !important;
}
.card p,.tile p,.stat span{
  color:#4d4038 !important;
}

/* CORRECTIF ASSETS ACCUEIL + DASHBOARD */
.sd-hero-panel{background:#fffdf8!important;color:#2b241f!important;position:relative;overflow:hidden}
.sd-hero-panel::before{content:"";position:absolute;left:-60px;bottom:-45px;width:240px;height:240px;background:url("assets/logo-dalineconcept.png") no-repeat left bottom/contain;opacity:.18;pointer-events:none}
.sd-hero-title,.sd-hero-text,.sd-hero-panel p{color:#2b241f!important}
.sd-hero-tag{color:#4f7c61!important}
.sd-hero-logo{max-width:310px!important;height:auto!important}
.sd-hero-video{position:relative!important;min-height:100vh!important;background:#2b241f!important;overflow:hidden!important}
.sd-hero-video video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:1!important}
.sd-hero-video::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(43,36,31,.30),rgba(43,36,31,.10));z-index:2}
.sd-video-placeholder{position:relative!important;z-index:3!important;background:transparent!important;color:#fffdf8!important;text-shadow:0 3px 18px rgba(0,0,0,.45)}
.sd-video-placeholder h2{color:#fffdf8!important}
.card,.tile,.stat{background:#fffdf8!important;color:#2b241f!important}
.card h1,.card h2,.card h3,.tile strong,.stat strong{color:#56331f!important}
.card p,.tile p,.stat span{color:#4d4038!important}
.sd-dashboard-hero{background:#fffdf8!important;border:1px solid #eadfce!important}
.sd-dashboard-hero img{max-width:340px!important;border-radius:22px;box-shadow:0 18px 45px rgba(86,51,31,.12)}

/* STUDIO DALINE PREMIUM - FORFAITS + MAINTENANCE */
:root{--sd-chocolat:#56331f;--sd-vert:#5e8b6f;--sd-creme:#f8f4ec;--sd-card:#fffdf8;--sd-text:#2b241f;--sd-muted:#6f6258;--sd-border:#eadfce;--sd-shadow:0 18px 45px rgba(86,51,31,.08)}
body{background:#f8f4ec!important;color:#2b241f!important}
.apphead,.appside,.card,.tile,.stat{color:#2b241f!important}
.card h1,.card h2,.card h3,.tile strong,.stat strong{color:#56331f!important}
.card p,.tile p,.stat span,li{color:#4d4038!important}
.sd-hero-panel{background:#fffdf8!important;color:#2b241f!important;position:relative;overflow:hidden}
.sd-hero-panel::before{content:"";position:absolute;left:-68px;bottom:-42px;width:260px;height:260px;background:url("assets/logo-dalineconcept.png") no-repeat left bottom/contain;opacity:.20;pointer-events:none}
.sd-hero-logo{max-width:310px!important;height:auto!important}
.sd-hero-video{position:relative!important;min-height:100vh!important;background:#2b241f!important;overflow:hidden!important}
.sd-hero-video video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:1!important}
.sd-hero-video::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(43,36,31,.30),rgba(43,36,31,.10));z-index:2}
.sd-video-placeholder{position:relative!important;z-index:3!important;background:transparent!important;color:#fffdf8!important;text-shadow:0 3px 18px rgba(0,0,0,.45)}
.sd-video-placeholder h2{color:#fffdf8!important}
.sd-forfaits-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.sd-plan{background:#fffdf8;border:1px solid #eadfce;border-radius:26px;padding:26px;box-shadow:0 18px 45px rgba(86,51,31,.08);display:flex;flex-direction:column}
.sd-plan h2{margin:0 0 6px;color:#56331f;font-family:Georgia,serif;font-size:30px}
.sd-price{font-size:36px;color:#56331f;font-weight:800;margin:8px 0 18px}
.sd-plan small{color:#5e8b6f;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.sd-plan ul{padding-left:18px;line-height:1.55}.sd-plan li{margin:7px 0}
.sd-note{background:#f4ecdf;border:1px solid #eadfce;border-radius:18px;padding:14px;color:#4d4038;margin:12px 0}
.sd-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#dfeadd;color:#315941;font-weight:800;font-size:12px}
.sd-warning{background:#fff6e7;border:1px solid #eadfce;border-radius:18px;padding:14px;color:#56331f}
.sd-maintenance-ok{color:#315941;background:#dfeadd;border-radius:999px;padding:5px 10px;font-weight:800}
.sd-maintenance-alert{color:#6b2f20;background:#f7ded8;border-radius:999px;padding:5px 10px;font-weight:800}
@media(max-width:1100px){.sd-forfaits-grid{grid-template-columns:1fr}}

/* CORRECTIF CLIENT ADMIN INTERFACE */
.sd-brand-logo {
  max-width: 210px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.sd-ivy-side {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 180px;
  height: 180px;
  background: url("assets/logo-dalineconcept.png") no-repeat left bottom / contain;
  opacity: .16;
  pointer-events: none;
  z-index: 0;
}

.appside .sd-brand-logo {
  max-width: 145px;
  margin: 8px auto 18px;
}

.sd-client-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
}

.sd-client-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sd-client-card {
  background: #fffaf2;
  border: 1px solid #eadfce;
  border-radius: 20px;
  padding: 20px;
}

.sd-client-card strong {
  color: #56331f;
}

.sd-client-card p {
  color: #4d4038;
}

.sd-trial-banner {
  background: #dfeadd;
  color: #315941;
  border: 1px solid #bfd4c2;
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 800;
}

@media(max-width:900px){
  .sd-client-hero,
  .sd-client-actions {
    grid-template-columns: 1fr;
  }
}

/* STUDIO DALINE - CONFORMITE JURIDIQUE RENFORCEE */
.sd-legal-warning{background:#fff6e7;border:1px solid #eadfce;border-radius:18px;padding:18px;color:#56331f;font-weight:600}
.sd-legal-danger{background:#f7ded8;border:1px solid #e7b9ae;border-radius:18px;padding:18px;color:#6b2f20;font-weight:700}
.sd-legal-ok{background:#dfeadd;border:1px solid #bfd4c2;border-radius:18px;padding:18px;color:#315941;font-weight:700}
.sd-checklist{display:grid;gap:12px}
.sd-checkline{background:#fffaf2;border:1px solid #eadfce;border-radius:16px;padding:14px;color:#2b241f}
.sd-checkline label{display:flex;gap:12px;align-items:flex-start;line-height:1.45}
.sd-checkline input{margin-top:4px}
.sd-legal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.sd-legal-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sd-signature-box{background:#fffdf8;border:1px dashed #bda98f;border-radius:18px;padding:18px}
.sd-risk-low{color:#315941;font-weight:800}.sd-risk-medium{color:#93621d;font-weight:800}.sd-risk-high{color:#6b2f20;font-weight:800}
@media(max-width:900px){.sd-legal-grid,.sd-legal-grid-3{grid-template-columns:1fr}}

/* AGENT IA JURISTE */
.sd-juriste-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.sd-juriste-status-ok{background:#dfeadd;color:#315941;border:1px solid #bfd4c2;border-radius:999px;padding:7px 12px;font-weight:900;display:inline-flex}
.sd-juriste-status-watch{background:#fff0d5;color:#8a5a12;border:1px solid #e7c98f;border-radius:999px;padding:7px 12px;font-weight:900;display:inline-flex}
.sd-juriste-status-alert{background:#f7ded8;color:#6b2f20;border:1px solid #e7b9ae;border-radius:999px;padding:7px 12px;font-weight:900;display:inline-flex}
.sd-juriste-card{background:#fffaf2;border:1px solid #eadfce;border-radius:18px;padding:18px}
.sd-juriste-card strong{color:#56331f}
.sd-juriste-card p,.sd-juriste-card li{color:#4d4038}
@media(max-width:900px){.sd-juriste-grid{grid-template-columns:1fr}}

/* STUDIO DALINE V4.1 - GOUVERNANCE & CONFORMITE */
.sd-legal-title{font-family:Georgia,serif;color:#56331f!important}
.sd-legal-box{background:#fffaf2;border:1px solid #eadfce;border-radius:20px;padding:18px;margin:14px 0}
.sd-legal-strong{font-weight:900;color:#56331f}
.sd-legal-bold-box{background:#fff6e7;border:2px solid #c59b62;border-radius:20px;padding:20px;margin:18px 0;color:#56331f;font-weight:900}
.sd-proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sd-proof-item{background:#fffdf8;border:1px solid #eadfce;border-radius:16px;padding:14px}
.sd-proof-item strong{color:#56331f}
.sd-accept-line{background:#fffaf2;border:1px solid #eadfce;border-radius:16px;padding:14px;margin:10px 0}
.sd-accept-line label{display:flex;gap:12px;align-items:flex-start;line-height:1.45}
.sd-accept-line input{margin-top:4px}
.sd-doc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sd-doc-card{background:#fffdf8;border:1px solid #eadfce;border-radius:20px;padding:20px;box-shadow:0 12px 30px rgba(86,51,31,.06)}
.sd-doc-card h3{margin-top:0;color:#56331f}
.sd-proof-ok{background:#dfeadd;color:#315941;border:1px solid #bfd4c2;border-radius:999px;padding:7px 12px;font-weight:900;display:inline-flex}
.sd-proof-alert{background:#f7ded8;color:#6b2f20;border:1px solid #e7b9ae;border-radius:999px;padding:7px 12px;font-weight:900;display:inline-flex}
@media(max-width:1000px){.sd-proof-grid,.sd-doc-grid{grid-template-columns:1fr}}
