/* ========================================
   WILL MAKER - Estilo Moderno P&B
   ======================================== */

:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --gray-900: #1a1a1a;
  --gray-800: #2a2a2a;
  --gray-700: #404040;
  --gray-600: #525252;
  --gray-500: #737373;
  --gray-400: #a3a3a3;
  --gray-300: #d4d4d4;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --accent: #f5f5f5;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: block;
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo .logo-dark {
  display: none;
  /* Logo preta com fundo transparente: sombra leve para destacar */
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.logo .logo-light {
  display: block;
  /* Logo branca com fundo transparente: sombra leve para aparecer em qualquer fundo */
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

.header.scrolled .logo .logo-dark {
  display: block;
}

.header.scrolled .logo .logo-light {
  display: none;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

.header.scrolled .nav a {
  color: var(--gray-800);
}

.nav a:hover {
  opacity: 0.8;
}

.nav a.active {
  font-weight: 600;
  opacity: 1;
}

.btn-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-cta:hover {
  background: var(--gray-200);
  transform: translateY(-1px);
}

.header.scrolled .btn-cta {
  background: var(--black);
  color: var(--white);
}

.header.scrolled .btn-cta:hover {
  background: var(--gray-800);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--black);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255,255,255,0.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255,255,255,0.05), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-tagline {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.hero-title .emoji {
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gray-400);
  margin-top: 0;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 36px;
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gray-200);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-large {
  padding: 20px 48px;
  font-size: 18px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-600), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.5); }
}

/* ========== SECTIONS COMMON ========== */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-600);
}

/* ========== PORTFOLIO ========== */
.portfolio {
  background: var(--gray-100);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.portfolio-item {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--gray-800);
}

.portfolio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.portfolio-item:hover .portfolio-video {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.play-icon {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 8px;
  opacity: 0.9;
}

.portfolio-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
}

.portfolio-cta {
  text-align: center;
  margin-top: 48px;
}

/* Portfolio Preview - tela inicial (4 vídeos) */
.portfolio-preview .portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
}

.portfolio-preview .portfolio-item {
  aspect-ratio: 9/16;
  max-height: 180px;
  border: none;
  border-radius: 0;
  outline: none;
}

.portfolio-preview .portfolio-video {
  object-fit: contain;
  border: none;
  border-radius: 0;
}

.portfolio-preview .portfolio-video-wrapper {
  border: none;
  border-radius: 0;
}

.portfolio-preview .portfolio-item:hover .portfolio-video {
  transform: none;
}

.portfolio-preview .portfolio-overlay {
  opacity: 1;
}

@media (min-width: 768px) {
  .portfolio-preview .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 720px;
  }

  .portfolio-preview .portfolio-item {
    max-height: 220px;
  }
}

.portfolio-preview .portfolio-cta .btn {
  background: var(--black);
  color: var(--white);
}

.portfolio-preview .portfolio-cta .btn:hover {
  background: var(--gray-800);
}

/* Carrossel mobile - setas (visíveis só no mobile via media query) */
.portfolio-preview-prev,
.portfolio-preview-next {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--transition);
}
.portfolio-preview-prev:hover,
.portfolio-preview-next:hover {
  background: rgba(0, 0, 0, 0.75);
}
.portfolio-preview-prev { left: 4px; }
.portfolio-preview-next { right: 4px; }
.portfolio-preview-prev span,
.portfolio-preview-next span { display: block; margin-top: -2px; }

/* ========== PÁGINA TRABALHOS ========== */
.page-trabalhos {
  padding-top: 80px;
}

.page-trabalhos .header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--gray-200);
}

.header-light .logo .logo-dark {
  display: block;
}

.header-light .logo .logo-light {
  display: none;
}

.header-light .nav a {
  color: var(--gray-800);
}

.header-light .btn-cta {
  background: var(--black);
  color: var(--white);
}

.trabalhos-hero {
  padding: 80px 0 60px;
  text-align: center;
}

.trabalhos-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.trabalhos-subtitle {
  font-size: 18px;
  color: var(--gray-600);
}

/* Página Trabalhos - 3 cards (estilo Nossos Serviços) */
.trabalhos-opcoes {
  padding: 0 0 100px;
}

