@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Regular.woff2') format('woff2'),
    url('/fonts/Satoshi-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Medium.woff2') format('woff2'),
    url('/fonts/Satoshi-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Bold.woff2') format('woff2'),
    url('/fonts/satoshi/Satoshi-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ======= RESET & BASE ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Satoshi', sans-serif;
  background-color: #090920;
  /* plus proche du logo */
  color: #f7f9fc;
  line-height: 1.6;
  scroll-behavior: smooth;
}

main {
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p {
  color: #d1d5db;
}

.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #9ca3af;
}

/* ======= HEADER / NAVBAR ======= */

body.light .navbar,
body.light .navbar-brand,
body.light .navbar-nav .nav-link {
  background: rgba(255, 255, 255, 0.9);
  color: #0f1629;
}

body.light .navbar-nav .nav-link:hover {
  color: #00c6ff;
}

/* ======= HERO ======= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 2rem;
  background-color: #000000;
}

.spline-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
  /* Autorise l’interaction */
}

.spline-bg spline-viewer {
  width: 100%;
  height: 100%;
}

.hero .content {
  position: relative;
  z-index: 2;
  pointer-events: none;
  /* Permet à Spline de capter la souris */
}

.hero .content a,
.hero .content button {
  pointer-events: auto;
  /* Réactive les liens/boutons */
}


.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 41, 0.7);
  /* Assombrit l’image pour garder le contraste du texte */
  z-index: -1;
}

.hero .content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}


.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero h1 span {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 10px #00c6ff;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta:hover {
  box-shadow: 0 0 20px #0072ff;
  transform: scale(1.05);
}

/* ======= SECTIONS ======= */
.section {
  padding: 6rem 2rem;
  text-align: center;
  background: transparent;
  position: relative;
  z-index: 1;
}

/* ======= CARDS ======= */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #1e2a3e;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
  color: #f7f9fc;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 198, 255, 0.4);
}

/* ======= PROJECT SLIDER (placeholder) ======= */
.slider-3d {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding: 2rem;
  scroll-snap-type: x mandatory;
}

.project-card {
  min-width: 300px;
  background: #1e2f47;
  padding: 2rem;
  border-radius: 1rem;
  scroll-snap-align: start;
}

/* ======= BENEFITS & BLOG ======= */
.benefits,
.blog-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.benefits li {
  background: #1e2a3e;
  padding: 1rem 2rem;
  border-radius: 1rem;
  color: #f8fafc;
  font-weight: 500;
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.15);
}

.blog-card {
  background: #1e2f47;
  padding: 2rem;
  border-radius: 1rem;
  width: 300px;
  transition: 0.3s ease;
  color: #f8fafc;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.5);
}

/* ======= FOOTER ======= */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .card,
  .blog-card {
    width: 100%;
  }

  .cta {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .navbar-nav .nav-link {
    font-size: 0.95rem;
  }
}

/* ======= DARK / LIGHT TOGGLE (optionnel) ======= */
body.light {
  background-color: #f8faff;
  color: #0f1629;
}

body.light .section.dark {
  background-color: #e2e8f0;
}

body.light .card,
body.light .blog-card,
body.light .project-card,
body.light .benefits li {
  background: #ffffff;
  color: #0f1629;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

body.light footer {
  background: #f8faff;
  color: #475569;
}

body.light .cta {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;
}

/* ======= INTRO SECTION PREMIUM ======= */
.intro {
  padding: 8rem 2rem;
  text-align: center;
  background: transparent;
  position: relative;
  z-index: 1;
}

.intro-deco {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.08), transparent 70%);
  filter: blur(80px);
  animation: floatGlow 12s ease-in-out infinite;
  z-index: 0;
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(20px);
  }
}

.container-intro {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
  z-index: 2;
}

.intro-title {
  font-size: 2.9rem;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
}

.intro-tagline {
  color: #9ca3af;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.intro-text {
  font-size: 1.2rem;
  color: #e2e8f0;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.intro-subtext {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 0;
}

.recent-projects {
  background: linear-gradient(135deg, #192038 0%, #0f1629 100%);
  padding-bottom: 7rem;
  position: relative;
  z-index: 1;
}

.recent-projects::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.08), transparent);
  filter: blur(100px);
  animation: floatGlow 14s ease-in-out infinite;
  z-index: 0;
}

