
/* =========================================================
   GRUPO TARSO
   CSS COMPLETO
   Desktop + Tablet + Mobile
   ========================================================= */

:root {
  --azul-escuro: #0A1628;
  --azul-escuro-2: #0F213A;
  --azul-escuro-3: #162D4D;
  --azul-logo: #1685E5;
  --azul: #1565A8;

  --laranja: #F59E0B;
  --laranja-escuro: #D97706;

  --branco: #FFFFFF; 
  --cinza-claro: #F5F7FA;
  --cinza: #E5E7EB;
  --cinza-texto: #667085;
  --borda: #E2E6EC;

  --largura: 1200px;

  --sombra: 0 15px 40px rgba(10, 22, 40, 0.10);
  --sombra-forte: 0 20px 50px rgba(10, 22, 40, 0.18);

  --transicao: 0.3s ease;
}


/* =========================================================
   RESET
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 0;

  font-family: Arial, Helvetica, sans-serif;

  color: var(--azul-escuro);
  background: var(--branco);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--largura);

  margin: 0 auto;

  padding-left: 25px;
  padding-right: 25px;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
  width: 100%;

  background: var(--branco);
  color: var(--azul-escuro);

  position: sticky;
  top: 0;

  z-index: 1000;

  border-bottom: 1px solid var(--borda);

  box-shadow: 0 4px 18px rgba(10, 22, 40, 0.08);
}


/* LINHA DO HEADER */

.header-inner {
  width: 100%;
  min-height: 78px;

  display: grid;

  grid-template-columns: auto 1fr auto;

  align-items: center;

  column-gap: 30px;
}


/* LOGO */

.logo {
  display: flex;
  align-items: center;

  flex-shrink: 0;

  transition: var(--transicao);
}

.logo img {
  display: block;

  width: 150px;

  max-height: 900px;

  height: auto;

  object-fit: contain;
}

.logo:hover img {
  transform: scale(1.02);
}


/* =========================================================
   MENU DESKTOP
   ========================================================= */

header nav {
  width: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  margin: 0;
}

header nav ul {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 4px;
}

header nav ul li {
  flex-shrink: 0;
}

header nav ul li a {
  position: relative;

  display: block;

  padding: 28px 14px;

  color: var(--azul-escuro);

  font-size: 13px;

  font-weight: 700;

  text-transform: uppercase;

  transition: var(--transicao);

  white-space: nowrap;
}

header nav ul li a::after {
  content: "";

  position: absolute;

  left: 14px;
  right: 14px;

  bottom: 18px;

  height: 2px;

  background: var(--azul-logo);

  transform: scaleX(0);

  transform-origin: center;

  transition: var(--transicao);
}

header nav ul li a:hover {
  color: var(--azul-logo);
}

header nav ul li a:hover::after {
  transform: scaleX(1);
}


/* =========================================================
   BOTÃO HEADER
   ========================================================= */

.botao-header {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 13px 20px;

  background: var(--azul-logo);

  color: var(--branco);

  border-radius: 4px;

  font-size: 12px;

  font-weight: 800;

  text-transform: uppercase;

  white-space: nowrap;

  transition: var(--transicao);

  box-shadow: 0 5px 15px rgba(22, 133, 229, 0.18);

  flex-shrink: 0;
}

.botao-header:hover {
  background: var(--azul-escuro);

  color: var(--branco);

  transform: translateY(-2px);
}


/* BOTÃO MOBILE */

.menu-mobile {
  display: none;
}


/* =========================================================
   BANNER
   ========================================================= */

.banner {
  width: 100%;

  min-height: 680px;

  position: relative;

  display: flex;

  align-items: center;

  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(10, 22, 40, 0.94) 0%,
      rgba(10, 22, 40, 0.78) 40%,
      rgba(10, 22, 40, 0.35) 75%,
      rgba(10, 22, 40, 0.18) 100%
    ),
    url("Banner.jpeg");

  background-size: cover;

  background-position: center;
}

.banner::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;

  height: 5px;

  background: var(--laranja-escuro);

  box-shadow:
    0 0 10px rgba(245, 158, 11, 0.75),
    0 0 25px rgba(245, 158, 11, 0.45);

  z-index: 5;
}

.banner-conteudo {
  position: relative;

  z-index: 2;

  width: 100%;

  max-width: 650px;

  margin: 0;

  padding-top: 20px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: center;

  text-align: left;
}

.banner-marca {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--laranja);

  font-size: 14px;

  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.banner-conteudo h1 {
  width: 100%;

  max-width: 700px;

  margin: 0 0 22px;

  color: var(--branco);

  font-size: clamp(40px, 5vw, 64px);

  line-height: 1.05;

  font-weight: 800;
}

.banner-conteudo h1 span {
  color: var(--branco);
}

