/* =============================================
   IT4US FOOTER — it4us-footer.css
   ============================================= */

.it4us-footer *,
.it4us-footer *::before,
.it4us-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.it4us-footer {
  --ft-bg:          #111815;
  --ft-green:       #2B792A;
  --ft-green-light: #4ade80;
  --ft-white:       #ffffff;
  --ft-muted:       #9ca3af;
  --ft-muted-dark:  #6b7280;
  --ft-border:      rgba(255,255,255,0.08);
  --ft-hover:       #4ade80;
  --ft-btn-bg:      #2B792A;
  --ft-btn-hover:   #1f5c1e;
  --ft-radius:      8px;
  --ft-max:         1200px;
  --ft-gap:         48px;
  --ft-font-head:   'Syne', sans-serif;
  --ft-font-body:   'DM Sans', sans-serif;
}

.it4us-footer {
  background-color: var(--ft-bg);
  color: var(--ft-muted);
  font-family: var(--ft-font-body);
  font-size: 14px;
  line-height: 1.65;
  padding: 64px 24px 0;
  width: 100%;
  overflow: hidden;
}

/* =============================================
   GRID — 5 colunas
   ============================================= */

.ft-inner {
  max-width: var(--ft-max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr 150px 130px 210px;
  gap: var(--ft-gap);
  align-items: start;
  padding-bottom: 56px;
}

/* =============================================
   COL 1 — Brand
   ============================================= */

.ft-col--brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ft-logo-link {
  display: inline-block;
  line-height: 0;
}

.ft-logo {
  width: 160px;
  height: auto;
  display: block;
}

.ft-tagline {
  font-size: 13.5px;
  color: var(--ft-muted);
  line-height: 1.65;
  max-width: 200px;
  margin-bottom: 0; /* garante que não haja espaço extra antes do social */
}

/* Social */
.ft-social {
  display: flex;
  gap: 10px;
  margin-top: 0; /* remove qualquer margem extra acima das redes */
}

.ft-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ft-border);
  color: var(--ft-muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ft-social-link:hover,
.ft-social-link:focus-visible {
  background-color: var(--ft-green);
  border-color: var(--ft-green);
  color: var(--ft-white);
  outline: none;
}

/* =============================================
   COLUNAS GENÉRICAS
   ============================================= */

.ft-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ft-heading {
  font-family: var(--ft-font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--ft-white);
  letter-spacing: 0.02em;
  padding-bottom: 12px;
  position: relative;
}

.ft-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--ft-green);
  border-radius: 2px;
}

.ft-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ft-link {
  color: var(--ft-muted);
  text-decoration: none;
  font-size: 13.5px;
  display: inline-block;
  transition: color 0.18s, padding-left 0.18s;
}

.ft-link:hover,
.ft-link:focus-visible {
  color: var(--ft-hover);
  padding-left: 4px;
  outline: none;
}

/* =============================================
   COL 5 — Contato
   ============================================= */

.ft-col--contact { gap: 20px; }
.ft-list--contact { gap: 11px; }

.ft-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ft-contact-item svg {
  flex-shrink: 0;
  color: var(--ft-green-light);
}

/* Botão */
.ft-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 20px;
  background-color: var(--ft-btn-bg);
  color: var(--ft-white) !important;
  font-family: var(--ft-font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: var(--ft-radius);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
  align-self: flex-start;
}

.ft-btn:hover,
.ft-btn:focus-visible {
  background-color: var(--ft-btn-hover);
  border-color: var(--ft-green-light);
  outline: none;
}

/* =============================================
   DIVISOR + COPYRIGHT
   ============================================= */

.ft-divider {
  max-width: var(--ft-max);
  margin: 0 auto;
  height: 1px;
  background-color: var(--ft-border);
}

.ft-bottom {
  max-width: var(--ft-max);
  margin: 0 auto;
  padding: 22px 0;
  text-align: center;
}

.ft-copy {
  font-size: 12.5px;
  color: var(--ft-muted-dark);
  line-height: 1.5;
}

/* =============================================
   RESPONSIVO — ≤ 1100px
   ============================================= */
@media (max-width: 1100px) {
  .ft-inner {
    grid-template-columns: 200px 1fr 140px 120px 190px;
    gap: 32px;
  }
}

/* =============================================
   RESPONSIVO — Tablet ≤ 900px — 2 colunas
   ============================================= */
@media (max-width: 900px) {
  .it4us-footer { padding-top: 48px; }

  .ft-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .ft-col--brand {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
  }

  .ft-tagline {
    max-width: 100%;
    flex: 1 1 180px;
  }
}

/* =============================================
   RESPONSIVO — Mobile ≤ 600px — 1 coluna
   ============================================= */
