@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Variables */
:root {
  --color-bg-dark: #0A042A;
  --color-bg-gradient: linear-gradient(135deg, #0A042A 0%, #2A1A60 100%);
  --color-accent: #8A2BE2;
  --color-accent-light: #9A4CF5;
  --color-white: #FFFFFF;
  --color-nav-bg: rgba(50, 50, 60, 0.25);
  --color-active-item: rgba(60, 60, 70, 0.9);
  --transition-default: all 0.3s ease;
  --glassmorphism-border: 1px solid rgba(255, 255, 255, 0.15);
  --glassmorphism-blur: 15px;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--color-white);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 90%;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition-default);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

/* Navigation avec effet Glassmorphisme */
.nav-glass {
  background: var(--color-nav-bg);
  backdrop-filter: blur(var(--glassmorphism-blur));
  -webkit-backdrop-filter: blur(var(--glassmorphism-blur));
  border-radius: 50px;
  padding: 5px;
  position: relative;
  overflow: hidden;
}

.nav-list {
  display: flex;
  align-items: center;
  position: relative;
}

.active-indicator {
  position: absolute;
  height: 36px;
  background: var(--color-active-item);
  border-radius: 30px;
  z-index: 1;
  transition: all 0.4s ease-in-out;
}

.nav-item {
  position: relative;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition-default);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-default);
}

.nav-item:hover .nav-link {
  color: var(--color-accent-light);
}

/* CTA Button Styles */
.cta-button {
  background: linear-gradient(135deg, var(--color-accent) 0%, #663399 100%);
  color: var(--color-white);
  border: none;
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-default);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}

.cta-button p {
  font-family: 'Space Grotesk', sans-serif;
}

.cta-button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #9A4CF5 0%, #7a44b8 100%);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
}

.header-cta {
  margin-left: 20px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--color-white);
  transition: var(--transition-default);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-bg-gradient);
  backdrop-filter: blur(var(--glassmorphism-blur));
  -webkit-backdrop-filter: blur(var(--glassmorphism-blur));
  padding-top: 80px;
  transition: 0.4s ease;
  z-index: 999;
  opacity: 0;
}

.mobile-menu.active {
  right: 0;
  opacity: 1;
}

.mobile-menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.mobile-nav-item {
  font-size: 1.2rem;
  font-weight: 500;
}

.mobile-nav-item.active {
  color: var(--color-accent-light);
}

.mobile-cta {
  margin-top: 40px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: url('images/astronaute-img.png') no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 100px 0 50px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* 0.5 = 50% de noir, donc assombri */
  z-index: 1;
}

.hero>* {
  position: relative;
  z-index: 2;
  /* Pour que le texte apparaisse par-dessus l'overlay */
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text {
  max-width: 50%;
  animation: fadeInUp 1s ease-out forwards;
}

/* Tagline styling */
.tagline-container {
  background-color: rgba(138, 43, 226, 0.2);
  border: 1px solid rgba(138, 43, 226, 0.5);
  border-radius: 50px;
  padding: 8px 16px;
  display: inline-block;
  margin-bottom: 20px;
}

.tagline {
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Hero Title */
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.highlight {
  color: var(--color-accent);
}

/* Hero Description */
.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 35px;
  opacity: 0.9;
}

/* Hero CTA Button */
.hero-cta {
  background: #663399;
  color: var(--color-white);
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-default);
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-cta p {
  font-family: 'Space Grotesk', sans-serif;
}

.btn-wrapper {
  display: inline-block;
  /* pour que la bordure épouse la taille du bouton */
  border: 2px solid #663399;
  border-radius: 30px;
  /* même rayon que ton bouton */
  padding: 3px;
  margin-bottom: 40px;
  /* espace entre la div et le bouton */
}

.hero-cta:hover {
  background-color: rgba(138, 43, 226, 0.2);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

/* Animation Pulse */
.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

/* Features Section */
.features {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  background-color: rgba(138, 43, 226, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  font-size: 1rem;
}

.feature-text {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  position: relative;
  display: flex;
  justify-content: center;
}

.wheel {
  width: 6px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  position: absolute;
  top: 10px;
  animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
  0% {
    top: 10px;
    opacity: 1;
  }

  100% {
    top: 30px;
    opacity: 0;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}






/* Services Section Styling */
.services-section {
  position: relative;
  padding: 100px 60px;
  background-color: #050214;
  overflow: hidden;
  z-index: 1;
}

/* Star Background */
.stars-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.stars-background::before,
.stars-background::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)),
    radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)),
    radial-gradient(1px 1px at 60px 110px, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    radial-gradient(2px 2px at 120px 150px, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0)),
    radial-gradient(1px 1px at 150px 200px, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)),
    radial-gradient(1px 1px at 200px 220px, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)),
    radial-gradient(1px 1px at 250px 300px, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    radial-gradient(1px 1px at 300px 350px, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)),
    radial-gradient(1px 1px at 350px 400px, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  background-repeat: repeat;
  background-size: 400px 400px;
  animation: twinkling 120s linear infinite;
}