.banner-conteudo p.banner-descricao {
  width: 100%;

  max-width: 650px;

  margin-bottom: 32px;

  color: var(--laranja-escuro);

  font-size: 18px;
}

.banner-botoes {
  display: flex;

  align-items: center;

  gap: 15px;

  flex-wrap: wrap;
}

.botao-principal,
.botao-whatsapp,
.botao-secundario {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 13px 22px;

  border-radius: 4px;

  font-size: 14px;

  font-weight: 800;

  transition: var(--transicao);
}

.botao-principal,
.botao-whatsapp {
  background: var(--laranja-escuro);

  color: var(--azul-escuro);
}

.botao-principal:hover,
.botao-whatsapp:hover {
  background: var(--branco);

  color: var(--azul-escuro);

  transform: translateY(-3px);

  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.30);
}

.botao-secundario {
  background: transparent;

  color: var(--branco);

  border: 1px solid var(--cinza);
}

.botao-secundario:hover {
  background: var(--azul);

  color: var(--branco);

  border-color: var(--azul);
}

.banner .botao-secundario {
  color: var(--branco);

  border-color: rgba(255, 255, 255, 0.45);
}

.banner .botao-secundario:hover {
  background: var(--branco);

  color: var(--azul-escuro);

  border-color: var(--branco);
}


/* =========================================================
   TÍTULOS
   ========================================================= */

.titulo-secao {
  display: inline-block;

  margin-bottom: 12px;

  color: var(--laranja-escuro);

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.titulo-central {
  max-width: 700px;

  margin: 0 auto 55px;

  text-align: center;
}

.titulo-central h2 {
  margin-bottom: 12px;

  color: var(--azul);

  font-size: clamp(30px, 4vw, 42px);

  line-height: 1.15;
}

.titulo-central p {
  color: var(--laranja-escuro);

  font-size: 16px;
}


/* =========================================================
   APRESENTAÇÃO
   ========================================================= */

.apresentacao {
  padding: 90px 0;

  background: var(--branco);
}

.apresentacao-conteudo {
  max-width: 800px;

  margin: 0 auto;

  text-align: left;
}

.apresentacao-conteudo h2 {
  margin-bottom: 25px;

  color: var(--azul);

  font-size: clamp(26px, 3vw, 34px);

  line-height: 1.15;
}

.apresentacao-conteudo p {
  max-width: 900px;

  margin: 0 auto 10px;

  color: var(--azul);

  font-size: 16px;
}


/* =========================================================
   PILARES
   ========================================================= */

.pilares {
  padding: 90px 0;

  background: var(--azul);
}

.pilares-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 30px;
}

.pilar-card {
  min-width: 0;

  background: var(--branco);

  border-radius: 8px;

  overflow: hidden;

  border: 1px solid var(--borda);

  box-shadow: var(--sombra);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.pilar-card:hover {
  transform: translateY(-8px);

  border-color: rgba(22, 133, 229, 0.35);

  box-shadow: var(--sombra-forte);
}

.pilar-imagem {
  position: relative;

  width: 100%;

  height: 250px;

  overflow: hidden;
}

.pilar-imagem img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.pilar-card:hover .pilar-imagem img {
  transform: scale(1.06);
}

.pilar-numero {
  position: absolute;

  top: 18px;
  left: 18px;

  width: 48px;
  height: 48px;

  display: flex;

  align-items: center;
  justify-content: center;

  background: var(--laranja-escuro);

  color: var(--azul-escuro);

  border-radius: 50%;

  font-size: 17px;

  font-weight: 900;

  z-index: 5;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.pilar-conteudo {
  padding: 28px;
}

.pilar-conteudo > span {
  display: block;

  margin-bottom: 8px;

  color: var(--azul-logo);

  font-size: 12px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 1.5px;
}

.pilar-conteudo h3 {
  margin-bottom: 12px;

  color: var(--azul-escuro);

  font-size: 24px;

  font-weight: 800;
}

.pilar-conteudo p {
  margin-bottom: 20px;

  color: var(--cinza-texto);

  font-size: 15px;

  line-height: 1.7;
}

.pilar-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: var(--laranja-escuro);

  font-size: 13px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  transition: var(--transicao);
}

.pilar-link:hover {
  color: var(--azul-logo);

  transform: translateX(4px);
}


/* =========================================================
   CLIENTES
   ========================================================= */

.clientes {
  padding: 100px 0;

  background: var(--branco);
}

.clientes-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 18px;
}

.cliente-logo {
  width: 100%;

  min-width: 0;

  min-height: 120px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 25px;

  background: var(--branco);

  border: 1px solid var(--borda);

  border-radius: 6px;

  transition: var(--transicao);

  overflow: hidden;
}

.cliente-logo:hover {
  border-color: var(--azul);

  transform: translateY(-4px);

  box-shadow: var(--sombra);
}

