/* Assinatura em curva: a presentation layer over the existing AI flow. */
#dj-home .dj-hero{position:relative;isolation:isolate;overflow:hidden;padding:50px 24px 28px;text-align:center;background:linear-gradient(180deg,#fff 70%,#f8fbff 100%)}
#dj-home[data-role=lawyer] .dj-hero{background:linear-gradient(180deg,#fff 70%,#f8fcfa 100%)}
#dj-home .dj-hero>.dj-kicker{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0}
#dj-home .dj-hero h1{position:relative;z-index:1;font-size:clamp(38px,4.65vw,64px);line-height:1.09;letter-spacing:-2.8px;font-weight:800;max-width:920px;margin:0 auto 26px;color:#092746}
#dj-home .dj-accent{position:relative;display:inline-block;padding-bottom:10px;color:var(--dj-role-accent)}
#dj-home .dj-signature-underline{position:absolute;right:2%;bottom:-7px;width:44%;height:20px;overflow:visible;pointer-events:none}
#dj-home .dj-subtitle{position:relative;z-index:1;font-size:19px;line-height:1.55;color:#526780;max-width:680px;margin:0 auto 32px}
#dj-home .dj-signature-loop{position:absolute;z-index:-1;right:max(-110px,calc((100vw - 1510px)/2 - 110px));top:2px;width:470px;height:420px;color:var(--dj-role-accent);opacity:.12;pointer-events:none;background:currentColor;mask:url('/images/assinatura-curva-v11.65.svg') center/contain no-repeat;-webkit-mask:url('/images/assinatura-curva-v11.65.svg') center/contain no-repeat}
#dj-home .dj-ai,#dj-home[data-role=lawyer] .dj-ai{position:relative;max-width:960px;padding:20px 30px 24px;border:1px solid var(--dj-role-border);border-radius:25px;background:#fff;box-shadow:0 8px 32px #164fb009;text-align:left}
#dj-home .dj-ai>.dj-switch{display:flex;align-items:center;justify-content:flex-start;width:max-content;max-width:100%;margin:0 0 16px;padding:0;gap:32px;border:0;border-radius:0;background:none}
#dj-home .dj-ai .dj-switch button{position:relative;flex:none;padding:9px 7px 12px;min-height:46px;border:0;border-radius:0;background:transparent;color:#61748b;font-size:16px;font-weight:500;box-shadow:none}
#dj-home .dj-ai .dj-switch button>svg{display:none}
#dj-home .dj-ai .dj-switch button:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#e5ecf5}
#dj-home .dj-ai .dj-switch button:first-child:before{content:'';position:absolute;right:-17px;top:13px;width:1px;height:20px;background:#dce5ef}
#dj-home .dj-ai .dj-switch button[aria-pressed=true]{color:var(--dj-role-accent);font-weight:700}
#dj-home .dj-ai .dj-switch button[aria-pressed=true]:after{background:var(--dj-role-accent)}
#dj-home .dj-ai-head,#dj-home[data-role=lawyer] .dj-ai-head{gap:12px;margin-bottom:10px;font-size:19px;font-weight:700;color:#092746;line-height:1.4}
#dj-home .dj-assistant-symbol{display:block;flex:none;width:56px;height:56px;object-fit:contain}
#dj-home .dj-compose{border:1px solid #d2ddeb;border-radius:17px;padding:12px 15px;background:linear-gradient(135deg,#fff,#fcfdff);transition:border-color .16s,box-shadow .16s}
#dj-home .dj-compose:focus-within{border-color:var(--dj-role-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--dj-role-accent) 8%,transparent)}
#dj-home .dj-compose textarea{min-height:66px;padding:2px 2px 10px;max-height:260px;font-size:16px;line-height:1.6;background:transparent;outline:0!important;box-shadow:none!important}
#dj-home .dj-compose textarea::placeholder{color:#7a8ba3}
#dj-home .dj-compose-bottom{justify-content:flex-end;border:0;padding-top:4px;gap:12px}
#dj-home .dj-compose-bottom .dj-audio{border:1px solid #d2ddeb;border-radius:18px;padding:9px 14px;min-height:44px;font-size:13px;line-height:1.4;color:#415a78;background:#fff}
#dj-home .dj-submit{border-radius:18px;padding:12px 20px;min-height:46px;font-size:14px;line-height:1.5;justify-content:center;white-space:normal}
#dj-home .dj-submit:hover:not(:disabled){background:color-mix(in srgb,var(--dj-role-accent) 87%,#092746)}
#dj-home .dj-topic-quick{display:flex;justify-content:space-between;align-items:stretch;flex-wrap:nowrap;gap:0;max-width:none;margin:17px 0 0}
#dj-home .dj-topic-quick button{position:relative;flex:1;justify-content:center;border:0;border-radius:10px;padding:12px 14px;background:transparent;color:var(--dj-role-accent);min-height:46px;font-size:13px;line-height:1.45;font-weight:500;text-align:left;gap:12px}
#dj-home .dj-topic-quick button+button:before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);height:24px;width:1px;background:#d2ddeb}
#dj-home .dj-topic-quick button:hover{background:var(--dj-role-soft)}
#dj-home .dj-topic-quick svg{width:23px;height:23px;flex:none}
#dj-home .dj-ai>.dj-note{margin:14px auto 0;max-width:none;font-size:12px;line-height:1.6;text-align:center;color:#526780}
#dj-home .dj-context-replies{justify-content:flex-start;margin:12px 0}
#dj-home .dj-transcript{margin-top:12px;scroll-margin-top:20px}
#dj-home .dj-journey{max-width:none;width:100%;border:0;background:#f2f7ff;padding:30px max(28px,calc((100vw - 1260px)/2));margin:0 auto 38px}
#dj-home .dj-journey .dj-steps{gap:62px;max-width:1260px;margin:auto}
#dj-home .dj-journey .dj-step{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:17px;align-items:start}
#dj-home .dj-journey .dj-step:not(:last-child):after{content:'';position:absolute;right:-47px;top:19px;width:48px;height:18px;border-bottom:1.5px solid #164fb0;border-radius:0 0 50% 50%;transform:rotate(-5deg)}
#dj-home .dj-journey .dj-step-icon{width:44px;height:44px;margin:0;border-radius:50%;display:grid;place-items:center;background:#deebff;color:#164fb0;font-size:24px;font-weight:750}
#dj-home .dj-journey h3{font-size:17px;line-height:1.4;font-weight:700;letter-spacing:-.4px;margin:4px 0 6px;color:#092746}
#dj-home .dj-journey p{font-size:13px;line-height:1.65;color:#526780}
#dj-home .dj-area-section{background:#fff;border:1px solid #e1eaf5;padding:28px 30px;margin-bottom:38px}
#dj-home .dj-home-bottom{padding-top:0}
/* Subtle continuity on inner pages, without changing their content or workflows. */
.info-hero h1 em{position:relative;font-style:normal}
.account-heading>span,.section-kicker{letter-spacing:1.6px}
.dj-intake-welcome{border-radius:24px}
@media(max-width:980px){
 #dj-home .dj-hero{padding-top:38px}
 #dj-home .dj-hero h1{font-size:52px;letter-spacing:-2px}
 #dj-home .dj-signature-loop{width:340px;right:-150px;top:10px}
 #dj-home .dj-journey .dj-steps{gap:28px}
 #dj-home .dj-journey .dj-step{grid-template-columns:36px 1fr;gap:10px}
 #dj-home .dj-journey .dj-step-icon{width:36px;height:36px;font-size:21px}
 #dj-home .dj-journey .dj-step:after{display:none}
 #dj-home .dj-journey h3{font-size:15px}
}
@media(max-width:700px){
 #dj-home .dj-hero{padding:30px 16px 22px}
 #dj-home .dj-hero h1{font-size:clamp(32px,7.8vw,46px);line-height:1.13;letter-spacing:-1.5px;margin-bottom:20px}
 #dj-home .dj-accent{padding-bottom:8px}
 #dj-home .dj-signature-underline{height:13px;bottom:-2px;width:43%}
 #dj-home .dj-subtitle{font-size:14px;line-height:1.65;max-width:470px;margin-bottom:23px}
 #dj-home .dj-signature-loop{width:235px;height:240px;right:-130px;top:0;opacity:.09}
 #dj-home .dj-ai,#dj-home[data-role=lawyer] .dj-ai{padding:15px 15px 18px;border-radius:21px}
 #dj-home .dj-ai>.dj-switch{margin:0 0 12px;gap:28px}
 #dj-home .dj-ai .dj-switch button{font-size:14px;padding:8px 5px 11px;min-height:44px}
 #dj-home .dj-ai .dj-switch button:first-child:before{right:-15px}
 #dj-home .dj-ai-head,#dj-home[data-role=lawyer] .dj-ai-head{font-size:15px;gap:9px;margin-bottom:10px}
 #dj-home .dj-assistant-symbol{width:44px;height:44px}
 #dj-home .dj-compose{padding:11px;border-radius:14px}
 #dj-home .dj-compose textarea{min-height:88px;font-size:16px}
 #dj-home .dj-compose-bottom{gap:8px;justify-content:space-between;align-items:stretch}
 #dj-home .dj-compose-bottom .dj-audio{padding:9px 10px;font-size:11px;gap:6px;border-radius:13px;justify-content:center}
 #dj-home .dj-compose-bottom .dj-audio span{display:inline}
 #dj-home .dj-submit{font-size:12px;padding:10px 13px;border-radius:13px;gap:7px;min-height:44px}
 #dj-home .dj-compose-bottom .dj-submit{flex:1;max-width:230px}
 #dj-home .dj-topic-quick{display:grid;grid-template-columns:1fr;margin-top:12px;gap:0}
 #dj-home .dj-topic-quick button{justify-content:flex-start;padding:9px 7px;min-height:43px;font-size:12px;gap:11px}
 #dj-home .dj-topic-quick button+button:before{display:none}
 #dj-home .dj-topic-quick button+button{border-top:1px solid #edf2f8;border-radius:0}
 #dj-home .dj-topic-quick svg{width:19px;height:19px}
 #dj-home .dj-ai>.dj-note{font-size:11px;margin-top:11px;line-height:1.6}
 #dj-home .dj-journey{padding:25px 24px;margin-bottom:26px}
 #dj-home .dj-journey .dj-steps{grid-template-columns:1fr;gap:23px;max-width:440px}
 #dj-home .dj-journey .dj-step{grid-template-columns:38px 1fr;gap:15px}
 #dj-home .dj-journey .dj-step-icon{width:38px;height:38px}
 #dj-home .dj-journey h3{font-size:16px;margin-top:0}
 #dj-home .dj-journey p{font-size:13px}
 #dj-home .dj-area-section{width:calc(100% - 32px);padding:23px 20px;border-radius:18px}
}
@media(max-width:365px){#dj-home .dj-hero{padding-left:12px;padding-right:12px}#dj-home .dj-ai{padding-left:12px;padding-right:12px}#dj-home .dj-compose-bottom .dj-audio{padding-left:8px;padding-right:8px}#dj-home .dj-compose-bottom .dj-submit{padding:10px;font-size:11px}#dj-home .dj-ai-head{font-size:14px}}
@media(prefers-reduced-motion:reduce){#dj-home .dj-compose{transition:none}}

/* v11.65.1: the signature underline is exclusive to the client home. */
#dj-home[data-role="lawyer"] .dj-signature-underline{display:none}
