/* TBI Tecnologia — carrossel, relatório (maquete), TV de comunicação interna, formulário e menu. Carrega depois de moderno.css. */

/* ================= carrossel do topo ================= */
.hero { padding-block: 0 clamp(32px, 5vw, 56px); padding-top: clamp(104px, 11vw, 128px); }
.car { position: relative; border-radius: 32px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--vidro-borda), 0 40px 80px -40px rgba(0,0,0,.8); }
.car-faixa { display: grid; grid-template-columns: minmax(0, 1fr); }
.slide { grid-area: 1 / 1; position: relative; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; z-index: 2; }
.slide .miolo { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 72px) clamp(84px, 8vw, 104px); min-height: clamp(520px, 44vw, 620px); position: relative; z-index: 3; }
.slide h1, .slide h2 { font-size: clamp(2rem, 4.2vw, 3.7rem); max-width: 15ch; color: #fff; margin-top: 6px; }
.slide .lead { margin: 22px 0 30px; max-width: 46ch; color: rgba(255,255,255,.82); }
.slide .rotulo { color: rgba(255,255,255,.75); }
.slide em { background: none; color: #fff; -webkit-text-fill-color: #fff; box-shadow: inset 0 -.3em 0 color-mix(in oklch, var(--vermelho) 80%, transparent); }
.slide .cena { position: relative; }
.slide .palco { max-width: 620px; margin-left: auto; }
.slide .cena .senha-flut { position: absolute; left: -4%; bottom: -14%; width: 150px; z-index: 3; }
.cena-rel { display: flex; justify-content: flex-end; }
.cena-rel .rel { max-width: 600px; transform: rotate(1.2deg); }
.s-vermelho { background: radial-gradient(60% 80% at 85% 20%, rgba(255,255,255,.16), transparent 60%), linear-gradient(135deg, oklch(0.52 0.19 28), oklch(0.36 0.14 25)); }
.s-azul { background: radial-gradient(60% 80% at 85% 15%, color-mix(in oklch, var(--azulcinza) 80%, transparent), transparent 62%), linear-gradient(160deg, oklch(0.3 0.05 245), oklch(0.2 0.03 240)); }
.s-noite { background: radial-gradient(70% 90% at 80% 30%, color-mix(in oklch, var(--azulcinza) 55%, transparent), transparent 62%), radial-gradient(50% 70% at 5% 100%, color-mix(in oklch, var(--vermelho) 30%, transparent), transparent 60%), linear-gradient(180deg, oklch(0.255 0.03 240), oklch(0.19 0.026 240)); }
.s-cinza { background: radial-gradient(60% 80% at 85% 15%, rgba(255,255,255,.12), transparent 60%), linear-gradient(135deg, oklch(0.46 0.045 255), oklch(0.3 0.04 255)); }
.s-nevoa { background: radial-gradient(60% 80% at 85% 20%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, oklch(0.42 0.05 215), oklch(0.27 0.04 235)); }
.s-med { background: radial-gradient(60% 80% at 80% 20%, color-mix(in oklch, var(--vermelho) 28%, transparent), transparent 60%), linear-gradient(160deg, oklch(0.3 0.035 250), oklch(0.19 0.026 240)); }
.totens-s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.totens-s .foto.estudio { aspect-ratio: 3 / 5; }
.cena-janela { max-width: 560px; margin-left: auto; width: 100%; transform: rotate(-1.5deg); }
/* foto da Rede Commidia dentro do slide */
.s-foto { background: #0A141C; }
.s-foto .foto-fundo { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 2912 / 1440; max-width: none; z-index: 0; }
.s-foto .foto-fundo .base { width: 100%; height: 100%; display: block; object-fit: cover; }
.s-foto::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #0A141C 0%, rgba(10,20,28,.94) 26%, rgba(10,20,28,.55) 46%, rgba(10,20,28,0) 64%), linear-gradient(0deg, rgba(10,20,28,.55), rgba(10,20,28,0) 28%); }
.s-foto .miolo { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
/* controles */
.car-ctl { position: absolute; left: clamp(28px, 5vw, 72px); right: clamp(28px, 5vw, 72px); bottom: clamp(18px, 2.6vw, 30px); z-index: 5; display: flex; align-items: center; gap: 14px; }
.car-seta { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(10,20,28,.55); color: #fff; backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--vidro-borda); transition: background .2s, transform .3s var(--ease); }
.car-seta:hover { background: var(--vermelho); transform: scale(1.06); }
.car-pontos { display: flex; gap: 8px; flex: 1; max-width: 460px; }
.car-pontos button { flex: 1; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; align-items: center; }
.car-pontos i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.car-pontos i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.car-pontos button[aria-selected="true"] i::after { transform: scaleX(1); animation: car-prog var(--car-tempo, 8s) linear; }
.car.parado .car-pontos button[aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes car-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ================= relatório (maquete) ================= */
.rel { width: 100%; max-width: 560px; margin-inline: auto; padding: 18px; border-radius: 22px; font-size: .82rem; color: var(--texto);
  background: linear-gradient(160deg, oklch(0.27 0.03 240), oklch(0.2 0.028 240)); box-shadow: inset 0 0 0 1px var(--vidro-borda), 0 40px 70px -30px rgba(0,0,0,.8); container-type: inline-size; }
.rel-topo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rel-topo b { font-family: var(--display); font-size: 1rem; margin-right: auto; }
.rel-topo span, .rel-topo u { text-decoration: none; padding: 5px 10px; border-radius: 999px; background: var(--vidro); box-shadow: inset 0 0 0 1px var(--vidro-borda); font-size: .74rem; color: var(--texto-suave); }
.rel-topo u { background: var(--vermelho); color: #fff; box-shadow: none; }
.rel-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rel-kpis div { padding: 10px 12px; border-radius: 14px; background: var(--vidro); box-shadow: inset 0 0 0 1px var(--vidro-borda); display: grid; gap: 2px; }
.rel-kpis small { color: var(--texto-suave); font-size: .68rem; line-height: 1.2; }
.rel-kpis b { font-family: var(--display); font-size: clamp(1.1rem, 4.4cqi, 1.6rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rel-meio { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 10px; }
.rel-graf { display: flex; align-items: flex-end; gap: 8px; height: 118px; padding: 10px 12px 6px; border-radius: 14px; background: var(--vidro); box-shadow: inset 0 0 0 1px var(--vidro-borda); }
.rel-graf .col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.rel-graf i { width: 100%; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--vermelho-luz), var(--vermelho-esc)); transform-origin: bottom; animation: sobeb 1.1s var(--ease) both; }
.rel-graf .col:nth-child(2n) i { animation-delay: .08s; }
.rel-graf .col:nth-child(3n) i { animation-delay: .16s; }
@keyframes sobeb { from { transform: scaleY(.05); opacity: 0; } }
.rel-graf span { font-size: .64rem; color: var(--texto-suave); }
.rel-sat { display: grid; place-items: center; gap: 4px; padding: 10px 14px; border-radius: 14px; background: var(--vidro); box-shadow: inset 0 0 0 1px var(--vidro-borda); text-align: center; }
.rel-sat small { font-size: .66rem; color: var(--texto-suave); line-height: 1.25; }
.anel { --v: 90; width: 70px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--vermelho-luz) calc(var(--v) * 1%), color-mix(in oklch, white 12%, transparent) 0); position: relative; }
.anel::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: oklch(0.23 0.028 240); }
.anel b { position: relative; font-family: var(--display); font-size: 1.1rem; }
.rel-tab { margin-top: 10px; border-radius: 14px; background: var(--vidro); box-shadow: inset 0 0 0 1px var(--vidro-borda); padding: 6px 12px; display: grid; }
.rel-tab .cab, .rel-tab .lin { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1fr; gap: 8px; align-items: center; padding: 7px 0; }
.rel-tab .cab { color: var(--texto-suave); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.rel-tab .lin { border-top: 1px solid var(--vidro-borda); }
.rel-tab .lin b, .rel-tab .cab b { font-weight: 600; }
.rel-tab em { font-style: normal; color: var(--texto-suave); font-variant-numeric: tabular-nums; background: none; -webkit-text-fill-color: currentColor; }
.rel-tab i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--vermelho-luz) var(--p), color-mix(in oklch, white 12%, transparent) 0); }
.rel-leg { margin: 10px 2px 0; font-size: .68rem; color: var(--texto-suave); text-align: right; }
.rel-duo { align-items: center; }

/* ================= TV de comunicação interna (maquete) ================= */
.tela-int { container-type: inline-size; background: #0A141C; aspect-ratio: 16 / 9; }
.tela-int .msg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2cqi; padding: 7cqi; opacity: 0; transition: opacity .8s var(--ease); color: #fff; }
.tela-int .msg.on { opacity: 1; }
.tela-int .msg small { font-size: 3cqi; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; opacity: .85; }
.tela-int .msg b { font-family: var(--display); font-size: 8.4cqi; line-height: 1.02; letter-spacing: -.03em; max-width: 14ch; }
.tela-int .msg span { font-size: 3.4cqi; opacity: .9; max-width: 30ch; line-height: 1.35; }
.tela-int .m1 { background: radial-gradient(70% 90% at 90% 10%, #2D6FA8, transparent), #12324F; }
.tela-int .m2 { background: radial-gradient(70% 90% at 90% 10%, #F08A3C, transparent), #7A2A14; }
.tela-int .m3 { background: radial-gradient(70% 90% at 90% 10%, #3BC4B0, transparent), #0C4A4F; }

/* ================= blocos de conteúdo ================= */
.linha { position: relative; }
.linha .num { font-family: var(--display); font-size: .82rem; color: var(--vermelho-luz); letter-spacing: .1em; }
#administracao .linhas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fontes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--gap); }
.fonte { display: grid; gap: 6px; align-content: start; padding: 22px 24px; border-radius: 20px; background: var(--vidro); box-shadow: inset 0 0 0 1px var(--vidro-borda); transition: transform .4s var(--ease), background .3s; }
.fonte:hover { transform: translateY(-3px); background: color-mix(in oklch, white 9%, transparent); }
.fonte b { font-family: var(--display); font-size: 1.25rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.fonte b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vermelho-luz); flex: none; }
.fonte span { color: var(--texto-suave); font-size: .98rem; }
/* bento com 6 cards */
.c-sis { grid-column: span 7; } .c-rel { grid-column: span 5; } .c-mid { grid-column: span 5; } .c-int { grid-column: span 7; } .c-rede { grid-column: span 7; } .c-med { grid-column: span 5; }
.c-rel .grande, .c-rede .grande { font-family: var(--display); font-size: clamp(4rem, 14cqi, 7rem); font-weight: 700; letter-spacing: -.05em; line-height: .9; color: #fff; }
.c-rel .grande small, .c-rede .grande small { font-size: .26em; letter-spacing: 0; font-weight: 500; color: var(--texto-suave); margin-left: 8px; }
.c-int .viz .palco { max-width: 380px; margin-left: auto; }
.c-int .viz .tvr .pe, .c-int .viz .tvr .base { display: none; }
@media (max-width: 960px) { .c-sis, .c-rel, .c-mid, .c-int, .c-rede, .c-med { grid-column: 1 / -1; } #administracao .linhas { grid-template-columns: 1fr; } }

/* ================= formulário ================= */
.contato-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contato-home { background: linear-gradient(180deg, transparent, color-mix(in oklch, var(--vermelho) 10%, transparent)); }
.form .campo-duplo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-acao { display: grid; gap: 12px; justify-items: start; }
.form-status { margin: 14px 0 0; padding: 0; min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: oklch(0.82 0.15 150); }
.form-status.erro { color: var(--vermelho-luz); }
.form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 960px) { .contato-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .campo-duplo { grid-template-columns: 1fr; } }

/* ================= menu: alinhamento e quebra ================= */
.menu a { display: inline-flex; align-items: center; height: 40px; padding: 0 11px; line-height: 1; white-space: nowrap; color: var(--texto-suave); }
.menu a.destaque { color: var(--texto-suave); }
.menu a.destaque:hover { color: #fff; }
.menu a[aria-current="page"] { color: #fff; }
.menu .btn { height: 42px; padding: 0 20px; color: #fff; margin-left: 10px; }
.topo .logo { display: flex; align-items: center; flex: none; }
.menu-btn { height: 42px; }
@media (max-width: 1240px) and (min-width: 1061px) { .menu a { padding: 0 8px; font-size: .86rem; } .menu .btn { padding: 0 15px; margin-left: 4px; } }
@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: color-mix(in oklch, var(--bg) 94%, transparent); backdrop-filter: blur(20px); flex-direction: column; align-items: stretch; padding: 12px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--vidro-borda), 0 30px 60px -20px #000; gap: 2px; }
  .menu.aberto { display: flex; }
  .menu a { height: 48px; padding: 0 16px; font-size: 1rem; }
  .menu .btn { margin: 8px 0 0; justify-content: center; }
}

/* ================= carrossel no celular ================= */
@media (max-width: 960px) {
  .slide .miolo { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 92px; gap: 28px; }
  .slide .palco, .cena-janela, .cena-rel .rel { margin-inline: auto; max-width: 520px; }
  .slide .cena .senha-flut { left: 0; bottom: -10%; }
  .totens-s { max-width: 440px; margin-inline: auto; }
  .s-foto { display: flex; flex-direction: column-reverse; }
  .s-foto::after { display: none; }
  .s-foto .foto-fundo { position: relative; right: auto; top: auto; height: auto; width: 175%; margin-left: -75%; }
  .s-foto .foto-fundo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0A141C, rgba(10,20,28,0) 30%), linear-gradient(0deg, rgba(10,20,28,.6), rgba(10,20,28,0) 25%); }
  .s-foto .miolo { grid-template-columns: minmax(0, 1fr); padding-bottom: 8px; }
}
@media (max-width: 520px) { .slide .cena .senha-flut { display: none; } .rel-kpis { grid-template-columns: 1fr 1fr; } .car-seta { width: 38px; height: 38px; } .totens-s { gap: 6px; } .car { border-radius: 24px; } }
@media (prefers-reduced-motion: reduce) { .slide, .slide.on, .tv-fx img, .tela-int .msg { transition: none; } .car-pontos button[aria-selected="true"] i::after { animation: none; transform: scaleX(1); } .rel-graf i { animation: none; } }

.mini-rel { display: grid; gap: 16px; width: 100%; align-content: end; }
.rel-graf.mini { height: 96px; padding: 8px 10px 0; }
.rel-graf.mini .col { justify-content: flex-end; }

.linha { align-content: start; }

/* ===== menu: submenu de Mídia indoor e botão sempre dentro da barra ===== */
.menu { flex: 1; min-width: 0; justify-content: flex-end; }
.menu .btn { flex: none; margin-left: 12px; }
.tem-sub { position: relative; display: flex; align-items: center; }
.tem-sub > a { padding-right: 4px; }
.sub-btn { display: grid; place-items: center; width: 28px; height: 40px; margin-left: -2px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--texto-suave); cursor: pointer; }
.sub-btn svg { transition: transform .3s var(--ease); }
.tem-sub:hover .sub-btn svg, .tem-sub.aberto .sub-btn svg { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 290px; padding: 8px; margin-top: 6px; display: grid; gap: 2px; border-radius: 20px; z-index: 60;
  background: color-mix(in oklch, var(--bg) 94%, transparent); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--vidro-borda), 0 30px 60px -20px #000;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .3s var(--ease), visibility 0s linear .2s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.tem-sub:hover .sub, .tem-sub:focus-within .sub, .tem-sub.aberto .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .3s var(--ease), visibility 0s; }
.menu .sub a { height: auto; display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; white-space: normal; color: #fff; }
.menu .sub a small { color: var(--texto-suave); font-size: .8rem; font-weight: 400; }
.menu .sub a:hover { background: var(--vidro); }
.produto-int { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; min-height: 0; flex-direction: initial; }
.produto-int h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.produto-int .viz .palco { max-width: 460px; margin-left: auto; }
.produto-int .viz .tvr .pe, .produto-int .viz .tvr .base { display: none; }
@media (max-width: 960px) { .produto-int { grid-template-columns: 1fr; } .produto-int .viz .palco { margin-inline: auto; } }
@media (max-width: 1120px) {
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px); flex: none; background: color-mix(in oklch, var(--bg) 94%, transparent); backdrop-filter: blur(20px); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 12px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--vidro-borda), 0 30px 60px -20px #000; gap: 2px; }
  .menu.aberto { display: flex; }
  .menu a { height: 48px; padding: 0 16px; font-size: 1rem; }
  .menu .btn { margin: 8px 0 0; justify-content: center; }
  .tem-sub { flex-wrap: wrap; }
  .tem-sub > a { flex: 1; }
  .sub-btn { height: 48px; width: 48px; }
  .sub { position: static; flex-basis: 100%; min-width: 0; margin: 0 0 4px 12px; padding: 0; box-shadow: none; background: transparent; backdrop-filter: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .tem-sub.aberto .sub { display: grid; }
  .menu .sub a { padding: 10px 14px; height: auto; }
}

/* Totens juntos, sem fundo */
.totens-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45)); }
.totens-s { display: block; max-width: 330px; margin-inline: auto; }
.totens-bloco { max-width: 440px; margin-inline: auto; }

/* Muro de clientes: logos maiores */
.logos .logo-t { height: 164px; padding: 12px 16px; }
.logos .logo-t img { max-height: 128px; max-width: 90% !important; }

/* Redes sociais */
.redes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.redes a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); color: inherit; font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .25s, transform .25s; }
.redes a:hover { background: var(--vermelho, #C4362C); transform: translateY(-2px); }
.redes svg { flex: none; }

/* Sobre */
.sobre-duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sobre-duo .texto p { color: var(--texto-suave); max-width: 58ch; }
.sobre-fig { margin: 0; }
.ilu { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 60px rgb(0 0 0 / .35); }
.sobre-valores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(36px, 6vw, 72px); }
.sobre-valores b { font-family: 'Share Tech Mono', monospace; color: #E86A5E; letter-spacing: .08em; }
.sobre-valores h3 { margin: 8px 0 6px; }
.sobre-valores p { margin: 0; color: var(--texto-suave); }
@media (max-width: 860px) { .sobre-duo, .sobre-valores { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .il-curva { stroke-dasharray: 1; stroke-dashoffset: 1; animation: il-desenha 2.4s .3s ease-out forwards; }
  .il-barras rect { transform-box: fill-box; transform-origin: bottom; animation: il-sobe .9s ease-out backwards; }
  .il-barras rect:nth-child(2) { animation-delay: .1s; } .il-barras rect:nth-child(3) { animation-delay: .2s; } .il-barras rect:nth-child(4) { animation-delay: .3s; } .il-barras rect:nth-child(5) { animation-delay: .4s; }
  .il-orbita { transform-box: fill-box; transform-origin: center; animation: il-gira 12s linear infinite; }
  .il-pulso { transform-box: fill-box; transform-origin: center; animation: il-pulsa 2.2s ease-out infinite; }
  .il-ok { transform-box: fill-box; transform-origin: center; animation: il-pop 3.2s ease-in-out infinite; }
}
@keyframes il-desenha { to { stroke-dashoffset: 0; } }
@keyframes il-sobe { from { transform: scaleY(0); } }
@keyframes il-gira { to { transform: rotate(360deg); } }
@keyframes il-pulsa { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }
@keyframes il-pop { 0%, 80%, 100% { transform: scale(1); } 90% { transform: scale(1.18); } }

.pg-l .ilu { box-shadow: none; border-radius: inherit; height: 100%; object-fit: cover; }
.sobre-duo .texto { max-width: 72ch; }
.pg-l:has(.ilu) { background: linear-gradient(135deg, #16293A, #0B1620); padding: 0; display: grid; place-items: center; overflow: hidden; }
.pg-l .ilu { border-radius: 0; height: auto; }
.sobre-duo .texto h2 { margin-bottom: 20px; }
.pg-l:has(.foto-sobre) { padding: 0; overflow: hidden; }
.foto-sobre { display: block; width: 100%; height: 100%; object-fit: cover; }
.malha:has(> .pg-l:empty) > .pg-t { grid-column: 1 / -1; }
.pg-l:empty { display: none; }

/* Fotos realistas */
.faixa-foto { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; box-shadow: 0 30px 60px rgb(0 0 0 / .35); }
.faixa-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .faixa-foto { aspect-ratio: 4 / 3; border-radius: 20px; } }
.foto-sobre { object-position: 78% 50%; }

/* Locais da rede */
.local-logo { height: 64px; }
.local-logo img { max-height: 64px; max-width: 100%; padding: 6px 12px; }
.local .pontos { justify-self: start; font-size: .78rem; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: rgb(196 54 44 / .22); color: #FFB4AC; box-shadow: inset 0 0 0 1px rgb(196 54 44 / .45); }
.faixa-foto.inteira { aspect-ratio: 16 / 9; max-width: 1000px; margin-inline: auto; }

/* TV: a tela mantém 16:9 exato (a moldura soma por fora), sem cortar as bordas do painel */
.tvr .quadro { aspect-ratio: auto; }
.tvr .tela { height: auto; aspect-ratio: 16 / 9; }
.tvr.vert .quadro { aspect-ratio: auto; }
.tvr.vert .tela { aspect-ratio: 9 / 16; }
.tvr .tela img { object-fit: fill; }

/* Telas nos cards: moldura de TV, sem inclinação e sem cortar o painel */
.card .viz { padding-bottom: 26px; }
.card .viz img.tela-mini, .card:hover .viz img.tela-mini { transform: none; border: clamp(5px, .8vw, 9px) solid #0B1015; border-radius: 12px; object-fit: fill; box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 26px 40px -18px rgb(0 0 0 / .75); background: #000; }
.card:hover .viz img.tela-mini { transform: scale(1.02); }
.card .viz.mini-rel { display: grid; justify-content: stretch; }
.mini-rel .rel-graf { width: 100%; }

/* Locais numerados */
.local { position: relative; align-content: start; }
.local-n { position: absolute; top: 16px; right: 18px; font-family: "Share Tech Mono", monospace; font-size: .95rem; letter-spacing: .08em; color: #E86A5E; opacity: .9; }
.local h3 { font-size: 1.1rem; margin: 0; font-family: var(--display); letter-spacing: -.01em; }
.local-meta { margin: 0; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: #9DB0C4; }
.local-desc { margin: 2px 0 4px; color: var(--texto-suave); font-size: .93rem; line-height: 1.45; }
.local-n.breve { font-family: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #C4362C; color: #fff; opacity: 1; }
.local.em-breve { box-shadow: inset 0 0 0 1px rgb(196 54 44 / .55); background: linear-gradient(160deg, rgb(196 54 44 / .14), transparent 60%), var(--vidro); }

/* Logos dos locais: faixa na cor do fundo do logo, logo maior */
.local-logo { height: 104px; width: 100%; justify-content: center; border-radius: 14px; padding: 10px 14px; margin-bottom: 8px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.local-logo img { max-height: 84px; max-width: 92%; width: auto; padding: 0; background: none !important; border-radius: 0; }
.local-n { z-index: 1; }
.local-n:not(.breve) { top: 20px; right: 22px; padding: 3px 9px; border-radius: 999px; background: rgb(11 22 32 / .82); color: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / .18); opacity: 1; font-size: .82rem; }
.local-n.breve { top: 20px; right: 22px; box-shadow: 0 2px 10px rgb(0 0 0 / .4); }

/* Cabeçalho do card: faixa de ponta a ponta na cor do fundo do logo, logo centralizado */
.local { overflow: hidden; }
.local-logo { display: flex; justify-content: center; align-items: center; height: 120px; width: auto; margin: -22px -24px 10px; border-radius: 0; box-shadow: none; padding: 14px 20px; }
.local-logo img { display: block; margin: 0 auto; max-height: 92px; max-width: 86%; }
.local-n:not(.breve), .local-n.breve { top: 12px; right: 14px; }

.logo-t { position: relative; }
.breve-t { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 999px; background: #C4362C; color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.logo-t .breve-t { font-size: .68rem; font-weight: 700; line-height: 1.2; letter-spacing: .06em; }

/* Prints da tela do atendente */
.op-intro { margin-top: clamp(36px, 6vw, 72px); max-width: 62ch; }
.op-intro h3 { margin: 0 0 6px; }
.op-intro p { margin: 0; color: var(--texto-suave); }
.op-prints { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: 24px; }
.op-prints img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 26px 50px -22px rgb(0 0 0 / .7); }
.op-prints img:first-child { grid-column: 1 / -1; max-width: 980px; margin-inline: auto; }
@media (max-width: 700px) { .op-prints { grid-template-columns: 1fr; } }

/* Aviso de nova geração */
.aviso-geracao { background: linear-gradient(90deg, #7A1F18, #C4362C); color: #fff; font-size: .9rem; line-height: 1.4; }
.aviso-geracao .wrap { padding-block: 9px; text-align: center; }
.aviso-geracao a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.grade-nova { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 28px; }
.grade-nova h3 { margin: 0 0 8px; }
.grade-nova p { margin: 0; color: var(--texto-suave); }
@media (max-width: 860px) { .grade-nova { grid-template-columns: 1fr; } .aviso-geracao { font-size: .82rem; } }
.grade-nova .card { display: block; align-content: start; }

/* Foto do banner da Rede Commidia: alterna entre duas fotos a cada visita */
.s-foto .foto-fundo.v2 { display: none; aspect-ratio: 2000 / 990; }
.s-foto.v2on .foto-fundo.v1 { display: none; }
.s-foto.v2on .foto-fundo.v2 { display: block; }
.foto-fundo.v2 .tv-fx { left: 61.65%; top: 7.576%; width: 25.25%; height: 33.838%; }

/* Aviso de nova geração, no fim das páginas */
.aviso-fim { padding-block: clamp(40px, 6vw, 80px); }
.aviso-caixa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: linear-gradient(150deg, rgb(196 54 44 / .16), rgb(255 255 255 / .03) 60%), var(--vidro); box-shadow: inset 0 0 0 1px var(--vidro-borda); }
.aviso-texto h2 { margin: 6px 0 14px; }
.aviso-texto p { color: var(--texto-suave); margin: 0 0 10px; max-width: 52ch; }
.aviso-marcas { display: grid; gap: 14px; }
.marcas-cab { display: grid; grid-template-columns: 1fr 28px 1fr; gap: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9DB0C4; }
.marcas-cab span:last-child { text-align: right; }
.marca-par { display: grid; grid-template-columns: 1fr 28px 1fr; gap: 12px; align-items: center; }
.seta-marca { color: #E86A5E; justify-self: center; }
.marca { display: grid; place-items: center; height: 96px; border-radius: 16px; padding: 12px 16px; background: #0B1620; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.marca img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.marca.antiga img { opacity: .9; }
@media (max-width: 860px) { .aviso-caixa { grid-template-columns: 1fr; } }

/* TV da foto da recepção: o painel roda sobre a TV */
.faixa-foto.tv-foto { position: relative; aspect-ratio: 1344 / 576; }
.tv-foto .tv-fx { left: 1.786%; top: 16.493%; width: 15.476%; height: 21.875%; }

/* Prints do sistema original: menores, com inclinação, flutuação suave e destaque ao passar o mouse */
.op-prints { max-width: 860px; margin-inline: auto; gap: 18px; perspective: 1400px; }
.op-prints img { transition: transform .5s var(--ease), box-shadow .5s var(--ease), translate .5s var(--ease); }
.op-prints img:first-child { max-width: 560px; transform: rotateX(5deg); }
.op-prints img:nth-child(2) { transform: rotateY(10deg) rotateX(3deg); transform-origin: right center; }
.op-prints img:nth-child(3) { transform: rotateY(-10deg) rotateX(3deg); transform-origin: left center; }
.op-prints img:hover { transform: none; translate: 0 -6px; box-shadow: 0 0 0 1px rgb(255 255 255 / .18), 0 36px 60px -22px rgb(196 54 44 / .55); }
@media (prefers-reduced-motion: no-preference) {
  .op-prints img { animation: op-flutua 7s ease-in-out infinite; }
  .op-prints img:nth-child(2) { animation-delay: -2.4s; }
  .op-prints img:nth-child(3) { animation-delay: -4.7s; }
}
@keyframes op-flutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@media (max-width: 700px) { .op-prints img:first-child, .op-prints img:nth-child(2), .op-prints img:nth-child(3) { transform: none; } }

/* Foto menor e sem pessoa (Sob medida) */
.faixa-foto.pequena { aspect-ratio: 780 / 650; max-width: 520px; margin-inline: auto; }

/* Foto ao lado do texto (Sob medida) */
.pg-l:has(.foto-lado) { padding: 0; overflow: hidden; }
.foto-lado { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Verificação anti-robô */
.campo.humano input { max-width: 180px; }

/* Link do Instagram no card do local */
.local .local-insta { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--texto); text-decoration: none; box-shadow: inset 0 0 0 1px var(--vidro-borda); transition: background .2s, color .2s; }
.local .local-insta svg { width: 16px; height: 16px; flex: none; }
.local .local-insta:hover, .local .local-insta:focus-visible { background: rgb(196 54 44 / .18); color: #fff; }
