/* Global Styles & Variables */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

:root {
  --primary-color: #4f46e5;
  /* indigo-600 */
  --primary-hover: #4338ca;
  /* indigo-700 */
  --secondary-color: #3b82f6;
  /* blue-500 */
  --text-dark: #0f172a;
  /* slate-900 */
  --text-medium: #475569;
  /* slate-600 */
  --text-light: #94a3b8;
  /* slate-400 */
  --bg-light: #f8fafc;
  /* slate-50 */
  --white: #ffffff;
  --max-width: 80rem;
  /* 7xl */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-medium);
  background-color: var(--bg-light);
  min-height: 100vh;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1), 0 2px 4px -1px rgba(79, 70, 229, 0.06);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

.btn-outline {
  background-color: var(--white);
  color: var(--text-medium);
  border: 1px solid #e2e8f0;
}

.btn-outline {
  background-color: var(--white);
  color: var(--text-medium);
  border: 1px solid #e2e8f0;
}

.btn-outline:hover {
  background-color: var(--bg-light);
  border-color: #cbd5e1;
}

/* Accessibility & Utils */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-medium);
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  line-height: 1.75;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.logo-icon {
  background-color: var(--primary-color);
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: var(--white);
  display: flex;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

.nav-link {
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-medium);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background-color: var(--white);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  /* flex-col removed */
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 700;
  font-size: 1.25rem;
}

.mobile-menu-links {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  color: var(--text-medium);
  transition: background-color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: #eef2ff;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 12rem;
    padding-bottom: 8rem;
  }
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: -1;
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--white);
  border: 1px solid #e0e7ff;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ping-wrapper {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  display: flex;
}

.ping-dot {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #818cf8;
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.static-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #6366f1;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.gradient-text {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--text-medium);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-trust {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-medium);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-check {
  color: #22c55e;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

/* Portfolio Carousel */
.portfolio-carousel-wrapper {
  position: relative;
  margin-top: 3rem;
}

.portfolio-viewport {
  overflow: hidden;
  margin: 0 -1rem;
  padding: 1rem;
}

.portfolio-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem;
}

.portfolio-item {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .portfolio-item {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

.portfolio-card {
  background-color: var(--bg-light);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card-image-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .card-image {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .card-overlay {
  opacity: 1;
}

.card-link-icon {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem;
  border-radius: 50%;
  color: var(--text-dark);
  display: flex;
  transition: all 0.2s;
}

.card-link-icon:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: scale(1.1);
}

.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  background-color: #e0e7ff;
  color: var(--primary-color);
  border-radius: 9999px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.card-desc {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.card-link:hover {
  color: var(--primary-hover);
}

/* Custom Project Card */
.custom-project-card {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.custom-card-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 500px;
}

.custom-icon-wrapper {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 1.25rem;
  border-radius: 50%;
  margin-bottom: 2rem;
  display: flex;
}

.custom-card-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.custom-card-desc {
  color: #e0e7ff;
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 20rem;
}

.custom-btn {
  background-color: var(--white);
  color: var(--primary-color);
  border: none;
}

.custom-btn:hover {
  background-color: #f1f5f9;
}

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--white);
  border: 1px solid #e2e8f0;
  color: var(--text-medium);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: all 0.2s;
}

.carousel-btn:hover {
  color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

@media (min-width: 768px) {
  .carousel-btn.prev {
    left: -1.5rem;
  }

  .carousel-btn.next {
    right: -1.5rem;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background-color: var(--primary-color);
  width: 1.5rem;
  border-radius: 9999px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: #eef2ff;
  border-radius: 0.75rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: rotate(6deg) scale(1.1);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}


.feature-desc {
  color: var(--text-medium);
}

/* AI Consultant */
.ai-section {
  position: relative;
  background-color: #1e1b4b;
  /* indigo-950 */
  overflow: hidden;
  color: var(--white);
}

.ai-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.ai-shape-1 {
  top: 0;
  left: 0;
  width: 25rem;
  height: 25rem;
  background-color: #4f46e5;
  transform: translate(-30%, -30%);
}

.ai-shape-2 {
  bottom: 0;
  right: 0;
  width: 30rem;
  height: 30rem;
  background-color: #7c3aed;
  /* violet-600 */
  transform: translate(30%, 30%);
}

.ai-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 48rem;
  margin: 0 auto;
}

.ai-header {
  text-align: center;
  margin-bottom: 3rem;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #c7d2fe;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(199, 210, 254, 0.2);
}

.ai-interface {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 0.5rem;
  backdrop-filter: blur(12px);
}

.ai-input-group {
  display: flex;
  gap: 0.5rem;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  border-radius: 1rem;
}

.ai-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 1rem;
  outline: none;
}

.ai-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #4f46e5, #9333ea);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.ai-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.ai-result {
  margin-top: 1rem;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  animation: fadeIn 0.5s ease;
}

.ai-result.hidden {
  display: none;
}

.ai-result-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #e0e7ff;
}

