/* ═══════════════════════════════════════════════════════
   Make Mídia | Studio
   MOBILE IMERSIVO — CSS Exclusivo para Smartphones
   Não altera nada do desktop. 100% additive.
════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

/* ═══════════════════════════════════════════════════════
   BODY — Cenário por capítulo
════════════════════════════════════════════════════════ */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

body {
  cursor: auto;
}

#cursor, #cursor-ring {
  display: none !important;
}

body[data-chapter="2"]::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(255,255,255,0.018) 47px, rgba(255,255,255,0.018) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(255,255,255,0.018) 47px, rgba(255,255,255,0.018) 48px);
  transition: opacity 0.8s ease;
}

body[data-chapter="6"]::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(183,255,50,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  transition: opacity 0.8s ease;
}

/* ═══════════════════════════════════════════════════════
   LAYOUT GLOBAL MOBILE — Respiro e Margens Elegantes
════════════════════════════════════════════════════════ */
.nav-container {
  padding-inline: 1.5rem !important;
}

.nav-logo-img {
  height: clamp(46px, 12.5vw, 56px) !important;
  max-width: 250px !important;
  width: auto !important;
  object-fit: contain !important;
}

.footer-logo-img {
  height: clamp(46px, 12.5vw, 56px) !important;
  max-width: 250px !important;
  width: auto !important;
  object-fit: contain !important;
}

.section {
  padding-block: clamp(2.75rem, 7.5svh, 4.5rem);
  position: relative;
}

.container {
  padding-inline: 1.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 6.2vw, 2.125rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.875rem;
}

.section-sub {
  font-size: 0.9375rem;
  line-height: 1.68;
  max-width: 95%;
  margin-bottom: 1.75rem;
}

/* ═══════════════════════════════════════════════════════
   HERO MOBILE — Abertura cinematográfica com Respiro
════════════════════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  overflow: hidden;
  padding-inline: 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 0;
  padding-inline: 1.5rem;
  padding-block: 2rem 1.5rem;
  flex: 1;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

.hero-interface { display: none !important; }

.hero-eyebrow {
  font-size: 0.5625rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.hero-headline {
  font-size: clamp(1.25rem, 5.5vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
}

.hero-sub {
  font-size: 0.9375rem;
  max-width: 92%;
  margin-bottom: 1.75rem;
  color: rgba(187,187,187,0.9);
  line-height: 1.68;
}

.hero-actions {
  margin-bottom: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.hero-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.9375rem 1.5rem;
  font-size: 0.9375rem;
  border-radius: 12px;
  box-sizing: border-box;
}

.hero-trust {
  font-size: 0.5rem;
  gap: 0.375rem 0.625rem;
  letter-spacing: 0.05em;
}

/* ── Hero Line Animation ── */
.hero-line {
  position: absolute;
  top: 35%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--lime) 25%,
    var(--lime-bright) 50%,
    var(--lime) 75%,
    transparent 100%
  );
  opacity: 0;
  animation: hero-line-sweep 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
  z-index: 1;
  pointer-events: none;
}

@keyframes hero-line-sweep {
  0%   { opacity: 0; clip-path: inset(0 100% 0 0); }
  15%  { opacity: 1; }
  70%  { opacity: 0.5; clip-path: inset(0 0% 0 0); }
  100% { opacity: 0; clip-path: inset(0 0% 0 0); }
}

/* ── Mobile Phone Frame ── */
.mobile-phone-frame {
  position: relative;
  width: min(210px, 54vw);
  margin: 1.5rem auto 0;
  border-radius: 34px;
  background: var(--graphite);
  border: 1.5px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 0 4px rgba(183,255,50,0.04),
    0 28px 56px rgba(0,0,0,0.85),
    inset 0 1px 0 rgba(255,255,255,0.07);
  transform: perspective(700px) rotateX(10deg);
  transform-origin: bottom center;
  animation:
    phone-enter 1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both,
    phone-float 6s ease-in-out 2.2s infinite;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

@keyframes phone-enter {
  from {
    opacity: 0;
    transform: perspective(700px) rotateX(10deg) translateY(70px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: perspective(700px) rotateX(10deg) translateY(0) scale(1);
  }
}

@keyframes phone-float {
  0%, 100% { transform: perspective(700px) rotateX(10deg) translateY(0); }
  50%       { transform: perspective(700px) rotateX(10deg) translateY(-7px); }
}

.phone-notch {
  width: 72px; height: 20px;
  background: var(--black);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--charcoal);
  padding: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}

.phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.45rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 0.3125rem;
  border-bottom: 1px solid var(--border);
}