.stars-background::after {
  background-size: 300px 300px;
  animation-duration: 90s;
  opacity: 0.6;
}

@keyframes twinkling {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-100%);
  }
}

/* Services Header */
.services-header {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.services-title {
  font-size: 42px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.services-title .highlight {
  background: linear-gradient(135deg, #7C3AED, #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.services-cta {
  background: linear-gradient(135deg, #7C3AED, #3B82F6);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.services-cta:hover {
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
  transform: scale(1.05);
  animation: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Service Card */
.service-card {
  background-color: rgba(60, 30, 90, 0.3);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-out;
  opacity: 0;
  transform: translateY(30px);
  min-height: 350px;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.3);
}

/* Service Icon */
.service-icon {
  background-color: rgba(60, 30, 90, 0.6);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

/* Service Title */
.service-title {
  color: white;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Service Details */
.service-details {
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-details p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.benefit-label {
  font-weight: 700;
  color: white;
}

/* Service Link */
.service-link {
  color: #7C3AED;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.service-link:hover {
  transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}






/* Variables */
:root {
  --color-bg-dark: #050214;
  --color-accent: #8A2BE2;
  --color-accent-light: #9A4CF5;
  --color-accent-gradient: linear-gradient(135deg, #8A2BE2 0%, #6d5acd 100%);
  --color-card-bg: #120d26;
  --color-white: #FFFFFF;
  --color-grey: #888888;
  --color-nav-dark: rgba(0, 0, 0, 0.5);
  --color-nav-dark-hover: rgba(0, 0, 0, 0.7);
  --transition-default: all 0.3s ease-out;
}

/* Portfolio Section */
.portfolio-section {
  position: relative;
  background-color: var(--color-bg-dark);
  padding: 120px 0;
  overflow: hidden;
  z-index: 1;
}

/* Stars Background Canvas */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#stars-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.portfolio-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header Styles */
.portfolio-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.accent {
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-white);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.85;
}

/* Portfolio Carousel Container */
.portfolio-carousel-container {
  position: relative;
  margin-bottom: 70px;
}

/* Navigation Arrows */
.carousel-nav-prev,
.carousel-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  z-index: 10;
  cursor: pointer;
}

.carousel-nav-prev {
  left: -25px;
}

.carousel-nav-next {
  right: -25px;
}

.nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-nav-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-default);
}

.nav-arrow:hover {
  background-color: var(--color-nav-dark-hover);
  transform: scale(1.05);
}

.nav-arrow i {
  font-size: 1.2rem;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 30px;
  margin: 0 auto;
}

/* Portfolio Card */
.portfolio-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-default);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow: 0 15px 30px rgba(138, 43, 226, 0.3);
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1;
}

.card-info {
  flex: 1;
  padding-right: 10px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.card-description {
  font-size: 0.95rem;
  color: var(--color-white);
  opacity: 0.75;
  line-height: 1.5;
}

.card-category {
  display: flex;
  align-items: flex-start;
  margin-left: 15px;
}

.category-tag {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--color-accent);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  white-space: nowrap;
}

/* Custom Pagination */
.carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--color-grey);
  opacity: 0.7;
  border-radius: 50%;
  transition: var(--transition-default);
  cursor: pointer;
}

.pagination-bullet-active {
  width: 24px;
  border-radius: 12px;
  background-color: var(--color-accent);
  opacity: 1;
}

/* CTA Button */
.cta-container {
  text-align: center;
  margin-top: 10px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--color-accent-gradient);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: var(--transition-default);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.5);
}