.container-projects {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background: #1e2f47;
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  color: #f8fafc;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.2), transparent 70%);
  filter: blur(40px);
  transition: opacity 0.4s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 198, 255, 0.3);
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-card p {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.recent-carousel {
  background: linear-gradient(135deg, #192038, #0f1629);
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}

/* ======= SECTION: PROJETS RÉCENTS (Version WOW) ======= */
.recent-projects {
  background: radial-gradient(circle at 40% 20%, rgba(0, 198, 255, 0.05), transparent 70%),
    linear-gradient(135deg, #0f1629 0%, #192038 100%);
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.recent-projects::before,
.recent-projects::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  z-index: 0;
}

.recent-projects::before {
  top: -100px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(0, 198, 255, 0.15);
  animation: floatGlow 16s ease-in-out infinite;
}

.recent-projects::after {
  bottom: -80px;
  right: -100px;
  width: 260px;
  height: 260px;
  background: rgba(0, 114, 255, 0.12);
  animation: floatGlow 22s ease-in-out infinite reverse;
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(25px);
  }
}

.container-projects {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #a0aec0;
  margin-bottom: 3rem;
}

/* ======= GRID ======= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  z-index: 2;
  position: relative;
}

/* ======= PROJECT CARD ULTRA DESIGN ======= */
.project-card {
  background: linear-gradient(145deg, #1e2f47, #182438);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 35px rgba(0, 198, 255, 0.07);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.project-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg at 50% 50%, #00c6ff33, transparent 40%);
  transform: rotate(0deg);
  transition: all 0.8s ease;
  z-index: 1;
  opacity: 0;
}

.project-card:hover::before {
  opacity: 0.3;
  transform: rotate(25deg);
}

.project-card:hover {
  transform: translateY(-8px) rotateX(1deg) rotateY(1deg);
  box-shadow: 0 0 50px rgba(0, 198, 255, 0.3);
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 2;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cbd5e1;
  position: relative;
  z-index: 2;
}

/* MASQUER LE CURSEUR PARTOUT */
html,
body,
button,
a,
input,
textarea,
select {
  cursor: none !important;
}

/* GLOW PAR DÉFAUT */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 198, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 198, 255, 0.6);
  pointer-events: none;
  z-index: 9999;
}

/* Hover sur élément cliquable : la bulle devient blanche */
.cursor-glow.hover {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  background-color: rgba(255, 255, 255, 0.9);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transform: scale(1.2);
  z-index: 9999;
}

@keyframes blackHole {
  0% {
    transform: translate(-50%, -50%) scale(1.8);
    background: rgba(0, 198, 255, 0.4);
    box-shadow: 0 0 24px rgba(0, 198, 255, 0.8);
  }

  50% {
    transform: translate(-50%, -50%) scale(0.2);
    background: rgba(0, 198, 255, 0.1);
    box-shadow: 0 0 5px rgba(0, 198, 255, 0.2);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    background: rgba(0, 198, 255, 0.2);
    box-shadow: 0 0 12px rgba(0, 198, 255, 0.6);
  }
}

.cursor-glow.black-hole-active {
  animation: blackHole 0.35s ease-out;
}

/* SECTION STRUCTURE */
.benefits-timeline-center {
  padding: 8rem 2rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.benefits-timeline-center h2 {
  font-size: 2.6rem;
  text-align: center;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.benefits-timeline-center .section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 5rem;
}

/* TIMELINE STRUCTURE */
.benefits-center {
  position: relative;
  max-width: 1000px;
  margin: auto;
  padding: 0;
  list-style: none;
}

.benefits-center::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  height: 100%;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0, 198, 255, 0.2), rgba(0, 198, 255, 0.05));
  z-index: 0;
}

/* ITEM BASE */
.benefits-center li {
  position: relative;
  width: 50%;
  padding: 2rem 2rem;
  box-sizing: border-box;
  color: #f8fafc;
  font-weight: 500;
  line-height: 1.6;
  z-index: 1;
  transition: all 0.3s ease;
}

