:root {
  --bg-body: #18191c;
  --bg-card: #24262b;
  --bg-card-hover: #2f3136;
  --text-main: #ebebeb;
  --text-muted: #b9bbbe;
  --accent-color: #00d9f6;
  --border-color: #383c44;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-body);
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/img/fond.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

main {
  background: transparent;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 100px;
}

div.title {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 1rem;
}

h2 span {
  display: inline-block;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-bottom: 4px solid var(--accent-color);
  background: rgba(36, 38, 43, 0.8);
  backdrop-filter: blur(5px);
  padding: 1rem 3rem;
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

section {
  flex: 1 1 350px;
  max-width: 500px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  background-image: none;
  backdrop-filter: none;
}

section:hover {
  transform: translateY(-10px);
  background-color: var(--bg-card-hover);
  border-color: var(--accent-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 217, 246, 0.1);
}

section h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  transition: color 0.3s;
}

section:hover h3 {
  color: #fff;
  text-shadow: 0 0 10px var(--accent-color);
  transform: none;
}

section blockquote {
  color: var(--text-muted);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  border-left: none;
}

section strong {
  color: var(--text-main);
  font-weight: 700;
}

@media (max-width: 768px) {
  h2 span {
    font-size: 1.8rem;
    padding: 0.8rem 1.5rem;
  }

  section {
    padding: 1.5rem;
  }
}
