/* ==========================================================================
   HOME — estilos específicos
   ========================================================================== */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-bg-shape {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 56vw;
  height: 56vw;
  max-width: 760px;
  max-height: 760px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg-shape::before {
  content: "";
  position: absolute;
  inset: 60px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0 60px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-kicker .line {
  width: 48px;
  height: 1px;
  background: var(--red);
}

.hero-kicker span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gray);
}

.hero h1 {
  font-size: clamp(54px, 10.5vw, 148px);
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--red);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: end;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
}

.hero-stat span {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.02em;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.scroll-cue .track {
  width: 1px;
  height: 46px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.scroll-cue .track::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 16px;
  background: var(--red);
  animation: scrollMove 1.8s infinite var(--ease);
}

@keyframes scrollMove {
  0% { transform: translateY(-16px); }
  100% { transform: translateY(46px); }
}

.scroll-cue span {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* MARQUEE DE CLIENTES */
.client-strip {
  border-bottom: 1px solid var(--line-soft);
  padding: 36px 0;
  overflow: hidden;
}

.client-strip .marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-strip .marquee-item img {
  width: 100px;
  display: flex;
  align-items: center;
  gap: 64px;
}

/* SOBRE TEASER */
.about-teaser {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-teaser {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.about-teaser-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--black-card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.about-teaser-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
}

.about-teaser-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 10, 10, 0.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  padding: 20px 22px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.about-teaser-badge strong {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--red);
  font-weight: 800;
  line-height: 1;
}

.about-teaser-badge span {
  font-size: 13px;
  color: var(--white-soft);
  line-height: 1.3;
}

.about-teaser-body p {
  color: var(--white-soft);
  margin-bottom: 20px;
  font-size: 16.5px;
}

.about-teaser-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0 36px;
}

.about-teaser-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--white-soft);
}

.about-teaser-list li svg {
  flex-shrink: 0;
  color: var(--red);
  margin-top: 3px;
}

/* GRID DE SERVIÇOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--black-deep);
  padding: 40px 32px;
  position: relative;
  transition: background 0.3s var(--ease);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  background: var(--black-card);
}

.service-card .num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gray-dim);
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-size: 26px;
  margin: 20px 0 10px;
  transition: color 0.25s var(--ease);
}

.service-card:hover h3 {
  color: var(--red);
}

.service-card p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.55;
}

.service-card .go {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-soft);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-card:hover .go {
  opacity: 1;
  transform: translateX(0);
  color: var(--red);
}

/* PROCESSO */
.process-list {
  display: flex;
  flex-direction: column;
}

.process-item {
  display: grid;
  grid-template-columns: 120px 1fr 1.2fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line-soft);
}

.process-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

@media (max-width: 760px) {
  .process-item {
    grid-template-columns: 60px 1fr;
  }
  .process-item .process-desc {
    grid-column: 2;
  }
}

.process-item .process-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--line);
  line-height: 1;
  transition: color 0.3s var(--ease);
}

.process-item:hover .process-num {
  color: var(--red);
}

.process-item h3 {
  font-size: 28px;
  align-self: center;
}

.process-item .process-desc {
  color: var(--gray);
  font-size: 15px;
  align-self: center;
  max-width: 480px;
}

/* CASES / GALERIA */
.cases-scroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 1px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.cases-scroll::-webkit-scrollbar {
  display: none;
}

@media (max-width: 900px) {
  .cases-scroll {
    grid-auto-flow: column;
    grid-template-columns: none;
  }
  .cases-scroll .case-card {
    min-width: 78vw;
  }
}

.case-card {
  background: var(--black-deep);
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
  filter: grayscale(0.55) brightness(0.7);
}

.case-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0) brightness(0.85);
}

.case-card .case-info {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.case-card .case-info .tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  font-family: var(--font-display);
}

.case-card .case-info h4 {
  font-size: 22px;
  margin-top: 6px;
}

/* DEPOIMENTOS */
.testimonial-card {
  background: var(--black-card);
  border: 1px solid var(--line);
  padding: 44px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--red);
  line-height: 1;
  opacity: 0.7;
}

.testimonial-card p {
  font-size: 17px;
  color: var(--white-soft);
  margin: 18px 0 28px;
  line-height: 1.55;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.testimonial-author strong {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--gray);
  margin-top: 2px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA FINAL */
.cta-block {
  position: relative;
  padding: 110px 0;
  background: var(--black-card);
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}

.cta-block .truss-grid {
  opacity: 0.5;
}

.cta-block h2 {
  font-size: clamp(38px, 6.5vw, 84px);
  max-width: 900px;
  margin: 0 auto 28px;
}

.cta-block .lead {
  margin: 0 auto 44px;
  text-align: center;
}

.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   HERO COM VÍDEO DE FUNDO
   ========================================================================== */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: grayscale(0.6) contrast(1.1);
}
.hero-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.92) 20%, rgba(10,10,10,0.55) 100%),
              linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 30%);
}
.hero .container { position: relative; z-index: 2; }

/* ==========================================================================
   GALERIA REAL — grid masonry simulado
   ========================================================================== */
.real-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 4px;
}
.real-gallery .g-item {
  overflow: hidden;
  position: relative;
  background: var(--black-card);
}
.real-gallery .g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease), filter 0.4s var(--ease);
  filter: grayscale(0.3) brightness(0.82);
}
.real-gallery .g-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0) brightness(0.9);
}
.real-gallery .g-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-soft);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.real-gallery .g-item:hover .caption {
  opacity: 1;
  transform: translateY(0);
}
/* células grandes */
.real-gallery .g-wide { grid-column: span 2; aspect-ratio: 16/9; }
.real-gallery .g-tall { grid-row: span 2; aspect-ratio: 3/5; }
.real-gallery .g-sq { aspect-ratio: 1/1.13; }
.real-gallery .g-land { aspect-ratio: 4/4.13; }

@media (max-width: 900px) {
  .real-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .real-gallery .g-wide { grid-column: span 2; }
  .real-gallery .g-tall { grid-row: span 1; aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  .real-gallery {
    grid-template-columns: 1fr;
  }
  .real-gallery .g-wide { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ==========================================================================
   VÍDEO EMBED (Drive) na seção institucional
   ========================================================================== */
.video-drive-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--black-card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.video-drive-frame iframe {
  width: 100%; height: 100%; border: 0; display: block;
}
.video-drive-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.55);
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.video-drive-overlay:hover { background: rgba(10,10,10,0.35); }
.video-drive-overlay .play-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease);
}
.video-drive-overlay:hover .play-circle { transform: scale(1.1); }
.video-drive-thumb {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.4) brightness(0.55);
}
.video-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.video-tab {
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line);
  color: var(--gray);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  background: none;
}
.video-tab.active, .video-tab:hover {
  border-color: var(--red); color: var(--white);
  background: var(--red-glow);
}

/* ==========================================================================
   CLIENTES GRID (logos / nomes reais)
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .clients-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }

.client-name-cell {
  background: var(--black-deep);
  padding: 22px 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-dim);
  transition: background 0.2s, color 0.2s;
}
.client-name-cell:hover {
  background: var(--black-card);
  color: var(--white-soft);
}

/* ==========================================================================
   LOGOS DE CLIENTES — imagens no grid
   ========================================================================== */
.clients-grid .client-name-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.clients-grid .client-name-cell img {
  max-width: 110px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}

.clients-grid .client-name-cell:hover img {
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

.clients-grid .client-name-cell span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-dim);
}
