/*
Theme Name: Incotex Atrion Landing Editável
Theme URI: https://incotex.atrioncapital.com.br/
Author: OpenAI
Description: Tema WordPress com landing page totalmente editável pelo Personalizar.
Version: 2.0.0
Text Domain: incotex-atrion
*/

html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: #fbfdff;
  color: #102033;
}

* { box-sizing: border-box; }

a { text-decoration: none; }

:root {
  --bg: #fcfdff;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --line: #e8eef6;
  --text: #102033;
  --muted: #6f7f93;
  --incotex-blue: #002b68;
  --footer-bg: #21398d;
  --shadow-sm: 0 4px 14px rgba(15, 23, 40, 0.03);
  --shadow-lg: 0 14px 36px rgba(15, 23, 40, 0.07);
}

.incx-page,
.incx-page * {
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.incx-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.incx-page a { color: inherit; }
.incx-page a.incx-btn-primary { color: #ffffff !important; }
.incx-page a.incx-btn-secondary { color: var(--incotex-blue) !important; }
.incx-page a.incx-btn-light { color: var(--incotex-blue) !important; }
.incx-page a.incx-btn-ghost { color: #ffffff !important; }
.incx-page img { display: block; max-width: 100%; height: auto; }

.incx-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.incx-header { padding: 16px 0 8px; }
.incx-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.incx-brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

.incx-logo-incotex {
  width: 330px;
  max-width: min(46vw, 330px);
  object-fit: contain;
  flex: 0 1 auto;
}

.incx-logo-atrion {
  width: 190px;
  max-width: min(28vw, 190px);
  object-fit: contain;
  flex: 0 1 auto;
}

.incx-divider {
  width: 1px;
  align-self: stretch;
  min-height: 44px;
  background: #d7e1ee;
  flex: 0 0 auto;
}

.incx-actions,
.incx-hero-actions,
.incx-final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.incx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  position: relative;
  z-index: 5;
  cursor: pointer;
}

.incx-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.incx-btn-primary { background: var(--incotex-blue); color: #fff; }
.incx-btn-secondary { background: #fff; color: var(--incotex-blue); border-color: #d9e3ef; }
.incx-btn-light { background: #fff; color: var(--incotex-blue); }
.incx-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.24); }

.incx-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f4f8fd;
  border: 1px solid #dbe4f0;
  color: var(--incotex-blue);
  font-size: 13px;
  font-weight: 700;
  max-width: 100%;
}

.incx-hero { padding: 28px 0 56px; }
.incx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 34px;
  align-items: start;
}

.incx-hero-copy h1 {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 0.97;
  letter-spacing: -0.05em;
  color: var(--incotex-blue);
}

.incx-hero-copy p,
.incx-section-head p,
.incx-final-panel > p {
  margin: 22px 0 0;
  max-width: 690px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.incx-hero-actions { margin-top: 24px; }
.incx-proof {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.incx-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #42526a;
  font-size: 14px;
  font-weight: 600;
}

.incx-proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--incotex-blue);
}

.incx-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

.incx-panel-top,
.incx-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.incx-panel-title,
.incx-card-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.incx-panel-subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.incx-status,
.incx-chip,
.incx-table-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.incx-status {
  min-height: 34px;
  padding: 0 14px;
  background: #f5f7fa;
  color: #56657a;
  border: 1px solid #dbe2ea;
}

.incx-chip {
  min-height: 32px;
  padding: 0 12px;
  background: #f8fafc;
  color: var(--incotex-blue);
  border: 1px solid #dce5f1;
}

.incx-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.incx-stat-card,
.incx-table-card,
.incx-benefit-card,
.incx-faq-item,
.incx-step-card,
.incx-contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.incx-stat-card,
.incx-benefit-card,
.incx-step-card,
.incx-faq-item,
.incx-contact-card {
  padding: 20px;
}

