body,
header {
  flex-direction: column;
}
body,
h3 {
  display: flex;
}
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  padding: 60px 0 80px;
  min-height: 100vh;
  align-items: center;
  background-color: #f0f0f0;
  font-family: Arial, sans-serif;
}
h3 {
  flex-wrap: wrap;
  font-size: 1.1rem;
  margin-bottom: 1em;
  font-weight: 450;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  margin-left: 0.4rem;
  border-radius: 4px;
}
details {
  max-width: 90%;
  width: 65ch;
  margin: 1rem auto;
  overflow-wrap: break-word;
}
.contenu,
header {
  max-width: 800px;
  display: flex;
}
details > * {
  margin-bottom: 1.5rem;
}
.tag-hardware {
  background-color: #ffe0b2;
}
.tag-diag {
  background-color: #c8e6c9;
}
.tag-indus,
.tag-proto {
  background-color: #bbdefb;
}
.tag-robot {
  background-color: #d1c4e9;
}
.tag-concep {
  background-color: #ffccbc;
}
.tag-soft {
  background-color: #e6ee9c;
}
.tag-py {
  background-color: #b2dfdb;
}
.tag-ia {
  background-color: #ffd6a5;
}
header {
  padding: 20px;
  background-color: #fff;
  border-bottom: 2px solid #0056b3;
  width: 100%;
  margin: 0 auto;
  gap: 30px;
  text-align: center;
}
header h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
}
header p {
  margin-top: 10px;
  font-style: italic;
  color: #666;
}
.contenu {
  flex-direction: column;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}
.contenu h2 {
  text-align: center;
  font-size: 1.3rem;
  padding: 1em 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
.contenu p {
  font-size: 1rem;
  margin-bottom: 1em;
}
.mach-glace-cadre {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  justify-content: flex-start;
}
.mach-glace-cadre:nth-of-type(2n) {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.project-content {
  flex: 1;
}
.RL30,
.images-row {
  justify-content: center;
  display: flex;
}
.project-content h3 {
  display: block;
}
.mach-glace-cadre:nth-of-type(2n) .project-content,
.mach-glace-cadre:nth-of-type(2n) .project-content h3 {
  text-align: right;
}
.RL30 {
  width: 100%;
}
.fb-icon,
.phone-icon {
  width: 14px;
  height: 14px;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}
.images-row {
  gap: 1rem;
  flex-wrap: wrap;
}
.image-item {
  display: flex;
  justify-content: center;
}
.btn-contact,
.fb-icon,
.phone-icon {
  display: inline-block;
  font-weight: 700;
}
.btn-contact {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 12px 24px;
  background-color: #ff9800;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-family: sans-serif;
  transition: background-color 0.3s;
}
.btn-contact:hover {
  background-color: #2ecc71;
  color: #fff;
}
footer {
  margin-top: 40px;
  border-top: 1px solid #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  background-color: #f4f4f4;
}
footer a {
  color: #333;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.fb-icon {
  background-color: #1877f2;
  color: #fff;
  border-radius: 3px;
  margin-right: 4px;
}
.phone-icon {
  background-color: #fff;
  color: #d32f2f;
  margin-right: 3px;
}
:focus-visible {
  outline: currentColor solid 2px;
  outline-offset: 2px;
}
