﻿/* Componentes exclusivos da página comercial de TI. Identidade e navegação em style.css. */
.ti-hero {
  background: var(--light);
  padding-block: 64px;
}
.ti-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 54px;
}
.ti-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 4.2vw, 3.7rem);
}
.ti-hero-copy > p {
  font-size: 0.86rem;
  max-width: 580px;
}
.ti-hero-copy .ti-lead {
  font-size: 1rem;
  margin-bottom: 16px;
}
.ti-code-panel {
  min-width: 0;
  padding: 38px 30px;
  border-radius: 8px;
  color: #e8f0f2;
  background: var(--bg);
}
.ti-code-label {
  display: block;
  color: #b8cdd2;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.ti-code-panel pre {
  margin-block: 35px;
  font:
    0.82rem/2.1 Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ti-code-keyword {
  color: var(--accent);
}
.ti-code-value {
  color: #93c5ca;
}
.ti-code-panel > p {
  border-top: 1px solid #ffffff24;
  padding-top: 23px;
  color: #f4f7f8;
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.ti-section {
  padding-block: 58px;
}
.ti-light {
  background: var(--light);
}
.ti-section-heading {
  margin-bottom: 30px;
  max-width: 730px;
}
.ti-experience-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 65px;
}
.ti-prose p {
  font-size: 0.85rem;
}
.ti-prose p + p {
  margin-top: 13px;
}
.ti-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.ti-highlights strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.ti-highlights span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 5px;
}
.ti-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ti-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 0;
}
.ti-service h3 {
  font-size: 1.07rem;
}
.ti-service p {
  font-size: 0.82rem;
  margin-top: 14px;
  margin-bottom: 12px;
}
.ti-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #006d78;
  font-size: 0.74rem;
  font-weight: 600;
}
.ti-service .ti-text-link {
  margin-top: auto;
}
.ti-text-link:hover {
  color: var(--bg);
}
.ti-scope {
  font-size: 0.76rem;
  margin-top: 23px;
}
.ti-segments {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
}
.ti-segments p {
  font-size: 0.87rem;
  margin-top: 23px;
}
.ti-segments ul {
  list-style: none;
  border-top: 1px solid var(--border);
}
.ti-segments li {
  padding-block: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
}
.ti-small-projects {
  background: #eaf1f2;
}
.ti-small-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 75px;
  align-items: center;
}
.ti-small-grid p {
  font-size: 0.87rem;
  margin-top: 20px;
}
.ti-small-grid .ti-small-note {
  margin-top: 12px;
}
.ti-small-grid .btn {
  margin-top: 24px;
}
.ti-checklist {
  list-style: none;
  padding: 25px 30px;
  border-radius: 6px;
  background: #fff;
}
.ti-checklist li {
  display: flex;
  gap: 13px;
  padding-block: 12px;
  font-size: 0.84rem;
}
.ti-checklist li::before {
  content: "✓";
  color: #006d78;
}
.ti-checklist li + li {
  border-top: 1px solid var(--border);
}
.ti-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 27px;
  list-style: none;
  counter-reset: steps;
}
.ti-steps li {
  counter-increment: steps;
  border-top: 1px solid #a7c6cc;
  padding-top: 19px;
}
.ti-steps li::before {
  content: counter(steps) ".";
  display: block;
  color: #006d78;
  font-size: 0.8rem;
  margin-bottom: 15px;
}
.ti-steps h3 {
  font-size: 1.05rem;
}
.ti-steps p {
  font-size: 0.82rem;
  margin-top: 12px;
}
.ti-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.ti-project {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  min-width: 0;
}
.ti-project-image {
  display: flex;
  align-items: center;
  aspect-ratio: 1.9;
  overflow: hidden;
  background: #e4edef;
}
.ti-project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ti-project-copy {
  padding: 24px;
}
.ti-project h3 {
  font-size: 1.15rem;
}
.ti-project p {
  margin-block: 12px;
  font-size: 0.84rem;
}
.ti-contact {
  background: var(--bg);
  color: #fff;
  padding-block: 60px;
  text-align: center;
}
.ti-contact h2 {
  max-width: 750px;
  margin-inline: auto;
}
.ti-contact .eyebrow {
  color: var(--accent);
}
.ti-contact p {
  color: #bed0d4;
  max-width: 590px;
  margin: 24px auto;
  font-size: 0.9rem;
}
.ti-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  font-size: 0.76rem;
}
.ti-social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.ti-social a:hover {
  color: var(--accent);
}
@media (max-width: 1000px) {
  .ti-hero-grid {
    gap: 30px;
    grid-template-columns: 1.1fr 1fr;
  }
  .ti-hero h1 {
    font-size: 2.75rem;
  }
  .ti-code-panel {
    padding: 28px 22px;
  }
  .ti-code-panel pre {
    font-size: 0.72rem;
  }
  .ti-experience-grid,
  .ti-segments,
  .ti-small-grid {
    gap: 35px;
  }
  .ti-service {
    padding: 21px;
  }
  .ti-services {
    grid-template-columns: 1fr 1fr;
  }
  .ti-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .ti-hero,
  .ti-section,
  .ti-contact {
    padding-block: 42px;
  }
  .ti-hero-grid,
  .ti-experience-grid,
  .ti-segments,
  .ti-small-grid,
  .ti-projects {
    grid-template-columns: 1fr;
  }
  .ti-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
  .ti-code-panel {
    padding: 26px;
  }
  .ti-code-panel pre {
    font-size: 0.8rem;
    margin-block: 25px;
  }
  .ti-code-panel > p {
    font-size: 1.2rem;
  }
  .ti-highlights {
    gap: 18px;
  }
  .ti-highlights strong {
    font-size: 0.95rem;
  }
  .ti-highlights span {
    font-size: 0.69rem;
  }
  .ti-checklist {
    padding: 18px 24px;
  }
  .ti-section-heading {
    margin-bottom: 25px;
  }
}
@media (max-width: 420px) {
  .ti-services,
  .ti-highlights,
  .ti-steps {
    grid-template-columns: 1fr;
  }
  .ti-hero .hero-actions {
    flex-direction: column;
  }
  .ti-service {
    padding: 24px;
  }
}
