/* ============================================
   Platinum Creative Hub - Test
   Cores da identidade Platinum
   ============================================ */

:root {
  --color-orange: #FF7A00;
  --color-orange-light: #ff9333;
  --color-orange-dark: #e56b00;
  --color-black: #0a0a0f;
  --color-black-2: #1b1b1b;
  --color-gray: #434343;
  --color-white: #ffffff;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  transition: background 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.1rem;
}

.header__logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.header__logo--mobile {
  display: none;
}

.header__menu-spacer {
  display: none;
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.3s ease;
}

.header__menu-btn.is-active span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-btn.is-active span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

.header__nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.header__nav-list a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.header__nav-list a:hover {
  opacity: 1;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__lang-btn {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  font-size: 0.85rem;
  opacity: 0.8;
  padding: 4px 0;
}

.header__lang-btn.active,
.header__lang-btn:hover {
  opacity: 1;
}

.header__lang-divider {
  opacity: 0.5;
  font-size: 0.8rem;
}

.header__cta {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.header__cta::after {
  content: '★';
  color: var(--color-orange);
  font-size: 0.7rem;
}

.header__cta:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  position: relative;
  padding: 8rem 3rem 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(255, 122, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 70% 30%, rgba(255, 122, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 100% 0%, rgba(10, 10, 15, 0.95) 0%, transparent 40%),
    linear-gradient(135deg, #0a0a0f 0%, #1b1b1b 40%, #0f0f0f 100%);
  z-index: 0;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: 
    radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__intro {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.hero__title-main {
  color: var(--color-white);
}

.hero__title-arrow {
  color: var(--color-orange);
  font-size: 0.8em;
}

.hero__title-accent {
  color: var(--color-orange);
}

.hero__description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero__cta {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 4rem;
}

.hero__cta:hover {
  background: var(--color-orange-light);
  transform: translateY(-2px);
}

/* Stats */
.hero__stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero__stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-orange);
}

.hero__stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 180px;
}

/* Visual / Right side */
.hero__right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
}

.hero__visual-cubes {
  position: absolute;
  inset: 0;
  perspective: 800px;
}

.cube {
  position: absolute;
  border: 2px solid rgba(255, 122, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.12), rgba(255, 122, 0, 0.04));
  border-radius: 4px;
  animation: float 6s ease-in-out infinite;
}

.cube--1 { width: 110px; height: 110px; top: 18%; left: 18%; animation-delay: 0s; }
.cube--2 { width: 85px; height: 85px; top: 42%; right: 12%; animation-delay: -1s; }
.cube--3 { width: 140px; height: 140px; bottom: 22%; left: 28%; animation-delay: -2s; }
.cube--4 { width: 70px; height: 70px; top: 58%; left: 8%; animation-delay: -3s; }
.cube--5 { width: 95px; height: 95px; bottom: 12%; right: 22%; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero__visual-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255, 122, 0, 0.4));
  z-index: 2;
}

/* Social Icons */
.hero__social {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.hero__social-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(20, 20, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 1rem 0.75rem;
}

.hero__social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero__social a:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background: rgba(255, 122, 0, 0.1);
  transform: scale(1.05);
}

/* ----- Contact Section ----- */
.contact {
  padding: 4rem 3rem;
  background: rgba(0, 0, 0, 0.3);
}

.contact__inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.contact__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact__text a {
  color: var(--color-orange);
  text-decoration: none;
}

.contact__text a:hover {
  text-decoration: underline;
}

/* ----- Responsive ----- */

/* Tablet */
@media (max-width: 1024px) {
  .header {
    padding: 0.75rem 1.5rem;
  }

  .header__inner {
    justify-content: space-between;
    position: relative;
  }

  .header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .header__logo--desktop {
    display: none;
  }

  .header__logo--mobile {
    display: block;
  }

  .header__logo-img {
    height: 44px;
  }

  .header__menu-spacer {
    display: block;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    visibility: hidden;
  }

  .header__menu-btn {
    flex-shrink: 0;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(280px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 15, 0.98);
    padding: 5rem 1.5rem 2rem;
    padding-top: max(5rem, env(safe-area-inset-top) + 4rem);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .header__nav.is-open {
    right: 0;
  }

  .header__nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }

  .header__nav.is-open .header__nav-overlay {
    display: block;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .header__nav-list a {
    font-size: 1.1rem;
    display: block;
  }

  .header__menu-btn {
    display: flex;
    z-index: 1001;
  }

  .header__right {
    display: none;
  }

  .hero {
    padding: 5rem 1.5rem 3rem;
    min-height: auto;
    padding-bottom: 2rem;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero__left {
    order: 1;
  }

  .hero__right {
    order: 2;
  }

  .hero__intro {
    font-size: 0.85rem;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
    justify-content: center;
  }

  .hero__description {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .hero__cta {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    padding: 0.9rem 1.75rem;
  }

  .hero__stats {
    justify-content: center;
    gap: 2rem;
  }

  .hero__visual {
    max-width: 320px;
    margin: 0 auto;
  }

  .cube--1 { width: 70px; height: 70px; }
  .cube--2 { width: 55px; height: 55px; }
  .cube--3 { width: 90px; height: 90px; }
  .cube--4 { width: 45px; height: 45px; }
  .cube--5 { width: 60px; height: 60px; }

  .hero__visual-logo {
    width: 50%;
    max-width: 150px;
  }

  .hero__social {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
  }

  .hero__social-box {
    flex-direction: row;
    padding: 0.6rem 0.9rem;
    gap: 0.75rem;
  }

  .hero__social a {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .contact {
    padding: 3rem 1.5rem;
  }

  .contact__title {
    font-size: 1.75rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .header {
    padding: 0.6rem 1rem;
  }

  .header__logo-img {
    height: 38px;
  }

  .header__menu-spacer {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 4.5rem 1rem 2rem;
  }

  .hero__content {
    gap: 2rem;
  }

  .hero__intro {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .hero__description {
    font-size: 0.95rem;
  }

  .hero__cta {
    width: 100%;
    max-width: 320px;
    text-align: center;
    margin-bottom: 2rem;
    padding: 0.85rem 1.5rem;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .hero__stat {
    align-items: center;
  }

  .hero__stat-number {
    font-size: 1.75rem;
  }

  .hero__stat-label {
    text-align: center;
    max-width: 220px;
    font-size: 0.85rem;
  }

  .hero__visual {
    max-width: 260px;
  }

  .cube--1 { width: 55px; height: 55px; }
  .cube--2 { width: 45px; height: 45px; }
  .cube--3 { width: 70px; height: 70px; }
  .cube--4 { width: 35px; height: 35px; }
  .cube--5 { width: 48px; height: 48px; }

  .hero__visual-logo {
    width: 48%;
    max-width: 120px;
  }

  .hero__social-box {
    padding: 0.5rem 0.75rem;
    gap: 0.6rem;
  }

  .hero__social a {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .contact {
    padding: 2.5rem 1rem;
  }

  .contact__title {
    font-size: 1.5rem;
  }

  .contact__text {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .contact__text a {
    display: inline-block;
    word-break: break-word;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .hero__title {
    font-size: 1.6rem;
  }

  .hero__stat-number {
    font-size: 1.5rem;
  }

  .hero__visual {
    max-width: 220px;
  }

  .cube--1 { width: 48px; height: 48px; }
  .cube--2 { width: 38px; height: 38px; }
  .cube--3 { width: 60px; height: 60px; }
  .cube--4 { width: 30px; height: 30px; }
  .cube--5 { width: 40px; height: 40px; }

  .hero__visual-logo {
    max-width: 100px;
  }
}