.cliente-logo img {
  width: auto;

  max-width: 100%;

  max-height: 55px;

  object-fit: contain;

  filter: grayscale(100%);

  opacity: 0.65;

  transition: var(--transicao);
}

.cliente-logo:hover img {
  filter: grayscale(0);

  opacity: 1;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
  position: relative;

  padding: 90px 0;

  background:
    linear-gradient(
      135deg,
      var(--azul),
      var(--azul-escuro-2)
    );

  color: var(--branco);

  overflow: hidden;
}

.cta::before {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  top: -180px;
  right: -100px;

  background: var(--azul);

  border-radius: 50%;

  opacity: 0.12;
}

.cta::after {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  bottom: -150px;
  left: -80px;

  background: var(--laranja);

  border-radius: 50%;

  opacity: 0.08;
}

.cta .container {
  position: relative;

  z-index: 2;
}

.cta-conteudo {
  max-width: 700px;
}

.cta-conteudo .titulo-secao {
  color: var(--laranja);
}

.cta-conteudo h2 {
  margin-bottom: 15px;

  color: var(--branco);

  font-size: clamp(32px, 4vw, 48px);

  line-height: 1.15;
}

.cta-conteudo p {
  color: var(--laranja-escuro);

  font-size: 17px;
}

.cta-botoes {
  display: flex;

  align-items: center;

  gap: 15px;

  margin-top: 30px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: var(--azul);

  color: var(--branco);
}

.footer-conteudo {
  display: grid;

  grid-template-columns: 1.5fr 1fr 1fr 1fr;

  gap: 50px;

  padding-top: 70px;

  padding-bottom: 60px;
}

.footer-marca p {
  max-width: 300px;

  margin-top: 20px;

  color: #94A0B2;

  font-size: 14px;
}

.footer-coluna h3 {
  margin-bottom: 20px;

  color: var(--branco);

  font-size: 15px;
}

.footer-coluna ul {
  display: flex;

  flex-direction: column;

  gap: 10px;
}

.footer-coluna li,
.footer-coluna a {
  color: #94A0B2;

  font-size: 14px;

  transition: var(--transicao);
}

