/*
Theme Name: RedBandana
Author: Pedro Estarque
Author URI: https://pedro.estarque.com.br
Description: Tema RedBandana
Version: 9
*/

:root {
  --rb-lightbg: #e6ebe3;
  --rb-red: #c80000;
  --rb-menuHeight: 100px;
}

html, body {
  height: 100%;
  width: 100%; 
}

html {
  scroll-behavior: smooth;
  scroll-padding: var(--rb-menuHeight)!important;
}

* {border: 0px;margin: 0px;padding: 0px;vertical-align: baseline;/* outline:none; */outline-color: gray;box-sizing: border-box;-webkit-text-size-adjust:100%;} 

body {
  font: 14px "helvetica-neue-lt-pro", sans-serif;
  letter-spacing: -0.5px;
}

body.administrator nav.menu {
  transform: translateY(var(--wp-admin--admin-bar--height));
}

h1 {
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
}

b, strong {
  font-weight: 600;
}

.menu {
  background: var(--rb-red);
  min-height: var(--rb-menuHeight);
  box-shadow: 0 0 20px rgb(0 0 0 / 50%);
  position: relative;
  cursor: pointer;
  z-index: 999;
  position: fixed;
  top: 0;
  width: 100%;
}

.menu:before,
.menu:after {
  content: "";
  width: 40px;
  height: 4px;
  background: white;
  position: absolute;
  right: 20px;
  top: calc((var(--rb-menuHeight) - 16px) / 2);
  /* top: 40px; */
  transition: 0.3s all;
}

.menu:after {
  margin-top: 12px;
}

.menu li {
  margin: 5px 0;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  text-transform: uppercase;
}

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

.menu img {
  max-width: 300px;
  position: absolute;
  left: 0;
  right: 0;
  top: 17px;
  /* bottom: 0; */
  margin: auto;
}

.menu .logo {
  width: 300px;
  height: 60px;
  position: absolute;
  left: 0;
  right: 0;
  top: 17px;
  margin: auto;
  background-image: url(images/logoWhite.svg);
  background-repeat: no-repeat;
}

body.home .menu .homeLink { display: none; }

.menu ul {
  list-style: none;
  display: none;
}

.menu.open ul {
  padding-top: var(--rb-menuHeight);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.menu.open:before {
  transform: rotate(45deg);
  margin-top: 10px;
}

.menu.open:after {
  transform: rotate(-45deg);
  margin-top: 10px;
}

/* Bloco Banner  */

.banner {
  width: 100%;
  aspect-ratio: 2000/1125;
  position: relative;
  /* overflow: hidden; */
}

.banner img {
  width: 100%;
  display: block;
  height: auto;
}

.menu + .banner {
  margin-top: var(--rb-menuHeight);
}



/* Bloco Números */

.bloco_numeros {
    background-color: #3b3838;
    background-image: url(images/arab.svg);
    background-size: 420px;
    background-repeat: no-repeat;
    background-position: -150px -250px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 130px 0 60px 0;
}

.bloco_numeros.vermelho {
  background-color: var(--rb-red);
  background-image: none;
  background-image: url(images/arab-white.svg);
}

.bloco_numeros.branco {
  background-color: white;
  color: #3b3838;
}

.bloco_numeros.vermelho .stats-list li {
  border-bottom: 1px solid white;
}

.bloco_numeros.vermelho .about-article {
  border-bottom: 1px solid white;
}

.bloco_numeros.vermelho .arrow-icon {
  filter: brightness(20);
}

.bloco_numeros.branco .main-title {
  color: var(--rb-red);
}

.bloco_numeros .hero-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1400px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.bloco_numeros .title-section {
  display: flex;
  align-items: flex-end;
  /* transform: translateY(150px); */
}

.bloco_numeros .main-title {
  letter-spacing: -1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  color: white;
  white-space: pre-line;
  flex-direction: column-reverse;
  /* width: min-content; */
}

.bloco_numeros .arrow-icon {
  width: clamp(40px, 6vw, 60px);
  height: clamp(40px, 6vw, 60px);
}

.bloco_numeros .content-section {
  display: flex;
  flex-direction: column;
}

.bloco_numeros .stats-list {
  list-style: none;
}

.bloco_numeros .stats-list li {
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1.25rem 0;
  border-bottom: 1px solid #d93d20;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.bloco_numeros .stats-list li:first-child {
  padding-top: 0;
}

.bloco_numeros .about-article {
  padding: 1.5rem 0;
  border-bottom: 1px solid #d93d20;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 300;
  text-align: left;
  /* color: #eeeeee; */
}

.bloco_numeros .about-article h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  color: white;
}

