/* ==========================================================================
   OmniSmart — Hero em carrossel (parallax) na home
   Slide 1: Agentes de IA · Slide 2: Microsoft Teams · Slide 3: plataforma
   ========================================================================== */
/* 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 .6s 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 .55s ease, transform .55s 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: .06s; }
.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 2: MICROSOFT TEAMS + PABX ---------------- */
.teams-hero { position: relative; overflow: hidden; min-height: 640px; background: radial-gradient(circle at 84% 18%, #d9d8ff 0, #f1f0ff 32%, #fbfbff 70%); color: #21184e; }
.teams-hero-glow { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .72) 42%, rgba(93, 78, 226, .08) 70%, rgba(66, 48, 176, .14) 100%); pointer-events: none; }
.teams-hero-inner { position: relative; z-index: 2; width: min(100%, 1460px); min-height: 640px; margin: 0 auto; padding: 54px 64px 68px; display: grid; grid-template-columns: minmax(430px, .86fr) minmax(560px, 1.14fr); gap: 28px; align-items: center; }
.teams-hero-copy { position: relative; z-index: 2; max-width: 570px; }
.teams-hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1.5px solid #9b8cff; border-radius: 8px; color: #4e3dde; font: 800 12px/1.2 Poppins; letter-spacing: .015em; text-transform: uppercase; background: rgba(255, 255, 255, .7); }
.teams-hero-kicker .msym { font-size: 18px; color: #5a45ee; }
.teams-hero h2 { max-width: 570px; margin: 20px 0 0; color: #21184e; font: 800 clamp(39px, 3.25vw, 55px)/1.045 Poppins; letter-spacing: -.035em; }
.teams-hero h2 .teams-purple { color: #5946ed; }
.teams-hero h2 .teams-green { color: #31b96d; }
.teams-hero-lead { max-width: 535px; margin: 22px 0 0; color: #54587a; font: 600 17px/1.55 "Nunito Sans"; }
.teams-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.teams-hero-primary, .teams-hero-secondary { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 9px; padding: 14px 23px; font: 800 15px/1.2 "Nunito Sans"; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.teams-hero-primary { background: linear-gradient(135deg, #6345f5, #4830dc); color: #fff; box-shadow: 0 15px 30px rgba(78, 56, 220, .27); }
.teams-hero-primary .msym { font-size: 20px; }
.teams-hero-secondary { color: #4e3dde; border: 1.5px solid #8a75f4; background: rgba(255, 255, 255, .8); }
.teams-hero-primary:hover, .teams-hero-secondary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(78, 56, 220, .22); }
.teams-hero-points { display: flex; flex-wrap: wrap; gap: 13px 20px; margin: 29px 0 0; padding: 0; list-style: none; }
.teams-hero-points li { display: inline-flex; align-items: center; gap: 6px; color: #44466f; font: 750 12.5px/1.25 "Nunito Sans"; }
.teams-hero-points .msym { color: #5b45eb; font-size: 17px; }
.teams-hero-stage { position: relative; min-width: 0; width: min(112%, 780px); aspect-ratio: 569 / 449; display: block; justify-self: center; text-decoration: none; filter: drop-shadow(0 28px 48px rgba(31, 24, 86, .2)); }
.teams-hero-base { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; pointer-events: none; user-select: none; }
.teams-hero-stage:hover { filter: drop-shadow(0 32px 54px rgba(31, 24, 86, .26)); }
.teams-hero-divider { position: absolute; z-index: 4; right: 0; bottom: 0; width: 48%; height: 5px; background: linear-gradient(90deg, #6045ef, #32bf73); }

@media (max-width: 1120px) {
  .teams-hero-inner { padding-inline: 48px; grid-template-columns: minmax(390px, .9fr) minmax(470px, 1.1fr); gap: 18px; }
  .teams-hero h2 { font-size: 43px; }
  .teams-hero-lead { font-size: 16px; }
  .teams-hero-stage { width: min(108%, 650px); }
}
@media (max-width: 860px) {
  .teams-hero, .teams-hero-inner { min-height: 0; }
  .teams-hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 48px 24px 72px; }
  .teams-hero-copy { max-width: 650px; }
  .teams-hero h2 { max-width: 650px; font-size: 40px; }
  .teams-hero-lead { max-width: 620px; }
  .teams-hero-stage { width: min(100%, 650px); margin: 0 auto; }
}
@media (max-width: 620px) {
  .teams-hero-inner { padding: 38px 20px 62px; gap: 25px; }
  .teams-hero h2 { margin-top: 17px; font-size: 34px; line-height: 1.08; }
  .teams-hero-lead { margin-top: 17px; font-size: 15.5px; }
  .teams-hero-actions { display: grid; margin-top: 23px; }
  .teams-hero-primary, .teams-hero-secondary { width: 100%; }
  .teams-hero-points { display: grid; gap: 9px; margin-top: 22px; }
  .teams-hero-stage { filter: drop-shadow(0 18px 30px rgba(31, 24, 86, .18)); }
}

/* ---------------- 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-row > .ai-typing { display: none; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 14px; border-bottom-left-radius: 5px; background: #f1eefb; }
.ai-row.is-typing > .ai-b.ag { display: none; }
.ai-row.is-typing > .ai-typing { display: inline-flex; }
.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 (max-width: 620px) {
  .ai-heroin {
    padding: 38px 20px 44px;
  }

  .ai-heroin .lead {
    max-width: 100%;
  }

  .ai-heroin h2 {
    max-width: 100%;
    font-size: clamp(36px, 10.8vw, 43px) !important;
    line-height: 1.04 !important;
    overflow-wrap: normal;
  }
}
@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; }
}
