/* ==========================================================================
   ZZIP DESIGN SYSTEM - MQL 360° FULLSCREEN EDGE-TO-EDGE EXPERIENCE
   Colors: ZZIP Red (#da2819), Dark (#0d0d0d), White (#f7f6f2), Green (#10b981)
   Mobile App Native View Navigation, WebRTC P2P Video Call, Contract Checkout & EMQ
   ========================================================================== */

:root {
  --zzip-red: #da2819;
  --zzip-red-hover: #ff3b29;
  --zzip-red-glow: rgba(218, 40, 25, 0.4);
  --zzip-black: #0d0d0d;
  --zzip-card-bg: #141312;
  --zzip-card-border: rgba(255, 255, 255, 0.1);
  --zzip-gray-text: #a1a1aa;
  --zzip-light: #f7f6f2;
  --zzip-green: #10b981;
  --zzip-green-glow: rgba(16, 185, 129, 0.4);
  
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: -webkit-fill-available;
  background-color: var(--zzip-black);
}

body {
  background-color: var(--zzip-black);
  color: var(--zzip-light);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: 100dvh;
}

/* Background Mesh Glow */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 20%, rgba(218, 40, 25, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(218, 40, 25, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 0.8) 0%, #0d0d0d 100%);
}

/* Header ZZIP */
header.app-header {
  padding: max(1rem, env(safe-area-inset-top)) 1.25rem 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background: rgba(13, 13, 13, 0.9);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  height: 24px;
  width: auto;
}

.brand-divider {
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.2);
}

