/* ============================================
   IMMO VISION 17 — Hero Animated Background
   Spectaculaire sans vidéo
   ============================================ */

.hero-canvas {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 10% 60%, rgba(201,169,110,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60%  at 90% 30%, rgba(201,169,110,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80%  at 50% 10%, rgba(201,169,110,0.03) 0%, transparent 60%),
    linear-gradient(160deg, #050505 0%, #0c0c0c 40%, #080808 70%, #030303 100%);
  overflow: hidden;
}

/* Grid overlay */
.hero-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 80%);
  animation: gridDrift 20s ease-in-out infinite alternate;
}

@keyframes gridDrift {
  from { transform: translateX(-20px) translateY(-10px) scale(1); }
  to   { transform: translateX(20px)  translateY(10px)  scale(1.03); }
}

/* Floating orbs */
.hero-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 400px at 20% 70%, rgba(201,169,110,0.055) 0%, transparent 70%),
    radial-gradient(circle 300px at 80% 20%, rgba(201,169,110,0.04)  0%, transparent 70%),
    radial-gradient(circle 500px at 60% 80%, rgba(160,120,64,0.035)  0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  0%   { transform: translate(0,   0)   scale(1); }
  33%  { transform: translate(15px,-10px) scale(1.05); }
  66%  { transform: translate(-10px,8px)  scale(0.97); }
  100% { transform: translate(8px, 15px)  scale(1.03); }
}

/* Particles canvas (JS injected) */
#heroParticles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* Architectural lines */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.15), transparent);
  height: 1px;
  width: 100%;
  animation: lineSweep 8s ease-in-out infinite;
  opacity: 0;
}

.hero-line:nth-child(1) { top: 25%; animation-delay: 0s;   animation-duration: 9s; }
.hero-line:nth-child(2) { top: 55%; animation-delay: 3s;   animation-duration: 7s; }
.hero-line:nth-child(3) { top: 78%; animation-delay: 6s;   animation-duration: 11s; }

@keyframes lineSweep {
  0%   { opacity: 0; transform: translateX(-100%); }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%); }
}

/* Hero image mode (quand une vraie photo existe) */
.hero-has-image .hero-canvas {
  background: none;
}

.hero-has-image .hero-canvas::before,
.hero-has-image .hero-canvas::after {
  display: none;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

/* Property card placeholder styles */
.prop-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 100%);
}

.prop-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

.prop-placeholder-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.prop-placeholder-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(201,169,110,0.6);
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.2); }
  50%       { box-shadow: 0 0 0 12px rgba(201,169,110,0); }
}

.prop-placeholder-type {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201,169,110,0.4);
  font-family: 'Inter', sans-serif;
}

/* Shimmer on hover */
.property-card:hover .prop-placeholder::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(201,169,110,0.06) 50%,
    transparent 60%
  );
  animation: propShimmer 1.5s ease-in-out;
}

@keyframes propShimmer {
  from { left: -60%; }
  to   { left: 160%; }
}

/* Service card icons */
.service-icon-drone    { color: #C9A96E; }
.service-icon-camera   { color: #C9A96E; }
.service-icon-360      { color: #C9A96E; }

/* Media section placeholders */
.media-placeholder {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.media-placeholder:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.media-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  transition: opacity var(--duration-normal);
}

.media-placeholder:hover::before { opacity: 0.5; }

.media-placeholder-icon {
  font-size: 2.5rem;
  color: var(--gold);
  position: relative;
  z-index: 1;
  opacity: 0.8;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.media-placeholder:hover .media-placeholder-icon {
  transform: scale(1.15);
}

.media-placeholder-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
