/* Lopes Web Studio — overrides on Rayo personal portfolio */

:root {
  --lws-orange: #F07028;
  --lws-orange-rgb: 240, 112, 40;
  --lws-ink: #161616;
  --accent--light: var(--lws-orange);
  --accent-rgb--light: var(--lws-orange-rgb);
  --additional--light: var(--lws-orange);
  --additional-rgb--light: var(--lws-orange-rgb);
  --accent--dark: var(--lws-orange);
  --accent-rgb--dark: var(--lws-orange-rgb);
  --additional--dark: var(--lws-orange);
  --additional-rgb--dark: var(--lws-orange-rgb);
  --pt-purple-rgb: var(--lws-orange-rgb);
}

:root,
[color-scheme="light"],
[color-scheme="dark"] {
  --accent: var(--lws-orange);
  --accent-rgb: var(--lws-orange-rgb);
  --additional: var(--lws-orange);
  --additional-rgb: var(--lws-orange-rgb);
}

html.i18n-pending body {
  visibility: hidden;
}

.mxd-logo__brand {
  display: block;
  height: 5.6rem;
  width: auto;
  max-width: 28rem;
  object-fit: contain;
}

@media only screen and (min-width: 768px) {
  .mxd-logo__brand {
    height: 7.2rem;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-logo__brand {
    height: 8.4rem;
    max-width: 34rem;
  }
}

.lws-langs {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-right: 0.4rem;
  padding: 0.28rem;
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
}

.lws-langs a {
  font: 700 1.22rem/1 var(--_font-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t-bright);
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  opacity: 0.62;
  transition: color var(--_animspeed-fast) var(--_animbezier),
    background-color var(--_animspeed-fast) var(--_animbezier),
    opacity var(--_animspeed-fast) var(--_animbezier);
}

.lws-langs a:hover {
  opacity: 1;
  color: var(--accent);
}

.lws-langs a.is-active {
  opacity: 1;
  color: var(--lws-ink);
  background: var(--accent);
}

.lws-langs a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mxd-header {
  align-items: center;
}

.mxd-header__controls {
  align-items: center;
  flex-shrink: 0;
}

.mxd-header__logo {
  min-width: 0;
}

@media only screen and (max-width: 767px) {
  .mxd-logo__brand {
    height: 4.4rem;
    max-width: 18rem;
  }

  .mxd-header__controls {
    gap: 0.15rem;
  }

  .mxd-header .btn-mobile-icon {
    display: none;
  }

  .mxd-color-switcher {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
  }

  .lws-langs {
    gap: 0;
    margin-right: 0;
    padding: 0.14rem;
  }

  .lws-langs a {
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    padding: 0.48rem 0.58rem;
  }
}

@media only screen and (max-width: 360px) {
  .mxd-logo__brand {
    height: 3.8rem;
    max-width: 15rem;
  }

  .mxd-color-switcher {
    width: 3.8rem;
    height: 3.8rem;
  }

  .lws-langs a {
    font-size: 1rem;
    padding: 0.4rem 0.46rem;
  }
}

.mxd-hero__mark .mark-icon {
  background-color: var(--accent);
}

.mxd-point-subtitle svg {
  fill: var(--accent);
  color: var(--accent);
}

.mxd-point-subtitle:not(:has(svg))::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.btn-accent,
.btn-additional,
.tag-accent,
.footer-nav__counter,
.footer-nav__counter span {
  color: var(--lws-ink);
}

.bg-accent,
.bg-accent .opposite,
.bg-accent .t-opposite,
.bg-accent h3,
.bg-accent p {
  color: var(--lws-ink);
}

.bg-accent .tag-outline-opposite {
  color: var(--lws-ink);
  border-color: var(--lws-ink);
}

::selection,
::-moz-selection {
  background-color: var(--accent);
  color: var(--lws-ink);
}

.hero-09-wordmark {
  margin: 0;
  font-family: var(--_font-accent);
  font-weight: 700;
  font-size: clamp(4.6rem, 14vw, 9.6rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: inherit;
}

/* Aproxima o caption do header: o tema soma 11rem + 9.6rem de padding-top */
@media only screen and (max-width: 1199px) {
  .mxd-hero-09 {
    padding-top: 8.8rem;
  }

  .mxd-hero-09__wrap {
    padding-top: 1.6rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .mxd-hero-09 {
    padding-top: 12.4rem;
  }

  .mxd-hero-09__wrap {
    padding-top: 2rem;
  }
}

@media only screen and (min-width: 1200px) {
  .hero-09-wordmark.hero-09-svg-desktop {
    font-size: clamp(7rem, 9.4vw, 12.8rem);
    white-space: nowrap;
  }
}

.hero-09-objects__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Portfolio: mostra o screenshot inteiro, em escala natural (sem zoom, sem corte) */
.mxd-project-item__media,
.mxd-project-item__preview {
  height: auto;
}

@media only screen and (min-width: 768px) {
  .mxd-project-item__media,
  .mxd-project-item__preview {
    height: auto;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-project-item__media,
  .mxd-project-item__preview {
    height: auto;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-project-item__media,
  .mxd-project-item__preview {
    height: auto;
  }
}

.mxd-project-item__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  padding: 2.4rem 2.4rem 11rem;
  background-color: var(--base-opp-tint);
  background-image: none;
  overflow: hidden;
}

.lws-project-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}

.mxd-project-item__preview img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 58vh;
  object-fit: contain;
  object-position: center;
}

.lws-project-desc {
  width: 100%;
  max-width: 64rem;
  text-align: left;
  text-decoration: none;
}

.lws-project-desc__kind {
  display: block;
  margin-bottom: 1rem;
  font: normal 700 1.2rem/1 var(--_font-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lws-project-desc__text {
  margin: 0 0 1.6rem;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--t-opp-medium);
}

.lws-project-desc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.lws-project-desc__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1.45rem;
  line-height: 1.55;
  color: var(--t-opp-medium);
}

.lws-project-desc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
}

.lws-project-shot a {
  display: flex;
  max-width: 100%;
}

.lws-project-site {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  margin-top: 2rem;
  padding: 1rem 1.4rem 1rem 1.6rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  text-decoration: none;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--t-opp-bright);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lws-project-site__label {
  font: normal 700 1.1rem/1 var(--_font-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.lws-project-site__host {
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  color: var(--t-opp-bright);
}

.lws-project-site i {
  font-size: 1.5rem;
  color: var(--accent);
}

.lws-project-site:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .lws-project-site:hover {
    background: var(--accent);
    border-color: var(--accent);
  }

  .lws-project-site:hover .lws-project-site__label,
  .lws-project-site:hover .lws-project-site__host,
  .lws-project-site:hover i {
    color: var(--lws-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lws-project-site {
    transition: none;
  }
}

@media only screen and (min-width: 768px) {
  .mxd-project-item__preview {
    padding: 3.2rem 3.2rem 13rem;
  }
  .mxd-project-item__preview img {
    max-height: 64vh;
  }
  .lws-project-desc__text {
    font-size: 1.6rem;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-project-item__preview {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 3.2rem;
    padding: 3.6rem 4rem 13rem;
  }
  .lws-project-shot {
    flex: 0 1 auto;
  }
  .lws-project-desc {
    flex: 0 0 auto;
    max-width: 64rem;
    align-self: stretch;
  }
  .mxd-project-item__preview img {
    max-height: 62vh;
  }
}

.preview-image-voice,
.preview-image-sales,
.preview-image-salon,
.preview-image-plan,
.preview-image-giro {
  background-image: none;
}

/* Fotos dos cards de servico: painel lateral, sem cobrir o texto */
.services-stack__image {
  -ms-flex: 1 1 auto;
      flex: 1 1 auto;
  min-height: 0;
  margin-top: 1.2rem;
  padding-bottom: 3rem;
}

.services-stack__image .service-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 11rem;
  max-height: 22rem;
  object-fit: cover;
  border-radius: var(--_radius-m);
}

@media only screen and (min-width: 992px) {
  .services-stack__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 34%;
    height: 100%;
    margin-top: 0;
    padding: 4.2rem 4.2rem 4.6rem 0;
    z-index: 0;
    pointer-events: none;
  }
  .services-stack__image .service-img {
    position: static;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: var(--_radius-m);
  }
}

@media only screen and (min-width: 1200px) {
  .services-stack__image {
    width: 32%;
  }
  .services-stack__image .service-img {
    position: static;
    width: 100%;
    height: 100%;
    bottom: auto;
    right: auto;
  }
}

.services-stack__image .service-img--illustration {
  object-fit: contain;
  object-position: center;
  background-color: #0b1428;
}

.divider-image-lopes {
  background-image: url("../imagens/portfolio/sales-flow.png?v=2");
  background-size: cover;
  background-position: center;
}

.mxd-promo__bg.lws-promo-bg {
  display: none;
}

.mxd-promo__bg,
.mxd-promo__images {
  display: none !important;
}

.mxd-promo__content {
  align-items: center;
  text-align: center;
}

.mxd-promo__title {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

.mxd-promo__icon {
  padding-right: 0;
}

.mxd-promo__caption {
  text-align: center;
  max-width: 16ch;
}

.mxd-promo__controls {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media only screen and (min-width: 1200px) {
  .mxd-promo__title {
    width: 100%;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-promo__title {
    width: 100%;
  }
}

/* Portfólio: sem coluna esquerda, título e cards no centro */
.lws-portfolio .mxd-pinned-projects__static,
.lws-portfolio .mxd-pinned-projects__scroll {
  flex: 0 0 100%;
  max-width: 100%;
}

.lws-portfolio .mxd-pinned-projects__static-inner {
  position: relative;
  top: auto;
  padding-top: 0;
  text-align: center;
  margin-bottom: 3.2rem;
}

.lws-portfolio .mxd-section-title__title .h2-large {
  text-align: center;
}

.lws-portfolio .mxd-section-title__controls {
  display: flex;
  justify-content: center;
}

@media only screen and (min-width: 1200px) {
  .lws-portfolio .col-xl-5,
  .lws-portfolio .col-xl-7 {
    flex: 0 0 100%;
    max-width: 92rem;
    margin-left: auto;
    margin-right: auto;
  }

  .lws-portfolio .mxd-pinned-projects__static-inner {
    padding-top: 0;
    text-align: center;
    margin-bottom: 5rem;
  }
}

.lws-testimonials .lws-testimonial {
  height: auto;
  overflow: visible;
  margin: 0;
}

.lws-testimonial__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--_radius-l);
}

.lws-problem__num {
  font: normal 700 2.4rem/1 var(--_font-accent);
  color: var(--accent);
  margin-bottom: 1.6rem;
}

.lws-problem__item {
  padding: 2.4rem 0 3.2rem;
}

@media only screen and (min-width: 1200px) {
  .lws-problem__item {
    padding: 0 3rem 0 0;
  }
}

/* Space between the problem columns and the studio manifesto */
.lws-problem-to-manifest {
  margin-top: 9.6rem;
}

@media only screen and (min-width: 768px) {
  .lws-problem-to-manifest {
    margin-top: 12rem;
  }
}

@media only screen and (min-width: 1200px) {
  .lws-problem-to-manifest {
    margin-top: 16rem;
  }
}

.footer-wordmark {
  display: block;
  width: 100%;
  font-family: var(--_font-accent);
  font-weight: 700;
  font-size: clamp(3.2rem, 10.5vw, 13rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: inherit;
}

.menu-promo__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--_radius-m);
  object-fit: contain;
  object-position: center;
}

@media only screen and (min-width: 1200px) {
  .menu-promo {
    padding: 0;
    height: 100%;
  }

  .menu-promo__content {
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 1.6rem 1.6rem 0 0;
    gap: 0;
    -webkit-box-align: stretch;
       -moz-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }

  .menu-promo__caption {
    display: none;
  }

  .menu-promo__video {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    background-color: transparent;
    overflow: hidden;
  }

  .menu-promo__photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

.lws-faq {
  max-width: 92rem;
  margin: 0 auto;
}
