







:root {
  /* Couleurs */
  --fx-color-fond: #ffffff;
  --fx-color-surface: #f0f0f0;
  --fx-color-texte: #2a2a2a;
  --fx-color-texte-secondaire: #6a6a6a;
  --fx-color-accent: #00d4aa;
  --fx-color-accent-2: #ff6b47;
  --fx-color-contraste: #2e3192;
  --fx-color-bordure: #e0e0e0;

  /* Typographie */
  --fx-font-display: "League Spartan", sans-serif;
  --fx-font-body: "Inter", sans-serif;
  --fx-font-accent: "Anton", sans-serif;

  /* Espacements */
  --fx-spacing-xs: 0.5rem;
  --fx-spacing-s: 1rem;
  --fx-spacing-m: 2rem;
  --fx-spacing-l: 3rem;
  --fx-spacing-xl: 4rem;
  --fx-spacing-xxl: 6rem;

  /* Ombres */
  --fx-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --fx-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --fx-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);

  /* Rayons de bordure */
  --fx-radius-sm: 4px;
  --fx-radius-md: 8px;
  --fx-radius-lg: 16px;
}

/* Reset et base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fx-font-body);
  color: var(--fx-color-texte);
  background-color: var(--fx-color-fond);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Typographie */
h1, h2, h3, h4 {
  font-family: var(--fx-font-display);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--fx-spacing-s);
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  transform: rotate(-5deg);
  color: var(--fx-color-contraste);
}

h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  transform: rotate(-3deg);
  color: var(--fx-color-texte);
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--fx-color-accent);
}

p {
  font-size: 1rem;
  margin-bottom: var(--fx-spacing-m);
}

a {
  color: var(--fx-color-accent);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--fx-color-accent-2);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--fx-spacing-m);
}

.section {
  padding: var(--fx-spacing-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--fx-spacing-xl);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--fx-color-accent);
  margin: var(--fx-spacing-s) auto;
}

/* Motif de rayons */
.rayons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 212, 170, 0.1) 10px,
    rgba(0, 212, 170, 0.1) 20px
  );
  z-index: -1;
  opacity: 0.5;
}

/* Liens et boutons spécifiques */
.nav-services {
  color: #2e3192 !important;
  text-decoration: underline;
}

.btn-services {
  background-color: #2e3192 !important;
  color: #ffffff !important;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: var(--fx-spacing-s) var(--fx-spacing-l);
  background-color: var(--fx-color-accent);
  color: var(--fx-color-fond);
  font-family: var(--fx-font-accent);
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: var(--fx-radius-md);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--fx-color-accent-2);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--fx-color-contraste);
}

.btn-secondary:hover {
  background-color: var(--fx-color-texte);
}

/* Formulaires */
.form-group {
  margin-bottom: var(--fx-spacing-m);
}

.form-group label {
  display: block;
  margin-bottom: var(--fx-spacing-xs);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--fx-spacing-s);
  border: 1px solid var(--fx-color-bordure);
  border-radius: var(--fx-radius-sm);
  font-family: var(--fx-font-body);
  font-size: 1rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Cartes */
.card {
  background-color: var(--fx-color-fond);
  border-radius: var(--fx-radius-md);
  padding: var(--fx-spacing-m);
  box-shadow: var(--fx-shadow-md);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: rotate(0deg) translateY(-5px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--fx-spacing-l);
  margin-top: var(--fx-spacing-xl);
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .counter {
    opacity: 0;
    transition: opacity 1s ease;
  }

  .counter.visible {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: var(--fx-spacing-l) 0;
  }

  h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  h2 {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .btn {
    padding: var(--fx-spacing-s) var(--fx-spacing-m);
    font-size: 1rem;
  }
}

/* Piège à spam */
.gotcha {
  display: none;
}