/* Animation Classes */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Swiper Override Styles */
.swiper-slide {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.swiper-slide-active {
  opacity: 1;
}

/* Ajoutez ces styles à votre feuille CSS */
.grid-mobile {
  grid-template-columns: 1fr !important;
}

.grid-tablet {
  grid-template-columns: repeat(2, 1fr) !important;
  grid-template-rows: auto !important;
}








/* Variables */
:root {
  --color-bg-dark: #050214;
  --color-accent: #8A2BE2;
  --color-accent-light: #9A4CF5;
  --color-accent-gradient: linear-gradient(135deg, #8A2BE2 0%, #6d5acd 100%);
  --color-card-bg: #120d26;
  --color-white: #FFFFFF;
  --color-grey: #9a9a9a;
  --color-border: rgba(138, 43, 226, 0.4);
  --transition-default: all 0.3s ease-out;
}

/* Blog Section */
.blog-section {
  position: relative;
  background-color: var(--color-bg-dark);
  padding: 120px 0;
  overflow: hidden;
  z-index: 1;
}

/* Stars Background Canvas (réutilisé du code précédent) */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#blog-stars-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.blog-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Blog Layout */
.blog-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

/* Left Column Styles */
.blog-info-column {
  display: flex;
  flex-direction: column;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 35px;
  line-height: 1.3;
}

.accent {
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Accordion Styles */
.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.accordion-item {
  background-color: rgba(18, 13, 38, 0.7);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
}

.accordion-header h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-white);
  margin: 0;
}

.accordion-icon {
  color: var(--color-white);
  transition: var(--transition-default);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(90deg);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 0 20px 20px;
}

.accordion-content p {
  color: var(--color-white);
  opacity: 0.85;
  line-height: 1.6;
  margin: 0;
}

.blog-description {
  color: var(--color-white);
  font-size: 1rem;
  opacity: 0.85;
  margin: 20px 0 30px;
  line-height: 1.6;
}

/* CTA Button */
.cta-container {
  margin-top: 10px;
}

.cta-container.center {
  text-align: center;
  margin-top: 40px;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--color-accent-gradient);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: var(--transition-default);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.5);
}

/* Right Column Styles */
.blog-articles-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Article Card */
.article-card {
  display: flex;
  background-color: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-default);
  min-height: 130px;
}

.article-card:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
}

.article-image {
  width: 140px;
  min-width: 140px;
  height: 100%;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.article-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 8px;
}

.article-category,
.article-date {
  color: var(--color-grey);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-category i,
.article-date i {
  font-size: 0.75rem;
  color: var(--color-accent-light);
}

.article-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.4;
  margin: 0 0 15px;
}

.read-more {
  color: var(--color-accent-light);
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  transition: var(--transition-default);
}

.read-more i {
  font-size: 0.75rem;
  transition: var(--transition-default);
}

.article-card:hover .read-more {
  color: var(--color-accent);
}

.article-card:hover .read-more i {
  transform: translateX(3px);
}

/* Animation Classes */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}




/* Variables pour les couleurs et transitions */
:root {
  --dark-blue: #050214;
  --text-white: #ffffff;
  --glass-bg: rgba(50, 50, 60, 0.25);
  --glass-border: rgba(255, 255, 255, 0.15);
  --gradient-start: #7e3bce;
  --gradient-end: #3b82ce;
  --transition-speed: 0.3s;
  --glow-color: rgba(170, 100, 255, 0.25);
  /* Variable pour la couleur de la lueur */
}

/* Styles généraux de la section */
.garanties-section {
  position: relative;
  background-color: var(--dark-blue);
  color: var(--text-white);
  padding: 4rem 2rem;
  overflow: hidden;
  font-family: 'Space Grotesk', sans-serif;
}

/* Effet d'arrière-plan d'étoiles */
.stars-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(2px 2px at calc(random(100) * 1%) calc(random(100) * 1%), rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at calc(random(100) * 1%) calc(random(100) * 1%), rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at calc(random(100) * 1%) calc(random(100) * 1%), rgba(255, 255, 255, 0.5), transparent);
  background-size: 100% 100%;
  z-index: 0;
}

/* Titre principal */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