.trabalhos-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.trabalho-opcao-card {
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all var(--transition);
  cursor: pointer;
}

.trabalho-opcao-card:hover {
  border-color: var(--gray-400);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.trabalho-opcao-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  color: var(--black);
}

.trabalho-opcao-icon svg {
  width: 40px;
  height: 40px;
}

.trabalho-opcao-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.trabalho-opcao-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

/* Mini carrossel dentro do card – 1 vídeo por vez, setas e autoplay */
.mini-carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--gray-100);
}

.mini-carousel-viewport {
  width: 100%;
  overflow: hidden;
}

.mini-carousel-track {
  display: flex;
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.mini-carousel-item {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray-800);
}

.mini-carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mini-carousel-prev,
.mini-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), opacity var(--transition);
  z-index: 2;
}

.mini-carousel-prev:hover,
.mini-carousel-next:hover {
  background: rgba(0, 0, 0, 0.75);
}

.mini-carousel-prev {
  left: 8px;
}

.mini-carousel-next {
  right: 8px;
}

.mini-carousel-prev span,
.mini-carousel-next span {
  display: block;
  margin-top: -2px;
}

.trabalho-opcao-ver-tudo {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
  margin-top: 4px;
}

.trabalho-opcao-ver-tudo:hover {
  color: var(--gray-600);
  transform: translateX(6px);
}

/* CTA abaixo dos cards - Nossos Trabalhos */
.trabalhos-opcoes-cta {
  text-align: center;
  padding: 56px 24px 0;
  margin-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.trabalhos-opcoes-cta-texto {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.trabalhos-opcoes-cta-btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 17px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition);
}

.trabalhos-opcoes-cta-btn:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
}

/* Label na frente de cada vídeo */
.portfolio-item-wrap {
  display: flex;
  flex-direction: column;
}

.video-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.trabalho-card-grid .portfolio-item {
  position: relative;
}

.back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--gray-500);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--black);
}

.trabalhos-hero-outros {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.trabalhos-hero-outros-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  background: var(--gray-100);
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.trabalhos-hero-outros-btn:hover {
  background: var(--gray-200);
  border-color: var(--gray-400);
  color: var(--black);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
  font-size: 18px;
}

.trabalhos-cards {
  padding: 0 0 100px;
}

.trabalho-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: box-shadow var(--transition);
}

.trabalho-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.trabalho-card.is-open {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.trabalho-card-header {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.trabalho-card-header:hover {
  background: var(--gray-100);
}

.trabalho-card-preview {
  position: relative;
  width: 160px;
  min-width: 160px;
  aspect-ratio: 9/16;
  background: var(--gray-800);
  overflow: hidden;
}

.trabalho-card-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trabalho-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: var(--white);
  opacity: 0.9;
  pointer-events: none;
}

.trabalho-card-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  gap: 24px;
  position: relative;
}

.trabalho-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--black);
}

.trabalho-card-count {
  font-size: 15px;
  color: var(--gray-500);
}

.trabalho-card-arrow {
  font-size: 24px;
  color: var(--gray-400);
  transition: transform var(--transition);
}

.trabalho-card.is-open .trabalho-card-arrow {
  transform: rotate(180deg);
}

.trabalho-card-content {
  border-top: 1px solid var(--gray-200);
  padding: 32px;
  background: #fafafa;
}

.trabalho-card-content[hidden] {
  display: none !important;
}

.trabalho-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.trabalho-card-grid .portfolio-item {
  aspect-ratio: 9/16;
}

.trabalho-card-grid .portfolio-video {
  object-fit: contain;
}

.trabalho-card-grid .portfolio-item .portfolio-overlay {
  justify-content: center;
  padding: 16px;
}

.trabalho-card-grid .portfolio-item .play-icon {
  margin-bottom: 0;
}

/* ========== SOBRE ========== */
.sobre {
  background: var(--white);
}

.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 48px;
}

.sobre-images {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sobre-img-wrapper {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}

.sobre-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.sobre-img-pair {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.sobre-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.sobre-img-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  border-radius: 8px;
  background: var(--gray-100);
}

.sobre-names {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: var(--black);
  text-align: center;
  margin: 0;
  margin-top: 8px;
  padding: 0;
}

.sobre-names-inner {
  display: inline-block;
  text-align: center;
}

.sobre-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-700);
}