.phone-module {
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.4375rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
}

.phone-module:nth-child(2) { animation: module-light 0.45s ease 1.45s both; }
.phone-module:nth-child(3) { animation: module-light 0.45s ease 1.65s both; }
.phone-module:nth-child(4) { animation: module-light 0.45s ease 1.85s both; }

@keyframes module-light {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pm-label {
  font-family: var(--font-display);
  font-size: 0.375rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pm-value {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pm-value--sm {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--silver);
}

.pm-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 10px;
  margin-top: 2px;
}

.pm-bars span {
  display: block;
  width: 2px;
  background: var(--lime);
  border-radius: 1px;
  animation: bar-pulse 1.2s ease-in-out infinite;
}

.pm-bars span:nth-child(1) { height: 4px; animation-delay: 0s; }
.pm-bars span:nth-child(2) { height: 8px; animation-delay: 0.12s; }
.pm-bars span:nth-child(3) { height: 10px; animation-delay: 0.24s; }
.pm-bars span:nth-child(4) { height: 6px; animation-delay: 0.36s; }
.pm-bars span:nth-child(5) { height: 9px; animation-delay: 0.48s; }

.pm-status {
  font-family: var(--font-display);
  font-size: 0.4375rem;
  color: var(--lime);
  font-weight: 600;
}

/* Phone ripple on tap */
.phone-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(183,255,50,0.12);
  transform: scale(0);
  animation: ripple-out 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-out {
  to { transform: scale(5); opacity: 0; }
}

/* Phone tooltip */
.phone-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(17,17,17,0.96);
  border: 1px solid var(--border-lime);
  border-radius: 8px;
  padding: 0.375rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.5625rem;
  color: var(--lime);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
}

.phone-tooltip.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Mobile Scroll Hint ── */
.mobile-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3125rem;
  padding-bottom: calc(env(safe-area-inset-bottom) + 1.25rem);
  padding-top: 1rem;
  z-index: 3;
  opacity: 0;
  animation: fade-up 0.6s ease 2.2s both;
}

.scroll-hint-text {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-hint-icon {
  width: 18px; height: 18px;
  color: var(--lime);
  animation: scroll-bounce 1.5s ease-in-out 2.5s infinite;
}

.scroll-hint-icon svg { width: 100%; height: 100%; display: block; }

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(5px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
   CHAPTER PROGRESS INDICATOR
════════════════════════════════════════════════════════ */
#mobile-chapter-progress {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
}

.mcp-item {
  display: block;
  width: 3px; height: 3px;
  border-radius: 2px;
  background: var(--gray-dark);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0;
}

.mcp-item.active {
  width: 3px; height: 14px;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(183,255,50,0.5);
}

/* ═══════════════════════════════════════════════════════
   FIXED CTA BOTTOM
════════════════════════════════════════════════════════ */
#mobile-cta-fixed {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 0.875rem 1.25rem;
  padding-bottom: calc(0.875rem + env(safe-area-inset-bottom));
  background: rgba(8,8,8,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(183,255,50,0.1);
  z-index: 850;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-cta-fixed.visible {
  transform: translateY(0);
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 52px;
  background: var(--lime);
  color: var(--black);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.2s, transform 0.15s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.mobile-cta-btn:active {
  transform: scale(0.97);
  background: var(--lime-bright);
}

.mobile-cta-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

footer {
  padding-bottom: calc(2rem + 76px);
}

/* ═══════════════════════════════════════════════════════
   SEGMENTS — Carrossel Horizontal (Swipe nativo)
════════════════════════════════════════════════════════ */

/* Hide desktop layout */
.segments-layout { display: none !important; }

/* Mobile carousel wrapper */
.mobile-segments-wrap {
  margin-top: 1rem;
}

.segments-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0.875rem;
  padding-inline: 1.375rem;
  scroll-padding-inline: 1.375rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.5rem;
}

.segments-track::-webkit-scrollbar { display: none; }

.seg-card {
  scroll-snap-align: start;
  min-width: 80vw;
  max-width: 80vw;
  aspect-ratio: 2/3;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  transition: border-color 0.35s;
}

.seg-card.active-card {
  border-color: rgba(183,255,50,0.3);
}

.seg-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.seg-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.97) 0%,
    rgba(8,8,8,0.5) 40%,
    rgba(8,8,8,0.1) 70%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.375rem 1.125rem 1.125rem;
  gap: 0.4375rem;
}

