body {
  background-color: #0A0A0F;
  color: #E8E6E3;
}

.bg-custom-navy { background-color: #0A0A0F; }
.bg-custom-surface { background-color: #0F1119; }

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: #D4914A;
  color: #522e00;
  border-radius: 0.125rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 12px 24px;
  font-size: 16px;
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 2px 2px 0 #ffb870;
}

.btn-primary-outline {
  background-color: transparent;
  color: #2A9D8F;
  border: 1px solid #2A9D8F;
  border-radius: 0.125rem;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s ease;
}
.btn-primary-outline:hover {
  background-color: rgba(42, 157, 143, 0.1);
}

.editorial-input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #524438;
  color: #E8E6E3;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  padding: 16px 0;
  width: 100%;
  transition: border-color 0.3s ease;
}
.editorial-input:focus {
  outline: none;
  border-bottom: 1px solid #2A9D8F;
}
.editorial-input::placeholder {
  color: #8B8D94;
  opacity: 0.5;
}

.editorial-input-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #2A9D8F;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #D4914A;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link.active {
  border-bottom: 2px solid #D4914A;
  padding-bottom: 4px;
  display: inline-block;
}

.card-hover {
  transition: transform 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
}

.grid-bg-pattern {
  background-image:
    linear-gradient(rgba(82, 68, 56, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 68, 56, 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  opacity: 0.1;
}

.tech-badge {
  border: 1px solid rgba(139, 141, 148, 0.2);
  padding: 4px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.masonry-grid {
  column-count: 1;
  column-gap: 24px;
}
@media (min-width: 768px) {
  .masonry-grid { column-count: 2; }
}
@media (min-width: 1440px) {
  .masonry-grid { column-count: 3; column-gap: 40px; }
}
.masonry-col {
  break-inside: avoid;
  margin-bottom: 24px;
  display: inline-block;
  width: 100%;
}

@media (min-width: 1440px) { .masonry-col { margin-bottom: 40px; } }

/* Mobile menu */
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0A0A0F;
  z-index: 49;
  padding: 24px;
  gap: 24px;
}

/* Sélecteur langue */
.lang-selector {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #8B8D94;
  cursor: pointer;
}
.lang-selector span {
  padding: 2px 4px;
}
.lang-selector span.active {
  color: #D4914A;
}

/* Dark/light toggle */
.theme-toggle {
  cursor: pointer;
  color: #8B8D94;
}
.theme-toggle:hover { color: #D4914A; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}
