:root{color-scheme:light;--ink:#392523;--muted:#6d5552;--rose:#a34e57;--strong:#93434d;--line:#ead9d5;--paper:#fffdfc;--background:#fcf8f6;--blush:#f8eeeb;--heading:Georgia,'Times New Roman',serif;--body:'Segoe UI',system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--background);color:var(--ink);font:1rem/1.55 var(--body)}
[hidden]{display:none!important}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid #a34e57;outline-offset:3px}
h1,h2,h3,p{margin:0}
svg{display:block;width:1.25rem;height:1.25rem;flex:none}
.skip-link{position:fixed;top:1rem;left:1rem;z-index:6;transform:translateY(-200%);padding:.5rem 1rem;background:var(--paper);color:var(--strong)}
.skip-link:focus{transform:translateY(0)}
.layout{display:grid;grid-template-columns:17.5rem minmax(0,1fr);min-height:100vh}
.sidebar{position:sticky;top:0;display:flex;flex-direction:column;align-self:start;min-height:100vh;padding:2.5rem 1.45rem 1.65rem;background:#faf1ef;border-right:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:.75rem;padding:0 .2rem}
.brand-emblem{width:3.1rem;height:3.1rem;display:grid;place-items:center;flex:none;border-radius:50%;background:#f3deda;border:1px solid #eed1ce}
.brand-emblem img{width:2.45rem;height:auto;display:block}
.brand strong{display:block;font:normal 1.55rem/1.1 var(--heading);letter-spacing:-.045em;white-space:nowrap}
.brand span{display:block;margin-top:.35rem;color:var(--strong);font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
.steps{margin-top:3.65rem}
.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--strong)}
.steps-label{padding-left:.8rem;margin-bottom:.65rem}
.steps ol{display:grid;gap:.35rem;margin:0;padding:0;list-style:none}
.step{width:100%;display:flex;gap:.72rem;align-items:center;text-align:left;background:none;border:1px solid transparent;border-radius:.85rem;padding:.67rem .72rem;color:var(--muted);min-height:3.5rem}
.step:disabled{cursor:default;opacity:1}
.step:not(:disabled):hover,.step[aria-current='step']{background:#f5e3df;border-color:#efd9d4}
.step[aria-current='step']{color:#753641}
.step-icon,.note-icon{display:grid;place-items:center;flex:none;width:2.15rem;height:2.15rem;border:1px solid #ebd7d2;border-radius:.65rem;background:#fff9f7;color:var(--rose)}
.step[aria-current='step'] .step-icon{background:var(--strong);color:white;border-color:var(--strong)}
.step-icon svg,.note-icon svg{width:1.05rem;height:1.05rem}
.step strong,.step small{display:block}
.step strong{font-size:.89rem;font-weight:650;line-height:1.25}
.step small{font-size:.75rem;margin-top:.14rem;color:var(--muted)}
.sidebar-note{margin-top:auto;padding:.93rem .68rem .2rem;border-top:1px solid var(--line);display:flex;gap:.59rem;color:var(--muted);font-size:.77rem;line-height:1.5}
.sidebar-note strong{color:var(--ink);font-size:.8rem}
.sidebar-note p{margin-top:.13rem}
.sidebar-note .note-icon{width:1.9rem;height:1.9rem;border:0;background:#f3e4e0}
.main{min-width:0;padding:0 clamp(2rem,4.6vw,4.75rem)}
.frame{max-width:66rem;margin:auto}
.topbar{min-height:5.35rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;font-size:.87rem;color:var(--muted)}
.topbar p,.about-link{display:flex;align-items:center;gap:.55rem;white-space:nowrap}
.topbar svg,.about-link svg{width:1rem;height:1rem;color:var(--rose)}
.topbar strong{color:var(--ink);font-weight:650}
.top-separator{width:1px;height:.78rem;transform:rotate(23deg);margin:0 .16rem;background:#b08882}
.about-link{border:1px solid var(--line);border-radius:2rem;min-height:2.5rem;padding:.38rem .78rem;background:var(--paper);color:var(--muted);font-size:.84rem;font-weight:600}
.about-link:hover{background:var(--blush);color:var(--ink)}
.hero{position:relative;display:flex;align-items:center;min-height:15.5rem;padding:1.7rem clamp(1.4rem,4.2vw,4rem);overflow:hidden;border:1px solid #eccfc9;border-radius:1.35rem;background:#f5dedb url('luz-de-palmeira.jpg') center right / cover no-repeat;isolation:isolate}
.hero::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f8e3e0 0%,#f8e3e0f0 32%,#f8e3e066 70%,#f4d8d51a 100%)}
.hero-copy{max-width:42rem}
.hero-label{display:flex;align-items:center;gap:.5rem;margin-bottom:.55rem}
.hero-label svg{width:1.03rem;height:1.03rem}
.hero h1{font:normal clamp(3rem,5.15vw,5.25rem)/1.01 var(--heading);letter-spacing:-.064em;color:#392422;margin-left:-.055em}
.hero h1 em{font-weight:400;color:var(--strong)}
.hero-description{max-width:29rem;margin-top:.8rem;color:#624641;font-size:1rem;line-height:1.55}
.progress-summary{display:flex;flex-direction:column;gap:.6rem;margin:1.5rem 0 1.2rem}
.progress-caption{display:flex;justify-content:space-between;gap:.75rem;font-size:.875rem;color:var(--muted)}
.progress-caption strong{color:var(--strong);font-weight:700}
.progress-bars{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:.37rem}
.progress-bars span{height:.32rem;border-radius:1rem;background:#f1e1dd}
.progress-bars .passed{background:#d8a3a7}
.progress-bars .current{background:var(--rose)}
.form-card{border:1px solid var(--line);border-radius:1.28rem;background:var(--paper);padding:clamp(1.2rem,3vw,2rem);box-shadow:0 .4rem 1.6rem #512b2507;scroll-margin-top:1rem}
.card-heading{display:flex;gap:.85rem;align-items:center;padding-bottom:1.2rem;border-bottom:1px solid #f1e5e1}
.section-icon{display:grid;place-items:center;flex:none;width:2.9rem;height:2.9rem;border-radius:.85rem;color:var(--strong);background:#f6e5e1;border:1px solid #f1dad5}
h2{font:normal clamp(1.65rem,2.75vw,2.25rem)/1.13 var(--heading);letter-spacing:-.042em}
.card-heading p{color:var(--muted);font-size:.91rem;margin-top:.22rem}
h2[tabindex]:focus{outline:none}
.card-fields{display:grid;gap:1.05rem;padding:1.2rem 0}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.95rem 1rem}
.field{display:flex;flex-direction:column;gap:.37rem;min-width:0}
.wide{grid-column:1/-1}
.field label,.field legend,.group legend{font-weight:650;font-size:.91rem;color:var(--ink)}
.required{color:var(--strong);font-weight:750}
.optional,.field-hint{color:var(--muted);font-size:.81rem;font-weight:400}
.optional{margin-left:.26rem}
.control{display:block;min-height:2.95rem;width:100%;padding:.65rem .86rem;background:#fffcfa;border:1px solid #e6d3cd;border-radius:.55rem;outline-offset:2px}
.control::placeholder{color:#806864;opacity:1}
.control:hover{border-color:#cba8a4}
.control:focus{border-color:var(--rose)}
select.control{appearance:none;padding-right:1.8rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3 3.5-3' fill='none' stroke='%2393434d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right .55rem center;background-size:.75rem;background-repeat:no-repeat}
.control[aria-invalid='true'],.invalid .choice{border-color:#b44858}
textarea.control{min-height:5.5rem;resize:vertical}
input[type='date']{display:block;min-width:0;appearance:none}
input[type='date']::-webkit-date-and-time-value{text-align:left}
fieldset{margin:0;padding:0;border:0;min-width:0}
.group legend{margin-bottom:.45rem;padding:0;max-width:100%}
.choice-list{display:flex;flex-wrap:wrap;gap:.5rem}
.choice-list.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.choice{position:relative;display:flex;align-items:center;gap:.52rem;min-width:5.15rem;min-height:2.75rem;padding:.52rem .72rem;border:1px solid #e6d3cd;border-radius:.57rem;background:#fffcfa;font-size:.91rem;cursor:pointer}
.choice:hover{border-color:#bd8c8c}
.choice:has(input:checked){border-color:#ba7b81;background:#faece9;color:#733741}
.choice input,.consent input{accent-color:var(--strong);width:1.05rem;height:1.05rem;margin:0;flex:none}
.choice.checked-details{align-items:flex-start}
.choice small{display:block;color:var(--muted);font-size:.8rem}
.question{padding:1rem 0;border-bottom:1px solid #f2e6e2}
.question:first-child{padding-top:0}
.question:last-of-type{padding-bottom:0;border-bottom:0}
.question .follow-up,.follow-up{margin-top:.7rem}
.subsection{display:grid;gap:.85rem;padding-top:.9rem;border-top:1px solid var(--line)}
h3{font-size:1rem;font-weight:700}
.callout{display:flex;align-items:flex-start;gap:.65rem;padding:.8rem .9rem;border:1px solid #efdbd6;border-radius:.65rem;background:#fbefec;color:#654844;font-size:.9rem}
.callout svg{color:var(--strong);margin-top:.11rem;width:1rem;height:1rem}
.consent{display:flex;align-items:flex-start;gap:.65rem;padding:.75rem;border:1px solid #ead7d1;border-radius:.6rem;cursor:pointer;font-size:.91rem}
.consent input{margin-top:.24rem}
.error-summary,.field-error{color:#a13a48;font-size:.87rem;font-weight:650}
.field-error{display:block;margin-top:.3rem}
.error-summary{margin-bottom:.7rem}
.card-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-top:1px solid #f0e4df;padding-top:1rem}
#footer-note{font-size:.84rem;color:var(--muted)}
.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.55rem}
.button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.65rem 1.16rem;min-height:2.9rem;border-radius:.6rem;border:1px solid transparent;font-size:.92rem;font-weight:650;text-align:center}
.button svg{width:1.05rem;height:1.05rem}
.primary{background:var(--strong);border-color:var(--strong);color:white;box-shadow:0 .22rem .45rem #7a39462a}
.primary:hover{background:#7e3641;border-color:#7e3641}
.secondary{border-color:var(--line);background:var(--paper);color:var(--ink)}
.secondary:hover,.text-button:hover{background:var(--blush)}
.text-button{color:var(--strong);background:transparent}
.site-footer{display:flex;justify-content:space-between;gap:.75rem;padding:1.4rem .1rem 1.6rem;color:var(--muted);font-size:.8rem}
.site-footer strong{font-weight:650}
.site-footer a{color:var(--strong);text-underline-offset:.18em}
.button:disabled{cursor:wait;opacity:.72}
.mobile-privacy{display:none}
.review-block,.staff-panel{border:1px solid var(--line);border-radius:.7rem;background:#fffcfa;overflow:hidden}
.review-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.45rem .8rem .45rem .9rem;background:#faf0ed;border-bottom:1px solid var(--line)}
.review-head button{min-height:2.5rem;padding:.35rem .7rem}
.answer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 1rem;margin:0;padding:.8rem .9rem}
.answer-list dt{font-size:.82rem;font-weight:650;color:var(--muted)}
.answer-list dd{margin:.08rem 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
.staff-panel summary{padding:1rem;color:var(--strong);font-weight:650;cursor:pointer}
.staff-body{display:grid;gap:1rem;padding:0 1rem 1rem}
.session-row{display:grid;gap:.65rem;border:1px solid var(--line);border-radius:.6rem;padding:.75rem}
.session-row header{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.session-row header button{min-height:2.5rem}
#session-list{display:grid;gap:.6rem}
.complete{padding-block:2.4rem;text-align:center}
.complete .section-icon{margin:0 auto 1rem}
.complete p{margin:.5rem auto;color:var(--muted)}
.complete .complete-note{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.87rem;margin-top:.85rem}
.complete-note svg,.mobile-privacy svg{color:var(--rose);width:1rem;height:1rem}
.complete-actions{justify-content:center;margin-top:1.3rem}
.reset-button{margin-top:.65rem}
dialog{width:min(calc(100% - 2rem),29rem);max-height:calc(100% - 2rem);overflow:auto;border:1px solid var(--line);border-radius:1rem;padding:1.3rem;background:var(--paper);color:var(--ink);box-shadow:0 1rem 5rem #4024203d}
dialog::backdrop{background:#35212366}
.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem}
dialog p{color:var(--muted);margin:.65rem 0 1rem}
.icon-button{display:grid;place-items:center;width:2.65rem;height:2.65rem;border:1px solid var(--line);border-radius:.55rem;background:var(--paper);color:var(--strong)}
.print-sheet{display:none}
@media(max-width:66rem){.layout{grid-template-columns:15rem minmax(0,1fr)}.sidebar{padding-inline:1rem}.main{padding-inline:clamp(1.35rem,3.7vw,3rem)}.hero{min-height:14rem}}
@media(max-width:53rem){
  .layout{display:block}.sidebar{position:static;min-height:0;display:block;padding:.85rem max(1.2rem,calc((100vw - 42rem)/2));border:0;border-bottom:1px solid var(--line)}
  .brand-emblem{width:2.65rem;height:2.65rem}.brand-emblem img{width:2.04rem}.brand strong{font-size:1.38rem}.brand span{font-size:.64rem;margin-top:.22rem}
  .steps,.sidebar-note{display:none}.main{max-width:45rem;margin:auto;padding:0 1.2rem}.topbar{min-height:3.65rem}.hero{min-height:13.4rem}.hero h1{font-size:clamp(2.8rem,7.9vw,4.85rem)}
  .mobile-privacy{display:flex;gap:.48rem;align-items:center;margin:.95rem .05rem 0;font-size:.81rem;color:var(--muted)}
}
@media(max-width:31rem){
  .sidebar{padding-inline:1rem}.main{padding:0 .85rem}.topbar{min-height:3.5rem;font-size:.79rem}.topbar p,.about-link{gap:.35rem}.about-link{padding:.35rem .56rem;font-size:.76rem;min-height:2.3rem}
  .hero{min-height:13rem;padding:1.15rem;border-radius:1rem;background-position:73% center}.hero::before{background:linear-gradient(90deg,#f8e3e0ed,#f8e3e0ca 58%,#f8e3e04d)}.hero-copy{max-width:19rem}.hero h1{font-size:clamp(2.52rem,10.4vw,3.55rem)}.hero h1 em{display:inline-block}.hero-description{font-size:.95rem;margin-top:.65rem}.hero-label{font-size:.69rem;letter-spacing:.125em}
  .progress-summary{margin:1.15rem 0 .9rem}.form-card{border-radius:1rem;padding:1rem}.card-heading{gap:.62rem;padding-bottom:.95rem}.card-heading p{font-size:.86rem}.section-icon{width:2.55rem;height:2.55rem}.card-fields{padding:1rem 0}.field-grid,.choice-list.tiles,.answer-list{grid-template-columns:1fr}.card-footer{align-items:stretch;flex-direction:column;gap:.6rem}.card-footer .actions{display:grid;grid-template-columns:auto 1fr}.card-footer .actions:has(#back[hidden]){grid-template-columns:1fr}.card-footer .primary{width:100%}.complete-actions{align-items:stretch;flex-direction:column}.site-footer{padding-top:1.05rem}
}
@media(max-width:22rem){.topbar{gap:.4rem}.topbar p>span:first-child{display:none}.top-separator{margin:0 .06rem}.about-link{padding-inline:.47rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}
@media print{
  @page{size:A4;margin:14mm}
  body{font:10pt/1.4 var(--body);color:#252120;background:white}.layout,dialog,.skip-link{display:none!important}.print-sheet{display:block}.print-sheet h1{font:26pt/1.1 var(--heading);color:#753641}.print-sheet h2{font:15pt/1.2 var(--heading);color:#753641;margin-top:14pt;border-bottom:1px solid #c99b9b;padding-bottom:3pt;break-after:avoid}.print-sheet p{margin:.16rem 0}.print-sheet dl{margin:.35rem 0}.print-sheet dl div{break-inside:avoid;display:grid;grid-template-columns:41% 59%;padding:.2rem 0;border-bottom:1px solid #ead9d5}.print-sheet dt{font-weight:650;padding-right:.5rem}.print-sheet dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
}