/* LEFT / RIGHT ALTERNANCE */
.benefits-center li:nth-child(odd) {
  left: 2%;
  text-align: right;
  transform: translateX(-4%);
}

.benefits-center li:nth-child(even) {
  left: 48%;
  text-align: left;
  transform: translateX(4%);
}

/* CONNECTEUR CENTRAL */
.benefits-center li::before {
  content: "";
  position: absolute;
  top: 2rem;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.6);
  z-index: 2;
}

.benefits-center li:nth-child(odd)::before {
  right: -8px;
}

.benefits-center li:nth-child(even)::before {
  left: -8px;
}

/* CONTAINERS */
.benefits-center li {
  background: linear-gradient(145deg, #1e2f47, #192a3a);
  border-radius: 1rem;
  margin-bottom: 4rem;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.06);
}

.benefits-center li:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 40px rgba(0, 198, 255, 0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .benefits-center li,
  .benefits-center li:nth-child(odd),
  .benefits-center li:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    transform: none;
    padding-left: 3rem;
  }

  .benefits-center::before {
    left: 1.25rem;
  }

  .benefits-center li::before {
    left: 0.5rem !important;
    right: auto;
  }
}

.intro-highlight {
  position: relative;
  background: linear-gradient(to bottom, #000000 0%, #090920 100%);

  padding: 120px 20px;
  z-index: 1;
  overflow: hidden;
}

.intro-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/halo-bg.webp') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  filter: blur(8px);
}

.intro-eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #60a5fa;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.intro-text {
  color: #cbd5e1;
  font-size: 1.1rem;
}

.btn-glow {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn-blue {
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  color: white;
  box-shadow: 0 0 10px #3b82f6, 0 0 30px rgba(59, 130, 246, 0.4);
}

.btn-blue:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #3b82f6, 0 0 40px rgba(59, 130, 246, 0.6);
}

.services-glass {
  padding: 100px 20px;
  background: transparent;
  color: #fff;
}

.container-services {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: left;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  position: relative;
}

.service-card:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  transform: translateY(-5px);
}

.service-card .icon {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #60a5fa;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.recent-projects-glassy {
  padding: 100px 20px;
  background: transparent;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.project-card-glassy {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.project-card-glassy:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
  transform: translateY(-5px);
}

.project-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-info {
  padding: 20px;
  text-align: left;
}

.project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: #fff;
}

.project-info p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.tag {
  background: #3b82f6;
  font-size: 0.7rem;
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  margin-left: 8px;
  font-weight: 500;
}

.services-glass {
  padding: 100px 20px;
  background: transparent;
  text-align: center;
}

.services-panels {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 60px;
}

.service-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 30px;
  max-width: 480px;
  width: 100%;
  backdrop-filter: blur(10px);
  text-align: left;
  transition: all 0.3s ease;
}

.service-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.service-panel h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 12px;
}

