:root{
  --bg: #050505;
  --bg2: #070707;
  --text: #f1f1f1;
  --muted: rgba(255,255,255,.75);
  --yellow: #f1c40f;
}

*{ box-sizing:border-box; }
html, body{
  margin:0; padding:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

a{ color: inherit; text-decoration:none; }
a:hover{ opacity:.92; }

.top-nav{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.top-nav *{ pointer-events:auto; }

.top-nav-inner{
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 14px 22px;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
  letter-spacing:.02em;
}
.brand-mark{
  width:50px; height:50px;
  border:1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  display:grid; place-items:center;
  font-weight:700;
}
.brand-logo{
  width:auto;
  height:50px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.menu{
  display:flex;
  gap:22px;
  font-size:14px;
  opacity:.95;
}
.menu a{ padding: 8px 6px; }

.social{
  display:flex;
  gap:12px;
  font-size:14px;
  opacity:.95;
}
.social a{
  width:38px; height:38px;
  border:1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  display:grid; place-items:center;
}

/* Mobile menu */
.menu-toggle{
  display:none;
  width:42px;
  height:42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
  color: var(--text);
  place-items: center;
  cursor: pointer;
}

.mobile-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 60;
}
.mobile-drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100svh;
  width: min(86vw, 360px);
  background: rgba(0,0,0,.92);
  border-left: 1px solid rgba(255,255,255,.10);
  transform: translateX(105%);
  transition: transform .22s ease;
  z-index: 70;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 18px;
}
.mobile-drawer-top{
  display:flex;
  justify-content:flex-end;
}
.mobile-close{
  width:42px;
  height:42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.mobile-menu{
  display:flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 6px;
}
.mobile-menu a{
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
}
.mobile-menu a.active{
  border-color: rgba(241,196,15,.45);
  color: var(--yellow);
}
.mobile-menu a:hover{ background: rgba(255,255,255,.06); }

.mobile-menu-footer{
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.mobile-social{
  display:flex;
  gap: 10px;
  justify-content: flex-start;
}
.mobile-social a{
  width:38px; height:38px;
  border:1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  display:grid; place-items:center;
}

body.mobile-menu-open{ overflow: hidden; }
.mobile-backdrop.open{ opacity: 1; pointer-events: auto; }
.mobile-drawer.open{ transform: translateX(0); }

/* HERO (horizontal) */
.hero{
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-scroller{
  height:100vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  display:flex;
}
.hero-scroller::-webkit-scrollbar{ width:0; height:0; }

.hero-slide{
  width:100vw;
  height:100vh;
  flex: 0 0 100vw;
  scroll-snap-align: start;
  position: relative;
  background: #000;
}

.hero-video{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.01);
}

.hero-overlay{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  text-align:center;
  padding: 24px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.20) 0%, rgba(0,0,0,.58) 72%, rgba(0,0,0,.82) 100%);
}
.hero-overlay-inner{
  transform: translateY(0);
}
.hero-overlay-top{
  font-size: 12px;
  opacity:.72;
  letter-spacing:.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-overlay-title{
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 700;
  letter-spacing:.02em;
  text-transform: lowercase;
  opacity:.95;
}

.hero-progress{
  position:absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:14px;
  font-weight:600;
  font-size:14px;
  z-index: 10;
  opacity:.9;
}
.hero-dot{
  width:24px;
  text-align:right;
  opacity:.55;
}
.hero-dot.active{ opacity:1; color: var(--yellow); }

.hero-fade-bottom{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(5,5,5,0), rgba(5,5,5,1));
  z-index: 5;
}

/* SECTIONS */
.section{
  position: relative;
  padding: 110px 22px;
  background: var(--bg);
}
.section-inner{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

.section-title{
  margin:0 0 18px;
  text-align:center;
  color: var(--yellow);
  letter-spacing:.06em;
  font-weight: 700;
}

.section-overlay{
  /* seção "sobe" por cima do hero */
  margin-top: -70px;
  padding-top: 150px;
  backdrop-filter: blur(10px);
}

/* ABOUT */
.about-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}
.about-text{
  text-align: left;
  line-height: 1.85;
  color: rgba(255,255,255,.86);
  font-size: 15px;
}
.about-photo img{
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
}
@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-photo{ order: -1; }
}
.section-overlay::before{
  content:"";
  position:absolute;
  top:-190px; left:0; right:0;
  height: 210px;
  background: linear-gradient(to bottom, rgba(5,5,5,0), rgba(5,5,5,1));
}

.about-text{
  text-align:center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  font-weight: 300;
  font-size: 15px;
}

/* SHOWREEL */
.showreel{
  padding: 0;
}
.showreel-inner{
  height: 420px;
  position: relative;
  background: #000;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.showreel-video{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.02);
}
.showreel-overlay{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  text-align:center;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.10) 0%, rgba(0,0,0,.65) 78%, rgba(0,0,0,.85) 100%);
}
.showreel-title{
  margin:0;
  font-weight:800;
  letter-spacing:.08em;
  text-transform: uppercase;
}
.showreel-sub{
  margin: 10px 0 0;
  opacity:.78;
}
.showreel-empty{
  height:100%;
  display:grid;
  place-items:center;
  text-align:center;
  color: rgba(255,255,255,.75);
}

