/* Lime Media — liimestudio.com
   Mesmo layout do portfólio anterior, sem dependência do Webflow. */

/* ---------- Fontes ---------- */
@font-face { font-family: "Golos Text"; src: url("../assets/fonts/golos-text-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../assets/fonts/golos-text-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../assets/fonts/golos-text-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Golos UI"; src: url("../assets/fonts/GolosUI-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Golos UI"; src: url("../assets/fonts/GolosUI-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Adapta"; src: url("../assets/fonts/Adapta-ExtraBold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Antonio"; src: url("../assets/fonts/antonio-latin-200-normal.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Antonio"; src: url("../assets/fonts/antonio-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --black: #090909;
  --white: white;
  --border-white: #ffffff26;
  --border-black: #09090940;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100%;
  background-color: var(--white);
  color: var(--black);
  font-family: "Golos Text", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; vertical-align: middle; display: inline-block; border: 0; }
h2 { margin-top: 0; margin-bottom: 16px; font-size: 32px; font-weight: 700; line-height: 1.125; }
h3 { margin-top: 0; margin-bottom: 8px; font-size: 24px; font-weight: 700; line-height: 1.25; }
p { margin-top: 0; margin-bottom: 16px; }
a { color: var(--black); text-decoration: none; background-color: transparent; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Navbar ---------- */
.navbar {
  z-index: 1000;
  background-color: #0000;
  width: 100%;
  height: 80px;
  padding-left: 8vw;
  padding-right: 8vw;
  display: flex;
  position: fixed;
  inset: 0% 0% auto;
}
.navbar-container { justify-content: space-between; width: 100%; height: 100%; display: flex; }
.brand { align-items: center; gap: 10px; padding: 0; display: flex; color: var(--black); }
.brand-mark {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: "Antonio", "Arial Narrow", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.brand-word {
  display: block;
  font-family: "Antonio", "Arial Narrow", sans-serif;
  font-size: 17px;
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: .42em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-word span { display: block; }
.brand-word span + span { padding-left: 1.05em; }
.nav-menu { justify-content: center; align-items: center; display: flex; }
.nav-menu-container { justify-content: center; align-items: center; max-width: 280px; max-height: 90px; display: flex; }
.social-link {
  background-color: #8f8f8f40;
  border-radius: 100px;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin-left: 4px;
  padding: 16px;
  transition: background-color .4s;
  display: flex;
}
.social-link:hover { background-color: #363636; }
.social-link svg { width: 100%; height: 100%; display: block; }
.menu-button {
  display: none;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: var(--white);
  color: var(--black);
  cursor: pointer;
}
.menu-button.is-open { background-color: var(--black); color: var(--white); }
.menu-button .icon,
.menu-button .icon::before,
.menu-button .icon::after { display: block; width: 22px; height: 2px; background-color: currentColor; content: ""; }
.menu-button .icon { position: relative; }
.menu-button .icon::before { position: absolute; top: -7px; left: 0; }
.menu-button .icon::after { position: absolute; top: 7px; left: 0; }

/* ---------- Layout ---------- */
.layout { width: 100%; margin-top: 38px; }
.section { padding: 4vw 8vw; }

/* ---------- Grade de projetos ---------- */
.projects-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  grid-template-rows: auto;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: row;
  align-content: start;
  align-items: start;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
}
.project-thumb { position: relative; overflow: hidden; max-width: 100%; display: inline-block; cursor: pointer; }
.project-thumb.no-gallery { cursor: default; }
.image-cover { z-index: 1; object-fit: cover; width: 100%; max-width: 100%; height: 100%; position: relative; overflow: visible; }
.thumb-overlay {
  z-index: 5;
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.project-thumb:hover .thumb-overlay,
.project-thumb:focus-visible .thumb-overlay { opacity: 1; visibility: visible; transition: opacity .5s ease, visibility 0s; }
.bg-video-overlay { z-index: 0; opacity: .64; width: 100%; height: 100%; position: absolute; inset: 0%; overflow: hidden; }
.bg-video-overlay video { object-fit: cover; width: 100%; height: 100%; display: block; }
.overlay-info { z-index: 5; width: 100%; max-width: 20vw; position: relative; transform: translateY(24px); transition: transform .5s ease; }
.project-thumb:hover .overlay-info,
.project-thumb:focus-visible .overlay-info { transform: none; }
.overlay-heading { margin-bottom: 4px; font-size: 24px; line-height: 1.25; }
.video, .image-2 { display: none; }
.video { position: relative; width: 100%; padding-top: 56.17%; }
.video iframe, .video a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video a img { width: 100%; height: 100%; object-fit: cover; }

#thumb-sport { grid-area: 1 / 3 / 2 / 13; }
#thumb-institutional { grid-area: 2 / 3 / 3 / 9; align-self: stretch; }
#thumb-social { grid-area: 2 / 9 / 4 / 13; align-self: stretch; }
#thumb-travel { grid-area: 3 / 3 / 4 / 9; align-self: stretch; }
#thumb-photo { grid-area: 4 / 3 / 5 / 7; }
#thumb-realestate { grid-area: 4 / 7 / 5 / 13; align-self: stretch; }
#thumb-music { grid-area: 5 / 3 / 6 / 13; }

/* ---------- Clientes ---------- */
.carousel-cont { justify-content: flex-start; padding: 20px 5%; display: flex; overflow: hidden; }
.logo-cont { flex: 1; justify-content: space-between; align-items: center; min-width: 100%; padding-top: 30px; padding-bottom: 30px; display: flex; }
.image-3 { height: 60px; object-fit: contain; }

/* ---------- Sobre ---------- */
.testimonial-image-left { border-bottom: 1px solid #e4ebf3; padding: 60px 30px 60px 251px; position: relative; }
.container { width: 100%; max-width: 940px; margin-left: auto; margin-right: auto; }
.testimonial-wrapper-four { justify-content: space-between; display: flex; }
.testimonial-left { width: 30%; margin-right: 64px; }
.testimonial-image-four { object-fit: cover; width: 100%; height: 100%; }
.testimonial-right { flex-direction: column; flex: 1; align-items: flex-start; display: flex; }
.testimonial-text-four { margin-bottom: 32px; }
.testimonial-author-name-three { margin-bottom: 10px; }

/* ---------- Rodapé ---------- */
.section.footer-black {
  z-index: 5;
  background-color: var(--black);
  color: var(--white);
  padding-top: 6vw;
  padding-bottom: 6vw;
  font-family: "Golos UI", "Golos Text", sans-serif;
  position: relative;
}
.footer-heading-wrapper { padding-bottom: 6vw; }
.footer-large-heading {
  letter-spacing: -.02em;
  width: 100%;
  max-width: 50vw;
  font-family: "Adapta", "Golos Text", sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
}
.footer-info-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-column-gap: 6vw;
  grid-row-gap: 6vw;
  border-top: 1px solid var(--border-white);
  grid-template-rows: auto;
  grid-template-columns: 2fr 1fr minmax(max-content, 1fr);
  width: 100%;
  margin-top: 6vw;
  padding-top: 6vw;
}
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; color: var(--white); }
.footer-logo .brand-mark { width: 58px; height: 58px; font-size: 30px; }
.footer-logo .brand-word { font-size: 22px; }
.caption-margin-bottom { opacity: .5; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 32px; font-size: 70%; font-weight: 500; }
.vertical-list { display: grid; grid-auto-columns: 1fr; grid-column-gap: 0px; grid-row-gap: 8px; grid-template-rows: auto; grid-template-columns: 1fr; }
.footer-link { color: var(--white); position: relative; overflow: hidden; max-width: 100%; display: inline-block; justify-self: start; }
.hover-line {
  z-index: 5;
  background-color: var(--white);
  opacity: .6;
  width: 100%;
  height: 1px;
  position: absolute;
  inset: auto 0% 0%;
  transform: translateX(-102%);
  transition: transform .4s ease;
}
.footer-link:hover .hover-line, .footer-link:focus-visible .hover-line { transform: none; }
.form-block { margin: 0 0 15px; }
.form { display: flex; }
.text-field {
  display: block;
  width: 100%;
  border-style: none none solid;
  border-width: 1px;
  border-color: black black var(--border-white);
  border-radius: 0;
  color: var(--white);
  background-color: #0000;
  height: 64px;
  margin-bottom: 0;
  padding: 8px 0;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.42857;
  transition: border .4s;
  -webkit-appearance: none;
  appearance: none;
}
.text-field::placeholder { color: #999; }
.text-field:hover, .text-field:focus { border-bottom-color: var(--white); outline: 0; }
.submit-button {
  flex: none;
  border: 0;
  border-bottom: 1px solid var(--border-white);
  border-radius: 0;
  background-color: #0000;
  color: var(--white);
  width: 64px;
  height: 64px;
  padding: 9px 15px;
  line-height: inherit;
  cursor: pointer;
  transition: padding .4s;
  -webkit-appearance: none;
  appearance: none;
}
.submit-button:hover { padding-left: 30px; padding-right: 0; }
.form-done { display: none; padding: 20px; text-align: center; background-color: #ddd; color: var(--black); }
.form-fail { display: none; margin-top: 10px; padding: 10px; background-color: #ffdede; color: var(--black); }
.footer-copyright-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-column-gap: 6vw;
  grid-row-gap: 6vw;
  opacity: .5;
  letter-spacing: .1em;
  text-transform: uppercase;
  grid-template-rows: auto;
  grid-template-columns: 2fr 1fr 1fr;
  width: 100%;
  padding-top: 6vw;
  font-size: 70%;
  font-weight: 400;
}
.footer-copyright-grid > div { grid-column: span 2; }

/* ---------- Lightbox ---------- */
.lightbox {
  z-index: 2000;
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  background-color: rgba(0, 0, 0, .9);
  color: #fff;
  font-family: "Golos Text", sans-serif;
}
.lightbox.is-open { display: flex; }
.lightbox [hidden] { display: none !important; }
.lightbox-stage { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: center; padding: 64px 9vw 16px; }
.lightbox-frame { max-width: 100%; max-height: 100%; display: flex; justify-content: center; align-items: center; }
.lightbox-frame img { max-width: 100%; max-height: calc(100vh - 64px - 16px - var(--strip-h, 0px)); width: auto; height: auto; display: block; }
.lightbox-frame iframe { display: block; border: 0; background: #000; }
.lightbox-btn {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  opacity: .8;
  cursor: pointer;
  transition: opacity .3s;
}
.lightbox-btn:hover, .lightbox-btn:focus-visible { opacity: 1; }
.lightbox-btn svg { width: 28px; height: 28px; display: block; }
.lightbox-close { top: 0; right: 0; width: 64px; height: 64px; }
.lightbox-prev, .lightbox-next { top: 64px; bottom: var(--strip-h, 0px); width: 9vw; min-width: 44px; }
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
.lightbox-count { position: absolute; top: 0; left: 0; height: 64px; padding: 0 24px; display: flex; align-items: center; opacity: .6; font-size: 13px; letter-spacing: .1em; }
.lightbox-yt { position: absolute; top: 0; right: 64px; height: 64px; padding: 0 12px; display: flex; align-items: center; color: #fff; opacity: .6; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: opacity .3s; }
.lightbox-yt:hover, .lightbox-yt:focus-visible { opacity: 1; }
.lightbox-fallback { position: relative; display: block; width: min(100%, 960px); color: #fff; background: #000; }
.lightbox-fallback img { width: 100%; opacity: .55; display: block; }
.lightbox-fallback span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 24px; border-radius: 100px; background: #fff; color: #090909; font-weight: 700; white-space: nowrap; }
.lightbox-strip { flex: none; display: flex; justify-content: center; gap: 4px; padding: 8px 16px 16px; overflow-x: auto; white-space: nowrap; }
.lightbox-strip:empty { display: none; }
.lightbox-strip button { flex: none; width: 96px; height: 64px; padding: 0; border: 0; background: #111; opacity: .4; cursor: pointer; transition: opacity .3s; overflow: hidden; }
.lightbox-strip button:hover, .lightbox-strip button.is-active { opacity: 1; }
.lightbox-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.lightbox-open { overflow: hidden; }

/* ---------- >= 1440px ---------- */
@media screen and (min-width: 1440px) {
  h2 { margin-bottom: 1.11vw; font-size: 2.22vw; }
  h3 { margin-bottom: .55vw; font-size: 1.66vw; }
  p { margin-bottom: 1.11vw; }
  body { font-size: 1.11vw; }
  .section { padding-left: 16vw; padding-right: 16vw; }
  .projects-grid { grid-column-gap: .555vw; grid-row-gap: .555vw; }
  .overlay-heading { font-size: 1.66vw; }
  .caption-margin-bottom { margin-bottom: 2.22vw; }
  .footer-large-heading { font-size: 5.5vw; }
  .footer-info-grid, .footer-copyright-grid { grid-column-gap: 2.22vw; grid-row-gap: 2.22vw; }
  .vertical-list { grid-row-gap: .55vw; }
  .hover-line { height: .07vw; }
  .text-field { height: 4.44vw; font-size: 1.11vw; }
  .submit-button { width: 4.44vw; height: 4.44vw; }
  .footer-logo { margin-bottom: 2.22vw; }
  .navbar { padding-left: 16vw; padding-right: 16vw; }
  .social-link { width: 3.33vw; height: 3.33vw; padding: 1.11vw; }
}

/* ---------- <= 991px ---------- */
@media screen and (max-width: 991px) {
  .projects-grid { margin-top: 2px; }
  .thumb-overlay { background-color: #1b1b1b80; opacity: 1; visibility: visible; transition: none; }
  .bg-video-overlay { display: none; }
  .overlay-info { max-width: none; padding: 16px; transform: none; transition: none; }
  .overlay-heading { font-size: 20px; }
  .overlay-subheading { display: none; }
  .footer-large-heading { max-width: none; }
  .hover-line { display: none; }
  .submit-button:hover { padding-left: 15px; padding-right: 15px; }
  .navbar-container { align-items: center; }
  .menu-button { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--black);
    flex-direction: row;
    padding: 8vw;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu-container { flex-wrap: wrap; justify-content: center; align-items: center; display: flex; }
  .social-link { background-color: var(--border-white); margin: 16px; }
  .social-link:hover { background-color: var(--border-white); }
  .container { max-width: 728px; }
  .testimonial-left { width: 40%; margin-right: 40px; }
}

/* logo um pouco menor para caber na coluna livre à esquerda da grade */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .navbar .brand { gap: 8px; }
  .navbar .brand-mark { width: 42px; height: 42px; font-size: 22px; }
  .navbar .brand-word { font-size: 15px; letter-spacing: .38em; }
}

/* ---------- <= 767px ---------- */
@media screen and (max-width: 767px) {
  .section.footer-black { padding-top: 12vw; }
  .projects-grid { grid-template-columns: 1fr; margin-top: 18px; }
  #thumb-sport, #thumb-institutional, #thumb-social, #thumb-travel, #thumb-photo, #thumb-realestate, #thumb-music { grid-area: span 1 / span 1 / span 1 / span 1; }
  .overlay-subheading { display: block; }
  .caption-margin-bottom { margin-bottom: 3vw; }
  .footer-large-heading { letter-spacing: -.01em; font-size: 10vw; }
  .footer-info-grid { grid-row-gap: 6vw; grid-template-columns: 1fr; }
  .footer-copyright-grid { grid-row-gap: 6vw; grid-template-columns: 1fr; padding-top: 12vw; }
  .footer-copyright-grid > div { grid-column: span 1; }
  .menu-button { width: 76px; height: 76px; }
  .menu-button .icon, .menu-button .icon::before, .menu-button .icon::after { width: 34px; height: 3px; }
  .menu-button .icon::before { top: -11px; }
  .menu-button .icon::after { top: 11px; }
  .testimonial-image-left { padding: 60px 15px; }
  .testimonial-wrapper-four { flex-direction: column; }
  .testimonial-left { width: 100%; margin-bottom: 40px; margin-right: 0; }
  .testimonial-image-four { height: auto; }
  .logo-cont { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; justify-items: center; align-items: center; }
  .image-3 { width: 100%; max-width: 120px; height: 44px; }
}

/* ---------- <= 479px ---------- */
@media screen and (max-width: 479px) {
  .section { display: block; }
  .projects-grid { margin-top: 28px; display: inline-block; }
  .image-cover { height: auto; display: inline-block; }
  .thumb-overlay {
    background-color: var(--border-white);
    color: var(--black);
    height: auto;
    padding: 7px 16px 0;
    font-family: "Golos Text", sans-serif;
    position: relative;
  }
  .testimonial-image-left { padding-top: 10px; }
  .container { max-width: none; }
  .video, .image-2 { display: inline-block; }
  .brand-word { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .thumb-overlay, .overlay-info, .hover-line, .social-link, .submit-button { transition: none; }
}