/* Blocs de contenu */
.content-block {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.image-column,
.text-column {
  width: 46%;
  padding: 1rem;
}

/* Conteneur d'image et positionnement - CORRIGÉ */
.image-container {
  position: relative;
  /* Essentiel pour le positionnement des cartes */
  width: 100%;
  height: auto;
  overflow: visible;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Cartes glasmorphiques - CORRIGÉ avec EFFET DE LUEUR */
.glass-card {
  position: absolute;
  background-color: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--text-white);
  box-shadow: 0 0 20px var(--glow-color), 0 8px 32px rgba(0, 0, 0, 0.1);
  /* Ajout de l'effet de lueur */
  width: 220px;
  /* Taille fixe pour mieux contrôler le positionnement */
  z-index: 2;
}

/* Positionnement spécifique pour les cartes du PREMIER BLOC (inchangé) */
#testimonial-card {
  top: 15%;
  left: 5%;
}

#support-card {
  bottom: 15%;
  right: 5%;
}

/* Positionnement spécifique pour les cartes du DEUXIÈME BLOC (corrigé) */
.content-block:nth-of-type(2) .image-column .glass-card-1 {
  top: 15%;
  left: 5%;
}

.content-block:nth-of-type(2) .image-column .glass-card-2 {
  bottom: 15%;
  right: 5%;
}

.glass-card h4 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.glass-card p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.9;
}

.testimonial-author {
  font-style: italic;
  font-size: 0.75rem !important;
  opacity: 0.7 !important;
  margin-top: 0.5rem !important;
}

/* Icônes des cartes */
.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-white);
}

.purple {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

/* Style du texte */
.text-column h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.text-column p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Boutons CTA */
.btn-cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition-speed) ease-out;
  box-shadow: 0 4px 15px rgba(62, 65, 159, 0.3);
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(62, 65, 159, 0.4);
  filter: brightness(1.1);
}

/* Animation Pulse pour les boutons */
.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

/* CTA pleine largeur */
.full-width-cta {
  text-align: center;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all var(--transition-speed) ease-out;
  box-shadow: 0 4px 15px rgba(62, 65, 159, 0.3);
  max-width: 90%;
  margin: 0 auto;
}

.btn-cta-large i {
  margin-right: 0.75rem;
}

.btn-cta-large i:last-child {
  margin-right: 0;
  margin-left: 0.75rem;
}

.btn-cta-large:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(62, 65, 159, 0.4);
  filter: brightness(1.1);
}

/* Animation d'entrée pour les éléments */
.fade-element {
  opacity: 0;
  transform: translateY(30px);
}









/* Section Témoignages */
.testimonials {
  position: relative;
  width: 100%;
  padding: 120px 0;
  background-image: url(images/fond-testimonials.png);
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 30, 0.65);
  z-index: 1;
}

.testimonials__container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  gap: 60px;
}

/* Colonne de gauche */
.testimonials__left {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.testimonials__title {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 24px;
}

.testimonials__title span {
  font-weight: 700;
  color: #a98eff;
}

.testimonials__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

.testimonials__cta {
  align-self: flex-start;
  padding: 16px 28px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(to right, #7165ee, #4a9fff);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse 2s infinite;
}

.testimonials__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(74, 159, 255, 0.4);
}

/* Colonne de droite */
.testimonials__right {
  flex: 0 0 55%;
  display: flex;
  gap: 24px;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

.testimonials__column {
  flex: 1;
  height: 600px;
  position: relative;
}

.testimonials__column--down .testimonials__wrapper {
  animation: scrollDown 30s linear infinite;
}

.testimonials__column--up .testimonials__wrapper {
  animation: scrollUp 30s linear infinite;
}

.testimonials__column:hover .testimonials__wrapper {
  animation-play-state: paused;
}

.testimonials__wrapper {
  position: absolute;
  width: 100%;
}

.testimonials__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cartes de témoignage */
.testimonial {
  background: rgba(50, 50, 60, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 0 30px rgba(111, 95, 232, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 20px;
}

.testimonial:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(111, 95, 232, 0.25);
}

.testimonial__quote-icon {
  font-size: 3rem;
  font-family: 'Georgia', serif;
  color: #a98eff;
  line-height: 1;
  margin-bottom: 10px;
}

.testimonial__text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.testimonial__info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  margin-top: 4px;
}

/* Animation de défilement */
@keyframes scrollDown {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(-100% / 2));
  }
}

