/* Reset e Configurações Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0b2a63;
  --primary-dark: #051a3d;
  --secondary: #1e3a8a;
  --accent: #3b82f6;
  --success: #10b981;
  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-light: #64748b;
  --text-body: #d4d8df;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--text-body);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-bottom: 0px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.cta-button {
  display: inline-block;
  background-color: #007bff; /* Cor azul, ajuste para a identidade da sua marca */
  color: white;
  padding: 12px 15px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.cta-button:hover {
  background-color: #175da9;
  transform: translateY(-1px);
}

.hero-image {
    max-width: 100%; /* Garante que não ultrapasse a largura do container */
    height: auto; /* Mantém a proporção da imagem */
    margin: 10px 0 30px; /* Adiciona espaçamento vertical */
    border-radius: 8px; /* Opcional: para bordas arredondadas */
    opacity: 50% var(--bg-white);
    /* Outras propriedades de estilo que desejar */
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 59px;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.85;
}

.menu-toggle {
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--bg-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.938rem;
  padding: 0.625rem 1rem;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--bg-light);
}

/* Main Content */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.2rem;
  min-height: calc(100vh - 80px);
}

/* Seções */
section {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

section h1 {
  color: var(--text-dark);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.063rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

section h2 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

section h3 {
  color: var(--text-dark);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
}

section p {
  color: var(--text-medium);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

section ul {
  margin: 1.7rem 0;
  padding-left: 1.5rem;
}

section ul li {
  color: var(--text-medium);
  margin-bottom: 0.825rem;
  line-height: 1.6;
  padding-left: 4px;
}

section ul li strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Home Banner */
.home img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2.5rem;
}

/* Cards Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-card {
  background: var(--bg-light);
  padding: 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.benefit-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.benefit-title {
  color: var(--text-dark);
  font-size: 1.063rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-text {
  color: var(--text-light);
  font-size: 0.938rem;
  line-height: 1.5;
  margin: 0;
}

/* Service Cards */
.service-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.service-card h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.25rem;
  padding-bottom: 0.375rem;
  border-bottom: 2px solid var(--bg-light);
  margin-bottom: 1.25rem;
}

.service-badge {
  display: inline-block;
  padding: 0.375rem 1.875rem;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 4px;
  font-size: 0.813rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card ul li {
  padding: 0.35rem 0;
  padding-left: 1.1rem;
  position: relative;
  border-bottom: 1px solid var(--bg-light);
  margin: 4px;
}

.service-card ul li:last-child {
  border-bottom: none;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.125rem;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* Info Cards Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1000px;
}

.info-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.info-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.info-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin-top: 5px;
  margin-bottom: 0px; 
}

.info-card ul li {
  padding: 0.225rem 0;
  font-size: 0.93rem;
  margin-bottom: 6px;
}

/* Detail Section */
.detail-section {
  background: var(--bg-white);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.detail-section h3 {
  margin-top: 17px;
  color: var(--primary);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.detail-section ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.detail-section ul li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--bg-light);
}

.detail-section ul li:last-child {
  border-bottom: none;
}

.detail-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--bg-white);
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
}

.cta-box h3 {
  color: var(--bg-white);
  margin: 0 0 0.75rem 0;
  font-size: 1.375rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.063rem;
  margin: 0;
  line-height: 1.6;
}

/*
  background-color: #007bff; 
  background-color: #175da9;
*/

.cta-box-contact {
  background-color: var(--secondary);
  color: var(--bg-white);
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
  transition: background-color 0.3s ease, transform 0.2s;
}
  
.cta-box-contact h3 {
  color: var(--bg-white);
  margin: 0 0 0.75rem 0;
  font-size: 1.375rem;
}

.cta-box-contact p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.063rem;
  margin: 0;
  line-height: 1.6;
}

.cta-box-contact:hover {
  background-color: #175da9;
  transform: translateY(-1px);
  text-decoration: none;
}

.cta-box-contact a{
  text-decoration: none;
}

/* Tax Tables */
.tax-table {
  background: var(--bg-white);
  /*border: 1px solid var(--text-body);*/
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.tax-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;  /* 3 colunas: Faturamento | Alíquota | Deduzir */
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--text-body);
  border-right: 1px solid var(--text-body);
  border-left: 1px solid var(--text-body);
}

.tax-header {
  background: linear-gradient(135deg, var(--text-light) 0%, var(--text-light) 100%);
  color: var(--bg-white);
  font-weight: 600;
}

.info-box {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);  /* Barra azul na lateral */
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

/* Contact Section */
.contato {
  text-align: center;
  padding: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

.contact-label {
  font-size: 0.815rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.contact-value {
  font-size: 1.025rem;
  color: var(--primary);
  font-weight: 600;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  z-index: 999;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
  section {
    padding: 2.5rem;
  }
  
  section h1 {
    font-size: 1.75rem;
  }
  
  section h2 {
    font-size: 1.375rem;
  }

  .nav-links a {
    font-size: 14px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .logo {
    height: 50px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--bg-white);
    border-radius: 2px;
    transition: all 0.3s;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    max-height: 400px;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 0.5px solid var(--border);
  }

  .nav-links li:first-child {
    border-top: 0.5px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-size: 14px;
  }

  .tax-row {
    grid-template-columns: 1fr;  /* 1 coluna no mobile */
  }
  
  /* Adiciona labels antes de cada valor */
  .tax-row div:first-child::before {
    content: 'Faturamento: ';
  }
  
  .tax-row div:nth-child(2)::before {
    content: 'Alíquota: ';
  }
  
  .tax-row div:nth-child(3)::before {
    content: 'Deduzir: ';
  }

  main {
    padding: 2rem 1rem;
  }

  section {
    padding: 2rem 1.25rem;
  }

  section h1 {
    font-size: 1.625rem;
  }

  section h2 {
    font-size: 1.25rem;
  }

  section h3 {
    font-size: 1.063rem;
  }

  .benefits-grid,
  .info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  /* Tax Tables Mobile */
  .tax-table {
    border: none;
    background: transparent;
  }

  .tax-header {
    display: none;
  }

  .tax-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    background: var(--bg-white);
  }

  .tax-row:not(.tax-header) {
    display: block;
    padding: 1rem;
  }

  .tax-row div {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-light);
  }

  .tax-row div:last-child {
    border-bottom: none;
  }

  .tax-row div::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .tax-row:not(.tax-header) div:first-child::before {
    content: 'Faturamento';
  }

  .tax-row:not(.tax-header) div:first-child {
    font-size: 0.938rem;
    color: var(--text-medium);
  }

  .tax-row:not(.tax-header) div:nth-child(2) {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
  }

  .tax-row:not(.tax-header) div:nth-child(2)::before {
    content: 'Alíquota';
  }

  .tax-row:not(.tax-header) div:nth-child(3) {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-medium);
  }

  .tax-row:not(.tax-header) div:nth-child(3)::before {
    content: 'Valor a Deduzir';
  }

  .whatsapp-btn {
    width: 51px;
    height: 51px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  main {
    padding: 1.5rem 1rem;
  }

  section {
    padding: 1.75rem 1rem;
  }

  section h1 {
    font-size: 1.5rem;
  }

  .cta-box h3 {
    font-size: 1.25rem;
  }

  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 400px;
    margin: auto;
  }

  .contact-value {
    font-size: 0.835rem;
    color: var(--primary);
    font-weight: 600;
  }

  

}