.bloco_numeros .subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.bloco_numeros .about-article  *+* {
  margin-bottom: 10px;
}

/* Bloco Frase */

.frase_impacto {
  background: var(--rb-red);
  padding: 60px 0;
  color: white;
}

.frase_impacto hr {
  background: white;
  height: 2px;
}

.frase_impacto > div {
  padding: 40px 20px;
  max-width: 1400px;
  margin: auto;
}

.frase_impacto h2 {
  color: white;
  font-size: 73px;
  max-width: 550px;
  line-height: 1;
  letter-spacing: -3px;
}

.frase_impacto .texto *+* {
  margin: 20px 0;
}

.bio {
  background: var(--rb-red);
  color: white;
}

.bio article {
  max-width: 800px;
  margin: auto;
  display: flex;
  /* text-transform: uppercase; */
  padding: 40px 0;
  gap: 30px;
}

.bio h2 {
  display: flex;
  gap: 12px;
  align-items: center;
}

.bio article > img {
  width: 30%;
  object-fit: cover;
}

.bio article > div {
  width: 70%;
}

.bio article > div *+* {
  margin: 10px 0;
}

.bio a[href*=linkedin] {
  background: url(images/linkedin.svg);
  width: 30px;
  height: 30px;
  display: inline-block;
  background-repeat: no-repeat;
  /* margin-left: 10px; */
  position: relative;
  top: -1px;
  /* line-height: 1.15; */
  font-size: 0;
}

.bloco_clientes {
  background: var(--rb-red);
  color: white;
}

.bloco_clientes img, .bloco_clientes picture {
  width: 100%;
  margin: auto;
  display: block;
}

.bloco_clientes div {
  max-width: 1400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
}

.bloco_clientes h2 {
    margin: 40px 0;
    font-size: 72px;
    width: 100%;
    padding: 0 20px;
}

body > footer {
  background: var(--rb-red);
  color: white;
  padding: 50px 0;
}

body > footer > div {
  max-width: 1400px;
  margin: auto;
  text-align: center;
}

footer p {
  margin-bottom: 20px;
}

footer #contato {
  display: flex;
  gap: 10px;
  justify-content: center;
}

footer #contato a[href*="mailto"] {
  background-image: url(images/envelope-solid-red.svg);
}

footer #contato a[href*="facebook"] {
  background-image: url(images/facebook-f.svg);
  background-size: 12px;
}

footer #contato a[href*="linkedin"] {
  background-image: url(images/linkedin-in-red.svg);
}

footer #contato a[href*="pinterest"] {
  background-image: url(images/pinterest-p.svg);
}

footer #contato a[href*="instagram"] {
  background-image: url(images/instagram-red.svg);
}

footer #contato a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: center;
  background-color: white;
  border-radius: 100%;
  transition: all 0.3s;
}

/* Casos */

/* Single Caso */

.single-caso .content {
  margin-top: var(--rb-menuHeight);
  padding: 60px 40px;
  background: var(--rb-post-color);
  color: white;
}

.single-caso .layout-wrapper {
  max-width: 1200px;
  margin: auto;
}

.administrator.single-caso .content {
  margin-top: calc(var(--rb-menuHeight) + var(--wp-admin--admin-bar--height));
}

.single-caso .page-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.single-caso .main-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  /* letter-spacing: -0.02em; */
  margin-bottom: 10px;
}

.single-caso .header-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.single-caso .subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: #e0e0e0;
}

.single-caso .publish-date {
  font-size: 0.8rem;
  text-transform: lowercase;
  color: #d0d0d0;
  margin-top: 10px;
}

.single-caso .hero-image,
.single-caso .hero-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: 60px;
  object-fit: cover;
  height: auto;
}
  
.single-caso .page-content {
  background-color: #ffffff;
  color: #1a1a1a;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px;
}

.single-caso .lead-text {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.25;
  color: #222;
}

.single-caso .body-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #333;
}

.single-caso .body-text * {
  max-width: 100%;
  height: auto;
}

.single-caso .body-text iframe {
  aspect-ratio: 16/9;
  width: 100%;
}

.single-caso .body-text p {
  margin-bottom: 20px;
}

.single-caso .body-text p:last-child {
  margin-bottom: 0;
}


/* Archive Casos */

/* Section Container */
section.casos {
  background: #3c3838;
  color: white;
}

section.casos .wrapper {
  max-width: 1400px;
  padding: 60px 20px;
  margin: auto;
}

section.casos .section-title {
  /* font-weight: 300; */
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  font-size: 73px;
}

/* Cards Grid Layout */
section.casos .cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