@keyframes scrollUp {
  0% {
    transform: translateY(calc(-100% / 2));
  }

  100% {
    transform: translateY(0);
  }
}

/* Animation de pulsation du bouton */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(111, 95, 232, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(111, 95, 232, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(111, 95, 232, 0);
  }
}

/* Animations d'entrée */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation pour le mobile (version modifiée) */
@keyframes scrollUpMobile {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-80%);
  }
}




/* Section Contact */
.contact {
  position: relative;
  width: 100%;
  padding: 120px 0;
  background-color: #050214;
  color: white;
  overflow: hidden;
}

/* Animation des étoiles en arrière-plan */
.stars-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 5s infinite;
}

/* Positionnement aléatoire des étoiles */
.stars-bg .star:nth-child(1) {
  top: 10%;
  left: 15%;
  animation-delay: 0.5s;
}

.stars-bg .star:nth-child(2) {
  top: 20%;
  left: 35%;
  animation-delay: 0.7s;
}

.stars-bg .star:nth-child(3) {
  top: 15%;
  left: 55%;
  animation-delay: 1.1s;
}

.stars-bg .star:nth-child(4) {
  top: 25%;
  left: 75%;
  animation-delay: 1.4s;
}

.stars-bg .star:nth-child(5) {
  top: 35%;
  left: 25%;
  animation-delay: 1.8s;
}

.stars-bg .star:nth-child(6) {
  top: 45%;
  left: 45%;
  animation-delay: 2.1s;
}

.stars-bg .star:nth-child(7) {
  top: 55%;
  left: 65%;
  animation-delay: 2.5s;
}

.stars-bg .star:nth-child(8) {
  top: 65%;
  left: 15%;
  animation-delay: 2.9s;
}

.stars-bg .star:nth-child(9) {
  top: 75%;
  left: 35%;
  animation-delay: 3.2s;
}

.stars-bg .star:nth-child(10) {
  top: 85%;
  left: 55%;
  animation-delay: 3.6s;
}

.stars-bg .star:nth-child(11) {
  top: 5%;
  left: 85%;
  animation-delay: 4.0s;
}

.stars-bg .star:nth-child(12) {
  top: 15%;
  left: 5%;
  animation-delay: 4.4s;
}

.stars-bg .star:nth-child(13) {
  top: 25%;
  left: 95%;
  animation-delay: 4.7s;
}

.stars-bg .star:nth-child(14) {
  top: 40%;
  left: 5%;
  animation-delay: 5.1s;
}

.stars-bg .star:nth-child(15) {
  top: 50%;
  left: 95%;
  animation-delay: 5.5s;
}

.stars-bg .star:nth-child(16) {
  top: 60%;
  left: 85%;
  animation-delay: 5.9s;
}

.stars-bg .star:nth-child(17) {
  top: 70%;
  left: 5%;
  animation-delay: 6.2s;
}

.stars-bg .star:nth-child(18) {
  top: 80%;
  left: 95%;
  animation-delay: 6.6s;
}

.stars-bg .star:nth-child(19) {
  top: 90%;
  left: 35%;
  animation-delay: 7.0s;
}

.stars-bg .star:nth-child(20) {
  top: 95%;
  left: 65%;
  animation-delay: 7.3s;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.contact__container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact__intro {
  max-width: 800px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  /* Animation déclenchée par JavaScript au scroll */
}

.contact__title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.contact__title span {
  color: #00E5FF;
  /* Couleur cyan/turquoise pour "Lancer" */
  font-weight: 700;
}

.contact__description {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Grille de cartes */
.contact__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  margin-bottom: 60px;
  perspective: 1000px;
  /* Ajoute de la profondeur pour les effets 3D */
}

/* Style des cartes individuelles avec effets hover améliorés */
.contact-card {
  background-color: rgba(59, 38, 103, 0.034);
  /* Violet très sombre */
  background-image: radial-gradient(circle at center, rgba(80, 50, 140, 0.3) 0%, rgba(59, 38, 103, 0.3) 100%);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.5s ease,
    background-color 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  /* Animation déclenchée par JavaScript au scroll */
}

/* Effet de bordure lumineuse qui apparaît au survol */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  background: linear-gradient(45deg, #00E5FF, #a742f5, #00E5FF) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Lueur de fond qui se déplace au survol */
.contact-card::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.4) 0%, rgba(0, 229, 255, 0) 70%);
  top: -25%;
  left: -25%;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.03);
  background-color: rgba(70, 45, 120, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 229, 255, 0.3);
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card:hover::after {
  opacity: 0.5;
  transform: scale(1);
  animation: moveGlow 3s infinite alternate ease-in-out;
}

