.iluminacao-publica {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.2fr);
  gap: 2rem;
  align-items: center;
  padding: 6rem ;
}


.ilumi{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap: 2rem;
}

.texto-gestao p{
    color: #d8e6ff;
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    max-width: 620px;
}
.gestao-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 1.75rem;
    background: rgba(38, 54, 120, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e5eaf1;
    min-height: 18rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card h3 {
    margin-bottom: 0.9rem;
}

.feature-card p {
    margin: 0 0 1.4rem;
    color: rgba(229, 234, 241, 0.95);
}

.feature-pill-list {
    display: grid;
    gap: 0.75rem;
}

.feature-pill-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgb(167, 25, 25);
    border: 1px solid rgb(255, 255, 255);
    color: #e5eaf1;
    font-size: 0.95rem;
}


@media (max-width: 400px) {
  .feature-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
  }
}



/* FEATURES */
.gestao-features{
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding: 0;
    list-style: none;
    justify-content: center;
}

.gestao-features li{
    color: #fffbfb;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .7rem;
    background: #2a3a7b;
    border-radius: 999px;
    padding: 0.75rem 1rem;
}

/* ÍCONES */
.gestao-features li::before{
    content: "⚡";
    font-size: 1.3rem;
}

.gestao-features li:nth-child(2)::before{
    content: "🛡";
}

.gestao-features li:nth-child(3)::before{
    content: "📡";
}


