/* ==========================================================================
   SOUZA AR CONDICIONADO — PREMIUM LINK-IN-BIO
   Design System: Deep Black & Cold Automotive Blue
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-dark: #05070a;
  --bg-surface: #080d14;
  --bg-card: rgba(11, 20, 32, 0.75);
  --bg-card-hover: rgba(16, 28, 46, 0.85);
  
  /* Automotive Blue & Accents */
  --blue-petroleum: #0c1a29;
  --blue-deep: #10263f;
  --blue-electric: #0088ff;
  --blue-glow: rgba(0, 136, 255, 0.28);
  --blue-cold-light: #4bb3ff;
  
  /* Metallics & Monochromes */
  --text-pure: #ffffff;
  --text-metallic: #c4d4e4;
  --text-muted: #7e91a5;
  --border-subtle: rgba(75, 179, 255, 0.14);
  --border-active: rgba(75, 179, 255, 0.35);
  
  /* WhatsApp Identity (Integrated Elegantly) */
  --wa-green-subtle: #25d366;
  --wa-glow: rgba(37, 211, 102, 0.22);

  /* Typography */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sizing & Touch Targets */
  --min-touch: 48px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  /* Transitions */
  --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.25s;
  --duration-normal: 0.4s;
}

/* Base Reset & Overflow Control */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden !important;
  background-color: var(--bg-dark);
  color: var(--text-metallic);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Ambient Automotive Background
   ========================================================================== */
.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-radial-top {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 680px);
  height: 480px;
  background: radial-gradient(
    ellipse at top,
    rgba(0, 136, 255, 0.18) 0%,
    rgba(12, 26, 41, 0.25) 45%,
    transparent 75%
  );
  filter: blur(40px);
}

.glow-radial-bottom {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 550px);
  height: 400px;
  background: radial-gradient(
    ellipse at bottom,
    rgba(14, 38, 63, 0.22) 0%,
    transparent 70%
  );
  filter: blur(50px);
}

/* Subtle Technical Grid Overlay */
.grid-tech-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

/* Precision Automotive Stream Lines */
.stream-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75, 179, 255, 0.25), transparent);
}

.stream-line.line-1 {
  top: 18%;
  left: 10%;
  right: 10%;
  opacity: 0.6;
}

.stream-line.line-2 {
  bottom: 22%;
  left: 15%;
  right: 15%;
  opacity: 0.4;
}

/* ==========================================================================
   Layout Wrapper
   ========================================================================== */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 36px 18px 56px;
}

.container-bio {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   Header & Brand Identity
   ========================================================================== */
.header-identity {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

/* Category Pill */
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(12, 26, 41, 0.85);
  border: 1px solid rgba(75, 179, 255, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.pulse-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--blue-cold-light);
  box-shadow: 0 0 10px var(--blue-electric);
  animation: pulseLight 2.4s ease-in-out infinite;
}

@keyframes pulseLight {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.15); }
}

.pill-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-cold-light);
}

/* Logo Bezel */
.logo-bezel {
  position: relative;
  width: 124px;
  height: 124px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: linear-gradient(145deg, rgba(75, 179, 255, 0.3), rgba(12, 26, 41, 0.8), rgba(0, 0, 0, 0.9));
  box-shadow: 
    0 12px 28px -6px rgba(0, 0, 0, 0.7),
    0 0 24px -2px var(--blue-glow);
}

.bezel-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(75, 179, 255, 0.25);
  pointer-events: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #000;
  display: block;
}

/* Typography Hierarchy */
.brand-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5vw, 1.75rem);
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.brand-headline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-metallic);
  line-height: 1.4;
  margin-bottom: 4px;
}

.brand-subtext {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
}

/* Location Badge */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-metallic);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.icon-inline {
  color: var(--blue-cold-light);
  flex-shrink: 0;
}

/* ==========================================================================
   Links Section (Hierarchical & Premium)
   ========================================================================== */
.links-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.btn-action {
  position: relative;
  width: 100%;
  min-height: var(--min-touch);
  display: flex;
  align-items: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: transform var(--duration-fast) var(--ease-fluid),
              border-color var(--duration-fast) var(--ease-fluid),
              background var(--duration-fast) var(--ease-fluid),
              box-shadow var(--duration-fast) var(--ease-fluid);
  outline: none;
  overflow: hidden;
}

.btn-action:focus-visible {
  outline: 2px solid var(--blue-cold-light);
  outline-offset: 3px;
}

/* Icon Wrap */
.btn-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 14px;
  transition: transform var(--duration-fast) var(--ease-fluid);
}

/* Content Area */
.btn-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.3;
}

