/* Variáveis de cores baseadas no logo da KTGroup */
:root {
    --primary-blue: #00ACD5;
    --primary-blue-dark: #0293b8;
    --primary-blue-light: #7FD5EA;
    --secondary-blue: #00aaff;
    --secondary-blue-dark: #0088cc;
    --accent-orange: #ff9900;
    --accent-orange-dark: #cc7a00;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #666666;
    --black: #333333;
}

body { font-family: 'Roboto', sans-serif; color: var(--black); line-height: 1.6; overflow-x: hidden; }

html, body, .wrap {height: 100%;}
body > .wrap {height: auto; min-height: 100%;}
section.wrap {position: relative; width: 100%;}

h1, h2, h3, h4, h5, h6 { margin-bottom: 20px; line-height: 1.3; }
h1 { font-size: 3.5rem; font-weight: 700; color: var(--white); }
h2 { font-size: 2.5rem; font-weight: 700; color: var(--primary-blue); text-align: center; }
h3 { font-size: 1.5rem; font-weight: 600; color: var(--primary-blue); }
p { margin-bottom: 20px; }
a { text-decoration: none; color: var(--primary-blue); transition: color 0.3s ease; }
a:hover { color: var(--primary-blue-dark); }

/* section { padding: 80px 0; } */
.section-subtitle { text-align: center; font-size: 1.2rem; color: var(--gray-dark);
  margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* ========== HEADER ========== */
header { background-color: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky; top: 0; z-index: 1000; }
  header .container { display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; }
  .logo img { height: 40px; }
  .desktop-menu ul { display: flex; list-style: none; margin: 0; padding: 0; }
    .desktop-menu ul li { margin: 0 15px; }
      .desktop-menu ul li a { color: var(--gray-dark); text-decoration: none; font-weight: 500;
        transition: color 0.3s ease; position: relative; }
        .desktop-menu ul li a:hover { color: var(--primary-blue); }
          .desktop-menu ul li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0;
            background-color: var(--primary-blue); transition: width 0.3s ease; }
            .desktop-menu ul li a:hover::after { width: 100%; }
  .header-buttons { display: flex; align-items: center; }
    .header-buttons a { margin-left: 10px; }
/* ========== HEADER ========== */

