/* ================================================================
   SOBRE.CSS — Página imersiva Trip Visuals Wear
   Depende de: style.css (variáveis CSS base, .neon-btn, .main-header)
   ================================================================ */

/* ── Reset e shell ─────────────────────────────────────────── */
.header-catalog-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.header-catalog-link:hover { opacity: 1; }

/* ================================================================
   HERO
   ================================================================ */
.sobre-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}

/* ── Animated background layers ────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-drift 12s ease-in-out infinite alternate;
  opacity: 0.35;
}
.hero-orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
  top: -120px; left: -120px;
  animation-duration: 14s;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation-duration: 10s;
  animation-delay: -4s;
  opacity: 0.25;
}
.hero-orb-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
  top: 50%; right: 20%;
  animation-duration: 16s;
  animation-delay: -8s;
  opacity: 0.15;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px;
  background-repeat: repeat;
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 229, 255, 0.015) 3px,
    rgba(0, 229, 255, 0.015) 4px
  );
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 0, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 0, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -40px) scale(1.08); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ── Hero content ───────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero-logo-wrap {
  position: relative;
  margin-bottom: 32px;
}

.hero-logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  animation: logo-float 6s ease-in-out infinite;
  box-shadow:
    0 0 0 2px rgba(157, 0, 255, 0.4),
    0 0 30px rgba(157, 0, 255, 0.5),
    0 0 60px rgba(157, 0, 255, 0.2);
}

.hero-logo-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.25);
  animation: ring-pulse 4s ease-in-out infinite;
}
.hero-logo-ring::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(157, 0, 255, 0.15);
  animation: ring-pulse 4s ease-in-out infinite reverse;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.04); }
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 6px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 16px;
}

.hero-manifesto {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 50%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 700px;
  margin-bottom: 48px;
  animation: text-shimmer 6s ease-in-out infinite alternate;
}

@keyframes text-shimmer {
  0%   { filter: brightness(1); }
  100% { filter: brightness(1.2); }
}

.hero-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ================================================================
   SEÇÕES COMUNS
   ================================================================ */
.sobre-pilares,
.sobre-historia,
.sobre-missao,
.sobre-cta {
  padding: 80px 24px;
}

.section-label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
}

.label-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(0,229,255,0.3), transparent);
}

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   PILARES
   ================================================================ */
.sobre-pilares {
  background: var(--bg-dark);
  position: relative;
}
.sobre-pilares::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(157,0,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.pilares-inner {
  max-width: 960px;
  margin: 0 auto;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pilar-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.pilar-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(157,0,255,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.pilar-card:hover {
  border-color: rgba(0, 229, 255, 0.25);
  background: rgba(0, 229, 255, 0.03);
  transform: translateY(-4px);
}
.pilar-card:hover::before { opacity: 1; }

.pilar-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,229,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(0,229,255,0.15);
  transition: background 0.3s, box-shadow 0.3s;
}
.pilar-card:hover .pilar-icon {
  background: rgba(0,229,255,0.08);
  box-shadow: 0 0 20px rgba(0,229,255,0.2);
}
.pilar-icon svg {
  width: 24px;
  height: 24px;
}

.pilar-titulo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 10px;
}

.pilar-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================================================
   HISTÓRIA
   ================================================================ */
.sobre-historia {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #080810 50%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.historia-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.historia-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
  white-space: pre-line;
}
.historia-text:empty::before {
  content: "Adicione a história da loja no painel administrativo.";
  color: var(--text-muted);
  font-style: italic;
}

.historia-deco {
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;
}

.deco-line {
  position: absolute;
  right: 0;
  width: 1px;
}
.deco-line-1 {
  top: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(157,0,255,0.3));
}
.deco-line-2 {
  bottom: 0;
  height: 50%;
  background: linear-gradient(to top, transparent, rgba(0,229,255,0.3));
}

/* ================================================================
   MISSÃO
   ================================================================ */
.sobre-missao {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.sobre-missao::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(157,0,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.missao-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.missao-mark {
  font-family: 'Georgia', serif;
  font-size: 8rem;
  line-height: 0.6;
  color: var(--neon-purple);
  opacity: 0.2;
  display: block;
  margin-bottom: 8px;
  user-select: none;
}

.missao-quote {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0 0 32px;
  quotes: none;
}
.missao-quote:empty::before {
  content: "Nossa missão é criar peças que contam histórias.";
  opacity: 0.5;
}

.missao-rule {
  width: 80px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  border-radius: 2px;
}

/* ================================================================
   CTA
   ================================================================ */
.sobre-cta {
  text-align: center;
  background: var(--bg-dark);
}

.cta-inner {
  max-width: 480px;
  margin: 0 auto;
}

.cta-heading {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.cta-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.cta-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.sobre-footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid rgba(0,229,255,0.05);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 600px) {
  .sobre-hero { padding: 100px 20px 48px; }
  .hero-logo  { width: 100px; height: 100px; }
  .hero-orb-1 { width: 300px; height: 300px; }
  .hero-orb-2 { width: 220px; height: 220px; }
  .hero-orb-3 { display: none; }
  .sobre-pilares,
  .sobre-historia,
  .sobre-missao,
  .sobre-cta  { padding: 60px 20px; }
  .missao-mark { font-size: 5rem; }
  .pilares-grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-logo,
  .hero-logo-ring,
  .scroll-line,
  .hero-logo-ring::before { animation: none !important; }
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
  .pilar-card:hover { transform: none; }
}