/* Individual Card Styling */
section.casos .case-card {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 16px;
  display: flex;
  flex-direction: column;
  color: white;
  text-decoration: none;
}

/* Placeholder for the striped image */
section.casos img.thumbnail {
  width: 100%;
  height: 360px;
  margin-bottom: 24px;
  object-fit: cover;
}

/* Card Content Layout */
section.casos .card-content {
  display: flex;
  gap: 20px;
  flex-grow: 1;
  flex-direction: column;
}

/* Left Column (Title & Link) */
section.casos .card-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

section.casos .card-title {
  font-size: 1.8rem;
  /* font-weight: 300; */
  line-height: 1.1;
  margin-bottom: 5px;
  letter-spacing: normal;
}

section.casos .card-subtitle {
  font-size: 16px;
}

section.casos .read-more {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
  transition: all 0.3s;
  width: fit-content;
  padding-bottom: 2px;
  margin-top: 15px;
}

section.casos .read-more:hover {
  opacity: 1;
  box-shadow: 0px 2px 0 0px rgb(255 255 255 / 25%);
}

section.casos .arrow {
   /* Red diagonal arrow */
   height: 15px;
   width: 15px;
   background: url(images/arrow.svg);
   background-repeat: no-repeat;
   background-size: cover;
}

/* Right Column (Description Paragraph) */
section.casos .card-aside p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  color: #eaeaea;
}


/* Mobile */
@media (max-width: 1000px) {

  :root {
    --rb-menuHeight: 60px;
  }

  #wpadminbar {position: fixed!important;}

  body.administrator .menu + .banner {
    margin-top: calc(var(--rb-menuHeight) + var(--wp-admin--admin-bar--height));
  }

  .menu img {
    max-width: 190px;
    top: 9px;
  }

  .bio article {
    display: flex;
    flex-direction: column;
  }

  .bio article > * {
    width: 90%!important;
    margin: auto;
  }

  .bloco_numeros {
    padding: 60px 0;
    background-image: none;
  }

  .bloco_numeros .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 20px;
  }

  .bloco_numeros .title-section {
    align-items: flex-start;
  }

  .frase_impacto h2, section.casos .section-title {
    font-size: clamp(2.3rem, 5vw, 5rem);
  }

  .bloco_clientes div {
    max-width: calc(100% - 30px);
  }

  .bloco_clientes h2 {
    margin: 40px 0;
    font-size: clamp(2.3rem, 5vw, 5rem);
  }

  .single-caso .page-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .single-caso .header-meta {
    /* gap: 40px; */
  }

  .single-caso .page-content {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .single-caso .main-title {
    /* font-size: 3.75rem; */
  }

  
  section.casos .cards-container,
  section.casos .card-content {
    grid-template-columns: 1fr;
  }
  
  section.casos .card-title {
    margin-bottom: 20px;
  }

}

/* Large screens */
@media (min-width: 1001px) {
  .single-caso .content-left {
    position: sticky;
    align-self: start; 
    top: calc(var(--rb-menuHeight) + 60px); 
  }

  body.administrator .single-caso .content-left {
    top: calc(var(--rb-menuHeight) + var(--wp-admin--admin-bar--height, 32px) + 40px);
  }

  section.casos .card-subtitle {
    /* min-height: 37px; */
  }

}

/* Legacy */

#perc {
  background-color: transparent;
  box-sizing: border-box;
  min-height: auto;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(imgs/perc2.jpg);
}

#perc .bg {
  display: flex;
  padding: 40px 20px 40px 20px;
  justify-content: space-between;
  max-width: 1400px;
  margin: auto;
  box-sizing: border-box;
}

#perc .title {
  padding: 20px 20px 50px 20px;
  max-width: 600px;
  margin: auto;
  text-transform: uppercase;
}

#perc h3 {
  /* text-align: right; */
  font-weight: 200;
}

#perc p {
  /* text-align: right; */
  margin: 0;
  max-width: 860px;
  /* float: right; */
}

#perc ul {list-style-type: square;}

#perc .perc {
  max-width: 300px;
  color: #595959;
  padding: 80px 0;
}

#perc .perc b {
  display: block;
  color: var(--rb-red);
  font-weight: 200;
  margin-bottom: 5px;
}

#perc .perc div {
  margin-bottom: 20px;
  position: relative;
}

#perc .perc div:before {
  content: "P";
  position: absolute;
  left: -67px;
  top: -13px;
  color: var(--rb-red);
  font-weight: bold;
  font-size: 65px;
}

#perc .perc div + div:before {
  content: "E";
  top: 0px;
}

#perc .perc div + div + div:before {
  content: "R";
  top: 10px;
}

