/* ==========================================================================
   OmniSmart — Hero em carrossel (parallax) na home
   Slide 1: Agentes de IA (copiado/adaptado da TW) · Slide 2: hero atual
   ========================================================================== */
/* A home usa um subset de "Material Symbols Rounded" (poucos glifos). Os ícones
   do hero usam "Material Symbols Outlined" (fonte COMPLETA já carregada na home). */
.hero-carousel .msym {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal; font-style: normal; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
}

/* ---------------- CARROSSEL ---------------- */
.hero-carousel { position: relative; overflow: hidden; background: #f6f2ff; }
.hc-viewport { overflow: hidden; }
.hc-track { display: flex; transition: transform .8s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.hc-slide { flex: 0 0 100%; min-width: 0; display: flex; }
.hc-slide > section { flex: 1; }
/* parallax: camadas internas entram com deriva + fade quando o slide fica ativo */
.hc-slide [data-par] { transition: opacity .85s ease, transform .85s cubic-bezier(.22, .61, .36, 1); }
.hc-slide:not(.is-active) [data-par] { opacity: 0; }
.hc-slide:not(.is-active) [data-par="fg"] { transform: translateX(46px); }
.hc-slide:not(.is-active) [data-par="bg"] { transform: translateX(84px) scale(1.03); }
.hc-slide:not(.is-active) [data-par="up"] { transform: translateY(34px); }
.hc-slide.is-active [data-par] { opacity: 1; transform: none; transition-delay: .1s; }
.hc-slide.is-active [data-par="bg"] { transition-delay: 0s; }
/* dots */
.hc-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 30; }
.hc-dot { width: 9px; height: 9px; border-radius: 999px; background: rgba(28, 20, 66, .22); border: 0; cursor: pointer; transition: width .3s, background .3s; padding: 0; }
.hc-dot.is-on { width: 26px; background: #6a3ff2; }
.hc-dot:hover { background: rgba(106, 63, 242, .55); }
/* setas */
.hc-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid #e6ddfb; box-shadow: 0 8px 20px rgba(58, 30, 110, .14); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 30; color: #5b34c9; transition: background .2s, transform .2s; backdrop-filter: blur(4px); }
.hc-arrow:hover { background: #fff; }
.hc-arrow.prev { left: 16px; } .hc-arrow.next { right: 16px; }
.hc-arrow .msym { font-size: 24px; }
@media (max-width: 860px) { .hc-arrow { display: none; } }

/* ---------------- SLIDE 1: AGENTES DE IA (adaptado) ---------------- */
.ai-hero { position: relative; overflow: hidden; min-height: 640px; background: radial-gradient(115% 85% at 60% 12%, #f0e9ff 0%, #efe8ff 38%, #f7f1fd 100%); }
.ai-blob { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; opacity: .55; animation: twfloat 9s ease-in-out infinite; }
.ai-glow { position: absolute; bottom: 0; left: 52%; transform: translateX(-50%); width: 660px; height: 600px; background: radial-gradient(closest-side, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%); z-index: 1; pointer-events: none; }
.ai-grad { background: linear-gradient(135deg, #7c3aed 0%, #2e46c8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-btnv { display: inline-flex; align-items: center; gap: 9px; background: linear-gradient(135deg, #7c3aed, #5b34c9); color: #fff; font: 700 15px "Nunito Sans"; padding: 15px 26px; border-radius: 12px; box-shadow: 0 12px 28px rgba(108, 63, 212, .34); transition: transform .15s, box-shadow .15s; cursor: pointer; border: 0; text-decoration: none; }
.ai-btnv:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(108, 63, 212, .42); }
.ai-hero .btn-o { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #1c1442; border: 1.5px solid #e2ddf3; font: 700 15px 'Nunito Sans'; padding: 14px 24px; border-radius: 12px; text-decoration: none; transition: border-color .15s, transform .15s; }
.ai-hero .btn-o:hover { border-color: #b9a7ff; transform: translateY(-2px); }
.ai-heroin { position: relative; z-index: 4; max-width: 1460px; margin: 0 auto; padding: 76px 32px 84px; }
.ai-heroin .lead { max-width: 448px; }
.ai-photo { position: absolute; bottom: 0; left: calc((100% - 1460px)/2 + 470px); height: 680px; width: auto; z-index: 3; filter: drop-shadow(0 16px 24px rgba(40, 25, 90, .18)); pointer-events: none; }
.ai-tag { position: absolute; bottom: 172px; left: calc((100% - 1460px)/2 + 494px); z-index: 5; color: #fff; font: 700 16px/1.15 "Nunito Sans"; text-shadow: 0 2px 12px rgba(20, 12, 50, .6); display: flex; align-items: flex-end; gap: 5px; }
.ai-tag .msym { font-size: 24px; color: #ffd633; }
.ai-chatwin { position: absolute; top: 64px; right: max(20px, calc((100% - 1460px)/2 + 32px)); width: min(900px, 60vw); border-radius: 26px; overflow: hidden; box-shadow: 0 44px 100px rgba(58, 30, 110, .20); z-index: 2; background: #fff; }
.ai-panel { position: absolute; top: 0; left: 0; bottom: 0; width: 62%; background: linear-gradient(160deg, #ece5fb, #e6defa); z-index: 0; }
.ai-menu { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(30, 20, 66, .12); display: flex; align-items: center; justify-content: center; z-index: 2; }
.ai-msgs { position: relative; z-index: 1; margin-left: 62%; padding: 22px 24px 18px 20px; display: flex; flex-direction: column; gap: 13px; }
.ai-row { display: flex; align-items: flex-start; gap: 9px; }
.ai-av { width: 34px; height: 34px; border-radius: 50%; flex: none; background: url(/SEO-img/agente-hero.png) no-repeat; background-size: 250%; background-position: 31% 9%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.ai-b { font: 600 14px/1.55 "Nunito Sans"; }
.ai-b.ag { color: #2b2350; max-width: 84%; } .ai-b.ag b { color: #1c1442; }
.ai-b.us { align-self: flex-end; background: #ece7fd; color: #3a2e6b; padding: 11px 16px; border-radius: 15px; border-bottom-right-radius: 5px; max-width: 82%; }
.ai-slots { display: flex; gap: 8px; margin: 2px 0 2px 43px; flex-wrap: wrap; }
.ai-slot { background: #fff; border: 1.5px solid #e2ddf3; border-radius: 12px; padding: 9px 13px; font: 600 12.5px "Nunito Sans"; color: #5a5580; text-align: center; line-height: 1.35; }
.ai-slot b { color: #1c1442; font-weight: 800; }
.ai-slot.on { border-color: #f97316; color: #c2410c; } .ai-slot.on b { color: #c2410c; }
.ai-input { display: flex; align-items: center; gap: 10px; background: #f1eefb; border-radius: 14px; padding: 11px 12px 11px 16px; margin-top: 4px; }
.ai-input span:first-child { flex: 1; font: 600 14px "Nunito Sans"; color: #9a92bd; }
.ai-send { width: 34px; height: 34px; border-radius: 50%; background: #1c1442; color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.ai-app { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 38px rgba(30, 20, 66, .30); position: absolute; z-index: 5; animation: twfloat 6s ease-in-out infinite; overflow: hidden; }
.ai-divider { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 6; background: linear-gradient(90deg, #ff3d8b 0%, #a23cf0 34%, #4a6bff 66%, #16c7c7 100%); }
.ai-msgs > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.ai-msgs > .on { opacity: 1; transform: none; }
.ai-msgs > .ai-input { opacity: 1 !important; transform: none !important; transition: none; }
.ai-typing { display: inline-flex; gap: 4px; padding: 8px 2px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9aee6; animation: aidot 1.1s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .18s; } .ai-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes aidot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

@media (max-width: 1080px) { .ai-chatwin { width: min(560px, 54vw); } .ai-photo { height: 600px; left: 36%; } }
@media (max-width: 860px) {
  .ai-hero { min-height: auto; }
  .ai-photo, .ai-tag, .ai-app, .ai-glow { display: none; }
  .ai-chatwin { position: static; width: 100%; margin-top: 26px; }
  .ai-panel { display: none; } .ai-msgs { margin-left: 0; } .ai-heroin { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-msgs > * { opacity: 1 !important; transform: none !important; }
  .hc-track { transition: none; }
  .hc-slide [data-par] { transition: none; opacity: 1 !important; transform: none !important; }
}
