.bg-custom-orange {
    background-color: #EA580C;
}

.text-color-orange {
    color: #EA580C;
}

.text-color-orange-dark {
    color: #f97316;
}

.text-color-charcoal {
    color: #233d4d;
}

.text-color-custom-white {
    color: #f6f3e8;
}

.bg-custom-orange-pale {
    background-color: #fdba74;
}

.bg-custom-oatmilk {
    background-color: #ebebdf;
}

.bg-custom-charcoal {
    background-color: #233d4d;
}

.bg-custom-white {
    background-color: #f6f3e8;
}

.box-with-border {
    border-radius: 2px;
    border-color: #EA580C;
}


.space-grotesk-header {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}


p,a,span,li,td {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

/* Notre Processus background change on mobile */
@media (max-width: 768px) {
  .hero-section-processus {
    background-image: url('images/2.png') !important;
  }
}

@media (max-width: 768px) {
    .info-hero-section-processus {
    color: #f6f3e8 !important;
  }
}

@media (max-width: 768px) {
    .title-hero-section-processus {
    color: white !important;
  }
}


/* Pour la pagination */
.step-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  color: #233d4d; 
  letter-spacing: 0.04em;
}

.step-number-orange {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  color: #EA580C;
  letter-spacing: 0.04em;
}

.step-divider-orange {
  position: relative;
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(234, 88, 12, 0.95), rgba(234, 88, 12, 0.2));
}

.step-divider {
  position: relative;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(31,41,55,0.95), rgba(31,41,55,0.2));
}

/*
.step-divider::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #f97316;
  transform: translateX(-50%);
  box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.08);
} */

/* Custom animation typing */
.typing-wrapper {
  display: inline-block;
}

.typing-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  padding-right: 6px;
}

/* VERSION MOBILE (pas d'animation) */
.no-typing {
  width: auto !important;
  overflow: visible !important;
  white-space: normal !important;
}

/* CURSOR PREMIUM */
.typing-text::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  
  width: 2px;
  height: 0.9em;

  background: #F97316;
  border-radius: 2px;

  /* glow subtil */
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.6);

  opacity: 0;
}

/* activation du cursor */
.typing-text.animate::after {
  opacity: 1;
  animation: cursorBlink 1s ease-in-out infinite;
}

/* typing animation */
.typing-text.animate {
  animation: typing 2.4s steps(40, end) forwards;
}

/* typing */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

/* blink premium (plus smooth que step-end) */
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* disparition du cursor */
.typing-text.done::after {
  animation: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* pour le carouselle des images de nos projets */
.vertical-carousel {
  display: flex;
  flex-direction: column;
  animation: scrollVertical 18s linear infinite;
}

@keyframes scrollVertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Custom animation card qui apparaissent */
.card-animate {
  opacity: 0;
  transform: translateY(30px);
}

.card-animate.visible {
  animation: slideUp 0.6s ease forwards;
}

.card-animate-2 {
  opacity: 0;
  transform: translateY(30px);
}



@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation offer slider */
.offer-left,
.offer-right {
  transition: transform 0.08s linear;
  will-change: transform;
}

@media (max-width: 767px) {
  .offer-left,
  .offer-right {
    transform: none !important;
  }
}

/* Animation images pop-up */
@keyframes imagePop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  60% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* état initial */
.img-animate {
  opacity: 0;
  transform: scale(0.8);
}

.img-animate:nth-child(1) { animation-delay: 0.1s; }
.img-animate:nth-child(2) { animation-delay: 0.2s; }
.img-animate:nth-child(3) { animation-delay: 0.3s; }

/* quand visible */
.img-animate.visible {
  animation: imagePop 0.8s ease-out forwards;
}

/* Animation dot pour page services */
.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #EA580C;
  position: relative;
}

/* glow */
.step-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #EA580C;
  opacity: 0.4;
  filter: blur(6px);
}

/* pulse animation */
.step-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 1px solid rgba(234, 88, 12, 0.4);
  animation: dotPulse 2s ease-out infinite;
}

@keyframes dotPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* cursor */
:root {
  --cursor-custom: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23233D4D" stroke="%23EA580C" stroke-width="1.25" d="M5.5 3.21V20.8c0 .45.54.67.85.35l4.86-4.86a.5.5 0 0 1 .35-.15h6.87a.5.5 0 0 0 .35-.85L6.35 2.85a.5.5 0 0 0-.85.35Z"/></svg>');
}

body {
  cursor: var(--cursor-custom) 4 2, auto;
}

a, button {
  cursor: var(--cursor-custom) 4 2, pointer;
}