/* =============================================
   RESPONSIVO — Mobile ≤ 600px — 1 coluna
   ============================================= */
@media (max-width: 600px) {
  .it4us-footer { padding: 40px 16px 0; }

  .ft-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .ft-col--brand {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .ft-col--brand .ft-logo-link,
  .ft-col--brand .ft-tagline,
  .ft-col--brand .ft-social {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    flex: none !important;
  }

  .ft-bottom { text-align: left; }
  .ft-copy { font-size: 11.5px; }
}


/* =============================================
   CARROSSEL DE CLIENTES
   ============================================= */

.it4us-clientes-section {
  padding: 60px 0;
  text-align: center;
}
.it4us-clientes-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  font-family: inherit;
  color: inherit;
}
.it4us-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.it4us-carousel-track {
  display: flex;
  align-items: center;
  animation: it4usScroll 50s linear infinite;
  width: max-content;
}
.it4us-carousel-wrapper:hover .it4us-carousel-track {
  animation-play-state: paused;
}
.it4us-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25vw;
  max-width: 280px;
  min-width: 180px;
  padding: 20px 30px;
  box-sizing: border-box;
}
.it4us-logo-item img {
  max-height: 55px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@keyframes it4usScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* =============================================
   SEÇÃO DE CONTATO
   ============================================= */

.it4us-contato-section {
  background: #f0f4f8;
  padding: 80px 20px;
  font-family: inherit;
  color: inherit;
  overflow: hidden;
}
.it4us-contato-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.it4us-contato-header {
  text-align: center;
  margin-bottom: 50px;
}
.it4us-contato-header .it4us-label {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #3a7d44;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
  font-family: 'Yantramanav', sans-serif;
}
.it4us-contato-header h2 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 16px;
  color: inherit;
  font-family: 'Yantramanav', sans-serif;
}
.it4us-contato-header p {
  font-size: 16px;
  color: #555;
  margin: 0;
  font-family: inherit;
}
.it4us-contato-grid {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  width: 100%;
}
.it4us-contato-info {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 12px;
  padding: 40px 32px;
  box-sizing: border-box;
}
.it4us-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 36px;
}
.it4us-info-item:last-child {
  margin-bottom: 0;
}
.it4us-info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.it4us-info-icon svg {
  width: 28px;
  height: 28px;
}
.it4us-info-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
  font-family: inherit;
}
.it4us-info-text a,
.it4us-info-text span {
  font-size: 15px;
  color: #666;
  text-decoration: none;
  font-family: inherit;
  display: block;
  line-height: 1.5;
}
.it4us-info-text a:hover {
  color: #3a7d44;
}
.it4us-contato-form-box {
  flex: 1;
  min-width: 0; /* evita overflow no flex */
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-sizing: border-box;
  width: 100%;
}
.it4us-contato-form-box h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 28px;
  color: inherit;
  font-family: inherit;
}
.it4us-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  width: 100%;
}
.it4us-form-group {
  flex: 1;
  min-width: 0; /* evita overflow em inputs */
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.it4us-form-group.full {
  flex: 1 1 100%;
}
.it4us-form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  font-family: inherit;
}
.it4us-form-group input,
.it4us-form-group textarea {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.it4us-form-group input::placeholder,
.it4us-form-group textarea::placeholder {
  color: #aaa;
}
.it4us-form-group input:focus,
.it4us-form-group textarea:focus {
  border-color: #3a7d44;
}
.it4us-form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.it4us-btn-enviar {
  width: 100%;
  background: #3a7d44;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.it4us-btn-enviar:hover { background: #2e6336; }
.it4us-btn-enviar:disabled { background: #aaa; cursor: not-allowed; }

.it4us-msg {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  display: none;
}
.it4us-msg.sucesso {
  background: #e6f4ea;
  color: #2e6336;
  border: 1px solid #a8d5b0;
  display: block;
}
.it4us-msg.erro {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5b5b0;
  display: block;
}

/* =============================================
   CONTATO RESPONSIVO
   ============================================= */
@media (max-width: 900px) {
  .it4us-contato-grid {
    flex-direction: column;
  }
  .it4us-contato-info {
    flex: none;
    width: 100%;
  }
  .it4us-contato-form-box {
    width: 100%;
    padding: 32px 28px;
  }
}

@media (max-width: 600px) {
  .it4us-contato-section {
    padding: 60px 16px;
  }
  .it4us-contato-grid {
    gap: 20px;
  }
  .it4us-contato-info {
    padding: 28px 20px;
  }
  .it4us-contato-form-box {
    padding: 24px 16px; /* respira mas não vaza */
  }
  .it4us-form-row {
    flex-direction: column;
  }
  .it4us-contato-header h2 {
    font-size: 28px;
  }
}