.pulse-green-dot {
  width: 10px;
  height: 10px;
  background-color: var(--zzip-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--zzip-green);
  animation: pulse-green 1.4s infinite;
  display: inline-block;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.badge-tag-red {
  background: rgba(218, 40, 25, 0.15);
  border: 1px solid var(--zzip-red);
  color: #ff5e50;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 768px) {
  .badge-tag-red {
    display: none !important;
  }
}

/* APP SCREENS & VIEWPORT */
.app-viewport {
  position: relative;
  width: 100%;
  z-index: 1;
}

.app-screen {
  display: none;
  width: 100%;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s var(--transition-spring);
}

.app-screen.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* CAMERA PERMISSION PROMPT BANNER */
.camera-permission-banner {
  background: rgba(218, 40, 25, 0.18);
  border: 1px solid var(--zzip-red);
  border-radius: 16px;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  box-shadow: 0 0 30px var(--zzip-red-glow);
  animation: pulseBanner 2s infinite alternate;
}

@keyframes pulseBanner {
  0% { border-color: var(--zzip-red); }
  100% { border-color: #ff5e50; box-shadow: 0 0 45px var(--zzip-red-glow); }
}

/* SCREEN 1: LANDING HERO */
.hero-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem max(3rem, env(safe-area-inset-bottom));
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero-text h1 {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-text h1 span.highlight {
  color: var(--zzip-red);
  background: linear-gradient(135deg, #ff4b3a 0%, #da2819 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-text p.subheadline {
  font-size: 1.08rem;
  color: var(--zzip-gray-text);
  margin-bottom: 1.8rem;
}

.bullets-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.bullet-icon {
  background: rgba(218, 40, 25, 0.2);
  color: var(--zzip-red);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.initial-card {
  background: var(--zzip-card-bg);
  border: 1px solid var(--zzip-card-border);
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.initial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--zzip-red), transparent);
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
  color: #d1d1d6;
}

.input-control, select.input-control {
  width: 100%;
  background: #090909;
  border: 1px solid #33312e;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.input-control:focus {
  outline: none;
  border-color: var(--zzip-red);
  box-shadow: 0 0 0 3px var(--zzip-red-glow);
  background: #0e0d0c;
}

.btn-primary {
  width: 100%;
  min-height: 56px;
  background: linear-gradient(135deg, #e5392b 0%, #da2819 100%);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  padding: 1rem 1.6rem;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: var(--transition-fast);
  box-shadow: 0 10px 25px var(--zzip-red-glow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  touch-action: manipulation;
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 4px 15px var(--zzip-red-glow);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  width: 100%;
  min-height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 1.4rem;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  touch-action: manipulation;
}

.btn-secondary:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.18);
}

/* FULLSCREEN EDGE-TO-EDGE SCREENS */
.fullscreen-page-screen {
  min-height: calc(100vh - 70px);
  min-height: calc(100dvh - 70px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem max(3rem, env(safe-area-inset-bottom));
  text-align: center;
}

.call-header {
  max-width: 650px;
  margin-bottom: 1.5rem;
}

.call-title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
}

.camera-stage-container {
  position: relative;
  width: 290px;
  height: 290px;
  margin: 1.5rem 0 3rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-circle-viewport {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.8);
  background: #000;
  transition: border-color 0.8s ease, box-shadow 0.8s ease;
}

.camera-circle-viewport.waiting-mode {
  border-color: var(--zzip-green);
  box-shadow: 0 0 60px var(--zzip-green-glow), inset 0 0 30px rgba(0, 0, 0, 0.9);
}

#cameraCanvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.waiting-status-label {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--zzip-green);
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.waiting-status-label.show {
  opacity: 1;
  animation: pulse-text 1.5s infinite alternate;
}

@keyframes pulse-text {
  0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.05); opacity: 1; text-shadow: 0 0 25px rgba(16, 185, 129, 0.9); }
}

.call-actions-group {
  display: flex;
  gap: 1.2rem;
  width: 100%;
  max-width: 520px;
  justify-content: center;
}

@media (max-width: 520px) {
  .call-actions-group {
    flex-direction: column;
    gap: 0.9rem;
  }
}

.btn-accept {
  flex: 1;
  min-height: 58px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px var(--zzip-green-glow);
  transition: var(--transition-fast);
  touch-action: manipulation;
}

.btn-accept:active {
  transform: scale(0.97);
  box-shadow: 0 4px 15px var(--zzip-green-glow);
}

.btn-not-ready {
  flex: 1;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e4e4e7;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  touch-action: manipulation;
}

.btn-not-ready:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* WEBRTC P2P ACTIVE VIDEO CALL VIEWPORT */
.active-call-viewport {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: calc(100vh - 100px);
  min-height: calc(100dvh - 100px);
}

.call-connected-header {
  margin-bottom: 1rem;
}

.call-timer-badge {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--zzip-green);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.p2p-video-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 340px;
  border-radius: 28px;
  background: #000;
  border: 2px solid var(--zzip-red);
  box-shadow: 0 0 60px var(--zzip-red-glow), inset 0 0 30px rgba(0,0,0,0.9);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

/* Remote Video (Full Main Display) */
#remoteAgentVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

#remoteAgentVideo.active {
  display: block;
}

/* Local Self Video (PiP Thumbnail in Corner) */
.pip-self-video {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 95px;
  height: 125px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  object-fit: cover;
  transform: scaleX(-1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  z-index: 10;
  display: none;
}

.pip-self-video.active {
  display: block;
}

.p2p-badge-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
}

.brand-call-stage-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.brand-call-stage-fallback.hidden {
  display: none;
}

.brand-call-logo {
  width: 170px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
  animation: floatLogo 3s ease-in-out infinite alternate;
}

@keyframes floatLogo {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.03); }
}

.stamp-seal {
  background: linear-gradient(135deg, #da2819 0%, #991b1b 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(218, 40, 25, 0.6);
}

.phone-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 100%;
  max-width: 480px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.phone-btn-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  touch-action: manipulation;
}

.phone-btn-circle:active {
  transform: scale(0.9);
}

.phone-btn-hangup {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.5);
  width: 68px;
  height: 68px;
}

