/* =====================================================================
   Flymídia – Ajustes da Home  (plugin flymidia-ajustes)
   Todo o visual novo da página inicial. Carregado SÓ na página inicial.
   Para desfazer: desativar o plugin. Laranja oficial: #EA581C
   ===================================================================== */
/* =========================================================
   Ajustes Flymídia — carregado POR CIMA do CSS do Elementor.
   Para aplicar no WordPress: Aparência > Personalizar > CSS adicional
   (colar o conteúdo deste arquivo). Cada bloco é independente.
   Laranja oficial do site: #EA581C
   ========================================================= */

/* ---------- 1. HERO (carrossel do topo) ---------- */
.elementor-element-6350463 .swiper-slide {
  /* acompanha a proporção da foto (1920x511) para mostrá-la inteira; limites evitam capa gigante ou baixa demais */
  height: 21.15vw !important;   /* = proporção da foto (1920x406): mostra a imagem inteira, sem corte */
  min-height: 300px;
}

.elementor-element-6350463 .swiper-slide-bg {
  background-image: url(../imagens/capa/capa-pampulha.jpg) !important;
  background-position: center center;
  background-size: cover;
}

/* foto clara à direita, escurecendo só atrás do texto */
.elementor-element-6350463 .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(24, 22, 20, .92) 0%, rgba(24, 22, 20, .8) 34%, rgba(24, 22, 20, 0) 58%);
  z-index: 1;
  pointer-events: none;
}

.elementor-element-6350463 .swiper-slide-inner {
  z-index: 2;
  justify-content: flex-start !important;
  text-align: left !important;
  padding: 0 8vw !important;
}

.elementor-element-6350463 .swiper-slide-contents {
  max-width: 680px;
  text-shadow: none;
}

.elementor-element-6350463 .hero-eyebrow {
  color: #EA581C;
  font: 800 13px/1 "Montserrat", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.elementor-element-6350463 .elementor-slide-heading {
  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(1.7rem, 3.1vw, 3.2rem) !important;   /* proporcional à capa mais baixa */
  font-weight: 900 !important;
  font-style: normal !important;
  line-height: 1.05 !important;
  color: #fff;
}

.elementor-element-6350463 .hero-accent {
  display: block;
  color: #EA581C;
}

.elementor-element-6350463 .elementor-slide-description {
  margin-top: 22px;
  max-width: 520px;
  font: 400 1.05rem/1.55 "Montserrat", sans-serif;
  color: #e9e6e2;
}

.elementor-element-6350463 .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.elementor-element-6350463 .hero-actions .elementor-button,
.elementor-element-6350463 .hero-btn-ghost {
  display: inline-block;
  margin: 0;
  padding: 15px 30px;
  border-radius: 8px;
  font: 800 14px/1 "Montserrat", sans-serif;
  text-decoration: none;
  transition: transform .15s ease;
}

.elementor-element-6350463 .hero-actions .elementor-button {
  background: #EA581C;
  border: 2px solid #EA581C;
  color: #fff;
}

.elementor-element-6350463 .hero-btn-ghost {
  border: 2px solid #fff;
  color: #fff;
}

.elementor-element-6350463 .hero-actions a:hover {
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .elementor-element-6350463 .swiper-slide { height: 520px; }
  .elementor-element-6350463 .swiper-slide::after {
    background: linear-gradient(180deg, rgba(24, 22, 20, .85) 0%, rgba(24, 22, 20, .6) 100%);
  }
}

/* ---------- 2. SERVIÇOS (lista nova) ---------- */
.fly-servicos-titulo {
  font-weight: 700;
  color: #EA581C;
  margin: 0 0 6px;
}

.fly-servicos {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.fly-servicos li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #e8e4df;
  font-weight: 600;
  color: #181614;
}

.fly-servicos li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EA581C;
}

.fly-servicos-nota {
  color: #4a4640;
}

/* ---------- 3. COBERTURA (bloco novo, fundo laranja clarinho) ---------- */
.fly-cobertura {
  background: #FDEBE1;
  padding: 72px 6vw;
  text-align: center;
}