/* CLIENTS */
.clients{
  overflow: visible;
}
.clients-marquee{
  position: relative;
  overflow-x: hidden;  /* only hide horizontal overflow for the loop */
  overflow-y: visible;
  padding: 26px 0;
  /* give breathing room so logos never get clipped */
}
.clients-track{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 60px; /* spacious */
  width: max-content;
  padding: 0 120px; /* ensures first/last logos are always fully visible */
  will-change: transform;
  animation: clientsMarquee 26s linear infinite;
}
.clients-marquee:hover .clients-track{
  animation-play-state: paused;
}
@keyframes clientsMarquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* because we render 2 copies */
}
.client-logo-wrap{
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 10px 0; /* vertical safe area */
}
.client-logo{
  flex: 0 0 auto;
  height: clamp(44px, 5vw, 72px);
  width: auto;
  max-width: clamp(140px, 18vw, 220px);
  object-fit: contain;
  display: block;
  filter: grayscale(1) contrast(1.1);
  opacity: .95;
}
.clients-empty{ color: rgba(255,255,255,.6); }

/* WORKS (vídeos) */
.works{
  padding-top: 70px;
}
.works-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.works-item{
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 0;
  overflow:hidden;
  background: #000;
  border: 0;
}
.works-video{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.02);
}
.works-item:hover .works-video{
  transform: scale(1.04);
}
.works-item-overlay{
  position:absolute;
  left:10px; bottom:10px;
  font-size: 12px;
  background: rgba(0,0,0,.45);
  padding: 6px 10px;
  border-radius: 999px;
  opacity:.9;
}
.works-empty{ color: rgba(255,255,255,.6); text-align:center; grid-column: 1 / -1; padding: 20px 0; }

/* INSTAGRAM (só fotos, quadradas, coladas) */
.instagram{
  padding: 0;
}
.instagram-wrap{
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}
.instagram-grid{
  display:grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0;
  background: #000;
}
.ig-photo{
  width:100%;
  height:100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display:block;
}
.ig-empty{
  grid-column: 1 / -1;
  padding: 70px 22px;
  text-align:center;
  color: rgba(255,255,255,.65);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.follow-ig{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--yellow);
  color: #000;
  padding: 14px 20px;
  font-weight: 800;
  border-radius: 12px;
  letter-spacing:.05em;
  font-size: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

/* FOOTER */
.footer{
  padding: 50px 22px 70px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: var(--bg2);
}

/* Logo gigante também no footer */
.footer .brand-logo{ height:50px; }
.footer .brand-mark{ width:50px; height:50px; }
.footer-inner{
  max-width: 1080px;
  margin:0 auto;
  padding: 0 22px;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}
.footer-col h4{
  margin:0 0 10px;
  color: var(--yellow);
  letter-spacing:.08em;
}
.footer-col p{
  margin:0 0 10px;
  color: rgba(255,255,255,.78);
  line-height: 1.45;
}
.footer-social{
  display:flex;
  gap:10px;
  margin-top: 10px;
}
.footer-social a{
  width:38px; height:38px;
  border:1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  display:grid; place-items:center;
}
.copyright{ opacity:.6; font-size: 12px; }

/* Responsive */
@media (max-width: 980px){
  .works-grid{ grid-template-columns: repeat(2, 1fr); }
  .instagram-grid{ grid-template-columns: repeat(6, 1fr); }
  .footer-inner{ grid-template-columns: 1fr; }
  .menu{ display:none; }
  .social{ display:none; }
  .menu-toggle{ display:grid; }
  .clients-row{ gap: 60px; }
}

@media (max-width: 640px){
  .works-grid{ grid-template-columns: 1fr; }
  .instagram-grid{ grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 800;
  letter-spacing:.06em;
  text-transform: uppercase;
}
.btn:hover{ opacity:.95; }
.btn-yellow{
  background: var(--yellow);
  color: #000;
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* About end actions */
.about-end-cta{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.about-end-social{
  display:flex;
  gap: 10px;
}
.about-end-social a{
  width:38px; height:38px;
  border:1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  display:grid; place-items:center;
}


.clients-row::before,
.clients-row::after{
  content:"";
  flex: 0 0 32px;
}

/* =========================
   CLIENTS FIX — NO CUT EVER
   ========================= */

.clients {
  padding: 100px 0;
}

.clients-logos {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;

  display: flex;
  flex-wrap: wrap;        /* QUEBRA LINHA ao invés de cortar */
  justify-content: center;
  align-items: center;

  gap: clamp(40px, 6vw, 120px);

  overflow: visible !important;   /* IMPOSSÍVEL cortar */
}

.clients-logos img {
  height: clamp(40px, 4vw, 70px);
  width: auto;
  max-width: 220px;

  object-fit: contain;
  display: block;
}

