/* ==========================================================================
   Componentes: seções da home (Quem Somos, Nossos Serviços e Contato)
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--side);
}

/* Título com a barra azul à esquerda (QUEM SOMOS, NOSSOS SERVIÇOS) ---------- */

.section-title {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 70px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-title::before {
  content: "";
  flex: none;
  align-self: stretch;
  width: 7px;
  background: var(--color-blue);
}

.section-title strong {
  font-weight: 700;
}

/* Quem Somos --------------------------------------------------------------- */

.section--about {
  position: relative;
  padding: 90px 0 110px;
  background: var(--color-slate);
}

.container--narrow {
  max-width: none;
  width: min(804px, 65vw);
  min-width: 320px;
  margin: 0 auto;
  padding: 0;
}

.about__text {
  margin-top: 56px;
  font-size: 17px;
  line-height: 1.5;
}

.about__pillars {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--color-white);
}

.pillar__title {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pillar p {
  font-size: 14px;
  line-height: 1.5;
}

/* Nossos Serviços ---------------------------------------------------------- */

.section--services {
  padding: 105px 0 125px;
  background: var(--color-white);
  color: var(--color-blue);
}

.section--services .section-title {
  color: #3b82c4;
}

.section--services .section-title::before {
  background: #7d9fb3;
}

.services {
  display: grid;
  gap: 40px;
  margin-top: 84px;
  font-size: 18px;
  line-height: 1.1;
}

.services__intro {
  display: grid;
  gap: 40px;
}

.services__intro strong {
  font-weight: 700;
}

.service__title {
  margin-bottom: 2px;
  font-size: 18px;
  font-weight: 700;
}

/* Faixa com a foto da prancheta (parallax) ---------------------------------- */

.divider {
  position: relative;
  height: 521px;
}

.divider--grey {
  height: 521px;
}

.divider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(144, 182, 173, 0.45); /* tom verde-acinzentado sobre a prancheta */
}

.divider:not(.divider--grey) img {
  filter: saturate(0.5);
}

.divider--grey::after {
  background: rgba(45, 60, 75, 0.28); /* escurece e azula a foto do motor e notebook */
}

/* Faixa com as duas fotos sobre o fundo azul do hero ------------------------ */

.gallery {
  background: #1c2347 url("/assets/img/backgrounds/hero.jpg") center / cover no-repeat;
}

/* As fotos escalam com a largura da tela (271 + 490px a 988px), até 350 + 627px */
.gallery__images {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.gallery__images img {
  display: block;
  height: auto;
  max-width: none;
}

.gallery__images img:first-child {
  width: min(27.5vw, 350px);
}

.gallery__images img:last-child {
  width: min(49.6vw, 627px);
}

/* Contato ------------------------------------------------------------------ */

.section--contact {
  padding: 70px 0 40px;
  background: var(--color-header);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60%;
  gap: 15px;
  align-items: start;
  color: var(--color-white);
}

.contact__title {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact__phones {
  margin-top: 12px;
  font-size: 20px;
  font-style: normal;
  line-height: 1.5;
}

.contact__phones p:last-child {
  padding-left: 12px;
}

.contact__phones a {
  text-decoration: none;
}

.contact__phones a:hover {
  text-decoration: underline;
}
