/* Ottoni Habitat 1.6.0 — application-first experience refinement. */

/* The authenticated entry point is the application. Public editorial layouts remain public-only. */
body.ottoni-platform-authenticated:not(.ottoni-is-studio) .ottoni-atelier-home{display:none!important}

/* The project begins immediately below the method rail instead of floating deep in the page. */
body.ottoni-is-workbench .ottoni-workbench-canvas{padding-top:16px}
body.ottoni-is-workbench .ottoni-workbench-canvas>[data-workbench-panel]{max-width:1280px}
body.ottoni-is-workbench .otc-os{padding-top:.45rem}
body.ottoni-is-workbench .otc-session{border-radius:18px 18px 0 0}
body.ottoni-is-workbench .otc-workspace{min-height:clamp(540px,72vh,860px)}

/* Product naming: the user sees the object of work, not an internal engineering term. */
.ottoni-workbench-brand small,.ottoni-global-appbar__brand small{font-weight:650}

/* Account menu. */
.ottoni-account-menu{position:relative;z-index:10060;margin:0}
.ottoni-account-menu>summary{list-style:none;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid rgba(135,151,127,.38);border-radius:50%;background:linear-gradient(145deg,#dfe5dd,#b9c7b7);color:#344238;cursor:pointer;overflow:hidden;box-shadow:0 8px 24px rgba(51,45,40,.08)}
.ottoni-account-menu>summary::-webkit-details-marker{display:none}
.ottoni-account-menu>summary img{width:100%;height:100%;object-fit:cover}
.ottoni-account-menu>summary span{font-size:.82rem;font-weight:850}
.ottoni-account-menu>summary:focus-visible{outline:3px solid rgba(169,99,78,.22);outline-offset:3px}
.ottoni-account-menu[open]>summary{border-color:rgba(169,99,78,.45);box-shadow:0 0 0 5px rgba(169,99,78,.09)}
.ottoni-account-menu__panel{position:absolute;z-index:10080;top:calc(100% + 12px);right:0;width:min(310px,calc(100vw - 24px));padding:10px;border:1px solid rgba(74,61,51,.17);border-radius:18px;background:rgba(255,253,249,.98);box-shadow:0 26px 70px rgba(51,45,40,.2);backdrop-filter:blur(20px);transform-origin:top right;animation:ottoni-account-in .18s ease both}
@keyframes ottoni-account-in{from{opacity:0;transform:translateY(-7px) scale(.98)}to{opacity:1;transform:none}}
.ottoni-account-menu__panel>header{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:11px;padding:10px 10px 13px;border-bottom:1px solid rgba(74,61,51,.12)}
.ottoni-account-menu__panel>header>img,.ottoni-account-menu__panel>header>span{width:44px;height:44px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#d9e1d6;font-weight:850}
.ottoni-account-menu__panel>header div{display:grid;gap:2px;min-width:0}.ottoni-account-menu__panel>header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem}.ottoni-account-menu__panel>header small{color:#756d65;font-size:.64rem;line-height:1.35}
.ottoni-account-menu__panel nav{display:grid;padding:7px 0}.ottoni-account-menu__panel nav a{min-height:42px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:10px;color:#332d28;text-decoration:none;font-size:.74rem;font-weight:700}.ottoni-account-menu__panel nav a:hover,.ottoni-account-menu__panel nav a:focus-visible{background:#f4ece4;outline:0}.ottoni-account-menu__panel nav i{font-style:normal;color:#a9634e}
.ottoni-account-menu__logout{display:flex;min-height:42px;align-items:center;padding:0 10px;border-top:1px solid rgba(74,61,51,.12);color:#8b4f40;text-decoration:none;font-size:.7rem;font-weight:760}
.ottoni-account-menu--workbench>summary{width:38px;height:38px;border-color:rgba(74,61,51,.15);background:linear-gradient(135deg,#dfc3bb,#bdc8b8)}

/* Honest empty stages become a didactic work surface instead of an exposed implementation gap. */
.ottoni-guided-stage{margin:0;border:1px solid rgba(74,61,51,.14);border-radius:18px;background:linear-gradient(145deg,rgba(255,253,249,.98),rgba(244,237,228,.82));box-shadow:0 18px 48px rgba(67,52,41,.06);overflow:hidden}
.ottoni-guided-stage>header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:30px;padding:clamp(24px,3vw,38px);border-bottom:1px solid rgba(74,61,51,.13)}
.ottoni-guided-stage>header div{display:grid;gap:9px}.ottoni-guided-stage>header span{font-size:.58rem;font-weight:850;letter-spacing:.15em;color:#a9634e}.ottoni-guided-stage>header h2{max-width:25ch;margin:0;color:#332d28;font:500 clamp(2rem,3.8vw,3.8rem)/1.02 Georgia,"Times New Roman",serif;letter-spacing:-.04em}.ottoni-guided-stage>header p{max-width:72ch;margin:0;color:#756d65;font-size:.86rem;line-height:1.65}.ottoni-guided-stage>header>small{padding:.45rem .7rem;border:1px solid rgba(105,120,98,.22);border-radius:999px;background:rgba(189,200,184,.14);color:#596753;font-size:.63rem;font-weight:750;white-space:nowrap}
.ottoni-guided-stage ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.ottoni-guided-stage li{min-height:126px;padding:20px;display:grid;grid-template-columns:34px minmax(0,1fr);align-content:center;gap:12px;border-right:1px solid rgba(74,61,51,.13)}.ottoni-guided-stage li:last-child{border-right:0}.ottoni-guided-stage li b{color:#a9634e;font-family:Georgia,"Times New Roman",serif;font-size:1.05rem;font-weight:500}.ottoni-guided-stage li span{color:#332d28;font-size:.76rem;line-height:1.55}
.ottoni-guided-stage>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;border-top:1px solid rgba(74,61,51,.13);background:rgba(244,237,228,.42)}.ottoni-guided-stage>footer a,.ottoni-guided-stage>footer button{min-height:42px;padding:0 13px;display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(74,61,51,.18);border-radius:10px;background:#fffdf9;color:#332d28;text-decoration:none;font:inherit;font-size:.7rem;font-weight:760;cursor:pointer}.ottoni-guided-stage>footer a span{order:-1}.ottoni-guided-stage>footer a:hover,.ottoni-guided-stage>footer button:hover{border-color:rgba(169,99,78,.42);background:#f8eee7}

/* Onde o Corpo Habita belongs to the ecosystem, not to an isolated website section. */
.otc-och-pulse{margin-top:1rem;min-height:76px;padding:10px 13px;display:grid;grid-template-columns:116px minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid rgba(45,77,51,.18);border-radius:15px;background:linear-gradient(100deg,rgba(201,211,200,.52),rgba(255,250,244,.88));color:#314b36;text-decoration:none;overflow:hidden;box-shadow:0 14px 36px rgba(49,75,53,.07)}
.otc-och-pulse img{width:116px;height:54px;object-fit:cover;border-radius:10px}.otc-och-pulse>span{display:grid;gap:2px}.otc-och-pulse small{font-size:.54rem;letter-spacing:.13em;font-weight:850}.otc-och-pulse strong{font-size:.9rem}.otc-och-pulse b{color:#607264;font-size:.67rem;font-weight:550}.otc-och-pulse>i{font-style:normal;font-size:1rem}.otc-och-pulse:hover{transform:translateY(-2px);border-color:rgba(45,77,51,.32)}
.otc-och-feature{margin-top:1rem;display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);min-height:290px;border:1px solid rgba(45,77,51,.19);border-radius:20px;background:#cbd4c9;overflow:hidden;box-shadow:0 22px 56px rgba(49,75,53,.11)}
.otc-och-feature__media{position:relative;min-height:290px;background:#cbd4c9}.otc-och-feature__media video,.otc-och-feature__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.otc-och-feature__media video{z-index:2}.otc-och-feature__media img{z-index:1}
.otc-och-feature>div:last-child{padding:clamp(24px,3vw,42px);display:grid;align-content:center;gap:10px;background:linear-gradient(145deg,#d6ddd4,#eef0e9);color:#2e4a34}.otc-och-feature>div:last-child>span{font-size:.56rem;font-weight:850;letter-spacing:.14em}.otc-och-feature h3{margin:0;font:650 clamp(2rem,3.4vw,3.5rem)/.96 var(--ottoni-font-body);letter-spacing:-.055em}.otc-och-feature p{max-width:60ch;margin:0;color:#566c5b;font-size:.78rem;line-height:1.65}.otc-och-feature a{justify-self:start;margin-top:6px;display:inline-flex;align-items:center;gap:10px;padding:.72rem .9rem;border:1px solid rgba(45,77,51,.22);border-radius:10px;background:rgba(255,255,255,.54);color:#2e4a34;text-decoration:none;font-size:.7rem;font-weight:760}.otc-och-feature a i{font-style:normal}
.otc-area-community .otc-community-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:900px){
  body.ottoni-is-workbench .ottoni-workbench-canvas{padding-top:12px}
  .ottoni-guided-stage>header{grid-template-columns:1fr}.ottoni-guided-stage ol{grid-template-columns:1fr}.ottoni-guided-stage li{min-height:0;border-right:0;border-bottom:1px solid rgba(74,61,51,.13)}.ottoni-guided-stage li:last-child{border-bottom:0}
  .otc-och-feature{grid-template-columns:1fr}.otc-och-feature__media{min-height:210px}.otc-area-community .otc-community-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .ottoni-account-menu__panel{position:fixed;top:66px;right:10px;left:10px;width:auto}
  .ottoni-guided-stage>header{padding:22px 18px}.ottoni-guided-stage>header h2{font-size:2.25rem}.ottoni-guided-stage>footer{align-items:stretch;flex-direction:column}.ottoni-guided-stage>footer a,.ottoni-guided-stage>footer button{justify-content:center}
  .otc-och-pulse{grid-template-columns:82px minmax(0,1fr)}.otc-och-pulse img{width:82px;height:52px}.otc-och-pulse b,.otc-och-pulse>i{display:none}
}
@media(prefers-reduced-motion:reduce){.ottoni-account-menu__panel{animation:none}.otc-och-pulse{transition:none}.otc-och-feature video{display:none}}
