/* ==========================================================================
   VARIÁVEIS GLOBAIS
   ========================================================================== */
:root {
  --cor-texto: #2a2a2a;
  --cor-titulos: #111;
  --cor-link: #444;
  --cor-link-hover: #000;
  --cor-destaque-primario: #444;
  --cor-destaque-secundario: #666;
  --cor-fundo: #ffffff;
  --cor-fundo-footer: #fff;
  --cor-texto-footer: #333;
  --font-base: 'Roboto', sans-serif;
  --font-titulos: 'Montserrat', sans-serif;
  --espacamento-base: 10px;
}

/* ==========================================================================
   BASE GERAL
   ========================================================================== */
body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cor-texto);
  background-color: var(--cor-fundo);
  margin: 0;
  padding: 0;
  padding-top: 40px; /* Espaço para header fixo */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  z-index: 0;
}

html, body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titulos);
  color: var(--cor-titulos);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

a {
  color: var(--cor-link);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cor-link-hover);
}

/* Destaques */
.destaque-primario {
  color: var(--cor-destaque-primario);
}

.destaque-secundario {
  color: var(--cor-destaque-secundario);
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Espaçamentos utilitários */
.mt-1 { margin-top: var(--espacamento-base); }
.mb-1 { margin-bottom: var(--espacamento-base); }
.pt-1 { padding-top: var(--espacamento-base); }
.pb-1 { padding-bottom: var(--espacamento-base); }

.mt-2 { margin-top: calc(var(--espacamento-base) * 2); }
.mb-2 { margin-bottom: calc(var(--espacamento-base) * 2); }
.pt-2 { padding-top: calc(var(--espacamento-base) * 2); }
.pb-2 { padding-bottom: calc(var(--espacamento-base) * 2); }

/* ==========================================================================
   HEADER GERAL (fixo e container base)
   ========================================================================== */
#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 140px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

#content {
  padding-top: 160px;
}

.header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 100px;
  position: relative;
}

/* ==========================================================================
   LOGO
   ========================================================================== */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  max-height: 100px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.5)) !important;
}

/* ==========================================================================
   BOTÕES (mobile + base comum)
   ========================================================================== */
.header-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  padding: 0 15px;
}

