/* Porquê v2 · conteúdo em widgets e containers Elementor. */
body.page-id-89 #por-que #icn-why-intro{max-width:100%;align-self:stretch}
body.page-id-89 #por-que #icn-why-title,body.page-id-89 #por-que #icn-why-title h2{width:100%;max-width:100%;text-wrap:balance}
body.page-id-89 #icn-why-description{max-width:980px;align-self:center}
body.page-id-89 #icn-why-scene{min-width:0}
body.page-id-89 #icn-why-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
body.page-id-89 #icn-why-visual{position:relative}
body.page-id-89 #icn-why-photo-caption{position:absolute;bottom:12px;right:12px;width:auto;max-width:calc(100% - 24px);padding:4px 8px;background:rgba(35,23,41,.8);border-radius:5px;color:#fff}
body.page-id-89 #icn-why-photo-caption p{font-size:12px;line-height:1.3;color:#fff;margin:0}
body.page-id-89 #icn-why-disclaimer p{font-size:12px;line-height:1.45;margin:0}
body.page-id-89 #icn-why-conversation{min-width:0}
body.page-id-89 #icn-why-brand h3{color:var(--icone-text-label);letter-spacing:-.035em}
body.page-id-89 #icn-why-chat-header{align-items:center;min-height:44px}
body.page-id-89 #icn-why-context{color:var(--icone-text-label);font-size:13px;line-height:1.45}
body.page-id-89 #icn-why-chat-window{height:350px;overflow:auto;overscroll-behavior:auto;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#bba5c9 transparent;outline-offset:5px}
body.page-id-89 #icn-why-chat-window:focus-visible{outline:3px solid var(--icone-focus)}
body.page-id-89 #icn-why-chat-track{flex-shrink:0;padding:3px 5px 8px 2px;transition:opacity .4s ease}
body.page-id-89 #icn-why-chat-track>[id^="icn-why-msg"]{flex-shrink:0;box-shadow:0 4px 13px rgba(45,30,50,.055)}
body.page-id-89 #icn-why-chat-track>[id^="icn-why-msg-client"]{align-self:flex-end;color:#344535!important;background:#e0e9de!important;border-radius:15px 4px 15px 15px}
body.page-id-89 #icn-why-chat-track>[id^="icn-why-msg-client"] p{color:#344535!important}
body.page-id-89 #icn-why-chat-track>[id^="icn-why-msg-ai"],body.page-id-89 #icn-why-chat-track>[id^="icn-why-msg-seller"]{align-self:flex-start;background:var(--icone-surface-elite-safe);border-radius:4px 15px 15px 15px}
body.page-id-89 #icn-why-chat-track [id$="-actor"] p{font-size:12px;font-weight:650;color:var(--icone-text-label)}
body.page-id-89 #icn-why-chat-track [id$="-copy"] p{font-size:17px;line-height:1.45}
body.page-id-89 #icn-why-visit-confirmed{align-self:center;text-align:center;color:var(--icone-text-label)}
body.page-id-89 #icn-why-typing{min-height:18px;font-size:12px;line-height:1.4;color:var(--icone-text-label)}
body.page-id-89 #icn-why-controls{align-items:center;min-height:44px;width:auto;flex-shrink:0;gap:6px}
body.page-id-89 #icn-why-controls>.elementor-element{width:auto}
body.page-id-89 #icn-why-controls .elementor-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:12px;background:transparent;box-shadow:none;border:0;border-radius:50%;color:var(--icone-text-primary)}
body.page-id-89 #icn-why-controls .elementor-button:hover{background:var(--icone-action-secondary-hover)}
body.page-id-89 #por-que[data-why-ready] #icn-why-controls .elementor-button-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.page-id-89 #icn-why-controls [data-why-control]::before{content:'';display:block;width:18px;height:18px;background:currentColor;mask:center/contain no-repeat var(--why-control-icon);-webkit-mask:center/contain no-repeat var(--why-control-icon)}
body.page-id-89 #icn-why-controls [data-why-control="pause"]{--why-control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 4h4v16H6zm8 0h4v16h-4z'/%3E%3C/svg%3E")}
body.page-id-89 #icn-why-controls [data-why-control="play"]{--why-control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3v18l14-9z'/%3E%3C/svg%3E")}
body.page-id-89 #icn-why-controls [data-why-control="restart"]{--why-control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 10a8 8 0 1 1 1 7M4 4v6h6'/%3E%3C/svg%3E")}
body.page-id-89 #icn-why-controls .elementor-button:focus-visible{outline:3px solid var(--icone-focus);outline-offset:3px}
body.page-id-89 #icn-why-controls [aria-disabled="true"]{opacity:.6;cursor:default}
body.page-id-89 #por-que [hidden]{display:none!important}
body.page-id-89 #por-que.is-why-paused #icn-why-chat-window,body.page-id-89 #por-que.is-why-static #icn-why-chat-window{overflow:auto}
body.page-id-89 #por-que.is-why-scrolled #icn-why-chat-window{mask-image:linear-gradient(transparent,#000 22px,#000);-webkit-mask-image:linear-gradient(transparent,#000 22px,#000)}
body.page-id-89 #por-que .is-why-entering{animation:icone-why-in .45s cubic-bezier(.16,1,.3,1) both}
body.page-id-89 #por-que.is-why-paused .is-why-entering{animation-play-state:paused}
body.page-id-89 #por-que.is-why-resetting #icn-why-chat-track{opacity:0}
@keyframes icone-why-in{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1024px) and (min-width:768px){body.page-id-89 #icn-why-scene{gap:25px}body.page-id-89 #icn-why-photo img{aspect-ratio:1.35;object-position:43% center}body.page-id-89 #icn-why-chat-track [id$="-copy"] p{font-size:16px}}
@media(max-width:767px){body.page-id-89 #icn-why-scene{gap:24px}body.page-id-89 #icn-why-photo img{aspect-ratio:16/10;object-position:45% center}body.page-id-89 #icn-why-chat-window{height:330px}body.page-id-89 #icn-why-chat-track [id$="-copy"] p{font-size:16px}body.page-id-89 #icn-why-title h2{letter-spacing:-.02em}body.page-id-89 #icn-why-context p{font-size:13px}}
@media(prefers-reduced-motion:reduce){body.page-id-89 #por-que *,body.page-id-89 #por-que *::before{animation:none!important;transition:none!important;scroll-behavior:auto!important}body.page-id-89 #icn-why-chat-window{mask-image:none!important;-webkit-mask-image:none!important}}

/* Desktop: header e janela juntos acompanham a altura real da foto. Sem JS, mantém fallback rolável. */
@media(min-width:1025px){
 body.page-id-89 #por-que[data-why-layout="matched"] #icn-why-conversation{box-sizing:border-box;min-height:0;overflow:visible}
 body.page-id-89 #por-que[data-why-layout="matched"] #icn-why-chat-header{flex:0 0 44px;min-height:44px}
 body.page-id-89 #por-que[data-why-layout="matched"] #icn-why-chat-window{height:auto;min-height:0;flex:1 1 0}
}

/* Indicador transitório; slot preservado na pausa evita deslocar o histórico. */
body.page-id-89 #icn-why-typing{visibility:hidden;width:fit-content;max-width:96%;min-height:28px;padding:6px 10px;align-self:flex-start;border-radius:4px 12px 12px;background:var(--icone-surface-elite-safe)}
body.page-id-89 #icn-why-typing p{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;line-height:1.4}
body.page-id-89 #icn-why-typing.is-why-typing-client{align-self:flex-end;border-radius:12px 4px 12px 12px}
body.page-id-89 .icn-typing-dots{display:inline-flex;align-items:center;gap:3px;height:10px;flex:none}
body.page-id-89 .icn-typing-dots i{display:block;width:4px;height:4px;border-radius:50%;background:currentColor}
body.page-id-89 #icn-why-typing[data-why-typing="active"] .icn-typing-dots i{animation:icone-why-dot 1s ease-in-out infinite}
body.page-id-89 #icn-why-typing[data-why-typing="active"] .icn-typing-dots i:nth-child(2){animation-delay:.15s}
body.page-id-89 #icn-why-typing[data-why-typing="active"] .icn-typing-dots i:nth-child(3){animation-delay:.3s}
@keyframes icone-why-dot{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}