.gestao-iluminacao {
    align-items: center;
    padding-right: 2rem;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.section-label.ilu-publ {
    display: inline-flex;
    margin-top: 2rem;
    margin-bottom: 1rem;
    background: rgba(45, 140, 255, 0.14);
    color: #0f3d91;
}

@media (max-width: 1024px) {
    .gestao-iluminacao {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 500px) {
    .gestao-iluminacao {
        gap: 1.5rem;
    }
   .gestao-features {
      flex-direction: column;
      align-items: center;
      width: 100%;
      justify-content: center;
      margin-bottom: 80px;
    }
  }

/* APARECER */

.glass-card:hover .glass-overlay{
    opacity:1;
}

/* CONTEÚDO */

.glass-content{
    background:#263678;
    border:1px solid rgba(255,255,255,.15);
    padding:2rem;
    border-radius:24px;
    text-align:center;
    transform:translateY(50px);
    opacity:0;
    transition:.6s cubic-bezier(.16,1,.3,1);
    backdrop-filter:blur(14px);
    
}
/* ─────────────────────────────────────────────────────────────────────────── */
/* Melhoria de layout para section-tech */
/* ─────────────────────────────────────────────────────────────────────────── */

.section-tech {
  padding: 6rem 2rem;
  background: #ffffff;
}

.section-tech .container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-tech .section-label {
  background: rgba(45, 140, 255, 0.12);
  color: #0f3d91;
  margin-bottom: 1.5rem;
  display: inline-flex;
}

.section-tech h2 {
  margin: 0 0 3rem;
  font-size: clamp(2rem, 2.5vw, 3rem);
  color: #0f172a;
  font-weight: 700;
}

/* Layout melhorado para luminarias e fotovoltaica */
.section-tech .luminarias,
.section-tech .fotovoltaica {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  margin: 3rem 0;
  align-items: start;
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.section-tech .label-Luminarias {
  display: block;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .section-tech .luminarias,
  .section-tech .fotovoltaica {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .section-tech {
    padding: 4rem 1rem;
  }
  
  .section-tech h2 {
    margin-bottom: 2rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* Todos os estilos de section-tech movidos de style.css */
/* ─────────────────────────────────────────────────────────────────────────── */

.section-tech {
  padding: 6rem 0;
  background-color: white;
}

.section-tech h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 2.5vw, 3rem);
  color: black;
}

.section-tech p {
  color: #000000;
  max-width: 64rem;
}

.section-tech h3 {
  color: black;
}

/* Fade animation for tecnologias items */
.section-tech .animated-item {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-tech.animate .animated-item {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children for a nicer effect */
.section-tech.animate .animated-item:nth-child(1) { transition-delay: 0.05s; }
.section-tech.animate .animated-item:nth-child(2) { transition-delay: 0.15s; }
.section-tech.animate .animated-item:nth-child(3) { transition-delay: 0.25s; }
.section-tech.animate .animated-item:nth-child(4) { transition-delay: 0.35s; }

/* Fotovoltaica */
.fotovoltaica {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;

}

.fotovoltaica-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  box-sizing: border-box;
  border-radius: 1.25rem;
  margin-top: 1.5rem;
}

.fotovoltaica-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  margin-top: 2rem;
}

/* Tornar cards de fotovoltaica visíveis */
.fotovoltaica .lum-card {
  opacity: 1;
  transform: translateX(0);
  background: linear-gradient(135deg, #263678 0%, #1a2650 100%) !important;
  border: 1px solid rgba(45, 140, 255, 0.3) !important;
}

/* Luminárias carousel + cards */
.luminarias {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}

.luminaria-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: block;
  padding: 1.5rem;
  box-sizing: border-box;
}

.luminaria-img.active {
  opacity: 1;
}

.luminarias-carousel {
  background: transparent;
  border-radius: 1rem;
  overflow: hidden;
}

.luminarias-frame {
  position: relative;
  width: 100%;
  height: 500px;
  background: #26367800;
}

.label-Luminarias {
  margin-top: 5rem;
  margin-bottom: -10px;
  justify-content: center;
  text-align: center;
}

.luminarias-cards {
  display: grid;
  gap: 1rem;
}

.lum-card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: #263678 ;
  border: 1px solid rgba(255, 255, 255, 0.871) !important;
}

.lum-card h3 { margin: 0 0 0.5rem; color: #ffffff !important; }
.lum-card p { margin: 0; color: #ffffff; }

/* Fade-right animation for luminarias cards */
.lum-card {
  opacity: 0;
  transform: translateX(0.6rem);
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(0.6rem); }
  to { opacity: 1; transform: translateX(0); }
}

.luminarias.animate .lum-card {
  animation: fadeRight 0.6s ease forwards;
}

.luminarias.animate .lum-card:nth-child(1) { animation-delay: 0s; }
.luminarias.animate .lum-card:nth-child(2) { animation-delay: 0.08s; }
.luminarias.animate .lum-card:nth-child(3) { animation-delay: 0.16s; }

/* Media queries para seção tech */
@media (max-width: 1024px) {
  .fotovoltaica { grid-template-columns: 1fr; }
  .fotovoltaica-frame { height: 280px; }
  
  .luminarias { grid-template-columns: 1fr; }
  .luminarias-frame { height: 280px; }
}

@media (max-width: 640px) {
  .section-tech {
    padding: 4rem 2rem;
  }
}
/* ─────────────────────────────────────────────────────────────────────────── */
/* flip-card */
/* CONTAINER PRINCIPAL */
/* CONTAINER PRINCIPAL */
.gestao-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  perspective: 1500px;
  width: 100%;
}

.flip-card-conteiner {
  display: flex;
  
  flex-wrap: wrap;
  justify-content: center;
}

.flip-card {
  background-color: transparent;
  width: 510px;
  height: 500px;
  perspective: 1000px;
  cursor: pointer;
  position: relative;
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 1.5rem;
  box-sizing: border-box;
  transition: transform 0.6s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
}

/* FRENTE DO CARD */
.flip-front {
  background: linear-gradient(135deg, #1a2a3a, #0d1b26);
  transform: rotateY(0deg);
}

/* VERSO DO CARD */
.flip-back {
  background: #263678;
  color: white;
  transform: rotateY(180deg);
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ANIMAÇÃO FLIP */
.flip-card:hover .flip-front {
  transform: rotateY(180deg);
}

.flip-card:hover .flip-back {
  transform: rotateY(0deg);
}

/* ============================================ */
/* SETA GIRATÓRIA - INDICADOR DE FLIP CARD */
/* ============================================ */
.flip-card::before {
  content: "↻";
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  color: white;
  pointer-events: none;
  transition: transform 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Animação da seta girando continuamente */
.flip-card::before {
  animation: subtleSpin 3s linear infinite;
}

/* Acelera a seta quando o mouse passa por cima do card */
.flip-card:hover::before {
  animation: fastSpin 0.5s linear infinite;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.1);
}

/* Animações */
@keyframes subtleSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fastSpin {
  from {
    transform: rotate(0deg) scale(1.1);
  }
  to {
    transform: rotate(360deg) scale(1.1);
  }
}

/* ============================================ */
/* VARIAÇÃO: ÍCONE DE MOUSE + SETA (OPCIONAL) */
/* ============================================ */
/* Caso queira um texto "Clique" junto com a seta */
.flip-card[data-tooltip]::after {
  content: "flip";
  position: absolute;
  top: 15px;
  right: 60px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0.7;
  font-weight: normal;
  white-space: nowrap;
}

/* ============================================ */
/* ESTILOS ESPECÍFICOS DO FRENTE */
/* ============================================ */
.flip-front h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.flip-front p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: auto;
}

.feature-pill-list span {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 0.4rem 0.8rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ESTILOS ESPECÍFICOS DO VERSO */
.flip-back h3 {
  font-size: 1.8rem;
  margin-bottom: 0.1rem;
  font-weight: 700;
  color: #ffffff;
}

.flip-back p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color:white
}

.flip-back .feature-pill-list {
  justify-content: center;
  margin-top: 1rem;
}

/* CORES PERSONALIZADAS POR CARD */
.UrbiluxCard .flip-front {
  background: white;
  border-left: 4px solid #263678;
}
.UrbiluxCard img{
  width: 80%;
  height: auto;
  object-fit: contain;
  justify-self: center;
}

.UrbiluxCard .flip-back {
  background:#263678;
  border-left: 4px solid #263678;
}
.gestao-features-Urbilux{
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0;
    list-style: none;
    flex-wrap: wrap; /* Permite quebrar linha em telas menores */
    justify-content: center; /* Centraliza os itens */
}
.features-Urbilux{
    color: #263678;
    list-style: none;
    padding: 0;
    margin-bottom: 0.2rem;
    border: 1px solid rgba(38, 54, 120, 0.4);
    background: #ffffff;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    width: fit-content;
    justify-self: center;
    font-size: 0.78rem;
    font-weight: 600;
    
}
.UrbiluxCard .feature-pill-list span {
  background: #263678;
  border: 1px solid rgba(38, 54, 120, 0.4);
}

.UrbiluxCard::before {
  background: rgba(38, 54, 120, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(38, 54, 120, 0.5);
  color: #263678;
  box-shadow: 0 0 10px rgba(38, 54, 120, 0.3);
}

.citiSmartcard .flip-front {
  background: white;
  border-left: 4px solid #263678;
}

.citiSmartcard .flip-back {
  background: #263678;
  border-left: 4px solid #263678;
}
.citiSmartcard img{
  width: 80%;
  height: auto;
  object-fit: contain;
  justify-self: center;
}
.gestao-features-CitiSmart{
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0;
    list-style: none;
    flex-wrap: wrap; /* Permite quebrar linha em telas menores */
    justify-content: center; /* Centraliza os itens */
}
.features-CitiSmart{
    color: #263678;
    list-style: none;
    padding: 0;
    margin-bottom: 0.2rem;
    border: 1px solid rgba(38, 54, 120, 0.4);
    background: #ffffff;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    width: fit-content;
    justify-self: center;
    font-size: 0.78rem;
    font-weight: 600;
    
}

.citiSmartcard .feature-pill-list span {
  background: #263678;
  border: 1px solid rgba(38, 54, 120, 0.4);
}

.citiSmartcard::before {
  background: rgba(38, 54, 120, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(38, 54, 120, 0.5);
  color: #263678;
  box-shadow: 0 0 10px rgba(38, 54, 120, 0.3);
}

/* CONTEÚDO DO VERSO 
.flip-back::before {
  content: "✨ Informações Adicionais";
  font-size: 1.2rem;
  font-weight: 600;
 
  display: block;
  letter-spacing: 1px;
}


.citiSmartcard .flip-back::after {
  content: "• Gestão unificada • Dados em tempo real • Escalabilidade total • API aberta para integrações";
  display: block;
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre-line;
  text-align: left;
  margin-top: 0.5rem;
}*/

/* RESPONSIVIDADE */
@media (max-width: 768px) {
.flip-card {
    height: 700px; /* ou o valor que comportar o maior conteúdo */
    position: relative;
}

.flip-front{
    position: absolute;
    inset: 0;
    width: 100%;
    height:70%;
    backface-visibility: hidden;
}
.flip-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}
  
  .flip-front h3, .flip-back h3 {
    font-size: 1.5rem;
  }
  
  .feature-pill-list span {
    font-size: 0.7rem;
  }
  
  .flip-card::before {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    top: 10px;
    right: 10px;
  }
}