* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background:
    radial-gradient(circle at 15% 20%, rgba(124, 58, 237, 0.40), transparent 22%),
    radial-gradient(circle at 80% 15%, rgba(37, 99, 235, 0.35), transparent 22%),
    radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.28), transparent 30%),
    linear-gradient(180deg, #1a1a40 0%, #151a45 35%, #0f1240 100%);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== Fonds lumineux ===== */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
}

.orb-1 {
  width: 260px;
  height: 260px;
  background: rgba(124, 58, 237, 0.35);
  top: 80px;
  left: -40px;
  animation: floatOrb 10s ease-in-out infinite;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: rgba(37, 99, 235, 0.30);
  top: 220px;
  right: -90px;
  animation: floatOrb 12s ease-in-out infinite;
}

.orb-3 {
  width: 240px;
  height: 240px;
  background: rgba(192, 132, 252, 0.22);
  bottom: 80px;
  left: 35%;
  animation: floatOrb 14s ease-in-out infinite;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-25px) translateX(12px); }
  100% { transform: translateY(0px) translateX(0px); }
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 20px;
  background: rgba(5, 8, 22, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-container {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.22);
}

.brand-text h1 {
  margin: 0;
  font-size: 26px;
}

.brand-text p {
  margin: 4px 0 0;
  color: #aebad1;
  font-size: 14px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #3b82f6);
  transition: 0.3s;
}

nav a:hover {
  color: #d8b4fe;
}

nav a:hover::after {
  width: 100%;
}

/* ===== Sections ===== */
section {
  max-width: 1250px;
  margin: 0 auto;
  padding: 90px 20px;
  text-align: center;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 45px;
}

.section-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.16);
  color: #d8b4fe;
  border: 1px solid rgba(216, 180, 254, 0.18);
  font-size: 14px;
  margin-bottom: 16px;
}

section h2 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 14px;
}

.section-description {
  font-size: 18px;
  line-height: 1.7;
  color: #b8c4da;
  margin: 0 auto;
  max-width: 760px;
}

/* ===== Glass card générique ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

/* ===== Hero ===== */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-block;
  margin: 0 auto 25px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.20);
  color: #bfdbfe;
  font-size: 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-left {
  text-align: left;
}

.hero-left h2 {
  font-size: 68px;
  line-height: 1.02;
  margin-bottom: 24px;
}