@keyframes moveGlow {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(5%, 5%);
  }
}

.contact-card__icon-wrapper {
  margin-bottom: 24px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-card:hover .contact-card__icon-wrapper {
  transform: scale(1.15) translateY(-5px);
}

.contact-card__icon {
  width: 64px;
  height: 64px;
  background-color: #0E0A20;
  /* Fond sombre pour l'icône */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00E5FF;
  /* Couleur turquoise pour l'icône */
  animation: pulse 2s infinite;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover .contact-card__icon {
  background-color: rgba(20, 15, 40, 0.8);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
  color: #5dffff;
  animation: none;
  /* Arrêter l'animation pulse au survol */
  transform: rotate(360deg);
  /* Rotation complète au survol */
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-card__icon svg {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-card__icon svg {
  transform: scale(1.2);
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.8));
}

.contact-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-card:hover .contact-card__title {
  transform: scale(1.05);
  color: #00E5FF;
}

.contact-card__description {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.contact-card:hover .contact-card__description {
  opacity: 1;
}

/* Bouton WhatsApp */
.contact__whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: #25D366;
  /* Vert WhatsApp */
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  /* Forme de pilule */
  transition: all 0.3s ease-out;
  opacity: 0;
  transform: translateY(20px);
  position: relative;
  overflow: hidden;
  /* Animation déclenchée par JavaScript au scroll */
}

/* Effet de vague sur le bouton WhatsApp */
.contact__whatsapp-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: all 0.5s ease;
}

.contact__whatsapp-btn:hover {
  background-color: #1fae55;
  /* Vert plus foncé au survol */
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
}

.contact__whatsapp-btn:hover::before {
  left: 100%;
}

.contact__whatsapp-btn svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.contact__whatsapp-btn:hover svg {
  transform: scale(1.2) rotate(10deg);
}

/* Animation de pulsation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 229, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
  }
}

/* Animation d'entrée fade-in et slide-up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation pour l'apparition des éléments au scroll */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
}


