:root {
  --psol-red: #E02028;
  --psol-yellow: #FEDF00;
  --psol-dark: #1B1B1B;
  --psol-red-dark: #B9151E;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: #1B1B1B;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   HEADER
========================= */

.site-header {
  height: 72px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  gap: 34px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 18px #00000012;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 0.85;
  min-width: 88px;
}

.brand-gi {
  font-size: 32px;
  font-weight: 900;
}

.brand-sub {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brand-number {
  font-size: 16px;
  font-weight: 900;
  color: #E02028;
}

.nav {
  display: flex;
  gap: 34px;
  margin: auto;
  font-size: 12px;
  font-weight: 700;
}

.nav a:first-child {
  color: #480e77;
  border-bottom: 2px solid #480e77;
  padding-bottom: 7px;
}

.header-cta {
  background: #ffd20a;
  color: #000000;
  font-weight: 900;
  border-radius: 12px;
  padding: 14px 23px;
  display: inline-block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
  color: #E02028;
}

/* =========================
   HERO CAROUSEL
========================= */

.hero-carousel {
  position: relative;
  overflow: hidden;
  background: #000000;
  line-height: 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Banner mais largo que o padrão (2000x832): aparece inteiro na mesma altura,
   com o próprio banner desfocado preenchendo o espaço em cima e embaixo */
.carousel-slide--fit {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2000 / 832;
}

.carousel-slide--fit::before {
  content: "";
  position: absolute;
  inset: -30px;
  background-position: center;
  background-size: cover;
  filter: blur(18px);
}

.carousel-slide--6x1::before {
  background-image: url("../img/carousel/slide-6x1-800w.jpg");
}

.carousel-slide--fit img {
  position: relative;
  height: 100%;
  object-fit: contain;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #ffffffcc;
  color: #1B1B1B;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.hero-carousel:hover .carousel-arrow,
.carousel-arrow:focus-visible {
  opacity: 1;
}

.carousel-arrow.prev {
  left: 16px;
}

.carousel-arrow.next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #ffffff80;
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background: #ffffff;
}

.person-placeholder small {
  font-size: 12px;
  margin-top: 8px;
  font-weight: 600;
}

/* =========================
   VALUES
========================= */

.values {
  position: relative;
  margin: 24px 4% 0;
  background: #fff;
  border-radius: 14px;
  padding: 20px 2%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 10px 35px #0002;
  z-index: 5;
}

.values article {
  display: grid;
  grid-template-columns: 45px 1fr;
  column-gap: 8px;
  padding: 8px 18px;
  border-right: 1px solid #ddd;
}

.values article:last-child {
  border: 0;
}

.values strong {
  grid-row: span 2;
  font-size: 30px;
}

.values b {
  font-size: 12px;
}

.values span {
  font-size: 10px;
  color: #555;
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 90px 5%;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 30px;
}

.section-tag {
  background: #480e77;
  color: #fff;
  font-weight: 900;
  padding: 4px 10px;
}

.section-heading h2 {
  font-size: 58px;
  line-height: 1;
  margin: 10px 0;
  font-weight: 900;
}

.section-heading p {
  max-width: 420px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.outline-btn {
  border: 1px solid #D9D9D9;
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 800;
}

/* =========================
   CARDS
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.card {
  padding: 25px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 24px #7A11151A;
  text-align: center;
}

.icon {
  width: 55px;
  height: 55px;
  margin: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 25px;
}

.icon.green {
  background: #480e77;
}

.icon.blue {
  background: #480e77;
}

.icon.yellow {
  background: #FEDF00;
  color: #E02028;
}

.card h3 {
  font-size: 14px;
  line-height: 1.3;
}

.card p {
  font-size: 10px;
  line-height: 1.7;
  color: #555;
  min-height: 54px;
}

.card a {
  font-size: 10px;
  color: #480e77;
  font-weight: 900;
}

/* =========================
   CONTACT
========================= */

.contact {
  margin: 0 4% 60px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #000000;
  color: #fff;
}

.contact-paint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      130deg,
      transparent 25%,
      #480e77 46% 
    );
}

.contact-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: center;
  padding: 55px 6%;
  min-height: 300px;
}

.contact h2 {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-size: 56px;
  margin: 0 0 20px;
}

.contact p {
  font-size: 13px;
  line-height: 1.6;
}

.contact-list {
  list-style: none;
  padding: 0;
  line-height: 2.5;
  font-size: 13px;
}

.contact-list li:first-letter {
  color: #FEDF00;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FEDF00;
  color: #E02028;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.contact-content {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;

  align-items: stretch;

  padding: 50px 6% 0;

  min-height: 300px;
}

.contact-photo {
  position: relative;

  width: 100%;
  height: 300px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  overflow: hidden;

  align-self: end;
}

.contact-photo img {
  position: relative !important;

  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  width: auto !important;
  height: 300px !important;

  max-width: 100% !important;
  max-height: 300px !important;

  object-fit: contain;
  object-position: center bottom;

  display: block;

  margin: 0 auto;

  transform: none !important;
}




/* =========================
   FOOTER
========================= */

.footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1fr;
  gap: 30px;
  padding: 40px 7%;
  border-top: 1px solid #ddd;
  font-size: 11px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 0.8;
}

.footer-brand strong {
  font-size: 40px;
  font-weight: 900;
}

.footer-brand small {
  font-weight: 800;
}

.footer-brand b {
  font-size: 20px;
  color: #E02028;
}

.footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer nav b,
.footer > div:last-child > b {
  font-size: 10px;
  margin-bottom: 8px;
}

.footer-social {
  margin-top: 15px;
  font-size: 18px;
  display: flex;
  gap: 14px;
}

.legal {
  text-align: center;
  background: #480e77;
  color: #fff;
  padding: 12px;
  font-size: 9px;
  font-weight: 700;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .site-header {
    gap: 12px;
  }

  .nav {
    gap: 15px;
  }

  .header-cta {
    padding: 11px 14px;
  }

  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .values article:nth-child(2) {
    border-right: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    grid-template-columns: 1fr 1fr;
  }

  .contact-photo {
    display: none;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

  .site-header {
    height: 64px;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    box-shadow: 0 10px 20px #0002;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .brand-gi {
    font-size: 24px;
  }

  .header-cta {
    margin-left: auto;
    font-size: 10px;
    padding: 10px 12px;
  }

  .carousel-arrow {
    display: none;
  }

  .values {
    grid-template-columns: 1fr;
    margin: 16px 4% 0;
  }

  .values article {
    border-right: 0;
    border-bottom: 1px solid #ddd;
  }

  .section {
    padding: 60px 5%;
  }

  .section-heading h2 {
    font-size: 44px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    padding: 40px 8%;
  }

  .contact h2 {
    font-size: 43px;
  }

  .social {
    margin-top: 20px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .legal {
    font-size: 8px;
  }

  .person-placeholder {
    width: 90%;
  }
}