#perc .perc div + div + div + div:before {
  content: "C";
  top: 10px;
}

#perc hr {
  height: 100px;
  background: linear-gradient(-2deg, transparent 50%, #3c3838 50.5%);
  display: block;
  width: 100%;
}

#perc hr + hr {
  background: linear-gradient(2deg, var(--rb-red) 50%, var(--lightbg) 50.5%);
}

#perc .metodo {
  color: #595959;
  padding: 80px 0;
  max-width: 220px;
  text-transform: uppercase;
  font-size: 12px;
}

#perc .metodo b {
  color: #c80100;
  font-size: 21px;
  font-weight: 300;
}

#perc .metodo b span {
  font-weight: 700;
}

#nossas-solucoes {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: auto;
  background: linear-gradient(90deg, #383838 50%, #124b59 50%) bottom center / 100% 120px no-repeat, #ffffff;
}

#nossas-solucoes header {
  display: flex;
  align-items: center;
  padding: 4rem 20px 2rem 20px;
  max-width: 1400px;
  margin: auto;
  width: 100%;
  box-sizing: border-box;
}

#nossas-solucoes .logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  margin-top: 10px;
  background: url(images/arrow.svg);
  background-repeat: no-repeat;
}

#nossas-solucoes header h1 {
  color: #bd0000;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -4px;
}

#nossas-solucoes .solutions-grid {
  display: flex;
  flex: 1;
  padding: 2rem 20px;
  gap: 3rem;
  margin-bottom: 100px;
  margin: 0 auto;
  max-width: 1400px;
  box-sizing: border-box;
}

#nossas-solucoes article {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#nossas-solucoes article h2 {
  color: #bd0000;
  font-size: 2.2rem;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

#nossas-solucoes .service-details p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #888;
}

#nossas-solucoes .service-details strong {
  color: #777;
  font-weight: 800;
}

#nossas-solucoes .service-details em {
  font-style: italic;
}

#nossas-solucoes footer {
  display: flex;
  height: 120px;
  width: 100%;
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: auto;
}

#nossas-solucoes .footer-brand {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 4rem;
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -2px;
}

#nossas-solucoes .bg-rebrand {
  background-color: #383838;
}
#nossas-solucoes .bg-rethink {
  background-color: #273b5e;
}
#nossas-solucoes .bg-refuture {
  background-color: #124b59;
}

#nossas-solucoes .decorative-graphic {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 350px;
  height: 350px;
  z-index: 3;
  pointer-events: none;
  background: url(images/arabesco.png);
  background-size: cover;
}

#nossas-solucoes hr {
  height: 100px;
  background: linear-gradient(-2deg, var(--lightbg) 50%, var(--red) 50.5%);
  display: block;
  width: 100%;
}

@media (max-width: 1500px) {

  #nossas-solucoes .decorative-graphic {
    display: none;
  }
}



@media (max-width: 1000px) {
  #perc .bg {
    background: radial-gradient(circle, #f8f4eb, #c2b39e);
    padding: 60px 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  #perc .bg:after {
    height: 11vw;
    bottom: -7vw;
  }

  #perc .perc {
    padding: 20px 0 20px 20px;
    box-sizing: border-box;
    transform: translateX(20px);
  }

  #perc .metodo {
    padding: 30px 15px;
    max-width: 100%;
  }

  #perc .metodo b {
    display: block;
    margin-bottom: 15px;
  }

  #nossas-solucoes {
    padding-top: 50px;
    box-sizing: border-box;
  }

  #nossas-solucoes .circlesHolder {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    height: 750px;
    margin: 40px 0;
  }

  #nossas-solucoes .circlesHolder:before {
    height: 90%;
    width: 5px;
    top: 15px;
    bottom: 15px;
    left: auto;
  }

  #nossas-solucoes h2 {
    font-size: 27px;
    margin-bottom: 10px;
    text-align: center;
  }

  #nossas-solucoes h3 {
    font-size: 15px;
    text-align: center;
  }

  #nossas-solucoes header {padding: 20px;}

  #nossas-solucoes .solutions-grid {
    flex-direction: column;
    margin-bottom: 30px;
    padding: 20px;
  }

  #nossas-solucoes footer {
    flex-direction: column;
    height: auto;
  }

  #nossas-solucoes .footer-brand {
    padding: 1.5rem;
    justify-content: center;
  }

  #nossas-solucoes header h1 {font-size: 40px;line-height: 1;}

  #nossas-solucoes article h2 {
    font-size: 25px;
  }
  
  #nossas-solucoes h4 {
    font-size: 16px;
  }

}