.phone-btn-action {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-btn-action.active {
  background: rgba(239, 68, 68, 0.35);
  border-color: #ef4444;
  color: #ef4444;
}

/* ==========================================================================
   DYNAMIC AI AGENT ACTION CARD & LOADER STYLES
   ========================================================================== */

.ai-loader-container {
  background: rgba(20, 19, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.ai-pulse-brain {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: pulseBrain 1.2s ease-in-out infinite alternate;
}

@keyframes pulseBrain {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(218, 40, 25, 0.4)); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 25px rgba(16, 185, 129, 0.8)); }
}

.ai-dynamic-action-card {
  background: linear-gradient(145deg, #181715 0%, #0d0c0b 100%);
  border: 1.5px solid var(--zzip-red);
  border-radius: 24px;
  padding: 2rem 1.8rem;
  box-shadow: 0 20px 60px rgba(218, 40, 25, 0.25);
  margin-bottom: 2rem;
  text-align: left;
  animation: fadeIn 0.5s ease forwards;
}

.ai-card-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--zzip-green);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.ai-action-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.4rem 0 1.8rem 0;
}

.ai-step-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
}

.ai-step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--zzip-green);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* SCREEN: "QUER ESTAR PRONTO?" */
.icon-badge-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(218, 40, 25, 0.15);
  border: 2px solid var(--zzip-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 30px var(--zzip-red-glow);
}

.step-title-hyperbole {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.step-subtitle {
  font-size: 1.1rem;
  color: var(--zzip-gray-text);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.button-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 460px;
}

/* SCREEN: DADOS ESSENCIAIS */
.mql-full-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.mql-full-container h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 0.4rem;
}

.mql-full-container p.mql-subtitle {
  font-size: 1rem;
  color: var(--zzip-gray-text);
  text-align: center;
  margin-bottom: 2.2rem;
}

.calc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 540px) {
  .calc-field-row {
    grid-template-columns: 1fr;
  }
}

.calc-result-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-badge label {
  font-size: 0.72rem;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.calc-result-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--zzip-green);
}

.range-slider-wrapper {
  margin-top: 0.5rem;
}

.range-slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.range-val-badge {
  background: var(--zzip-red);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: 8px;
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: #252320;
  height: 12px;
  border-radius: 6px;
  outline: none;
  touch-action: pan-y;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--zzip-red);
  cursor: pointer;
  box-shadow: 0 0 15px var(--zzip-red-glow);
  transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:active {
  transform: scale(1.25);
  box-shadow: 0 0 25px var(--zzip-red);
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #71717a;
}

/* SCREEN: OBRIGADO & AVALIAÇÃO */
.thankyou-full-container {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.star-btn {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #444;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.star-btn:active, .star-btn.active {
  color: #fbbf24;
  transform: scale(1.2);
}

.rating-feedback-text {
  font-size: 1rem;
  font-weight: 700;
  color: #fbbf24;
  min-height: 1.5rem;
  margin-bottom: 1.5rem;
}

.summary-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  text-align: left;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row span.label {
  color: var(--zzip-gray-text);
}

.summary-row span.val {
  font-weight: 700;
  color: #fff;
  text-align: right;
}

/* MARCAS QUE A ZZIP TRABALHA */
.brands-gallery-section {
  display: none;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.5s ease forwards;
}

.brands-gallery-section.active {
  display: block;
}

.brands-gallery-title {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
  color: #fff;
}

.brands-gallery-subtitle {
  font-size: 0.92rem;
  color: var(--zzip-gray-text);
  margin-bottom: 1.8rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
}

.brand-card-badge {
  background: #171614;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.1rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.brand-card-badge:hover {
  transform: translateY(-4px);
  border-color: var(--zzip-red);
  box-shadow: 0 10px 25px rgba(218, 40, 25, 0.2);
}

.brand-icon-text {
  font-size: 1.5rem;
}

.brand-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #f7f6f2;
}

.brand-tag-niche {
  font-size: 0.68rem;
  color: var(--zzip-gray-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Footer */
footer {
  padding: 2rem 0 max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.82rem;
  color: var(--zzip-gray-text);
}

footer a {
  color: var(--zzip-light);
  text-decoration: none;
}
