/* ============================================
LEXOBRAS - Template CSS
============================================ */

/* ============================================
1. VARIÁVEIS CSS
============================================ */
:root {
  --cor-azul: #061d4d;
  --cor-azul-escuro: #0f172a;
  --cor-bege: #cc881e;
}

/* ============================================
2. ESTILOS GLOBAIS
============================================ */
body {
  font-family: 'Inter', sans-serif;
}

/* ============================================
3. CLASSES UTILITÁRIAS
============================================ */

/* Cores de fundo */
.cor-azul {
  background-color: var(--cor-azul);
  color: #fff;
}

.cor-bege {
  background-color: var(--cor-bege);
  color: #fff;
}

/* Cores de texto */
.t-cor-azul {
  color: var(--cor-azul);
}

.t-cor-bege {
  color: var(--cor-bege);
}

/* ============================================
4. COMPONENTES
============================================ */

/* Action Button (Call-to-Action) */
.action-btn {
  padding: 30px 90px;
  width: 140px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(to right, #77530a, #ffd277, #77530a, #77530a, #ffd277, #77530a);
  background-size: 250%;
  background-position: left;
  color: #ffd277;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-duration: 1s;
  overflow: hidden;
}

.action-btn::before {
  position: absolute;
  content: var(--content);
  color: #ffd277;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 97%;
  height: 90%;
  border-radius: 8px;
  transition-duration: 1s;
  background-color: var(--cor-azul-escuro);
  background-size: 200%;
}

.action-btn:hover {
  background-position: right;
  transition-duration: 1s;
}

.action-btn:hover::before {
  background-position: right;
  transition-duration: 1s;
}

.action-btn:active {
  transform: scale(0.95);
}

/* ============================================
5. HEADER / NAVBAR
============================================ */
header .logo-img {
  width: auto;
  height: 30px;
}

header #logo-slogan {
  position: relative;
  margin-top: -12px;
  margin-left: 69px;
}

/* ============================================
6. FOOTER
============================================ */

/* Footer Principal */
.footer {
  background: var(--card-bg);
  padding: 4rem 1rem 2rem 1rem;
  border-top: 1px solid rgba(0, 255, 136, 0.1);
  background-size: 500px;
  background-position: -250px bottom;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.95);
  background-blend-mode: lighten;
  filter: grayscale(100%);
}

/* Footer Content Grid */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 0.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Footer Logo */
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Footer Sections */
.footer-section p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section ul li a:hover {
  color: var(--primary-green);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-green);
  color: var(--dark-bg);
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-gray);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-green);
}

/* ============================================
7. WHATSAPP FLUTUANTE
============================================ */
#whats-flutuante {
  position: fixed;
  bottom: 10px !important;
  right: 10px !important;
  z-index: 3;
}

/* ============================================
8. ANIMAÇÕES
============================================ */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

/* ============================================
9. MEDIA QUERIES - RESPONSIVIDADE
============================================ */

/* Tablets (1024px e abaixo) */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 0.5fr 1fr 1fr;
    gap: 2rem;
  }

  .footer {
    padding: 3rem 1.5rem 2rem 1.5rem;
  }

  .footer-section:first-child {
    grid-column: 1 / -1;
  }
}

/* Mobile (640px e abaixo) */
@media (max-width: 640px) {

  /* Footer Mobile */
  .footer {
    padding: 2rem 1rem 1rem 1rem;
    background-size: 150%;
    background-position: center 150%;
  }

  .footer-content {
    grid-template-columns: 0.5fr 1fr 1fr;
    gap: 2rem;
  }

  .footer-section p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }

  .footer-section h4 {
    font-size: 1rem;
  }

  .footer-logo {
    font-size: 1.3rem;
  }

  .social-links {
    justify-content: flex-start;
  }

  /* Endereços dos escritórios */
  .footer-section ul li {
    margin-bottom: 1rem;
  }

  .footer-section ul li .flex {
    gap: 0.75rem;
  }

  .footer-section ul li .text-sm {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* Footer Bottom Mobile */
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Action Button Mobile */
  .action-btn {
    width: 100%;
    max-width: 280px;
    padding: 20px 60px;
  }

  /* Header Mobile */
  header .logo-img {
    height: 35px;
  }
}

/* Mobile Small (480px e abaixo) */
@media (max-width: 480px) {
  .footer {
    padding: 1.5rem 0.75rem 1rem 0.75rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-section p {
    font-size: 0.85rem;
  }

  .footer-logo {
    font-size: 1.2rem;
  }

  header .logo-img {
    height: 32px;
  }
}
