/* ==========================================================================
   DALMO REBELO — CONSULTOR DE SISTEMAS (VIBE CODE)
   Página "Em Construção" / "Under Construction"
   Design System: Obsidian Black, Radiant Orange, Light Canvas
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --bg-canvas: #F8FAFC;
  --bg-card: #FFFFFF;
  --fg-default: #0B0F17;
  --fg-muted: #475569;
  --fg-subtle: #94A3B8;

  --primary: #FF5A1F;
  --primary-hover: #E04810;
  --primary-subtle: rgba(255, 90, 31, 0.08);
  --primary-border: rgba(255, 90, 31, 0.24);

  --linkedin: #0A66C2;
  --linkedin-hover: #084e96;
  --whatsapp: #25D366;
  --whatsapp-hover: #20BA5A;

  --border-default: rgba(15, 23, 42, 0.08);
  --border-card: rgba(15, 23, 42, 0.06);

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 180ms var(--ease-apple);
  --transition-normal: 320ms var(--ease-apple);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--fg-default);
  line-height: 1.6;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 90, 31, 0.03) 0%, transparent 60%),
    radial-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
}

/* Acessibilidade: Skip Link */
.skip-to-content {
  position: absolute;
  top: -80px;
  left: 20px;
  background: var(--primary);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 10000;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 20px;
}

/* Ambient Floating Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.ambient-glow-1 {
  top: -100px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.16) 0%, rgba(255, 138, 0, 0.04) 65%, transparent 80%);
  animation: floatOrb1 20s infinite ease-in-out alternate;
}

.ambient-glow-2 {
  bottom: -120px;
  left: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(11, 15, 23, 0.08) 0%, rgba(255, 90, 31, 0.06) 50%, transparent 75%);
  animation: floatOrb2 24s infinite ease-in-out alternate;
}

@keyframes floatOrb1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-40px, 50px) scale(1.08);
  }

  100% {
    transform: translate(30px, -25px) scale(0.95);
  }
}

@keyframes floatOrb2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(45px, -35px) scale(1.06);
  }

  100% {
    transform: translate(-30px, 30px) scale(0.96);
  }
}

/* Page Layout */
.page-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  margin: auto;
  padding: 16px 20px 8px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
}

/* Brand Display */
.brand-display {
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: fadeInDown 0.8s var(--ease-apple) backwards;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.03);
}

/* Main Card Container */
.construction-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 24px 32px;
  box-shadow:
    0 20px 40px -12px rgba(15, 23, 42, 0.07),
    0 0 0 1px rgba(255, 90, 31, 0.04);
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: zoomFadeIn 0.9s var(--ease-apple) 0.1s backwards;
}

/* Card Top Glowing Line */
.construction-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent 0%, #FF5A1F 50%, transparent 100%);
  opacity: 0.85;
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(255, 90, 31, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 90, 31, 0);
  }
}

.status-text {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Kinetic Animation Graphic: Tech Orbital Hub */
.orbital-hub {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer Orbit Ring */
.orbital-ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(255, 90, 31, 0.35);
  border-radius: 50%;
  animation: rotateRing 26s linear infinite;
}

/* Second Pulse Wave */
.orbital-pulse {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 90, 31, 0.2);
  border-radius: 50%;
  animation: pulseWave 3.5s var(--ease-apple) infinite;
}

/* Satellite Dot */
.orbital-satellite {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  transform: translateX(-50%);
}

/* Center Technology Core (White Rounded Square Frame for Logo) */
.orbital-core {
  position: relative;
  z-index: 2;
  width: 90px;
  height: 90px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1.5px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow:
    0 10px 24px -4px rgba(255, 90, 31, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.orbital-hub:hover .orbital-core {
  transform: scale(1.06);
  border-color: var(--primary);
  box-shadow: 0 12px 28px -4px rgba(255, 90, 31, 0.28);
}

.core-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseWave {
  0% {
    transform: scale(0.92);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }

  100% {
    transform: scale(0.92);
    opacity: 0.8;
  }
}

@keyframes coreGlow {
  0% {
    filter: drop-shadow(0 2px 5px rgba(255, 90, 31, 0.3));
  }

  100% {
    filter: drop-shadow(0 2px 10px rgba(255, 90, 31, 0.7));
  }
}

/* Typography */
.card-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--fg-default);
  margin-bottom: 10px;
}

.gradient-text {
  color: var(--primary);
  background: linear-gradient(135deg, #FF5A1F 0%, #FF8A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-desc {
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto 20px auto;
}

/* Action Buttons */
.card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 10px;
  text-decoration: none;
  min-height: 46px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

/* LinkedIn Primary Button */
.btn-linkedin {
  background-color: var(--linkedin);
  color: #FFFFFF;
  box-shadow: 0 6px 16px -3px rgba(10, 102, 194, 0.35);
}

.btn-linkedin:hover {
  background-color: var(--linkedin-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -3px rgba(10, 102, 194, 0.45);
}

/* WhatsApp Button (Green Brand Theme) */
.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #FFFFFF;
  box-shadow: 0 6px 16px -3px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -3px rgba(37, 211, 102, 0.5);
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: scale(1.1);
}

/* Focus States for WCAG Accessibility */
.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Site Footer */
.page-footer {
  position: relative;
  z-index: 1;
  padding: 12px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--fg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-info {
  margin: 0;
}

/* Animations Keyframes */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomFadeIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(14px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & DISPOSITIVOS DE ALTURA COMPACTA)
   ========================================================================== */

@media (max-width: 640px) {
  .page-container {
    padding: 12px 14px 6px 14px;
  }

  .brand-logo {
    height: 40px;
  }

  .brand-display {
    margin-bottom: 8px;
  }

  .construction-card {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .status-pill {
    padding: 3px 10px;
    margin-bottom: 8px;
  }

  .status-text {
    font-size: 10px;
  }

  .orbital-hub {
    width: 82px;
    height: 82px;
    margin-bottom: 12px;
  }

  .orbital-core {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    padding: 6px;
  }

  .card-title {
    font-size: 18.5px;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .card-desc {
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .card-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13.5px;
  }

  .page-footer {
    padding: 8px 12px;
    font-size: 11px;
  }
}

/* Telas com altura limitada (Notebooks 14" com barras, Windows a 125%/150% ou celulares em paisagem) */
@media (max-height: 660px) {
  .page-container {
    padding: 8px 14px 4px 14px;
  }

  .brand-display {
    margin-bottom: 6px;
  }

  .brand-logo {
    height: 38px;
  }

  .construction-card {
    padding: 14px 22px;
    border-radius: 16px;
  }

  .status-pill {
    margin-bottom: 8px;
    padding: 2px 10px;
  }

  .orbital-hub {
    width: 68px;
    height: 68px;
    margin-bottom: 8px;
  }

  .orbital-core {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    padding: 5px;
  }

  .card-title {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .card-desc {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .btn {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 13px;
  }

  .page-footer {
    padding: 6px 12px;
    font-size: 10.5px;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    height: 34px;
  }

  .construction-card {
    padding: 14px 12px;
  }

  .card-title {
    font-size: 17px;
  }

  .card-desc {
    font-size: 12px;
  }
}