.sobre-text p {
  margin-bottom: 20px;
}

.sobre-text strong {
  color: var(--black);
}

.sobre-location {
  font-weight: 500;
  color: var(--gray-600);
}

.sobre-cta {
  text-align: center;
}

/* ========== SERVIÇOS ========== */
.servicos {
  background: var(--black);
  color: var(--white);
}

.servicos .section-title,
.servicos .section-subtitle {
  color: var(--white);
}

.servicos .section-subtitle {
  color: var(--gray-400);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.servico-card {
  padding: 40px 32px;
  background: var(--gray-900);
  border-radius: 12px;
  border: 1px solid var(--gray-800);
  transition: all var(--transition);
  position: relative;
}

.servico-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.servico-card-link:hover {
  border-color: var(--gray-600);
}

.servico-card-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 20px;
  color: var(--gray-500);
  transition: transform var(--transition);
}

.servico-card-link:hover .servico-card-arrow {
  transform: translateX(4px);
  color: var(--white);
}

.servico-card:hover {
  transform: translateY(-4px);
  border-color: var(--gray-700);
}

.servico-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.servico-icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.servico-icon-svg svg {
  width: 44px;
  height: 44px;
  opacity: 0.95;
}

.servico-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.servico-card p {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.6;
}

.servicos-cta {
  text-align: center;
}

.servicos .btn-primary {
  background: var(--white);
  color: var(--black);
}

.servicos .btn-primary:hover {
  background: var(--gray-200);
}

/* ========== CONTATO ========== */
.contato {
  background: var(--gray-100);
}

.contato-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contato-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: color var(--transition);
}

.contato-link:hover {
  color: var(--gray-600);
}

.contato-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  flex-shrink: 0;
}

.contato-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.contato-link:hover .contato-icon {
  color: var(--gray-700);
}

.contato-location {
  font-size: 18px;
  color: var(--gray-600);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  display: inline-block;
  height: 50px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

.footer-tagline {
  font-size: 16px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 14px;
  color: var(--gray-500);
}

.footer-dev {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 16px;
}

.footer-dev a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-dev a:hover {
  color: var(--white);
}

/* ========== VIDEO MODAL ========== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  width: 100%;
  max-width: min(405px, 90vw);
  position: relative;
  aspect-ratio: 9/16;
}

.video-modal-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  font-size: 32px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: opacity var(--transition);
}

.video-modal-close:hover {
  opacity: 0.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .btn-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  .nav.open a {
    color: var(--black);
  }

  .sobre-content {
    grid-template-columns: 1fr;
  }

  .sobre-images {
    order: 1;
  }

  .sobre-text {
    order: 2;
  }
}

@media (max-width: 600px) {
  section {
    padding: 60px 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* Nossos Trabalhos no mobile: carrossel 2 em 2, setas e autoplay */
  .portfolio-preview .portfolio-preview-grid-wrap {
    position: relative;
    width: 100%;
    padding: 0 40px;
  }

  .portfolio-preview-viewport {
    overflow: hidden;
    width: 100%;
  }

  .portfolio-preview .portfolio-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: unset;
    gap: 0;
    width: 200%;
    max-width: none;
    margin: 0;
    transition: transform 0.35s ease-out;
    will-change: transform;
  }

  .portfolio-preview .portfolio-item {
    flex: 0 0 25%;
    width: 25%;
    max-height: 180px;
    min-width: 0;
  }

  .portfolio-preview .portfolio-video-wrapper {
    background: transparent;
  }

  .portfolio-preview-prev,
  .portfolio-preview-next {
    display: flex;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  /* Trabalhos - card responsivo */
  .trabalho-card-header {
    flex-direction: column;
  }

  .trabalho-card-preview {
    width: 100%;
    min-width: 100%;
  }

  .trabalho-card-info {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .trabalho-card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .trabalho-card-content {
    padding: 20px;
  }

  .trabalho-card-grid {
    grid-template-columns: 1fr;
  }
}