/* Botões de Login e Logout – redondos e com efeito 3D */
.header-btn-login,
.header-btn-logout {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 35% 35%, #2f4f4f, #0d1c1c);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow:
    inset -2px -2px 5px rgba(255,255,255,0.2),
    inset 2px 2px 5px rgba(0,0,0,0.2),
    0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.header-btn-login:hover,
.header-btn-logout:hover {
  transform: translateY(-2px);
  box-shadow:
    inset -2px -2px 4px rgba(255,255,255,0.2),
    inset 2px 2px 5px rgba(0,0,0,0.2),
    0 6px 12px rgba(0,0,0,0.4);
  filter: brightness(1.05);
}

.header-btn-login i,
.header-btn-logout i {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}


/* Botão Menu Hamburguer – redondo, 3D com azul petróleo */
.hamburger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2f4f4f, #0d1c1c);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: none;
  cursor: pointer;
  box-shadow:
    inset -2px -2px 5px rgba(255,255,255,0.08),
    inset 2px 2px 5px rgba(0,0,0,0.3),
    0 6px 12px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.hamburger:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    inset -2px -2px 4px rgba(255,255,255,0.1),
    inset 2px 2px 6px rgba(0,0,0,0.35),
    0 8px 16px rgba(0,0,0,0.6);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Animação para o ícone transformar-se num X */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ==========================================================================
   MENU GERAL E DROPDOWNS (mobile first)
   ========================================================================== */
.main-navigation {
  width: 100%;
  margin-top: 15px;
}

.main-navigation.central {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  display: flex;
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.main-navigation.central.active {
  display: flex !important;
  flex-direction: column;
}

.main-navigation ul.menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.main-navigation ul.menu li {
  position: relative;
}

.main-navigation ul.sub-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-navigation ul.menu li:hover > ul.sub-menu,
.main-navigation li.submenu-aberto > ul.sub-menu {
  display: block;
}

.main-navigation ul.sub-menu li a {
  display: block;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 400;
  color: #444;
  white-space: nowrap;
  line-height: 1.4;
  text-decoration: none;
}

.main-navigation ul.sub-menu li a:hover {
  color: var(--cor-destaque-primario);
  font-weight: 600;
}


/* ==========================================================================
   MEDIA QUERIES – DESKTOP (> 992px)
   ========================================================================== */
@media (min-width: 992px) {
  .header-container {
    display: grid;
    grid-template-areas: "logo menu login";
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0 50px;
    height: 140px;
    column-gap: 40px;
  }

.logo {
  grid-area: logo;
  justify-self: start;
  align-self: center;
}

.logo img {
  max-height: 100px;
  width: auto;
  display: block;
  object-fit: contain;

  /* Efeito de profundidade também no desktop */
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

  .main-navigation.central {
    grid-area: menu;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    position: static;
  }

  .main-navigation ul.menu {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 60px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .main-navigation ul.menu li {
    display: inline-block;
    position: relative;
  }

  .main-navigation ul.menu li a {
    display: block;
    padding: 0 10px;
    line-height: 80px;
    font-size: 1rem;
    font-weight: 500;
    color: #2f4f4f;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .main-navigation ul.menu li a:hover {
    color: #0d1c1c;
    text-shadow: 0 0 4px rgba(0,0,0,0.1);
  }

.main-navigation ul.sub-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  min-width: 200px;
  text-align: center;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 999;

  /* Novo fundo sólido e estilo 3D */
  background: #f5f5f5; /* cinza claro */
  box-shadow:
    inset 0 0 0 rgba(0, 0, 0, 0), /* nada no interior */
    0 8px 20px rgba(0, 0, 0, 0.2), /* sombra externa suave */
    0 2px 5px rgba(0, 0, 0, 0.1); /* sombra secundária */
}

.main-navigation ul.menu li:hover > ul.sub-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.main-navigation ul.sub-menu li a {
  display: block;
  width: 100%;
  padding: 4px 20px;
  font-size: 0.9rem;
  line-height: 2.5;
  color: #2f4f4f; /* azul petróleo */
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.main-navigation ul.sub-menu li a:hover {
  color: #007070;  /* azul petróleo mais escuro */
}

  .header-right-button {
    grid-area: login;
    justify-self: end;
    align-self: center;
  }

  .header-left-button {
    display: none;
  }

  .hamburger {
    display: none !important;
  }
}


/* ==========================================================================
   HEADER – MOBILE EXTRA (até 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .header-btn-login,
  .header-btn-logout {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .header-btn-login i,
  .header-btn-logout i {
    font-size: 22px;
  }
}

/* ==========================================================================
   MEDIA QUERIES – MOBILE (até 991px)
   ========================================================================== */
@media (max-width: 991px) {
  .header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: auto;
    padding: 10px 15px;
  }

  .logo {
    order: 2;
    position: static;
    transform: none;
    margin: 10px 0;
  }

  .logo img {
    max-height: 80px;
    width: auto;
    display: block;
  }

  .header-buttons {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
  }

  .hamburger {
    order: 1;
    display: flex !important;
  }

  .main-navigation.central {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 15px 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .main-navigation.central.active {
    display: flex !important;
  }

  .main-navigation ul.menu {
    width: 100%;
    flex-direction: column;
    padding: 0 5%;
    margin: 0;
    gap: 10px;
  }

  .main-navigation ul.menu li {
    position: static !important;
    width: 100%;
    text-align: left;
  }

  .main-navigation ul.sub-menu {
    display: none;
    position: static !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .main-navigation li.submenu-aberto > ul.sub-menu {
    display: block !important;
  }

  .main-navigation ul.sub-menu li {
    width: 100%;
    text-align: center;
  }

  .main-navigation ul.sub-menu li a {
    display: block !important;
    width: 100% !important;
    padding: 12px 0 !important;
    margin: 0 auto !important;
    border-bottom: 1px solid #f0f0f0 !important;
    text-align: center !important;
  }

  .header-left-button,
  .header-right-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .header-left-button {
    left: 16px;
  }

  .header-right-button {
    right: 8px;
  }
}


/* ==========================================================================
   FOOTER - VISUAL MODERNO
   ========================================================================== */
#footer,
footer {
  background: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 100%);
  color: var(--cor-texto-footer, #333);
  padding: 2rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.05);
  border-top: 1px solid #ddd;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  width: 100%;
  text-align: left;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-column h3 {
  color: #111;
  font-weight: 700;
  font-family: var(--font-titulos);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-column p,
.footer-column a,
.footer-column li {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
  color: var(--cor-link-hover);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social-media {
  margin: 1.5rem 0 1rem 0;
}

.footer-social-media a {
  margin: 0 12px;
  color: #333;
  font-size: 1.4rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-social-media a:hover {
  color: #000;
  transform: scale(1.2);
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 2rem auto 1rem auto;
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #333;
  margin: 0 15px;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  margin: 0.5rem 0 0 0;
  color: #555;
}

footer iframe {
  width: 100%;
  max-width: 300px;
  height: 150px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsivo */
@media (max-width: 1024px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-column h3 {
    text-align: center;
  }

  .footer-links a {
    display: block;
    margin: 6px 0;
  }
}

/* ==========================================================================
   BOTÕES – PADRÃO
   ========================================================================== */
button,
input[type="submit"],
input[type="button"],
.button,
.btn,
.wp-block-button__link {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background-color: var(--cor-destaque-primario);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 25px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover,
.btn:hover,
.wp-block-button__link:hover,
.header-btn-login:hover,
.header-btn-logout:hover {
  background-color: var(--cor-link-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}


/* ==========================================================================
   FORMULÁRIOS – PADRÃO
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--cor-destaque-primario);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

/* ==========================================================================
   GRIDS E CARDS
   ========================================================================== */
.grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.grid-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.grid-form > div {
  display: flex;
  flex-direction: column;
}

.grid-form label {
  font-weight: 500;
  margin-bottom: 6px;
  text-align: center;
}

.grid-form h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .grid-form {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HOMEPAGE INSTITUCIONAL - VISUAL MODERNO E ANIMAÇÕES FLUÍDAS
   ========================================================================== */

/* RESET & BASE */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
  background-color: #f9f9f9;
  color: #111;
}

/* HERO PARALLAX COM GRADIENTE E PARTÍCULAS */
.parallax-section {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.parallax-bg.animated-gradient {
  background: linear-gradient(-45deg, #00ffcc, #0066ff, #00ccff, #003366);
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  z-index: -2;
  filter: brightness(1.1);
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#particles-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 30px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 0 10px rgba(255,255,255,0.1);
}

.text-neon {
  color: #00F0FF;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
}

.text-stroke {
  -webkit-text-stroke: 1px white;
  color: transparent;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero {
  background-color: #ffffff;
  color: #111;
  box-shadow: 0 0 0 transparent;
}

.btn-hover-glow:hover {
  box-shadow: 0 0 20px #00F0FF;
  transform: translateY(-5px);
}

.scroll-down {
  margin-top: 40px;
  font-size: 28px;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

/* BLOCO 2: FRASE IMPACTANTE */
#bloco-frase {
  background-color: #ffffff;
  padding: 80px 40px;
  min-height: auto;
  position: relative;
  z-index: 1;
}

#bloco-frase .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.content-3d {
  flex: 1 1 50%;
  max-width: 600px;
}

.content-3d h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #111;
}

.content-3d p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #444;
}

.image-3d {
  flex: 1 1 40%;
  text-align: center;
}

.image-3d img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.btn-3d {
  background-color: #00F0FF;
  color: #fff;
  box-shadow: 0 8px 16px rgba(0,240,255,0.4);
}

.btn-3d:hover {
  background-color: #00d1e6;
}

/* BLOCO 3: SERVIÇOS IMPACTO */
.servicos-impacto {
  background: linear-gradient(to bottom, #eef6f9 0%, #ffffff 100%);
  padding: 100px 40px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
  box-shadow: inset 0 60px 80px -80px rgba(0,0,0,0.05);
}

.servicos-impacto .servico {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 40px 30px;
  width: 300px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.servicos-impacto .servico:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.servicos-impacto .icone-glow {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #00F0FF;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
}

.servicos-impacto h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #111;
}

.servicos-impacto p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
}

.servicos-impacto .servico::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.servicos-impacto .servico:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .servicos-impacto {
    flex-direction: column;
    padding: 60px 20px;
  }

  .servicos-impacto .servico {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* BLOCO 4: INSTITUCIONAL DE LUXO */
.institucional-luxo {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.titulo-luxo {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #00F0FF;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.descricao-luxo {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #ccc;
}

.institucional-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.card-luxo {
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 40px 30px;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.card-luxo h3 {
  color: #00F0FF;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card-luxo p {
  color: #eee;
  font-size: 1rem;
  line-height: 1.6;
}

.card-luxo::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,240,255,0.2), transparent);
  transform: rotate(45deg);
  animation: brilhoLuxo 6s linear infinite;
}

@keyframes brilhoLuxo {
  0% { transform: rotate(45deg) translate(-100%, -100%); }
  100% { transform: rotate(45deg) translate(100%, 100%); }
}

.card-luxo:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

/* RESPONSIVO GERAL */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  #bloco-frase, .servicos-impacto {
    flex-direction: column;
    padding: 60px 20px;
  }
  .content-3d, .image-3d, .servico, .card-luxo {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
  .institucional-cards {
    flex-direction: column;
    align-items: center;
  }
  .servicos-impacto .servico {
    width: 100%;
    max-width: 360px;
  }
}


/* ==========================================================================
   OUTROS AJUSTES
   ========================================================================== */
#barra-gravar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.8);
  padding: 10px 0;
  text-align: center;
  z-index: 9999;
}

#barra-gravar .btn {
  background-color: #f1f1f1;
  color: #333;
  border: none;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  transition: background-color 0.3s ease;
}

#barra-gravar .btn:hover {
  background-color: #e1e1e1;
}

.parceiro-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.parceiro-info span {
  font-weight: 600;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
}

.parceiro-info .editar-info,
.parceiro-info .terminar-sessao {
  font-size: 14px;
  text-decoration: none;
  color: #555;
  transition: color 0.3s ease;
}

.parceiro-info .editar-info:hover {
  color: #222;
}

.parceiro-info .terminar-sessao:hover {
  color: #666;
}

#servicos {
  background-color: #f5f5f5;
}

#servicos h2,
#servicos p.lead {
  text-align: center;
}

.servicos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.servico {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 300px;
  flex: 1 1 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.servico .icone {
  font-size: 3rem;
  margin-bottom: 15px;
}


/* ==================== DROPDOWNS PERSONALIZADOS ==================== */
select {
    appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 40px 8px 12px;
    font-size: 14px;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23333' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    transition: border 0.2s ease;
    cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
textarea,
select {
  height: 42px; /* altura uniforme */
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 20px;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

.dataTables_length select {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #fff;
    width: 80px; /* Ou usa max-width: 25% se quiseres adaptar */
}

.dataTables_length {
    margin-bottom: 16px;
}


/* ==========================================================================
   DASHBOARD BACKOFFICE – GESTÃO (BOTÕES DE ADMIN)
   ========================================================================== */
.dashboard-gestao {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center; /* ← centra os botões */
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 20px;
}

.btn-gestao {
  background-color: #444;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.2s ease;
  display: inline-block;
}

.btn-gestao:hover {
  background-color: #111;
}

.dashboard-header {
  display: flex;
  flex-direction: column;
  align-items: center; /* ← centra o "Olá, Nome" */
  gap: 12px;
  margin-bottom: 30px;
  text-align: center; /* ← centra o texto */
}

.dashboard-gestao {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center; /* ← centra os botões */
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 20px;
}

.dashboard-header h2 {
  font-size: 22px;
  margin: 0;
}

.tabela-vendas {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.tabela-vendas th, .tabela-vendas td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}
.tabela-vendas th {
    background-color: #f5f5f5;
}
.tabela-vendas tr:nth-child(even) {
    background-color: #fcfcfc;
}
.tabela-vendas tr:hover {
    background-color: #eef9ee;
}

th.telecom {
    background-color: #e8f4ff;
    font-weight: bold;
}

th.energia {
    background-color: #fff8e1;
    font-weight: bold;
}

/* CONTÊINER DE BOTÕES FLUTUANTES */
#menu-botoes-flutuantes {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
}

/* BOTÃO BASE */
.botao-flutuante {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at 35% 35%, #2f4f4f, #0d1c1c);
  border: none;
  color: white;
  border-radius: 50px;
  font-size: 16px;
  text-decoration: none;
  overflow: hidden;
  box-shadow:
    inset -1px -1px 2px rgba(255,255,255,0.1),
    inset 2px 2px 5px rgba(0,0,0,0.4),
    0 8px 20px rgba(0,0,0,0.5);
  transition: width 0.35s ease-in-out, box-shadow 0.3s, background 0.3s;
}

/* ÍCONE */
.botao-flutuante i {
  font-size: 22px;
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}

/* TEXTO */
.botao-flutuante .texto-container {
  width: 0;
  opacity: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
  padding-left: 0;
}

/* EXPANSÃO AO HOVER */
.botao-flutuante:hover {
  width: 200px;
  box-shadow:
    inset -1px -1px 3px rgba(255,255,255,0.15),
    inset 2px 2px 6px rgba(0,0,0,0.5),
    0 12px 24px rgba(0,0,0,0.6);
}

.botao-flutuante:hover .texto-container {
  width: 140px;
  opacity: 1;
  padding-left: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TEXTO VISUAL */
.texto-dashboard {
  font-size: 14px;
  text-align: center;
  width: 100%;
}

/* MOBILE */
@media (max-width: 768px) {
  .botao-flutuante {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .botao-flutuante i {
    font-size: 14px;
    min-width: 36px;
    height: 36px;
  }

  .botao-flutuante .texto-container {
    display: none;
  }
}



/* Container dos indicadores (ALERTAS + RENOVAÇÕES) */
.bloco-indicadores {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin: 10px 0;
}

/* Estilos base dos quadrados */
.indicador-box {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin: 0;
}

/* Alertas específicos (energia/telecom) */
.indicador-box.alerta-energia,
.indicador-box.alerta-telecom {
    background-color: #f9f9f9;
    color: #333;
    border-left: 4px solid #dc3545; /* Borda vermelha sutil */
    align-items: flex-start;
    text-align: left;
}

.indicador-box.alerta-energia i,
.indicador-box.alerta-telecom i {
    color: #dc3545;
    margin-right: 8px;
}

/* Cores dos alertas (vermelho/verde) */
.alerta-vermelho {
    background-color: #ff0000 !important; /* Vermelho puro */
    color: white !important;
}

/* Remove margem extra do número */
.indicador-box strong {
    margin-top: 0;
    font-size: 1.2em;
}

.alerta-verde {
    background-color: #27ae60 !important;
    color: white !important;
    border-left: none !important; /* Remove borda esquerda */
}

.alerta-vermelho i,
.alerta-verde i {
    color: white !important;
}

/* Estilo do quadrado "Elegíveis para Renovação" (AZUL ESCURO) */
.indicador-box.azul-renovacao {
    background-color: #2c3e50; /* Azul escuro */
    color: white !important;
    border-left: none; /* Sem borda esquerda */
}

/* Garante que o ícone (se houver) fique branco */
.indicador-box.azul-renovacao i {
    color: white !important;
}

input[readonly] {
    background-color: #f5f5f5;
    color: #555;
    cursor: not-allowed;
}



