/* Global Styles - Version ombres légères */

/* Glassmorphism effects avec ombres douces */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 8px 0 rgba(31, 38, 135, 0.08);
}

/* Hover effects doux */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.12);
}

/* Navigation avec ombres légères */
.navbar-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
}

/* Boutons avec ombres subtiles */
.btn-shadow-light {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.btn-shadow-light:hover {
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* Cards avec ombres harmonisées */
.card-soft-shadow {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.card-soft-shadow:hover {
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Formulaires avec ombres légères */
.form-shadow {
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.form-shadow:focus {
    box-shadow: 0 2px 12px 0 rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Video background optimisé */
.bg-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
  filter: blur(0.5px) brightness(0.93);
  pointer-events: none;
  background-color: linear-gradient(135deg, rgba(221, 46, 15, 0.48) 20%, rgba(34, 34, 34, 0.75) 60%);
}

/* Typewriter effects */
.typewriter-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -40px;
  min-height: 6.5rem;
}

@media(max-width: 998px){
 .typewriter-bottom {
  font-size: 20px !important;
  font-weight: 800;
  margin-top: -30px;
  letter-spacing: -0.012em;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 1.2s forwards;
  gap: 0.2em;
}
}

@media(max-width: 998px){
 .typewriter-top {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 1s 0.6s forwards;
 }
}

@media(min-width: 999px){
 .typewriter-top {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 1s 0.6s forwards;
 }

 .typewriter-bottom {
  font-size: 42px;
  font-weight: 800;
  color: #3b82f6;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 1.2s forwards;
  gap: 0.3em;
 }
}

/* Animations keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cursor styles */
.cursor {
    animation: blink 1s infinite;
    color: #ef4444;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Sections padding pour mobile */
@media(min-width: 998px){
    section.relative.min-h-screen {
        padding-top: 140px !important;
    }
}

@media(max-width: 997px){
    section.relative.min-h-screen {
        padding-top: 100px !important;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .hover-lift:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
    }

    .glass-card {
        box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.04);
    }

    .card-soft-shadow {
        box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.04);
    }

    .card-soft-shadow:hover {
        box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08);
        transform: translateY(-1px);
    }
}

/* Utilitary classes pour cohérence */
.shadow-soft {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
}

.shadow-soft-hover:hover {
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.12);
}

.border-soft {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.border-soft-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
}