/* ========== MAIN ========== */
main {position: relative; width: 100%; height: 100%; min-height: 300px; background-color: #fff; padding: 0 0 430px 0; margin-bottom: 0px;}

/* ========== REFORMA TRIBUTÁRIA ========== */
.reforma-tributaria-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin-top: 40px; }
.reforma-tributaria-logo { width: 200px; background-color: var(--white); border-radius: 10px; padding: 25px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.reforma-tributaria-logo:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.reforma-tributaria-logo-img { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.reforma-tributaria-logo-img img { max-width: 100%; max-height: 60px; object-fit: contain; }
.reforma-tributaria-logo h4 { font-size: 1.1rem; margin-bottom: 10px; }
.reforma-tributaria-logo p { font-size: 0.85rem; color: var(--gray-dark); margin-bottom: 0; }

/* ========== SERVIÇOS ========== */
.servicos { background-color: #f5f7fa;}
.servicos-content { display: flex; align-items: center; gap: 50px;}
.servicos-text { flex: 1; z-index: 1; }
.servicos-image { flex: 1; text-align: center; }
.servicos-image img { max-width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.servicos-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 30px 0; }
.servicos-feature { display: flex; flex-direction: column; align-items: flex-start; }
  .servicos-feature i { font-size: 24px; color: var(--primary-blue); margin-bottom: 10px; }
  .servicos-feature h4 { font-size: 1.1rem; margin-bottom: 10px;}
  .servicos-feature p { font-size: 0.9rem; color: var(--gray-dark); }
.servicos-cases { background-color: var(--gray-light); padding: 40px; border-radius: 10px; }
  .servicos-cases h3 { text-align: center; margin-bottom: 30px; }
.servicos-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;}
.servicos-case { text-align: center; }
.servicos-case-number { font-size: 2.5rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 10px; }
  .servicos-case p { font-size: 0.9rem; color: var(--gray-dark); }

.servicos-list > .servicos-content {
  position: relative;
  padding: 48px 0;
}

.servicos-list > .servicos-content::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;          /* faixa full-bleed */
  background: #f5f7fa;      /* ímpar = branco */
  pointer-events: none;  /* garante clique nos elementos acima */
}

.servicos-list > .servicos-content:nth-child(even)::before {
  background: #fff;   /* par = cinza claro */
}

/* ========== DOCUMENTOS ========== */
.documents { background-color: var(--white); }
.document-types { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 30px;}
.document-type { background-color: var(--gray-light); padding: 10px 20px; border-radius: 30px; font-size: 0.9rem;
  color: var(--gray-dark); transition: all 0.3s ease; }
.document-type:hover { background-color: var(--primary-blue); color: var(--white);}

/* ========== INTEGRAÇÕES ========== */
.integration-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin-top: 40px;}
.integration-logo { width: 200px; background-color: var(--white); border-radius: 10px; padding: 25px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.integration-logo:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.integration-logo-img { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.integration-logo-img img { max-width: 100%; max-height: 60px; object-fit: contain; }
.integration-logo h4 { font-size: 1.1rem; margin-bottom: 10px; }
.integration-logo p { font-size: 0.85rem; color: var(--gray-dark); margin-bottom: 0;}

/* ========== ÁREAS ========== */
.areas { background-color: var(--gray-light); padding: 50px 0; }
.areas-tabs { margin-top: 50px;}
.tabs-nav { display: flex; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn { padding: 12px 24px; background-color: var(--white); border: none; border-radius: 5px;
  margin: 0 10px 10px 0; cursor: pointer; font-weight: 500; transition: all 0.3s ease;}
  .tab-btn.active { background-color: var(--primary-blue); color: var(--white);}
.tab-content { display: none; background-color: var(--white); border-radius: 10px; padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); }
  .tab-content.active { display: flex; align-items: center; gap: 50px; }
.tab-text { flex: 1; }
  .tab-text ul { margin-bottom: 30px; padding-left: 20px; }
  .tab-text ul li { margin-bottom: 10px; }
.tab-image { flex: 1; text-align: center; }
.tab-image img { max-width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }

/* ========== NOTÍCIAS ========== */
.news { background-color: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; }
.news-card { background-color: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease; }
.news-card:hover { transform: translateY(-10px); }
.news-image { height: 200px; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.news-card:hover .news-image img { transform: scale(1.1); }
.news-date { font-size: 0.8rem; color: var(--gray-dark); padding: 15px 20px 0; }
.news-card h3 { font-size: 1.1rem; padding: 0 20px; margin-bottom: 10px; }
.news-card p { font-size: 0.9rem; color: var(--gray-dark); padding: 0 20px; margin-bottom: 20px; }
.news-link { display: block; padding: 0 20px 20px; font-weight: 500; }
.news-link i { margin-left: 5px; transition: transform 0.3s ease; }
.news-link:hover i { transform: translateX(5px);}
.news-more { text-align: center; }

/* ========== CLIENTES ========== */
.client-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 30px; margin-top: 40px;}
.client-logo { width: 150px; height: 80px; display: flex; align-items: center; justify-content: center;
  background-color: var(--white); border-radius: 8px; padding: 15px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease; }
.client-logo:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
.client-logo img { max-width: 100%; max-height: 50px; object-fit: contain; }

/* ========== FOOTER ========== */
footer {position: relative; width: 100%; min-height: 423px;  margin-top: -423px; clear: both; z-index: 0;
  background-color: var(--black); color: var(--white); padding: 80px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-about { padding-right: 30px; }
.footer-logo { margin-bottom: 20px; }
  .footer-logo img { height: 40px; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
  .social-icons a { width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--white); transition: all 0.3s ease; }
    .social-icons a:hover { background-color: var(--primary-blue); transform: translateY(-5px); }
    .footer-links h4, .footer-contact h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; }
    .footer-links ul { list-style: none; padding: 0; }
      .footer-links ul li {  margin-bottom: 10px; }
        .footer-links ul li a { color: rgba(255, 255, 255, 0.7); transition: all 0.3s ease; }
          .footer-links ul li a:hover { color: var(--white); padding-left: 5px; }
          .footer-contact p { color: rgba(255, 255, 255, 0.7); margin-bottom: 10px; }
    .footer-contact p i { margin-right: 10px; color: var(--primary-blue); }
    .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
      .footer-bottom p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 0; }
/* ========== FOOTER ========== */