* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000000;
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  color: #e5e5e5;
  cursor: none;
}

/* =========================
   CURSOR PERSONALIZADO
========================= */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(169, 169, 169, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease, height 0.15s ease, border 0.15s ease;
}

/* =========================
   HEADER CENTRALIZADO COM BARRA
========================= */
#main-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: max-content;
  max-width: 92vw;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 100%;
}

.nav-link, 
.nav-link:visited {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffffff !important;
  text-decoration: none !important;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta-btn,
.nav-cta-btn:visited {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-block;
}

.nav-cta-btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

.progress-bar-container {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 6px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #ffffff;
  transition: width 0.1s linear;
}

/* =========================
   PADRONIZAÇÃO GLOBAL DE TÍTULOS (GRADIENTE DE ALTO LUXO)
========================= */
h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.25em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.projects-subtitle,
.results-subtitle,
.contact-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 4rem;
}

/* =========================
   HERO SECTION & CANVAS
========================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 8rem);
  letter-spacing: 0.1em;
}

.slogan {
  margin-top: 16px;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.4em;
  opacity: 0.7;
}

.hint {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
  z-index: 3;
  pointer-events: none;
  padding: 0 1rem;
}

#mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

section {
  min-height: 100vh;
  padding: 120px 8vw;
  background: #000000;
  position: relative;
  z-index: 1;
}

/* =========================
   ESSENCE SECTION
========================= */
.essence-section {
  background: #e4e4e4;
  color: #111111;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.essence-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 4vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.essence-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.essence-text h2 {
  background: linear-gradient(135deg, #111111 0%, #666666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.essence-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 500px;
  opacity: 0.95;
}

.essence-image {
  width: 100%;
  max-height: 500px;
  aspect-ratio: 4 / 5;
  background: #eaeaea;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.essence-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   PROJECTS SECTION
========================= */
.projects-section {
  background: #000000;
  padding: 120px 8vw;
  color: #e5e5e5;
}

.projects-container {
  max-width: 1400px;
  margin: 0 auto;
}

.project-main-list {
  margin-bottom: 6rem;
}

.project-item.main-featured {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: inherit;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item.main-featured:hover {
  padding-left: 1.5rem;
  border-bottom-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.02);
}

.project-item h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  transition: letter-spacing 0.5s ease;
}

.project-item:hover h3 {
  letter-spacing: 0.08em;
}

.project-item .category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.project-item:hover .category {
  opacity: 0.7;
}

.view-project {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  transform: translateX(-15px);
  transition: all 0.4s ease;
}

.project-item:hover .view-project {
  opacity: 0.6;
  transform: translateX(0);
}

.other-projects-header {
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 4rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card-small {
  background: rgba(255, 255, 255, 0.01);
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.project-card-small:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.card-image {
  width: 100%;
  height: 160px;
  background: #0d0d0d;
  margin-bottom: 1.5rem;
  border-radius: 1px;
  opacity: 0.4;
  transition: all 0.5s ease;
  filter: grayscale(100%);
}

.project-card-small:hover .card-image {
  opacity: 1;
  filter: grayscale(0%);
}

.project-card-small h4 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.4s ease;
}

.project-card-small:hover h4 {
  color: #ffffff;
}

.project-card-small p {
  font-size: 0.65rem;
  opacity: 0.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
}

.project-card-small:hover p {
  opacity: 0.7;
}

/* =========================
   SEÇÃO RESULTADOS & PROVA SOCIAL
========================= */
.results-section {
  background: #000000;
  padding: 120px 8vw;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.results-container {
  max-width: 1280px;
  margin: 0 auto;
}

.results-header {
  text-align: left;
  margin-bottom: 2rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.brand-card {
  background: #ffffff;
  border-radius: 20px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.brand-card img {
  max-width: 80%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.testimonial-card:hover {
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #d1d5db;
  font-weight: 300;
  transition: color 0.4s ease;
}

.testimonial-card:hover .testimonial-text {
  color: #111111;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #222222;
  transition: transform 0.4s ease;
}

.testimonial-card:hover .user-avatar {
  transform: scale(1.05);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.4s ease;
}

.testimonial-card:hover .user-name {
  color: #000000;
}

.user-company {
  font-size: 0.85rem;
  color: #888888;
  margin-top: 2px;
  transition: color 0.4s ease;
}

.testimonial-card:hover .user-company {
  color: #555555;
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  background: #000000;
  color: #e5e5e5;
  padding: 140px 8vw;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.contact-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-image img {
  max-width: 380px;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.contact-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  align-items: flex-end;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.contact-item .label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 0.4rem;
}

.contact-item .value {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.contact-item:hover .value {
  opacity: 1;
  color: #ffffff;
  transform: translateX(-5px);
}

/* =========================
   BOTÃO FLUTUANTE WHATSAPP
========================= */
.whatsapp-float-btn,
.whatsapp-float-btn:visited {
  position: fixed !important;
  bottom: 32px !important;
  right: 32px !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  background: rgba(10, 10, 10, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 0.8rem 1rem !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.whatsapp-float-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.4s ease, opacity 0.3s ease;
}

.whatsapp-float-btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  padding: 0.8rem 1.4rem !important;
}

.whatsapp-float-btn:hover .whatsapp-float-text {
  max-width: 160px;
  opacity: 1;
}

.whatsapp-float-btn svg {
  stroke: currentColor !important;
}

/* =========================
   FOOTER
========================= */
.main-footer {
  background: #000000;
  padding: 40px 8vw;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.copyright {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================
   REMOÇÃO DA REVEAL / MÁSCARA EM DISPOSITIVOS MÓVEIS (TOUCH)
========================= */
@media (hover: none) or (pointer: coarse) {
  body {
    cursor: auto !important;
  }

  .custom-cursor,
  #mask,
  .hint {
    display: none !important;
    pointer-events: none !important;
  }
}

/* =========================
   RESPONSIVIDADE (MOBILE & TABLET)
========================= */
@media (max-width: 1024px) {
  section {
    padding: 80px 6vw;
  }

  .essence-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .essence-text {
    align-items: center;
    text-align: center;
  }

  .essence-text p {
    max-width: 100%;
  }

  .essence-image {
    height: 320px;
    order: 2;
  }

  .contact-text {
    align-items: center;
    text-align: center;
    order: 1;
  }

  .contact-image {
    order: 2;
  }

  .contact-image img {
    max-width: 260px;
  }

  .contact-info-list {
    align-items: center;
  }
}

@media (max-width: 768px) {
  /* HEADER ADAPTÁVEL PARA CELULAR (SEM QUEBRAR A LARGURA DA TELA) */
  #main-header {
    top: 12px;
    width: 95vw;
  }

  .nav-center {
    gap: 0.6rem;
    padding: 0.5rem 0.8rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Esconde scrollbar Firefox */
  }

  .nav-center::-webkit-scrollbar {
    display: none; /* Esconde scrollbar Chrome/Safari */
  }

  .nav-link {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.3rem;
  }

  .nav-cta-btn {
    font-size: 0.52rem;
    padding: 0.35rem 0.6rem;
  }

  .project-item.main-featured {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .view-project {
    display: none;
  }

  .whatsapp-float-btn,
  .whatsapp-float-btn:visited {
    bottom: 20px !important;
    right: 20px !important;
  }

  .whatsapp-float-text {
    max-width: 160px;
    opacity: 1;
  }
}

@media (max-width: 580px) {
  .brands-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    height: 100px;
  }

  .testimonial-card {
    padding: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.6rem;
    letter-spacing: 0.2em;
  }

  .contact-item .value {
    font-size: 0.9rem;
  }
}