.seg-mini-screen {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  align-self: flex-start;
  background: rgba(8,8,8,0.75);
  border: 1px solid rgba(183,255,50,0.3);
  border-radius: 100px;
  padding: 0.3125rem 0.625rem;
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 0.25rem;
}

.sms-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.seg-card-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.seg-card-desc {
  font-size: 0.8125rem;
  color: rgba(136,136,136,0.9);
  line-height: 1.5;
}

/* Progress dots */
.segments-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 1.375rem;
  margin-top: 1rem;
}

.segments-count {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.06em;
}

.segments-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.seg-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gray-dark);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.seg-dot.active {
  background: var(--lime);
  width: 14px;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════
   SCALE INTRO (Capítulo 2)
════════════════════════════════════════════════════════ */
#scale-intro { background: var(--charcoal); }

#network-svg { max-height: 240px; }

.network-stages {
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.stage-btn {
  font-size: 0.6875rem;
  padding: 0.4375rem 0.875rem;
}

.network-caption { font-size: 0.875rem; }

/* ═══════════════════════════════════════════════════════
   STUDIO STICKY (Capítulo 3)
════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   STUDIO STICKY (Capítulo 3) — Alignment & Layout Fix
════════════════════════════════════════════════════════ */
/* Studio section mobile layout — clean, non-sticky vertical stack */
#studio.studio-section {
  display: flex;
  flex-direction: column;
  min-height: auto;
  padding-block: 3rem 2rem;
  padding-inline: 1.25rem;
  width: 100%;
  box-sizing: border-box;
  gap: 2rem;
}

.studio-panel-col {
  order: 1;
  width: 100%;
  display: block;
  margin-bottom: 1rem;
}

.studio-panel-sticky {
  position: relative;
  top: auto;
  height: auto;
  display: block;
  width: 100%;
}

.si-widget {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-lime);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.studio-steps-col {
  order: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sticky-step {
  min-height: auto;
  padding-block: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sticky-step:last-child {
  border-bottom: none;
}

.si-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
}

.si-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem 0.2rem;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--graphite);
  transition: all 0.25s;
  min-width: 0;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.si-tab [data-lucide], .si-tab svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.si-tab.active {
  color: var(--lime);
  background: var(--charcoal);
}

.si-content {
  padding: 0.875rem;
  min-height: 250px;
  width: 100%;
  box-sizing: border-box;
}

.si-media-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.media-thumb {
  padding: 0.5rem;
  font-size: 0.6rem;
  aspect-ratio: 16/9;
}

.si-playlist {
  gap: 0.375rem;
  width: 100%;
}

.playlist-item {
  padding: 0.5rem;
  gap: 0.5rem;
}

.pi-name { font-size: 0.6875rem; }
.pi-type { font-size: 0.55rem; }
.pi-dur { font-size: 0.625rem; }

.si-footer-bar {
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.75rem;
  text-align: center;
}

.si-btn {
  justify-content: center;
  width: 100%;
  padding: 0.625rem;
  font-size: 0.75rem;
}

.sticky-step {
  min-height: auto;
  padding-block: 1.5rem;
}

/* ═══════════════════════════════════════════════════════
   PRODUCTION (Capítulo 4)
════════════════════════════════════════════════════════ */
#production .production-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.production-types {
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.prod-type {
  font-size: 0.75rem;
  padding: 0.5rem 0.625rem;
  gap: 0.4375rem;
}

.prod-type [data-lucide] { width: 13px; height: 13px; }

/* ═══════════════════════════════════════════════════════
   OPERATION TIMELINE (Capítulo 4)
════════════════════════════════════════════════════════ */
.operation-timeline { padding-left: 0; }

.op-step { grid-template-columns: 42px 1fr; gap: 1rem; }

.op-icon { width: 42px; height: 42px; border-radius: 10px; }

.op-content h4 { font-size: 0.9375rem; }
.op-content p { font-size: 0.8125rem; }

/* ═══════════════════════════════════════════════════════
   OFFLINE (Capítulo 5)
════════════════════════════════════════════════════════ */
#offline .offline-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#offline .offline-animation {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.device-list { gap: 0.5rem; }

.device-item {
  font-size: 0.6875rem;
  padding: 0.4375rem 0.75rem;
}

/* ═══════════════════════════════════════════════════════
   SCALABILITY (Capítulo 6)
════════════════════════════════════════════════════════ */
.scale-stages {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.scale-arrow { display: none; }

.scale-stage {
  width: 100%;
  max-width: 260px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.25rem;
}

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

.scale-screen-grid { gap: 5px; }

.scale-screen-dot { width: 22px; height: 16px; }

/* ═══════════════════════════════════════════════════════
   ECOSYSTEM
════════════════════════════════════════════════════════ */
.ecosystem-blocks {
  flex-direction: column;
  align-items: stretch;
  gap: 1px;
}

.eco-connector { display: none; }

.eco-block {
  border-radius: 0;
  padding: 1.5rem 1.25rem;
  transform: none !important;
}

.eco-block:first-child { border-radius: 14px 14px 0 0; }
.eco-block:last-child  { border-radius: 0 0 14px 14px; }

.eco-block:hover { transform: none; box-shadow: none; }

.ecosystem-note { font-size: 0.9375rem; margin-top: 2rem; }

/* ═══════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════ */
.faq-question {
  font-size: 0.9375rem;
  padding-block: 1.125rem;
  min-height: 44px;
  gap: 1rem;
}

.faq-answer p { font-size: 0.875rem; max-width: 100%; }

/* ═══════════════════════════════════════════════════════
   CTA FINAL
════════════════════════════════════════════════════════ */
.cta-headline {
  font-size: clamp(1.875rem, 8.5vw, 2.75rem);
  letter-spacing: -0.035em;
}

.cta-desc { font-size: 0.9375rem; }

.cta-final-inner > .btn {
  width: 100%;
  justify-content: center;
}

.cta-trust {
  gap: 0.75rem 1.25rem;
  font-size: 0.5625rem;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer-grid {
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: left;
}
.footer-brand {
  align-items: flex-start !important;
  text-align: left !important;
}
.footer-logo {
  align-items: flex-start !important;
  text-align: left !important;
}
.footer-logo-img {
  height: clamp(44px, 12vw, 54px) !important;
  max-width: 240px !important;
  width: auto !important;
  object-fit: contain !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
.footer-nav {
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start !important;
  text-align: left !important;
}
.footer-bottom {
  flex-direction: column;
  gap: 0.875rem;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   TELAS ULTRA-PEQUENAS & DOBRÁVEIS (≤ 360px)
════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .container, .nav-container {
    padding-inline: 1rem !important;
  }
  .nav-logo-img {
    height: 42px !important;
    max-width: 200px !important;
  }
  .footer-logo-img {
    height: 42px !important;
    max-width: 200px !important;
  }
  .section-title {
    font-size: clamp(1.35rem, 7vw, 1.75rem) !important;
  }
  .hero-headline {
    font-size: clamp(1.85rem, 9vw, 2.35rem) !important;
  }
  .seg-card {
    width: calc(100vw - 2rem) !important;
  }
  .production-tag-pill {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.65rem !important;
  }
}

/* Prevenção global de estouro de texto em telas compactas */
h1, h2, h3, h4, p, span, a, button, summary, .production-tag-pill {
  overflow-wrap: break-word;
  word-break: break-word;
}

.btn:active { transform: scale(0.97); }

/* ═══════════════════════════════════════════════════════
   REDUCED MOTION
════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero-line { animation: none !important; opacity: 0; }
  .mobile-scroll-hint { animation: none !important; opacity: 1; }

  .mobile-phone-frame {
    animation: none !important;
    opacity: 1;
    transform: perspective(700px) rotateX(10deg);
  }

  .phone-module {
    animation: none !important;
    opacity: 1;
  }

  .mask-line span {
    animation: none !important;
    transform: translateY(0);
  }

  .reveal-hero {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .pm-bars span { animation: none; }
  .sms-dot { animation: none; }
  .status-dot { animation: none; }

  #mobile-cta-fixed { transition: none; }
  #mobile-chapter-progress .mcp-item { transition: none; }
}

} /* end @media (max-width: 768px) */

/* ── Desktop: hide mobile-only elements ── */
@media (min-width: 769px) {
  .mobile-phone-frame { display: none; }
  .mobile-scroll-hint { display: none; }
  .hero-line { display: none; }
  #mobile-chapter-progress { display: none; }
  #mobile-cta-fixed { display: none; }
  .mobile-segments-wrap { display: none; }
  .segments-track { display: none; }
}
