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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #002279 0%, #2e69ff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Classe 1 : Contenu principal */
.content {
  margin: 0 15%;
  padding: 20px 0;
}

/* Classe 2 : Section */
.section {
  background: white;
  border-radius: 20px;
  padding: 60px;
  margin: 50px 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.logo {
  display: block;
  width: 100%;
  max-width: 300px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 0px;
}

h1 {
  font-family: "GothamBold", Arial, sans-serif;
  letter-spacing: -3px;
  text-align: center;
  margin-bottom: 10px;
}

p {
  font-family: "GothamBook", Arial, sans-serif;
  text-align: left;
  color: #64748b;
  margin-bottom: 30px;
}

p.style2 {
  font-family: "GothamBook", Arial, sans-serif;
  text-align: center;
  color: #64748b;
  margin-bottom: 30px;
}

form {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 20px;
}

input {
  flex: 1;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  text-transform: uppercase;
}

button {
  padding: 15px 30px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 10px;
  font-family: "GothamBold", Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

button:hover {
  background: #5568d3;
}

#result {
  padding: 20px;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 600px;
  display: none;
}

#result.show {
  display: block;
}

#result.success {
  background: #dcfce7;
  border-left: 4px solid #22c55e;
  color: #166534;
}

#result.error {
  background: #fee2e2;
  border-left: 4px solid #ef4444;
  color: #991b1b;
}

#docs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

#docs > div {
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

#docs > div:hover {
  transform: translateY(-5px);
}

#docs img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f0f4f8;
  padding: 10px;
}

#docs > div > div {
  padding: 20px;
}

#docs h3 {
  font-family: "GothamBold", Arial, sans-serif;
  margin-bottom: 8px;
}

#docs a {
  color: #b701f9;
  font-family: "GothamMedium", Arial, sans-serif;
  text-decoration: none;
}

footer {
  text-align: center;
  color: white;
  padding: 30px;
  font-family: "GothamBook", Arial, sans-serif;
}

#loader {
  border: 4px solid #e2e8f0;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
  display: none;
}

#loader.show {
  display: block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .content {
      margin: 0 5%;
  }
  .section {
      padding: 30px 20px;
  }
  form {
      flex-direction: column;
  }
  #docs {
      grid-template-columns: 1fr;
  }
}