/* ==========================================================================
   RM IPHONES — DESIGN SYSTEM & HERO CINEMATOGRÁFICO
   Padrão Venoy Studio & Tec2D • Dark Obsidian & Apple Titanium
   ========================================================================== */

:root {
  --bg-primary: #060709;
  --bg-secondary: #080808;
  --bg-card: #101217;
  --bg-card-hover: #151820;
  --bg-glass: rgba(8, 8, 8, 0.85);
  --bg-input: #12141a;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(255, 255, 255, 0.35);
  --border-highlight: rgba(212, 175, 55, 0.45);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #6e7681;
  --text-light: #ffffff;

  --accent-titanium: #d4af37;
  --accent-titanium-hover: #ffd977;
  --accent-blue: #2997ff;
  --accent-green: #34c759;
  --accent-green-glow: rgba(52, 199, 89, 0.25);
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd5b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-card: 0 12px 30px -10px rgba(0, 0, 0, 0.65);
  --shadow-hover: 0 20px 45px -10px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.06);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Inter", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-fast);
}

img, video {
  max-width: 100%;
  display: block;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  outline: none;
  transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

/* TYPOGRAPHY */
.badge-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.section-tag {
  color: var(--accent-titanium);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-titanium);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.8rem;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #e5e5ea;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #1ebd5b 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   HEADER & NAVBAR GLASSMORPHISM
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  margin-top: 3px;
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-titanium);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--accent-green);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.25);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 199, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: currentColor;
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO CINEMATOGRÁFICO SCROLL-DRIVEN (EXCLUSIVO PADRÃO TEC2D)
   ========================================================================== */
.t2d-cine {
  --cine-stage: #080808;
  --cine-ink: #f5f5f7;
  --cine-muted: #85858b;
  --cine-faint: #56565e;
  --cine-accent: #e5c378; /* Titânio Dourado Apple de Alto Luxo */
  --cine-rail: rgba(255, 255, 255, 0.14);
  --cine-progress: 0;
  --cine-veil: 0;
  position: relative;
  height: 440svh;
  background: var(--cine-stage);
}

.t2d-cine-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  max-height: 100svh;
  width: 100%;
  overflow: hidden;
  background: var(--cine-stage);
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  align-items: center;
  isolation: isolate;
  padding-top: 80px;
  box-sizing: border-box;
}