.panel-desc {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.btn-contact {
  display: inline-block;
  background: #3b82f6;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-contact:hover {
  background: #2563eb;
}

.service-points {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.service-points li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.services-tags {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tag {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(59, 130, 246, 0.4);
  backdrop-filter: blur(4px);
}

.blog {
  padding: 100px 20px;
  background-color: transparent;
  text-align: center;
  background: linear-gradient(to bottom, #090920 0%, #060611 100%);

}

.container-blog {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 60px;
  align-items: stretch;
  /* 🧠 le détail qui fait tout */

}

a.blog-card {
  text-decoration: none;
  color: inherit;
  /* hérite de la couleur du parent */
}

.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  max-width: 360px;
  width: 100%;
  backdrop-filter: blur(12px);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 500px;
  /* augmente si tu veux plus de place */
}

.blog-card>*:not(.blog-img) {
  padding: 0 16px;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.blog-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 5%;
  display: block;
}

.blog-meta {
  margin-top: 16px;
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

.tag {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-top: 4px;
}

.blog-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* force 4 lignes max */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.read-link {
  margin: 20px 16px 24px 16px;
  font-weight: 600;
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
  /* pousse le lien en bas */
}

.read-link:hover {
  color: #3b82f6;
}


.read-link {
  display: inline-block;
  margin-top: auto;
  padding-bottom: 16px;
  font-size: 0.9rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.read-link:hover {
  text-decoration: underline;
}

.blog-button {
  margin-top: 40px;
}

.btn-secondary {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.3);
}

.testimonials {
  background: #060611;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.container-testimonials {
  max-width: 800px;
  margin: auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 50px 30px;
  position: relative;
  color: white;
  backdrop-filter: blur(10px);
}

.quote-mark {
  font-size: 48px;
  color: #3b82f6;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  font-weight: 400;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.stars {
  font-size: 1.5rem;
  color: #facc15;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info span {
  display: block;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.testimonial-pagination {
  margin-top: 20px;
}

.testimonial-pagination .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background: #334155;
  border-radius: 50%;
  transition: background 0.3s;
}

.testimonial-pagination .dot.active {
  background: #3b82f6;
}

.cta-contact {
  padding: 100px 20px;
  background: linear-gradient(to bottom, #060611 0%, #090920 100%);

  display: flex;
  justify-content: center;
}

.cta-container {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0.02));
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  max-width: 800px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-contact h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
}

.cta-contact .section-subtitle {
  color: #cbd5e1;
  margin-bottom: 30px;
}

.cta-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.badge {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  border-radius: 20px;
  color: #22c55e;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: white;
  padding: 14px 30px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px #3b82f6;
}

.cta-button:hover {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 0 20px #3b82f6aa;
}

.process-glow {
  background-color: #090920;
  padding: 100px 20px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.process-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px 25px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg opacity="0.06" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M20 0 H0 V20" fill="none" stroke="white" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
  pointer-events: none;
}

.step-icon {
  font-size: 1.8rem;
  color: #60a5fa;
  margin-bottom: 12px;
}

.step-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: 20px;
}

.process-card h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 10px;
}

.process-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.process-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 transparent;
}

.process-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.btn-glow {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn-blue {
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  color: white;
  box-shadow: 0 0 10px #3b82f6, 0 0 30px rgba(59, 130, 246, 0.4);
}

.btn-blue:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #3b82f6, 0 0 40px rgba(59, 130, 246, 0.6);
}

.tag {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
}

.form-glow-wrapper {
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.form-glow-container {
  width: 100%;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(15px);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
  margin-top: 100px;
}

.form-glow-icon {
  width: 48px;
  height: 48px;
  background: #1e1e2f;
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px #3b82f6;
  margin: 0 auto 20px;
  font-size: 20px;
}

.form-glow-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 40px;
  font-weight: 600;
}

.form-glow-form .form-glow-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.form-glow-group label {
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.form-glow-group input,
.form-glow-group select,
.form-glow-group textarea {
  background: rgba(238, 235, 235, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  color: #f1f5f9;
  font-size: 0.95rem;
  outline: none;
}

.form-glow-group input::placeholder,
.form-glow-group textarea::placeholder {
  color: #94a3b8;
}

.form-glow-action {
  text-align: center;
}

.btn-glow {
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 0 15px #3b82f6;
  transition: all 0.3s ease;
}

.btn-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #3b82f6, 0 0 50px rgba(59, 130, 246, 0.4);
}

.form-glow-icon {
  width: 52px;
  height: 52px;
  background: #1e1e2f;
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px #3b82f6, inset 0 0 8px #3b82f6;
  margin: 0 auto 24px;
  font-size: 22px;
  animation: floatIcon 2s infinite ease-in-out;
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.btn-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-glow .btn-check {
  margin-left: 8px;
  font-size: 1.1rem;
  color: #22c55e;
  animation: fadeInCheck 0.6s ease-in-out forwards;
}

@keyframes fadeInCheck {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none !important;
  }
}

.spline-wrapper {
  width: 100%;
  height: 400px;
}

@media (max-width: 768px) {
  .spline-wrapper {
    height: 280px;
  }
}

.article-page{
  margin-top: 150px;
}

.article-content h2,
.article-content h3 {
  color: #f1f5f9;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid #3b82f6;
  padding-left: 0.75rem;
}

.article-content p {
  margin: 0;
  line-height: 1.9;
  color: #cbd5e1;
  font-size: 1.1rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.8rem;
  margin: 1.5rem 0;
  color: #cbd5e1;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid #22c55e;
  padding-left: 1rem;
  color: #94a3b8;
  font-style: italic;
  margin: 2rem 0;
}

.article-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 2rem 0;
}

