/* Trade Europe - Typographie alignée site exemplaire (sans-serif moderne) */
body,
.font-site {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Charte : rouge #E4232C */
.accent { color: #E4232C; }
.bg-accent { background-color: #E4232C; }

/* Calculateur : slider piste grise + partie active rouge + thumb rouge (maquette) */
.calculator-slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 8px;
}
.calculator-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #E4232C 0%, #E4232C var(--range-percent, 0%), #e2e8f0 var(--range-percent, 0%));
}
.calculator-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E4232C;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  margin-top: -6px;
}
.calculator-slider::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
}
.calculator-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E4232C;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
/* Fallback : autres range */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E4232C;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E4232C;
  cursor: pointer;
  border: 2px solid white;
}

/* Défilement fluide pour les ancres */
html {
  scroll-behavior: smooth;
}

/* Puces élégantes pour les listes des services */
.fancy-list {
  list-style: none;
  padding-left: 0;
}
.fancy-list li {
  position: relative;
  padding-left: 1rem;
  line-height: 1.6;
}
.fancy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #E4232C;
  box-shadow: 0 0 0 3px rgba(228, 35, 44, 0.15);
  transform: translateY(-50%);
}

/* Bouton rouge réutilisable */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  background: #E4232C;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.btn-red:hover {
  background: #c71e25;
  box-shadow: 0 6px 16px rgba(228,35,44,0.25);
  transform: translateY(-1px);
}
.btn-red:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(228,35,44,0.3);
}

/* Révélation au scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
[data-reveal][data-reveal-delay="80"] { transition-delay: 80ms; }
[data-reveal][data-reveal-delay="120"] { transition-delay: 120ms; }
[data-reveal][data-reveal-delay="160"] { transition-delay: 160ms; }

/* Mise en valeur temporaire de la section d'ancre */
@keyframes anchorPulse {
  0% { box-shadow: 0 0 0 0 rgba(228,35,44,0.35); }
  70% { box-shadow: 0 0 0 12px rgba(228,35,44,0); }
  100% { box-shadow: 0 0 0 0 rgba(228,35,44,0); }
}
article.anchor-activated,
section.anchor-activated {
  animation: anchorPulse 1.2s ease-out;
  border-radius: 1rem;
}