.incx-stat-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.incx-stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
  font-size: 28px;
  font-weight: 800;
  color: var(--incotex-blue);
  line-height: 1;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.incx-stat-foot {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.incx-table-card { margin-top: 18px; padding: 20px; }
.incx-table-wrap { overflow-x: auto; margin-top: 16px; }
.incx-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.incx-table th, .incx-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #edf2f7;
  font-size: 14px;
}
.incx-table th { color: var(--muted); font-weight: 700; }
.incx-table td { color: var(--text); }
.incx-table th:last-child,
.incx-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.incx-table th:nth-child(2),
.incx-table td:nth-child(2),
.incx-table th:nth-child(3),
.incx-table td:nth-child(3) {
  white-space: nowrap;
}
.incx-table-status { padding: 6px 10px; }
.incx-table-status.green { background: #edf9f0; color: #16813c; }
.incx-table-status.amber { background: #fff6e8; color: #b06a00; }
.incx-table-status.blue { background: #eef5ff; color: #245fcb; }

.incx-section { padding: 32px 0 20px; }
.incx-section-head { margin-bottom: 22px; }
.incx-section-head h2,
.incx-final-panel h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--incotex-blue);
}

.incx-benefits-grid,
.incx-steps-grid,
.incx-faq-grid,
.incx-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.incx-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.incx-contact-grid { margin-top: 26px; }

.incx-icon,
.incx-step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #edf3ff;
  color: var(--incotex-blue);
  font-weight: 800;
  margin-bottom: 14px;
}

.incx-benefit-card h3,
.incx-step-card h3,
.incx-faq-item h3,
.incx-contact-card h3 {
  margin: 0;
  font-size: 20px;
  color: var(--incotex-blue);
}

.incx-benefit-card p,
.incx-step-card p,
.incx-faq-item p,
.incx-contact-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.incx-final { padding: 44px 0 56px; }
.incx-final-panel {
  padding: 36px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--footer-bg) 0%, #2848b0 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.incx-final-panel h2,
.incx-final-panel > p,
.incx-final-brand { color: #fff; }
.incx-final-panel > p { max-width: 760px; color: rgba(255,255,255,.84); }
.incx-final-brand img {
  width: 170px;
  height: auto;
  filter: brightness(0) invert(1);
}

.incx-footer-note {
  margin-top: 24px;
  text-align: center;
  color: #789;
  font-size: 13px;
}

@media (max-width: 980px) {
  .incx-hero-grid,
  .incx-benefits-grid,
  .incx-steps-grid,
  .incx-contact-grid,
  .incx-stats-grid,
  .incx-faq-grid {
    grid-template-columns: 1fr;
  }
  .incx-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .incx-logo-incotex { width: 240px; }
  .incx-logo-atrion { width: 140px; }
  .incx-brand-row {
    gap: 12px;
    flex-wrap: wrap;
  }
  .incx-divider { display: none; }
  .incx-btn { width: 100%; }
  .incx-actions,
  .incx-hero-actions,
  .incx-final-actions { width: 100%; }
  .incx-topbar,
  .incx-panel,
  .incx-final-panel { padding: 18px; }

  .incx-stat-card {
    padding: 18px 16px;
  }

  .incx-stat-label {
    font-size: 12px;
    line-height: 1.3;
  }

  .incx-stat-value {
    font-size: 26px;
    letter-spacing: -0.02em;
  }

  .incx-table-card {
    padding: 16px;
  }

  .incx-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .incx-table-wrap {
    overflow-x: hidden;
  }

  .incx-table {
    min-width: 100%;
    table-layout: fixed;
  }

  .incx-table th, .incx-table td {
    padding: 12px 8px;
    font-size: 12px;
  }

  .incx-table th:nth-child(1), .incx-table td:nth-child(1) { width: 34%; }
  .incx-table th:nth-child(2), .incx-table td:nth-child(2) { width: 24%; }
  .incx-table th:nth-child(3), .incx-table td:nth-child(3) { width: 22%; }
  .incx-table th:nth-child(4), .incx-table td:nth-child(4) { width: 20%; }

  .incx-table td:last-child, .incx-table th:last-child {
    font-variant-numeric: tabular-nums;
  }

  .incx-table-status {
    padding: 6px 8px;
    font-size: 11px;
  }
}
