@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/yMJRMIlzdpvBhQQL_Qq7dy0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/yMJRMIlzdpvBhQQL_Qq7dy0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary-color: #00ffff;
  --background-color: #0a0a0a;
  --text-color: #ffffff;
  --accent-color: #1f1f1f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  background-color: var(--accent-color);
  padding: 20px 0;
}

header h1 {
  text-align: center;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 10px;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary-color);
}

.hero {
  background: linear-gradient(to right, #0a0a0a, #1f1f1f);
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--background-color);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
  background-color: #00cccc;
  transform: scale(1.05);
}

.services {
  padding: 60px 0;
}

.services h2,
.services p {
  text-align: center;
  margin-bottom: 40px;
}

.service-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background-color: var(--accent-color);
  position: relative;
  padding: 20px;
  border-radius: 10px;
  width: 30%;
  margin-bottom: 20px;
  flex: 1 1 300px;
  /*prend au moins 300px, s'étend si possible */
  max-width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card>a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 15px var(--primary-color);
}

.card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
  text-align: center;
}

@media (max-width: 768px) {
  .card {
    flex: 1 1 100%;
    /* Sur mobile, une seule carte par ligne */
  }
}

.portfolio {
  padding: 60px 0;
  background-color: var(--accent-color);
  text-align: center;
}

.portfolio h2 {
  margin-bottom: 20px;
}

.portfolio-gallery {
  display: flex;
  flex-direction: row;
  padding-top: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.portfolio-item {
  width: 300px;
  margin: 15px;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item img {
  width: 100%;
  height: 100px;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 15px var(--primary-color);
}

.centered-text {
  text-align: center;
  margin-top: 20px;
}

.contact {
  padding: 60px 0;
  background-color: var(--accent-color);
}

.contact h2 {
  text-align: center;
  margin-bottom: 40px;
}

form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

form input,
form textarea {
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
}

form textarea {
  height: 200px;
}

.rgpd {
  display: inline-block;
}
.rgpd input[type="checkbox"] {
  margin-right: 10px;
}

form button {
  padding: 10px;
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

form button:hover {
  background-color: #00cccc;
  transform: scale(1.05);
}

footer {
  padding: 20px 0;
  margin-top: 40px;
}

.imgfooter {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.imgfooter img {
  width: auto;
  height: 50px;
}

.imgfooter p {
  margin: 0;
  line-height: 1;
}

#matrix-title {
  font-size: 3em;
  color: #00ffff;
  /*00ff00*/
  text-align: center;
  letter-spacing: 0.1em;
}

#secondeLigne {
  color: #ffffff;

}

#CRM {
  background-color: var(--accent-color);
}

#CRM>div>div>.card {
  background-color: var(--background-color);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.check_accept {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

#img-merci {
  max-width: 100%;
  height: auto;
  padding-top: 50px;
}
.centered-text > a {
  margin-top: 30px;
  margin-bottom: 20px;
  display : block;
}