/* Lines-Up | Senior Marketing Crew — Architectural Design System */
/* Fonts loaded via <link> in HTML — no @import needed */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --brand-orange: #FF5E14;
  --brand-orange-dark: #EA580C;
  --brand-dark: #0B0F19;
  --brand-surface: #121826;
  --border-light: #E2E8F0;
  --border-dark: #1E293B;
}

* {
  border-radius: 0 !important; /* Strict architectural sharp geometry */
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

#site-header {
  background-color: #0B0F19;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, -webkit-backdrop-filter 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#site-header.scrolled {
  background-color: rgba(11, 15, 25, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.25) !important;
}

body {
  font-family: var(--font-sans);
  background-color: #FFFFFF;
  color: #0F172A;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Glassmorphism & Surface Treats */
.glass-dark {
  background: rgba(18, 24, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #E2E8F0;
}

/* Modals */
.modal-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.modal-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

.modal-content {
  transform: scale(0.97) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Custom minimal scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0B0F19;
}
::-webkit-scrollbar-thumb {
  background: #334155;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF5E14;
}

/* Interactive Accents & Focus */
a, button {
  transition: all 0.15s ease-in-out;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #FF5E14;
  outline-offset: 2px;
}

/* Badges & Pulsing Signals */
.pulse-emerald {
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse-emerald 2s infinite;
}

@keyframes pulse-emerald {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

/* Tab & Accordion States */
details summary::-webkit-details-marker {
  display: none;
}
details summary {
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

details summary svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

details[open] summary svg {
  transform: rotate(45deg);
}

/* Premium Button & Interactive States */
button.bg-\[\#FF5E14\], a.bg-\[\#FF5E14\], [data-open-modal] {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease !important;
}

button.bg-\[\#FF5E14\]:hover, a.bg-\[\#FF5E14\]:hover {
  box-shadow: 0 8px 24px -4px rgba(255, 94, 20, 0.4) !important;
  transform: translateY(-1px);
}

button.bg-\[\#FF5E14\]:active, a.bg-\[\#FF5E14\]:active {
  transform: translateY(0);
}

/* CNIL / GDPR Cookie Consent Banner Glassmorphism */
#linesup-cookie-banner {
  background: rgba(11, 15, 25, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

/* Dark Mode Google Maps Embed */
.dark-map-iframe {
  filter: invert(90%) hue-rotate(180deg) contrast(90%) brightness(95%);
  transition: filter 0.3s ease;
}

/* Social Network Icons Glow on Hover */
a[href*="linkedin.com"] svg,
a[href*="instagram.com"] svg,
a[href*="wa.me"] svg,
a[href^="mailto:"] svg {
  transition: filter 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

a[href*="linkedin.com"]:hover svg {
  filter: drop-shadow(0 0 6px #0A66C2) drop-shadow(0 0 14px rgba(10, 102, 194, 0.85)) !important;
  transform: translateY(-1px) scale(1.08);
}

a[href*="instagram.com"]:hover svg {
  filter: drop-shadow(0 0 6px #E4405F) drop-shadow(0 0 14px rgba(228, 64, 95, 0.85)) !important;
  transform: translateY(-1px) scale(1.08);
}

a[href*="wa.me"]:hover svg {
  filter: drop-shadow(0 0 6px #25D366) drop-shadow(0 0 14px rgba(37, 211, 102, 0.85)) !important;
  transform: translateY(-1px) scale(1.08);
}

a[href^="mailto:"]:hover svg {
  filter: drop-shadow(0 0 6px #FF5E14) drop-shadow(0 0 14px rgba(255, 94, 20, 0.85)) !important;
  transform: translateY(-1px) scale(1.08);
}

/* Live Telemetry Beacon Pulse */
@keyframes telemetry-blink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(255, 94, 20, 0.9);
    transform: scale(1);
  }
  50% {
    opacity: 0.15;
    box-shadow: 0 0 0px transparent;
    transform: scale(0.85);
  }
}

.telemetry-beacon {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #FF5E14;
  animation: telemetry-blink 1.2s ease-in-out infinite;
}