.fly-cobertura .fly-barra {
  display: block;
  width: 56px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 2px;
  background: #EA581C;
}

.fly-cobertura h2 {
  margin: 0 0 40px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: #181614;
}

.fly-cobertura h2 em {
  font-style: normal;
  color: #EA581C;
}

.fly-regioes {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fly-regioes li {
  padding: 16px 10px;
  background: #fff;
  border: 1.5px solid #F6D3BC;
  border-radius: 12px;
  font: 800 .95rem/1.2 "Montserrat", sans-serif;
  color: #181614;
}

@media (max-width: 767px) {
  .fly-regioes { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 4. MÍDIAS em MOSAICO (substitui o carrossel laranja) ---------- */
.elementor-element-83455a1 { display: none !important; }

.fly-mosaico { padding: 0; background: #EA581C; --g: 12px; --larg: min(79vw, 1760px); }

.fly-mosaico ul {
  list-style: none;
  width: var(--larg);         /* mosaico contido e centralizado: ~79% da largura da tela (máx. 1760px) */
  margin: 0 auto;
  padding: var(--g);
  gap: var(--g);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: calc((var(--larg) - 9 * var(--g)) / 8);
  grid-auto-flow: dense;
}

.fly-peca { margin: 0; padding: 0; position: relative; overflow: hidden; grid-column: span 2; border-radius: 12px; background: #181614; }
.fly-peca.fly-g { grid-row: span 2; }
.fly-peca.fly-w { grid-row: span 1; }

.fly-peca a { display: block; width: 100%; height: 100%; }

.fly-peca img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), filter .3s ease;
}

.fly-legenda {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  background: #EA581C;
  color: #181614;
  font: 800 12px/1 "Montserrat", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform .25s ease;
}

.fly-peca:hover img, .fly-peca a:focus-visible img { transform: scale(1.05); }
.fly-peca:hover .fly-legenda, .fly-peca a:focus-visible .fly-legenda { transform: translateY(0); }
.fly-peca a:focus-visible { outline: 3px solid #EA581C; outline-offset: -3px; }
.fly-mosaico ul:hover .fly-peca:not(:hover) img { filter: brightness(.55) saturate(.8); }

@media (hover: none) {
  .fly-legenda { transform: translateY(0); }
}

@media (max-width: 767px) {
  .fly-mosaico { --larg: 100vw; }
  .fly-mosaico ul { grid-template-columns: repeat(2, 1fr); grid-auto-rows: calc((100vw - 3 * var(--g)) / 2); }
  .fly-peca { grid-column: span 1; }
  .fly-peca.fly-g { grid-column: span 2; grid-row: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  .fly-peca img, .fly-legenda { transition: none; }
}

/* lightbox simples */
.fly-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 22, 20, .94);
  padding: 24px;
}
.fly-lightbox[hidden] { display: none; }
.fly-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.fly-lightbox button {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

/* enquadramento: mantém o painel visível em cada peça */
.fly-peca img[src*="mega-painel"]   { object-position: 70% 28%; }
.fly-peca img[src*="banca-led"]     { object-position: 45% 30%; }
.fly-peca img[src*="front-light"]   { object-position: 38% 22%; }
.fly-peca img[src*="banca-estatica"]{ object-position: 20% 40%; }

/* ---------- 5. FOTOS das seções com cantos arredondados ---------- */
.elementor-13 .elementor-widget-image img {
  border-radius: 16px;
}

/* ---------- 6. COBERTURA: botões crescem e ganham sombra ao passar o mouse ---------- */
.fly-regioes li {
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, border-color .25s ease;
}

.fly-regioes li:hover {
  transform: translateY(-3px) scale(1.1);
  border-color: #EA581C;
  box-shadow: 14px 14px 26px rgba(24, 22, 20, .55), 5px 5px 10px rgba(24, 22, 20, .4);
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .fly-regioes li { transition: none; }
  .fly-regioes li:hover { transform: none; }
}

/* ---------- 7. COBERTURA: 9º botão centralizado + botões clicáveis ---------- */
.fly-regioes li[data-regiao] { cursor: pointer; user-select: none; }
.fly-regioes li[data-regiao]:focus-visible { outline: 3px solid #EA581C; outline-offset: 3px; }
.fly-regioes li:last-child:nth-child(9) { grid-column: 2 / span 2; }

@media (max-width: 767px) {
  .fly-regioes li:last-child:nth-child(9) { grid-column: 1 / -1; }
}

/* ---------- 8. JANELA DE PONTOS DA REGIÃO ---------- */
html.fly-sem-rolagem { overflow: hidden; }

.fly-pontos {
  width: min(1180px, 94vw);
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #181614;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.fly-pontos[open] { display: flex; flex-direction: column; }
.fly-pontos::backdrop { background: rgba(24, 22, 20, .72); }

.fly-pontos__topo {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: #EA581C;
  color: #fff;
}
.fly-pontos__bloco { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.fly-pontos__titulo { margin: 0; font: 800 clamp(1.3rem, 2.4vw, 1.9rem)/1.1 "Montserrat", sans-serif; color: #fff; }
.fly-pontos__contagem { font: 700 .9rem/1 "Montserrat", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #181614; }
/* Botão de fechar = IMAGEM (img/fechar.svg e img/fechar-hover.svg). Para trocar o ícone, substitua esses arquivos. */
.fly-pontos .fly-pontos__fechar {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent url("../imagens/icones/fechar.svg") center / 18px 18px no-repeat;
  cursor: pointer;
  transition: background-color .2s ease;
}
.fly-pontos .fly-pontos__fechar:hover,
.fly-pontos .fly-pontos__fechar:focus,
.fly-pontos .fly-pontos__fechar:focus-visible {
  background: #fff url("../imagens/icones/fechar-hover.svg") center / 18px 18px no-repeat !important;
  outline: none;
}
.fly-pontos .fly-pontos__fechar:focus-visible { box-shadow: 0 0 0 3px #181614; }

.fly-pontos__corpo { overflow-y: auto; padding: 22px 24px 28px; background: #FDEBE1; }
.fly-pontos__aviso { margin: 30px 0; text-align: center; font: 600 1rem/1.4 "Montserrat", sans-serif; }

.fly-pontos__grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.fly-ponto {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(24, 22, 20, .12);
}
.fly-ponto__foto { position: relative; margin: 0; aspect-ratio: 16 / 10; background: #e8e4df; }
.fly-ponto__foto img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.fly-ponto__codigo {
  position: absolute;
  left: 0;
  top: 14px;
  padding: 7px 14px;
  background: #EA581C;
  color: #fff;
  font: 800 .9rem/1 "Montserrat", sans-serif;
  letter-spacing: .04em;
  border-radius: 0 8px 8px 0;
}
.fly-ponto__texto { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.fly-ponto__tipo { margin: 0; font: 800 .8rem/1.2 "Montserrat", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #EA581C; }
.fly-ponto__nome { margin: 0 0 6px; font: 800 1.1rem/1.25 "Montserrat", sans-serif; color: #181614; }
.fly-ponto__dados { margin: 0; display: grid; gap: 9px; }
.fly-ponto__linha { display: grid; gap: 1px; }
.fly-ponto__linha dt { font: 700 .68rem/1.2 "Montserrat", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8a847c; }
.fly-ponto__linha dd { margin: 0; font: 500 .92rem/1.4 "Roboto", sans-serif; color: #2a2622; }
.fly-ponto__mapa {
  align-self: flex-start;
  margin-top: 12px;
  padding: 10px 18px;
  background: #EA581C;
  color: #fff;
  border-radius: 8px;
  font: 800 .8rem/1 "Montserrat", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fly-ponto__mapa:hover, .fly-ponto__mapa:focus-visible { transform: translateY(-2px); box-shadow: 6px 6px 0 rgba(24, 22, 20, .25); }

@media (max-width: 767px) {
  .fly-pontos { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
  .fly-pontos__grade { grid-template-columns: 1fr; }
  .fly-pontos__topo, .fly-pontos__corpo { padding-left: 16px; padding-right: 16px; }
}

/* ---------- 9. FUNDO em degradê (laranja forte → branco) + legibilidade ---------- */
html,
html body {
  background: linear-gradient(180deg, #EA581C 0%, #F7A978 14%, #ffffff 42%) no-repeat;
}

/* números em branco, com sombra preta; as palavras pretas abaixo ficam sem sombra */
.elementor-13 .elementor-counter-number-wrapper,
.elementor-13 .elementor-counter-number-wrapper * {
  color: #ffffff !important;
  text-shadow: 2px 3px 6px rgba(0, 0, 0, .65);
}

.elementor-13 .elementor-counter-title {
  color: #181614 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

/* títulos de seção (letra laranja): sombra branca */
.elementor-13 .elementor-widget-heading:not(.elementor-element-f9245c7) .elementor-heading-title {
  text-shadow: 2px 3px 6px rgba(255, 255, 255, .95);
}

/* "Alguns de nossos clientes": caixa alta, branco, sombra preta */
.elementor-13 .elementor-element-f9245c7 .elementor-heading-title {
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: .06em;
  text-shadow: 2px 3px 6px rgba(0, 0, 0, .65);
}

/* textos corridos em negrito e grafite (exceto a frase final de Serviços) */
.elementor-13 .elementor-widget-text-editor,
.elementor-13 .elementor-widget-text-editor p,
.elementor-13 .fly-servicos li {
  font-weight: 700 !important;
  color: #2a2622 !important;
}

.elementor-13 .elementor-widget-text-editor p.fly-servicos-nota {
  font-weight: 400 !important;
}

/* ---------- 10b. CAPA: destaque para a Igreja da Pampulha (inspiração da logo) ---------- */
/* a foto ganha um leve zoom ancorado à direita (onde está a igreja) */
.elementor-element-6350463 .swiper-slide-bg {
  background-size: 100% auto;   /* sem ampliar: ocupa a largura inteira, preservando a resolução */
  background-position: center bottom;
}

/* halo de luz suave sobre a igreja, para ela ser o ponto de atenção */
.elementor-element-6350463 .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 20% 32% at 72% 68%, rgba(255, 244, 224, .16), rgba(255, 244, 224, 0) 70%);
}

/* ---------- 10. CRÉDITO DA FOTO DA CAPA (marca d'água discreta, canto inferior direito) ---------- */
.elementor-element-6350463 .swiper-slide { position: relative; }

.elementor-element-6350463 .fly-credito {
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 3;
  font: 600 7px/1 "Montserrat", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 767px) {
  .elementor-element-6350463 .fly-credito { right: 10px; bottom: 8px; font-size: 6px; }
}

.fly-peca img[src*="painel-led"]    { object-position: 72% 18%; }

/* ---- Mosaico (desktop): posição fixa de cada peça, 4 colunas x 3 linhas, sem buracos ---- */
@media (min-width: 768px) {
  .fly-mosaico .fly-peca:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }  /* Empena de LED */
  .fly-mosaico .fly-peca:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }           /* Front Light */
  .fly-mosaico .fly-peca:nth-child(7) { grid-column: 3 / span 2; grid-row: 2 / span 2; }  /* Banca de LED */
  .fly-mosaico .fly-peca:nth-child(4) { grid-column: 5 / span 2; grid-row: 1 / span 2; }  /* Mega Painel */
  .fly-mosaico .fly-peca:nth-child(3) { grid-column: 1 / span 2; grid-row: 3; }           /* Empenas */
  .fly-mosaico .fly-peca:nth-child(9) { grid-column: 5 / span 2; grid-row: 3; }           /* Painéis de LED */
  .fly-mosaico .fly-peca:nth-child(5) { grid-column: 7 / span 2; grid-row: 1; }           /* Banca Estática */
  .fly-mosaico .fly-peca:nth-child(6) { grid-column: 7 / span 2; grid-row: 2; }           /* Sequencial */
  .fly-mosaico .fly-peca:nth-child(8) { grid-column: 7 / span 2; grid-row: 3; }           /* Projetos Especiais */
}

/* ---- Peça de VÍDEO no mosaico (Envelopamento de ônibus) ---- */
.fly-lightbox video { max-width: 92vw; max-height: 88vh; border-radius: 8px; background: #000; }
.fly-lightbox video[hidden], .fly-lightbox img[hidden] { display: none; }

/* ---- Mosaico (desktop) com a peça de vídeo: 4 colunas x 4 linhas, sem buracos ---- */
@media (min-width: 768px) {
  .fly-mosaico .fly-peca:nth-child(10) { grid-column: 1 / span 4; grid-row: 1 / span 2; }  /* Envelopamento de ônibus (vídeo) */
  .fly-mosaico .fly-peca:nth-child(4)  { grid-column: 5 / span 2; grid-row: 1 / span 2; }  /* Mega Painel */
  .fly-mosaico .fly-peca:nth-child(5)  { grid-column: 7 / span 2; grid-row: 1; }           /* Banca Estática */
  .fly-mosaico .fly-peca:nth-child(6)  { grid-column: 7 / span 2; grid-row: 2; }           /* Sequencial */
  .fly-mosaico .fly-peca:nth-child(1)  { grid-column: 1 / span 2; grid-row: 3 / span 2; }  /* Empena de LED */
  .fly-mosaico .fly-peca:nth-child(2)  { grid-column: 3 / span 2; grid-row: 3; }           /* Front Light */
  .fly-mosaico .fly-peca:nth-child(3)  { grid-column: 3 / span 2; grid-row: 4; }           /* Empenas */
  .fly-mosaico .fly-peca:nth-child(7)  { grid-column: 5 / span 2; grid-row: 3 / span 2; }  /* Banca de LED */
  .fly-mosaico .fly-peca:nth-child(8)  { grid-column: 7 / span 2; grid-row: 3; }           /* Projetos Especiais */
  .fly-mosaico .fly-peca:nth-child(9)  { grid-column: 7 / span 2; grid-row: 4; }           /* Painéis de LED */
}
@media (max-width: 767px) {
  .fly-peca.fly-video { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  .fly-peca video { transition: none; }
}

/* ---- Vídeo real que "salta" ampliado por cima da peça ao passar o mouse (sem som, em loop) ---- */
.fly-mosaico { position: relative; z-index: 5; }
.fly-peca a { position: relative; border-radius: inherit; overflow: hidden; }
.fly-peca .fly-legenda { z-index: 2; }

.fly-peca.tem-clipe { overflow: visible; z-index: 1; --clipe-w: min(560px, 44vw); }
.fly-peca.tem-clipe.fly-video { --clipe-w: min(760px, 58vw); }
.fly-peca.tem-clipe:hover, .fly-peca.tem-clipe:focus-within, .fly-peca.tem-clipe.ativa { z-index: 30; }

.fly-peca video.fly-clipe {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: var(--clipe-w);
  max-width: none;            /* o tema limita vídeos à largura do contêiner */
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .55), 0 0 0 3px #fff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.55);
  transition: opacity .3s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}
.fly-peca video.fly-clipe.is-playing {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
  cursor: pointer;
}

/* enquadramento do vídeo do Painel de LED (a placa fica no alto do quadro) */


/* ---- Carrossel de clientes: logos novos (PNG sem fundo, recortados) com tamanho visual equilibrado ---- */
.fly-logo {
  --alt: min(4.9vw, 84px);                                   /* altura máxima visual de cada logo */
  margin-inline: -30px;                                      /* dá mais largura aos logos muito largos (ex.: Cinemark) */
  background-size: min(100%, calc(var(--alt) * var(--ar))) auto !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* com 21 marcas, os pontinhos de paginação ficariam poluídos: o carrossel segue andando sozinho */
.elementor-element-935ea7e .swiper-pagination { display: none; }