.ai-result-text {
  color: #c7d2fe;
  line-height: 1.6;
  white-space: pre-line;
  margin-bottom: 1.5rem;
}

.ai-result-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pricing */
.pricing-card {
  position: relative;
  background-color: var(--white);
  border-radius: 2rem;
  padding: 3rem 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 28rem;
  margin: 4rem auto 0;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.popular-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #4f46e5, #3b82f6);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.4);
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.period {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-left: 0.5rem;
}

.pricing-tag {
  display: inline-block;
  background-color: #eff6ff;
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.pricing-features {
  text-align: left;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-medium);
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  flex-shrink: 0;
}

.check-icon i {
  width: 1rem;
  height: 1rem;
}

.pricing-subtext {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #e2e8f0;
  width: 2rem;
  height: 2rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.star-filled {
  fill: #fbbf24;
  color: #fbbf24;
  width: 1.25rem;
  height: 1.25rem;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 700;
  color: var(--text-dark);
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-medium);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background-color: #eef2ff;
  border-radius: 0.75rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.contact-item h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-item a,
.contact-note p {
  color: var(--text-medium);
  margin: 0;
}

/* Mobile Responsiveness for Back to Top removed */

.contact-item a:hover {
  color: var(--primary-color);
}

/* --- REDESIGN SECTIONS --- */

/* Target Audience (Pour qui ?) */
.target-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .target-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .target-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.target-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid #f1f5f9;
  transition: all 0.3s;
}

.target-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.target-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--primary-color);
  background-color: #eef2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.target-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* Process (Comment ça marche ?) */
.process-steps {
  display: flex;
  flex-direction: column;
  /* Mobile first */
  gap: 3rem;
  margin-top: 5rem;
  /* Increased spacing */
  position: relative;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    gap: 4rem;
    /* Increased gap */
  }

  /* Connector Line for Desktop */
  .process-steps::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    /* Align with larger number center */
    left: 0;
    width: 100%;
    height: 4px;
    /* Thicker line */
    background-color: #e2e8f0;
    z-index: 0;
  }
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 5rem;
  /* Larger */
  height: 5rem;
  /* Larger */
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 2rem;
  /* Larger font */
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
  /* Stronger shadow */
  border: 6px solid var(--white);
  /* Thicker border */
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  /* Increased gap */
  margin-top: 4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  /* More padding */
  border: 1px solid #e2e8f0;
  transition: transform 0.2s;
}

.faq-item:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 800;
  /* Bolder */
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  /* Larger */
}

.faq-question i {
  color: var(--primary-color);
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
}

.faq-answer {
  color: var(--text-medium);
  padding-left: 2.5rem;
  /* Align text under question text */
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Final CTA Section */
.final-cta {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 5rem 1rem;
  border-radius: 2rem;
  margin: 4rem 0;
  background-image:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 40%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.1), transparent 40%);
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.final-cta p {
  color: #e0e7ff;
  font-size: 1.25rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-color);
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #22c55e;
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: white;
  stroke: white;
}

.contact-note {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--primary-color);
}

.contact-note h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-form-wrapper {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background-color: var(--white);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
}

.submit-icon-wrapper {
  margin-left: 0.5rem;
  display: inline-flex;
  transition: transform 0.3s;
}

.btn-submit:hover .submit-icon-wrapper {
  transform: translateX(4px) rotate(-45deg);
}

.form-success {
  background-color: #dcfce7;
  color: #166534;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-success.hidden {
  display: none;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: #94a3b8;
  padding: 5rem 0 3rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a:hover {
  color: var(--white);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 5000;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid #e2e8f0;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cookie-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.cookie-icon-wrapper {
  display: none;
}

@media (min-width: 768px) {
  .cookie-icon-wrapper {
    display: flex;
    background-color: #e0e7ff;
    padding: 0.75rem;
    border-radius: 50%;
    color: var(--primary-color);
  }
}

.cookie-text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cookie-text p {
  font-size: 0.875rem;
  color: var(--text-medium);
  max-width: 40rem;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 0.5rem;
}

.cookie-close:hover {
  color: var(--text-dark);
}