/* FLUXAIN - Styles page d'accueil */

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #8B4DAF 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #5D2D79 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation-delay: 5s;
}

.shape-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #7A3D9E 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.hero-text {
  animation: fadeInUp 1s ease-out;
}

.hero-logo {
  height: 80px;
  width: auto;
  margin: 0 auto var(--spacing-md);
  display: block;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, #5D2D79 0%, #8B4DAF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(248, 249, 250, 0.85);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.hero-visual {
  animation: fadeInRight 1s ease-out 0.3s both;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(93, 45, 121, 0.3);
  transition: all 0.3s ease;
}

.hero-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(93, 45, 121, 0.4);
  border-color: rgba(93, 45, 121, 0.5);
}

.visual-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.visual-icon {
  font-size: 5rem;
  margin-bottom: var(--spacing-sm);
  filter: drop-shadow(0 4px 12px rgba(93, 45, 121, 0.4));
}

.visual-card h3 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-xs);
}

.visual-card p {
  color: rgba(248, 249, 250, 0.7);
  font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  cursor: pointer;
}

.scroll-indicator span {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 10px;
  }
  100% {
    opacity: 0;
    top: 30px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Section Header */
.section-header {
  margin-bottom: var(--spacing-lg);
}

.section-header.center {
  text-align: center;
}

.section-title {
  margin-bottom: var(--spacing-sm);
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin-bottom: var(--spacing-sm);
}

.section-header.center .section-divider {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.25rem;
  color: rgba(248, 249, 250, 0.75);
  max-width: 600px;
}

.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Section Constat */
.section-constat {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.constat-content {
  max-width: 900px;
  margin: 0 auto;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(248, 249, 250, 0.85);
  margin-bottom: var(--spacing-md);
}

.highlight {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #FFFFFF;
  padding: var(--spacing-md);
  background: rgba(61, 122, 158, 0.15);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
}

/* Section Benefits */
.section-benefits {
  position: relative;
}

.benefits-grid {
  margin-top: var(--spacing-lg);
}

.benefit-card {
  text-align: center;
}

.benefit-card .card-icon {
  margin: 0 auto var(--spacing-sm);
  font-size: 2rem;
}

/* Section Services Preview */
.section-services-preview {
  background: rgba(0, 0, 0, 0.2);
}

.services-preview {
  margin-top: var(--spacing-lg);
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-glow);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
  line-height: 1;
}

.service-card h3 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-sm);
  color: #FFFFFF;
}

.service-card p {
  color: rgba(248, 249, 250, 0.75);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-accent);
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-link:hover {
  transform: translateX(5px);
}

/* Section CTA */
.section-cta {
  padding: var(--spacing-xl) 0;
}

.cta-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(224, 123, 57, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-sm);
  opacity: 0.3;
}

.cta-quote {
  font-size: 1.75rem;
  line-height: 1.6;
  color: #FFFFFF;
  font-style: italic;
  margin-bottom: var(--spacing-lg);
  font-weight: 500;
}

.cta-buttons {
  margin-top: var(--spacing-lg);
}

.cta-note {
  margin-top: var(--spacing-sm);
  color: rgba(248, 249, 250, 0.6);
  font-size: 0.9rem;
}

/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--spacing-sm);
}

.footer-tagline {
  color: rgba(248, 249, 250, 0.7);
  margin-bottom: 0;
}

.footer-legal {
  margin-top: var(--spacing-xs);
}

.footer-legal a {
  color: rgba(248, 249, 250, 0.5);
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: rgba(248, 249, 250, 0.8);
}

/* Responsive */
@media (max-width: 968px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--spacing-xl);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .cta-quote {
    font-size: 1.5rem;
  }

  .service-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .lead, .highlight {
    font-size: 1.125rem;
  }

  .cta-quote {
    font-size: 1.25rem;
  }

  .cta-box {
    padding: var(--spacing-lg);
  }
}