/* Footer styles */
.footer {
  background-color: #050214;
  color: #ffffff;
  padding: 70px 0 30px;
  font-family: 'Space Grotesk', sans-serif;
  position: relative;
  overflow: hidden;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Logo styles */
.footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.footer__logo span {
  font-family: 'poppins', sans-serif;
}

.footer__logo-icon {
  margin-right: 12px;
}

.footer__logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Column styles */
.footer__column {
  opacity: 0;
  transform: translateY(20px);
}

.footer__column--info {
  grid-column: span 1;
  animation: fadeInUp 0.8s ease forwards;
}

.footer__column--services {
  grid-column: span 1;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.footer__column--links {
  grid-column: span 1;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.footer__column--newsletter {
  grid-column: span 1;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.footer__description {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer__contact-info {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.footer__contact-info p {
  margin-bottom: 10px;
}

.footer__contact-info strong {
  font-weight: 600;
  color: #ffffff;
}

.footer__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #7B68EE, #4A9DFF);
}

/* Links styles */
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  position: relative;
}

.footer__links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #7B68EE, #4A9DFF);
  transition: width 0.3s ease;
}

.footer__links a:hover {
  color: #7B68EE;
}

.footer__links a:hover::before {
  width: 100%;
}

/* Newsletter form */
.footer__newsletter-form {
  position: relative;
  display: flex;
  margin-bottom: 25px;
}

.footer__input {
  flex-grow: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
}

.footer__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer__input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.footer__subscribe-btn {
  padding: 12px 20px;
  background: linear-gradient(90deg, #7B68EE, #9370DB);
  color: white;
  border: none;
  border-radius: 0 5px 5px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer__subscribe-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #8A70FF, #A485FF);
}

/* Social media icons */
.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background-color: #7B68EE;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(123, 104, 238, 0.4);
}

/* Separator */
.footer__separator {
  max-width: 1200px;
  margin: 50px auto 30px;
  padding: 0 30px;
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: fadeIn 0.8s ease 0.8s forwards;
}

/* Bottom bar */
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: fadeIn 0.8s ease 1s forwards;
}

.footer__legal-links {
  display: flex;
  gap: 20px;
}

.footer__legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__legal-links a:hover {
  color: #7B68EE;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}








/* Responsive styles */
@media (max-width: 992px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer__column--info,
  .footer__column--services,
  .footer__column--links,
  .footer__column--newsletter {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 0 20px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer__legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .footer__container {
    padding: 0 20px;
  }

  .footer__newsletter-form {
    flex-direction: column;
  }

  .footer__input {
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .footer__subscribe-btn {
    border-radius: 5px;
    width: 100%;
  }

  .footer__social {
    justify-content: center;
  }
}




/* Responsive design */
@media (max-width: 992px) {
  .contact {
    padding: 80px 0;
  }

  .contact__title {
    font-size: 2.5rem;
  }

  .contact__cards {
    grid-template-columns: 1fr;
    max-width: 600px;
    gap: 40px;
  }

  .contact-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }

  .contact__title {
    font-size: 2rem;
  }

  .contact__description {
    font-size: 1rem;
  }

  .contact__container {
    padding: 0 20px;
  }

  .contact-card__title {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .contact__title {
    font-size: 1.8rem;
  }

  .contact__whatsapp-btn {
    width: 100%;
    padding: 15px 20px;
  }
}




/* Media Queries pour la responsivité */
@media (max-width: 992px) {
  .testimonials {
    padding: 80px 0;
    /* Restructuration pour un design en sections distinctes */
    display: flex;
    flex-direction: column;
  }

  .testimonials__container {
    flex-direction: column;
    gap: 40px;
    /* Important: Structure en sections distinctes */
    display: flex;
    flex-direction: column;
  }

  .testimonials__left {
    flex: none;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    /* IMPORTANT: Garantir que cette section est au-dessus des témoignages */
    position: relative;
    z-index: 5;
    background: rgba(10, 10, 30, 0.7);
    /* Fond semi-transparent */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  }

  .testimonials__cta {
    align-self: center;
  }

  .testimonials__right {
    flex: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    /* IMPORTANT: Confinement des témoignages à leur section */
    height: 400px;
    /* Hauteur fixe */
    overflow: hidden;
    position: relative;
    /* Ajouter un masque de dégradé pour faire disparaître progressivement les témoignages */
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
  }

  /* Correction pour l'animation sur mobile */
  .testimonials__column {
    flex: none;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
  }

  /* Masquer la deuxième colonne et ne garder que la première */
  .testimonials__column--up {
    display: none;
  }

  /* Adapter la première colonne pour prendre toute la largeur */
  .testimonials__column--down {
    width: 100%;
  }

  /* Animation adaptée pour éviter les débordements */
  .testimonials__column--down .testimonials__wrapper {
    /* Animation modifiée plus lente et avec une portée limitée */
    animation: scrollUpMobile 45s linear infinite;
    position: relative;
    width: 100%;
  }

  .testimonials__group {
    width: 100%;
    gap: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  /* Assurer que les cartes de témoignage s'adaptent correctement */
  .testimonial {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    margin-bottom: 20px;
    /* Assurer que les cartes sont visibles */
    opacity: 1;
    display: block;
    /* Transition pour l'effet de disparition */
    transition: opacity 0.3s ease;
  }

  .testimonials__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .testimonials {
    padding: 60px 0;
  }

  .testimonials__container {
    padding: 0 15px;
  }

  .testimonials__title {
    font-size: 2rem;
  }

  .testimonials__description {
    font-size: 1rem;
  }

  .testimonials__cta {
    width: 90%;
    padding: 14px 20px;
  }

  .testimonials__right {
    height: 350px;
    /* Réduire la hauteur sur les très petits écrans */
  }

  .testimonials__column {
    height: 350px;
  }

  .testimonial {
    padding: 20px;
    margin-bottom: 25px;
  }

  .testimonial__text {
    font-size: 0.95rem;
  }

  .testimonial__avatar {
    width: 40px;
    height: 40px;
  }
}

/* Pour les très petits écrans */
@media (max-width: 380px) {
  .testimonials__title {
    font-size: 1.8rem;
  }

  .testimonials__right {
    height: 300px;
  }

  .testimonials__column {
    height: 300px;
  }

  .testimonial {
    padding: 15px;
    margin-bottom: 20px;
  }
}


/* Responsive - ADAPTÉ POUR LES CARTES GLASMORPHIQUES */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }

  .content-block {
    flex-direction: column;
  }

  .image-column,
  .text-column {
    width: 100%;
    padding: 1rem 0;
  }

  .image-column {
    margin-bottom: 2rem;
  }

  .glass-card {
    width: 180px;
  }

  /* Réajustement des positions des cartes en responsive */
  .content-block:first-of-type .image-column .glass-card-1,
  .content-block:nth-of-type(2) .image-column .glass-card-1 {
    top: 10px;
    left: 10px;
  }

  .content-block:first-of-type .image-column .glass-card-2,
  .content-block:nth-of-type(2) .image-column .glass-card-2 {
    bottom: 10px;
    right: 10px;
  }

  .text-column h3 {
    font-size: 1.5rem;
  }

  .text-column p {
    font-size: 1rem;
  }

  .btn-cta-large {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }

  .glass-card {
    width: 140px;
    /* Réduction de la taille sur petits écrans */
    padding: 0.75rem;
  }

  .glass-card h4 {
    font-size: 0.9rem;
    margin: 0.5rem 0 0.25rem;
  }

  .glass-card p {
    font-size: 0.7rem;
  }

  .icon-circle {
    width: 30px;
    height: 30px;
  }
}





/* Responsive Styles */
@media (max-width: 992px) {
  .blog-section {
    padding: 90px 0;
  }

  .blog-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-title {
    font-size: 2rem;
  }

  .blog-info-column {
    max-width: 600px;
    margin: 0 auto;
  }

  .article-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .article-card {
    flex-direction: column;
    min-height: auto;
  }

  .article-image {
    width: 100%;
    min-width: 100%;
    height: 180px;
    border-radius: 12px 12px 0 0;
  }
}

@media (max-width: 480px) {
  .blog-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 5px;
  }

  .article-title {
    font-size: 1rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}




/* Responsive Styles */
@media (max-width: 1024px) {

  /* Tablette: 2 colonnes, 1 ligne (2 projets par slide) */
  .portfolio-section {
    padding: 90px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
  }

  .portfolio-grid .portfolio-card:nth-child(n+3) {
    display: none;
  }

  .carousel-nav-prev {
    left: -15px;
  }

  .carousel-nav-next {
    right: -15px;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {

  /* Mobile: 1 colonne, 1 ligne (1 projet par slide) */
  .portfolio-section {
    padding: 70px 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid .portfolio-card:nth-child(n+2) {
    display: none;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-description {
    font-size: 0.9rem;
  }

  .carousel-nav-prev {
    left: -10px;
  }

  .carousel-nav-next {
    right: -10px;
  }

  .nav-arrow {
    width: 36px;
    height: 36px;
  }

  .pagination-bullet {
    width: 6px;
    height: 6px;
  }

  .pagination-bullet-active {
    width: 18px;
  }
}

@media (max-width: 480px) {
  .portfolio-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .card-content {
    flex-direction: column;
  }

  .card-category {
    margin-left: 0;
    margin-top: 15px;
  }

  .carousel-nav-prev,
  .carousel-nav-next {
    display: none;
  }

  .card-image {
    height: 180px;
  }
}








/* Media Queries */
@media (max-width: 992px) {
  .nav-glass {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    margin-bottom: 15px;
  }

  .hero-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-cta {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .feature-text {
    font-size: 0.8rem;
  }
}


/* Responsive Styles */
@media screen and (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-section {
    padding: 80px 40px;
  }

  .services-title {
    font-size: 36px;
  }

  .services-subtitle {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-section {
    padding: 60px 20px;
  }

  .services-title {
    font-size: 30px;
  }

  .services-subtitle {
    font-size: 15px;
  }

  .services-cta {
    padding: 14px 28px;
    font-size: 15px;
  }

  .service-card {
    padding: 25px;
  }

  .service-title {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .services-title {
    font-size: 26px;
  }

  .services-subtitle {
    font-size: 14px;
  }

  .services-cta {
    padding: 12px 24px;
    font-size: 14px;
  }
}