.footer-coluna a:hover {
  color: var(--laranja);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .container {
  min-height: 70px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}

.footer-bottom p,
.footer-bottom a,
.footer-bottom span {
  color: #6F7C8F;

  font-size: 12px;
}

.footer-bottom a:hover {
  color: var(--laranja);
}

.footer-links {
  display: flex;

  align-items: center;

  gap: 8px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) and (min-width: 769px) {

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-inner {
    column-gap: 15px;
  }

  .logo img {
    width: 120px;
  }

  header nav ul {
    gap: 0;
  }

  header nav ul li a {
    padding-left: 7px;
    padding-right: 7px;

    font-size: 10px;
  }

  .botao-header {
    padding-left: 12px;
    padding-right: 12px;

    font-size: 10px;
  }

  .pilares-grid {
    gap: 18px;
  }

  .clientes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  body {
    width: 100%;

    overflow-x: hidden;
  }

  .container {
    width: 100%;

    max-width: 100%;

    padding-left: 18px;
    padding-right: 18px;
  }


  /* =======================================================
     HEADER MOBILE
     ======================================================= */

  header {
    position: sticky;

    top: 0;
  }

  .header-inner {
    width: 100%;

    min-height: 68px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
  }

  .logo {
    flex-shrink: 1;

    min-width: 0;
  }

  .logo img {
    width: 120px;

    max-width: 120px;

    max-height: 36px;
  }


  /* BOTÃO HAMBÚRGUER */

  .menu-mobile {
    width: 44px;

    height: 44px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    padding: 0;

    margin-left: auto;

    border: 0;

    border-radius: 4px;

    background: transparent;

    cursor: pointer;

    flex-shrink: 0;
  }

  .menu-mobile span {
    width: 25px;

    height: 2px;

    display: block;

    background: var(--azul-escuro);

    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .menu-mobile.ativo span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-mobile.ativo span:nth-child(2) {
    opacity: 0;
  }

  .menu-mobile.ativo span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }


  /* =======================================================
     MENU ABERTO
     ======================================================= */

  header nav {
    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    width: 100%;

    margin: 0;

    padding: 5px 18px 12px;

    background: var(--branco);

    border-top: 1px solid var(--borda);

    border-bottom: 1px solid var(--borda);

    box-shadow: 0 12px 25px rgba(10, 22, 40, 0.12);
  }

  header nav.menu-aberto {
    display: block;
  }

  header nav ul {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 0;
  }

  header nav ul li {
    width: 100%;
  }

  header nav ul li a {
    width: 100%;

    padding: 12px 8px;

    text-align: center;

    font-size: 13px;

    white-space: normal;
  }

  header nav ul li a::after {
    display: none;
  }


  /* ESCONDE BOTÃO DESKTOP */

  .botao-header {
    display: none;
  }


  /* =======================================================
     BANNER MOBILE
     ======================================================= */

  .banner {
    width: 100%;

    min-height: 620px;

    background-size: cover;

    background-position: 65% center;
  }

  .banner-conteudo {
    width: 100%;

    max-width: 100%;

    min-height: 620px;

    margin: 0;

    padding: 55px 18px 50px;

    display: flex;

    justify-content: center;

    box-sizing: border-box;
  }

  .banner-marca {
    margin-bottom: 12px;

    font-size: 11px;

    letter-spacing: 1.5px;
  }

  .banner-conteudo h1 {
    width: 100%;

    max-width: 100%;

    margin-bottom: 18px;

    font-size: clamp(30px, 9vw, 42px);

    line-height: 1.08;

    overflow-wrap: break-word;

    word-break: normal;
  }

  .banner-conteudo p.banner-descricao {
    width: 100%;

    max-width: 100%;

    margin-bottom: 24px;

    font-size: 15px;

    line-height: 1.5;

    overflow-wrap: break-word;
  }

  .banner-botoes {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
  }

  .banner-botoes a {
    width: auto;

    max-width: 100%;

    min-height: 46px;

    padding: 12px 18px;

    font-size: 13px;
  }


  /* =======================================================
     TÍTULOS
     ======================================================= */

  .titulo-central {
    width: 100%;

    margin-bottom: 35px;
  }

  .titulo-central h2 {
    font-size: clamp(27px, 8vw, 36px);

    line-height: 1.15;
  }

  .titulo-central p {
    font-size: 15px;

    line-height: 1.5;
  }


  /* =======================================================
     APRESENTAÇÃO
     ======================================================= */

  .apresentacao {
    padding: 65px 0;
  }

  .apresentacao-conteudo {
    width: 100%;

    max-width: 100%;
  }

  .apresentacao-conteudo h2 {
    font-size: 28px;
  }

  .apresentacao-conteudo p {
    width: 100%;

    font-size: 15px;

    line-height: 1.7;
  }


  /* =======================================================
     PILARES
     ======================================================= */

  .pilares {
    padding: 65px 0;
  }

  .pilares-grid {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr;

    gap: 22px;
  }

  .pilar-card {
    width: 100%;

    min-width: 0;
  }

  .pilar-imagem {
    width: 100%;

    height: 220px;
  }

  .pilar-conteudo {
    padding: 22px;
  }

  .pilar-conteudo h3 {
    font-size: 22px;
  }

  .pilar-conteudo p {
    font-size: 15px;

    line-height: 1.6;
  }


  /* =======================================================
     CLIENTES
     ======================================================= */

  .clientes {
    padding: 65px 0;
  }

  .clientes-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;
  }

  .cliente-logo {
    width: 100%;

    min-width: 0;

    min-height: 105px;

    padding: 12px;

    overflow: hidden;
  }

  .cliente-logo img {
    width: auto;

    max-width: 90%;

    max-height: 48px;
  }


  /* =======================================================
     CTA
     ======================================================= */

  .cta {
    padding: 65px 0;
  }

  .cta-conteudo {
    width: 100%;

    max-width: 100%;
  }

  .cta-conteudo h2 {
    font-size: 31px;

    line-height: 1.15;
  }

  .cta-conteudo p {
    font-size: 15px;

    line-height: 1.55;
  }

  .cta-botoes {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 10px;
  }

  .cta-botoes a {
    width: 100%;

    text-align: center;
  }


  /* =======================================================
     FOOTER
     ======================================================= */

  .footer-conteudo {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr;

    gap: 32px;

    padding-top: 55px;

    padding-bottom: 45px;
  }

  .footer-marca p {
    max-width: 100%;
  }

  .footer-bottom .container {
    min-height: auto;

    padding-top: 20px;

    padding-bottom: 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 12px;
  }

  .footer-links {
    justify-content: center;

    flex-wrap: wrap;

    text-align: center;
  }
}


/* =========================================================
   CELULARES PEQUENOS
   ========================================================= */

@media (max-width: 380px) {

  .container {
    padding-left: 14px;

    padding-right: 14px;
  }

  .logo img {
    width: 105px;

    max-width: 105px;
  }

  .banner {
    min-height: 600px;

    background-position: 68% center;
  }

  .banner-conteudo {
    min-height: 600px;

    padding-left: 14px;

    padding-right: 14px;

    padding-top: 50px;

    padding-bottom: 45px;
  }

  .banner-conteudo h1 {
    font-size: 29px;
  }

  .banner-conteudo p.banner-descricao {
    font-size: 14px;
  }

  .cliente-logo {
    min-height: 92px;

    padding: 9px;
  }

  .cliente-logo img {
    max-width: 88%;

    max-height: 42px;
  }
}
