/*
Theme Name: Equilibre Soluções
Theme URI: https://equilibresolucoes.com.br
Author: Equilibre Soluções
Author URI: https://equilibresolucoes.com.br
Description: Tema profissional para consultoria de crédito e revisional administrativa
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: equilibre-theme
Domain Path: /languages
*/

:root {
  --primary-color: #0066CC;
  --secondary-color: #00A896;
  --dark-color: #1a1a1a;
  --light-color: #f5f5f5;
  --text-color: #333;
  --border-color: #ddd;
  --spacing-unit: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

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

a:hover {
  color: var(--secondary-color);
}

/* Header */
header {
  background: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8f4f8 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #008876;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 168, 150, 0.3);
}

.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 20px;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.badge-icon {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Services Section */
.services {
  padding: 4rem 2rem;
  background: white;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Features Section */
.features {
  padding: 4rem 2rem;
  background: var(--light-color);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.feature-label {
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 600;
}

/* Process Section */
.process {
  padding: 4rem 2rem;
  background: white;
}

.process-container {
  max-width: 1200px;
  margin: 0 auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: var(--primary-color);
  background: #f9f9f9;
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  line-height: 50px;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.process-step p {
  color: #666;
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.btn-white {
  background-color: white;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-white:hover {
  background-color: #f0f0f0;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 3rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

.footer-section a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  text-align: center;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .cta h2 {
    font-size: 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 0.5rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.3rem;
  }
}
/* ===== Ícone de WhatsApp no Footer ===== */
.whatsapp-icon-footer {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== Modal ===== */
.whatsapp-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.whatsapp-modal-content {
    padding: 30px;
    position: relative;
}

.whatsapp-modal h2 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 22px;
}

.whatsapp-modal p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

/* ===== Overlay ===== */
.whatsapp-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* ===== Formulário dentro do Modal ===== */
.modal-form {
    margin-top: 20px;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.modal-form button {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-form button:hover {
    background: #20BA5A;
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
    .whatsapp-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .whatsapp-modal {
        width: 95%;
        max-height: 90vh;
    }
    
    .whatsapp-modal-content {
        padding: 20px;
    }
    
    .whatsapp-modal h2 {
        font-size: 18px;
    }
}

/* ===== Mostrar Modal ===== */
.whatsapp-modal.active {
    display: block;
}

.whatsapp-overlay.active {
    display: block;
}
/* Botão flutuante */
.whatsapp-icon-footer {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9998;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 18px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    font-size: 16px;
    font-weight: 600;
}

/* Overlay */
.whatsapp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}

/* Modal */
.whatsapp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Quando abrir */
.whatsapp-modal.active,
.whatsapp-overlay.active {
    display: flex;
}

/* Caixa do modal */
.whatsapp-modal-content {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    box-sizing: border-box;
}

/* Botão fechar */
.close-modal {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    z-index: 2;
}

/* Conteúdo interno do formulário */
.modal-form {
    width: 100%;
}

/* Garante que os campos não estourem */
.modal-form input,
.modal-form textarea,
.modal-form select,
.modal-form button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
}

/* Ajuste mobile */
@media (max-width: 768px) {
    .whatsapp-icon-footer {
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .whatsapp-modal {
        align-items: flex-end;
        padding: 0;
    }

    .whatsapp-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 18px 18px 0 0;
        padding: 20px 16px;
        margin: 0;
    }
}
.whatsapp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.whatsapp-modal.active {
    display: flex;
}

.whatsapp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99998;
}

.whatsapp-overlay.active {
    display: block;
}

.whatsapp-modal-content {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-sizing: border-box;
}

.modal-form,
.modal-form form,
.modal-form input,
.modal-form textarea,
.modal-form button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .whatsapp-modal {
        align-items: flex-end;
        padding: 0;
    }

    .whatsapp-modal-content {
        max-width: 100%;
        width: 100%;
        max-height: 88vh;
        border-radius: 18px 18px 0 0;
        padding: 18px 14px;
    }
}
/* =========================
   WhatsApp Modal Responsivo
========================= */

.whatsapp-icon-footer {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9998;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 18px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: 600;
}

.whatsapp-btn svg {
    flex-shrink: 0;
}

.whatsapp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99998;
}

.whatsapp-overlay.active {
    display: block;
}

.whatsapp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.whatsapp-modal.active {
    display: flex;
}

.whatsapp-modal-content {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    z-index: 2;
}

.modal-form {
    width: 100%;
}

.modal-form * {
    box-sizing: border-box;
}

.modal-form form,
.modal-form input,
.modal-form textarea,
.modal-form select,
.modal-form button {
    max-width: 100%;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
    width: 100%;
}

.modal-form button[type="submit"],
.modal-form .button,
.modal-form .btn {
    width: 100%;
}

@media (max-width: 768px) {
    .whatsapp-icon-footer {
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .whatsapp-modal {
        align-items: flex-end;
        padding: 0;
    }

    .whatsapp-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 88vh;
        border-radius: 18px 18px 0 0;
        padding: 18px 14px 24px;
        margin: 0;
    }
}