.t2d-cine-frame {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  height: 100%;
  max-height: 100svh;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t2d-cine-video,
.t2d-cine-fallback {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100svh;
  object-fit: contain;
  object-position: center bottom;
  background: var(--cine-stage);
}

.t2d-cine-fallback {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.t2d-cine[data-mode="static"] .t2d-cine-fallback {
  opacity: 1;
}

.t2d-cine[data-mode="static"] .t2d-cine-video {
  visibility: hidden;
}

.t2d-cine-video {
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.t2d-cine-copy {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 3;
  padding: 0 1.5rem 0 clamp(1.5rem, 5vw, 5rem);
  min-width: 0;
}

.t2d-cine-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cine-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.t2d-cine-kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--cine-accent);
  flex: none;
}

.t2d-cine-lines {
  display: grid;
  margin-top: 1.35rem;
}

.t2d-cine-line {
  grid-area: 1 / 1;
  margin: 0;
  align-self: center;
  color: var(--cine-ink);
  font-size: clamp(1.75rem, 2.85vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  will-change: opacity, transform;
}

.t2d-cine-line em {
  font-style: normal;
  color: var(--cine-accent);
}

.t2d-cine-stop {
  color: var(--cine-ink);
}

.t2d-cine-support {
  margin-top: 1.4rem;
  max-width: 30ch;
  color: var(--cine-muted);
  font-size: 15px;
  line-height: 1.55;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  will-change: opacity, transform;
}

.t2d-cine-rail {
  position: relative;
  margin-top: 2.6rem;
  width: min(13rem, 60%);
  height: 1px;
  background: var(--cine-rail);
  overflow: hidden;
}

.t2d-cine-rail i {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  background: var(--cine-accent);
  transform: scaleX(var(--cine-progress));
  transform-origin: left center;
}

.t2d-cine-status {
  margin-top: 0.9rem;
  color: var(--cine-faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 1rem;
}

.t2d-cine-status.is-ready {
  opacity: 0;
}

.t2d-cine-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3.5vh, 2.25rem);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  color: var(--cine-faint);
}

.t2d-cine-cue span {
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  animation: t2dCineCue 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes t2dCineCue {
  0%, 100% {
    transform: scaleX(0.35);
    opacity: 0.35;
    transform-origin: left center;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
    transform-origin: left center;
  }
}

.t2d-cine-veil {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  background: #080808;
  opacity: var(--cine-veil);
  pointer-events: none;
  will-change: opacity;
  transform: translateZ(0);
}

.home-content-after-cinema {
  position: relative;
  z-index: 7;
  width: 100%;
  min-width: 0;
  margin-top: -24svh;
  overflow-x: clip;
}

@media (max-width: 720px) {
  .home-content-after-cinema {
    margin-top: -14svh;
  }
}

/* RESPONSIVIDADE DO CINE HERO (PADRÃO TEC2D) */
@media (max-width: 1023px) and (min-aspect-ratio: 1 / 1) {
  .t2d-cine-stage {
    grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  }
}

@media (max-width: 767px), (max-aspect-ratio: 1 / 1) {
  .t2d-cine {
    height: 380svh;
  }
  .t2d-cine-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: start;
  }
  .t2d-cine-copy {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 100vw;
    padding: 5rem clamp(1.35rem, 4vw, 3rem) 0;
    overflow: hidden;
  }
  .t2d-cine-lines {
    margin-top: 1rem;
  }
  .t2d-cine-line {
    font-size: clamp(1.75rem, 8.6vw, 2.6rem);
    max-width: 100%;
  }
  .t2d-cine-line em {
    display: block;
  }
  .t2d-cine-support {
    margin-top: 0.9rem;
    max-width: 31ch;
    font-size: 14px;
  }
  .t2d-cine-rail {
    margin-top: 1.5rem;
    width: 8rem;
  }
  .t2d-cine-status {
    margin-top: 0.7rem;
  }
  .t2d-cine-frame {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    height: auto;
    width: 100%;
    aspect-ratio: 9 / 8;
    max-height: 52svh;
    margin-bottom: 2rem;
    overflow: hidden;
  }
  .t2d-cine-video,
  .t2d-cine-fallback {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center bottom;
    object-position: center bottom;
  }
}

@media (max-height: 560px) and (min-aspect-ratio: 1 / 1) {
  .t2d-cine-stage {
    grid-template-columns: minmax(0, 28%) minmax(0, 72%);
  }
  .t2d-cine-line {
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  }
  .t2d-cine-support {
    display: none;
  }
  .t2d-cine-rail {
    margin-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t2d-cine {
    height: auto;
  }
  .t2d-cine-stage {
    position: relative;
    min-height: 100svh;
    height: auto;
  }
  .t2d-cine-line,
  .t2d-cine-support {
    transform: none !important;
  }
  .t2d-cine-cue span {
    animation: none;
    transform: scaleX(1);
    opacity: 1;
  }
}

/* ==========================================================================
   PILARES DE AUTORIDADE
   ========================================================================== */
.pillars {
  padding: 60px 0 80px;
  position: relative;
  z-index: 6;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 600px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-titanium);
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   CATÁLOGO SECTION
   ========================================================================== */
.catalog-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d0f14 50%, var(--bg-primary) 100%);
  position: relative;
  z-index: 6;
}