.hero-left h2 span {
  background: linear-gradient(90deg, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-left p {
  font-size: 20px;
  line-height: 1.8;
  color: #c8d3e6;
  max-width: 720px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero button,
.secondary-btn,
.cta-section button,
form button {
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: bold;
  transition: 0.35s;
}

.hero button,
.cta-section button,
form button {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: white;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.25);
}

.secondary-btn {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.hero button:hover,
.secondary-btn:hover,
.cta-section button:hover,
form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(124, 58, 237, 0.30);
}

.hero-features {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-feature {
  min-width: 120px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.hero-feature span {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}

.hero-feature p {
  margin: 0;
  font-size: 14px;
  color: #dbe4f0;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.main-hero-card {
  width: 100%;
  max-width: 480px;
  border-radius: 26px;
  overflow: hidden;
  text-align: left;
  position: relative;
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  font-size: 14px;
  color: #dbe4f0;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.7);
}

.main-hero-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.hero-card-content {
  padding: 22px 20px 24px;
}

.hero-card-content h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.hero-card-content p {
  margin: 0;
  color: #c7d2e3;
  line-height: 1.7;
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 10px;
}

.stat-box {
  padding: 34px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.stat-box h3 {
  margin: 0 0 10px;
  font-size: 48px;
  background: linear-gradient(90deg, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-box p {
  margin: 0;
  color: #c0cadb;
  line-height: 1.6;
}

/* ===== Services ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

/* Tablette - 2 colonnes */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile - 1 colonne */
@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 30px 22px;
  border-radius: 22px;
  text-align: left;
  cursor: pointer;
  transition: 0.35s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(59, 130, 246, 0.10));
  opacity: 0;
  transition: 0.35s;
  z-index: 0;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.28);
}

.card * {
  position: relative;
  z-index: 1;
}

.card-icon {
  font-size: 42px;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.card p {
  margin: 0;
  color: #c7d2e3;
  line-height: 1.7;
}

/* ===== Carousel ===== */
.carousel-section {
  padding-top: 50px;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 580px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.32);
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
  animation: fadeSlide 0.6s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0.4;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.15));
}

.slide-title {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 32px;
  z-index: 2;
  text-align: left;
  font-size: 34px;
  font-weight: bold;
  line-height: 1.2;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  color: white;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  transition: 0.3s;
}

.prev:hover,
.next:hover {
  background: rgba(124, 58, 237, 0.8);
}

.prev {
  left: 18px;
}

.next {
  right: 18px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active-dot {
  background: linear-gradient(90deg, #a855f7, #3b82f6);
  transform: scale(1.15);
}

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 15px;
}

.process-box {
  padding: 30px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.process-number {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 14px;
  color: #c084fc;
}

.process-box h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.process-box p {
  margin: 0;
  color: #c6d1e4;
  line-height: 1.7;
}

/* ===== Banner ===== */
.premium-banner {
  padding-top: 30px;
  padding-bottom: 30px;
}

.premium-banner-content {
  padding: 45px 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(37, 99, 235, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.20);
}

.premium-banner h2 {
  margin-bottom: 15px;
}

.premium-banner p {
  max-width: 800px;
  margin: 0 auto;
  color: #d6e0ef;
  font-size: 18px;
  line-height: 1.8;
}

/* ===== Advantages ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.advantage-box {
  border-radius: 22px;
  padding: 30px 24px;
  text-align: left;
}

.advantage-box h3 {
  margin: 0 0 12px;
  font-size: 24px;
  color: #bfdbfe;
}

.advantage-box p {
  margin: 0;
  color: #c7d2e3;
  line-height: 1.75;
}

/* ===== CTA ===== */
.cta-section {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 70px 25px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(37, 99, 235, 0.20)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 820px;
  margin: 0 auto 28px;
  color: #d4deee;
  font-size: 18px;
  line-height: 1.8;
}

/* ===== Contact ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  margin-top: 10px;
}

.contact-wrapper.contact-only {
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  border-radius: 24px;
  padding: 40px 36px;
  text-align: center;
  transition: all 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(124, 58, 237, 0.25);
}

.contact-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  font-size: 48px;
  display: block;
}

.contact-card h3 {
  margin: 0;
  font-size: 24px;
  color: white;
}

.contact-link {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  color: #a855f7;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.contact-link:hover {
  color: #d8b4fe;
  text-decoration: underline;
}

.contact-availability {
  margin: 0;
  color: #b8c4da;
  font-size: 14px;
  line-height: 1.6;
}

.contact-info,
form {
  border-radius: 24px;
  padding: 30px;
  text-align: left;
}

.contact-info h3 {
  margin-top: 0;
  font-size: 28px;
}

.contact-info > p {
  color: #c7d2e3;
  line-height: 1.7;
  margin-bottom: 24px;
}

.info-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.info-line span {
  font-size: 22px;
}

.info-line p {
  margin: 0;
  color: #d7e0ee;
  line-height: 1.6;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  width: 100%;
  padding: 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 18, 38, 0.90);
  color: white;
  outline: none;
  font-size: 15px;
}

input::placeholder,
textarea::placeholder {
  color: #91a1bb;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 20px;
  color: #96a4bc;
  background: transparent;
  margin-top: auto;
  margin-bottom: 0;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-left {
    text-align: center;
  }

  .hero-left p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .hero-features {
    justify-content: center;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: 3fr;
  }
}

@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .brand {
    flex-direction: column;
    text-align: center;
  }

  nav {
    justify-content: center;
  }

  .hero-left h2 {
    font-size: 48px;
  }

  section h2 {
    font-size: 34px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .carousel {
    height: 430px;
  }

  .slide-title {
    font-size: 26px;
  }
}

@media (max-width: 700px) {
  section {
    padding: 70px 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-left h2 {
    font-size: 36px;
  }

  .hero-left p,
  .section-description,
  .premium-banner p,
  .cta-section p {
    font-size: 16px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .carousel {
    height: 300px;
    border-radius: 20px;
  }

  .slide-title {
    font-size: 20px;
    left: 18px;
    right: 18px;
    bottom: 24px;
  }

  .prev,
  .next {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero button,
  .secondary-btn,
  .cta-section button,
  form button {
    width: 100%;
    max-width: 320px;
  }
}