.btn-meta {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 10px;
  transition: transform var(--duration-fast) var(--ease-fluid), color var(--duration-fast) var(--ease-fluid);
}

.btn-action:hover .btn-arrow,
.btn-action:active .btn-arrow {
  transform: translateX(4px);
  color: var(--text-pure);
}

/* Variant: WhatsApp (Hero Element) */
.btn-whatsapp {
  background: linear-gradient(135deg, rgba(14, 33, 56, 0.92) 0%, rgba(8, 18, 30, 0.96) 100%);
  border: 1px solid rgba(75, 179, 255, 0.4);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 0 20px -4px var(--blue-glow);
  padding: 16px 20px;
}

.btn-whatsapp .btn-icon-wrap {
  background: rgba(37, 211, 102, 0.12);
  color: var(--wa-green-subtle);
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.btn-whatsapp .btn-label {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.btn-whatsapp .btn-meta {
  color: #a7bed5;
}

.btn-whatsapp:hover,
.btn-whatsapp:active {
  transform: translateY(-2px);
  border-color: var(--blue-cold-light);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.6), 0 0 28px -2px rgba(0, 136, 255, 0.45);
}

/* Variant: Instagram */
.btn-instagram {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.4);
}

.btn-instagram .btn-icon-wrap {
  background: rgba(75, 179, 255, 0.08);
  color: var(--blue-cold-light);
  border: 1px solid rgba(75, 179, 255, 0.15);
}

.btn-instagram:hover,
.btn-instagram:active {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.5), 0 0 18px -4px var(--blue-glow);
}

/* Variant: Maps */
.btn-maps {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.4);
}

.btn-maps .btn-icon-wrap {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-metallic);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-maps:hover,
.btn-maps:active {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.5), 0 0 18px -4px var(--blue-glow);
}

/* ==========================================================================
   Shiny Sweep Effect (Automotive Blue & White Premium Reflection)
   ========================================================================== */
.shiny-sweep {
  position: relative;
}

.shiny-sweep::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 70%;
  height: 200%;
  background: linear-gradient(
    65deg,
    transparent 20%,
    rgba(255, 255, 255, 0.12) 48%,
    rgba(75, 179, 255, 0.22) 52%,
    transparent 80%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.shiny-sweep:hover::after,
.shiny-sweep:active::after,
.shiny-sweep.sweep-active::after {
  opacity: 1;
  animation: sweepDiagonal 1.1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes sweepDiagonal {
  0% {
    left: -120%;
  }
  100% {
    left: 170%;
  }
}

/* ==========================================================================
   Official Address Card
   ========================================================================== */
.card-address {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
}

.address-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.address-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(75, 179, 255, 0.08);
  border: 1px solid rgba(75, 179, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-cold-light);
  flex-shrink: 0;
}

.address-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.2;
}

.address-subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--blue-cold-light);
  line-height: 1.2;
}

.address-body {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
}

.address-line {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-metallic);
}

.address-line.street {
  font-weight: 600;
  color: var(--text-pure);
}

.address-line.zip {
  color: var(--text-muted);
  font-size: 0.82rem;
}

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

.btn-copy-address,
.btn-route-address {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-fluid);
  outline: none;
}

.btn-copy-address {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-metallic);
}

.btn-copy-address:hover,
.btn-copy-address:active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-pure);
}

.btn-copy-address.copied {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.35);
  color: #64ff9c;
}

.btn-route-address {
  background: rgba(75, 179, 255, 0.1);
  border: 1px solid rgba(75, 179, 255, 0.25);
  color: var(--blue-cold-light);
}

.btn-route-address:hover,
.btn-route-address:active {
  background: rgba(75, 179, 255, 0.2);
  border-color: var(--blue-cold-light);
  color: #ffffff;
}

/* ==========================================================================
   Footer & Trust
   ========================================================================== */
.footer-trust {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px;
}

.trust-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(75, 179, 255, 0.3), transparent);
  margin-bottom: 14px;
}

.trust-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-metallic);
  margin-bottom: 6px;
}

.copyright-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Accessibility & Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .pulse-status {
    animation: none;
  }
  .shiny-sweep::after {
    display: none !important;
  }
}

/* Small Screens Mobile Tweaks (320px - 360px) */
@media (max-width: 360px) {
  .page-wrapper {
    padding: 24px 12px 40px;
  }
  .logo-bezel {
    width: 110px;
    height: 110px;
  }
  .brand-title {
    font-size: 1.35rem;
  }
  .btn-action {
    padding: 12px 14px;
  }
  .btn-icon-wrap {
    width: 38px;
    height: 38px;
    margin-right: 10px;
  }
  .address-actions {
    grid-template-columns: 1fr;
  }
}