.catalog-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .catalog-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.search-and-sort {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 600px) {
  .search-and-sort {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 420px;
}

.search-box input {
  width: 100%;
  padding-left: 44px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.sort-box select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
}

/* TABS DE CATEGORIAS */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.tab-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* PRODUCT CARD */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-media {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: radial-gradient(circle at center, #181d28 0%, #10131b 80%);
  overflow: hidden;
  cursor: pointer;
}

.product-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.product-media img.img-hover {
  opacity: 0;
}

.product-card:hover .product-media img.img-main {
  opacity: 0;
}

.product-card:hover .product-media img.img-hover {
  opacity: 1;
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.battery-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
}

.battery-icon-svg {
  width: 15px;
  height: 15px;
}

.photo-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.status-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.status-tag.lacrado {
  background: rgba(41, 151, 255, 0.15);
  border-color: rgba(41, 151, 255, 0.3);
  color: #70baff;
}

/* PRODUCT BODY */
.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-code {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.meta-chip {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.product-pricing {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.price-pix {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-pix .val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.price-pix .label {
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 700;
}

.price-card {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

/* ==========================================================================
   SIMULADOR DE TROCA (TRADE-IN)
   ========================================================================== */
.trade-section {
  padding: 90px 0;
  background: radial-gradient(circle at 50% 50%, #151821 0%, #080808 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 6;
}

.trade-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px 24px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .trade-card {
    padding: 50px 40px;
  }
}

.trade-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .trade-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
  }
}

.trade-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trade-result {
  background: linear-gradient(145deg, #151822 0%, #0c0e14 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.trade-result-header {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-titanium);
  font-weight: 700;
}

.trade-value-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trade-value-box .val {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.trade-value-box .desc {
  font-size: 0.85rem;
  color: var(--accent-green);
  font-weight: 600;
}

.trade-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.trade-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trade-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-titanium);
}

.trade-step-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* ==========================================================================
   CHECKLIST DE 35 ITENS (PADRÃO TEC2D)
   ========================================================================== */
.checklist-section {
  padding: 90px 0;
  position: relative;
  z-index: 6;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 600px) {
  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .checklist-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.check-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.pillar-header-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-titanium);
}

.pillar-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.check-list li svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   INSTAGRAM & PROVA SOCIAL (+107K SEGUIDORES)
   ========================================================================== */
.social-proof-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0a0b0e 100%);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 6;
}

.insta-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  text-align: center;
}

@media (min-width: 768px) {
  .insta-header-card {
    flex-direction: row;
    text-align: left;
  }
}

.insta-profile-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.insta-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  flex-shrink: 0;
}

.insta-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}

.insta-handle {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.insta-stats {
  display: flex;
  gap: 18px;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.insta-stats strong {
  color: var(--text-primary);
}

/* GALERIA DOS POSTS REAIS DO INSTAGRAM DA RM IPHONES */
.insta-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 600px) {
  .insta-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .insta-gallery {
    grid-template-columns: repeat(6, 1fr);
  }
}

.insta-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #141720;
  border: 1px solid var(--border-subtle);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insta-item:hover img {
  transform: scale(1.08);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: var(--transition-fast);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  position: relative;
  z-index: 6;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-titanium);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 80px 0 30px;
  background: #040507;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.wa-floating-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-card-popup {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  animation: fadeInSlide 0.5s ease;
  transform-origin: bottom right;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #1ebd5b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float-btn:hover {
  transform: scale(1.08);
}

.wa-unread-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff3b30;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

/* ==========================================================================
   MODAL VIP DE DETALHES
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 30px;
}

@media (min-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr 1fr;
    padding: 40px;
  }
}

.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, #1b212f 0%, #10131b 80%);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

.modal-main-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.thumb-btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: #141822;
  border: 1px solid var(--border-subtle);
  padding: 4px;
  flex-shrink: 0;
  cursor: pointer;
}

.thumb-btn.active {
  border-color: var(--accent-titanium);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.modal-specs-list li {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.modal-specs-list li span:last-child {
  color: var(--text-primary);
  font-weight: 600;
}