.products-page {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.glass-card-blue {
  padding: 2rem;
  margin-bottom: 1rem;
}

.card-body p,
.card-body ul {
  margin-bottom: 1rem;
}

.btn-glow-blue,
.btn-gradient-blue {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
}

.text-gradient-blue {
  background: linear-gradient(to right, #3b82f6, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card-blue {
  background: rgba(59, 130, 246, 0.03);
  border: 1px solid rgba(59, 130, 246, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.glass-card-blue:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.btn-glow-blue {
  background: transparent;
  border: 1px solid #3b82f6;
  color: #dbeafe;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-glow-blue:hover {
  background: linear-gradient(90deg, #3b82f6, #0ea5e9);
  color: white;
  box-shadow: 0 0 14px #3b82f6;
  border: none;
}

.btn-gradient-blue {
  background: linear-gradient(90deg, #0ea5e9, #3b82f6);
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gradient-blue:hover {
  box-shadow: 0 0 18px #3b82f6;
}

.badge-offre {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prix-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #3b82f6;
  font-weight: 600;
  display: inline-block;
}

/* Cartes avec halo coloré */
.card-offre-1:hover {
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.25);
}

.card-offre-2:hover {
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.25);
}

.card-offre-3:hover {
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.25);
}

/* Boutons avec glow par couleur */
.btn-glow-blue {
  background: transparent;
  border: 1px solid #3b82f6;
  color: #dbeafe;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-glow-blue:hover {
  background: linear-gradient(90deg, #3b82f6, #0ea5e9);
  color: white;
  box-shadow: 0 0 14px #3b82f6;
  border: none;
}

.btn-glow-green {
  background: transparent;
  border: 1px solid #10b981;
  color: #bbf7d0;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-glow-green:hover {
  background: linear-gradient(90deg, #10b981, #34d399);
  color: white;
  box-shadow: 0 0 14px #10b981;
  border: none;
}

.btn-glow-orange {
  background: transparent;
  border: 1px solid #f59e0b;
  color: #fde68a;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-glow-orange:hover {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color: white;
  box-shadow: 0 0 14px #f59e0b;
  border: none;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
  perspective: 1000px;
  /* Ajout ici si besoin */

}

.project-card-glassy {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.project-card-glassy:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25),
    0 0 15px rgba(100, 200, 255, 0.4);
  /* ou ta couleur principale */

}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.project-card-glassy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  height: 100%;
  /* important si nested dans autre grille */
}

.project-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
}

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

.project-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  margin-top: 1rem;
  min-height: 120px;
}

.project-info h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-info .tag {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 0.5rem;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  spline-viewer {
    display: none !important;
  }
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.blog-card-link:hover .blog-card {
  transform: scale(1.015);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.btn-future {
  text-decoration: none !important;
}

@media (max-width: 991px) {
  .container-blog {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* === Liquid Glass Navbar === */
.navbar {
  backdrop-filter: blur(5px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(255, 255, 255, 0.04);
  /* quasi invisible */
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-radius: 2rem;
  margin: 1rem auto;
  max-width: 95%;
  padding: 0.5rem 1rem;
  animation: glowMove 12s ease-in-out infinite;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, #22c55e, #3b82f6, #a855f7, #22c55e);
  animation: rotateGradient 20s linear infinite;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.15;
  border-radius: inherit;
}

@keyframes rotateGradient {
  to {
    transform: rotate(1turn);
  }
}

/* === Brand === */
.navbar-brand {
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.navbar-brand img {
  height: 32px;
}

.navbar-brand span {
  color: #fff;
  font-weight: 600;
}

/* === Nav Links === */
.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #3b82f6;
}

/* === Toggler === */
.navbar-toggler {
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-size: 100% 100%;
}

.glass-navbar {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #0ea5e9 !important;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 10px;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

.pds {
  padding: 20%;
}
.hero-image-mobile {
  display: none;
  width: 100%;
  height: 100vh;
  position: absolute;
  inset: 0;
  z-index: 0;

  background: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 1) 100%),
    url('/images/background-mobile.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

  .hero-image-mobile {
    display: block;
  }
}
