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

:root {
  --text-color: #333;
  --background-color: rgba(215, 210, 255, 0.151);
  --white: #ffffff;
  --shadow: 0 5px 25px rgba(171, 174, 185, 0.356);
  --titre-color: rgb(141, 49, 184);
  --primary-blue: rgba(9, 31, 233, 0.25);
  --hover-blue: rgba(9, 80, 233, 0.35);
  --glow-blue: rgba(9, 80, 233, 0.2);
  --card: #7d86acfd;
  --yes: #22c55e;
  --no: #ef4444;
  --border: #483861;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text-color);
}

.containerNav {
  background: linear-gradient(180deg, #2a82fc 0%, #360143 100%);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 20px rgba(9, 31, 233, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  width: 100%;
}

.titreNav {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 30px;
}

.navigationPage {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.navigationPage a {
  text-decoration: none;
  padding: 12px 22px;
  color: var(--white);
  background: rgba(9, 31, 233, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  transition: 0.3s ease;
}

.navigationPage a:hover {
  background: var(--hover-blue);
  transform: translateY(-2px);
}

.menu {
  background-color: #2222223a;
  color: #346ee9;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.menu-toggle {
  font-size: 1.8em;
  cursor: pointer;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #614ae7f5;
  padding-top: 70px;
  transition: left 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1001;
}

.sidebar a {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 1.1em;
  transition: background 0.3s;
}

.sidebar a:hover {
  background-color: #00bcd4;
}

.menu.active + .sidebar {
  left: 0;
}

.sidebar .icone {
  display: flex;
  justify-content: center;
}

.collapsible-section h2 {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.collapsible-section h2::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #7374df;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  margin-bottom: 5px;
}

.collapsible-section h2:hover::after {
  opacity: 1;
}

.section-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.section-content .inner {
  overflow: hidden;
}

.collapsible-section.open .section-content {
  grid-template-rows: 1fr;
}

.toggle-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.collapsible-section.open .toggle-arrow {
  transform: rotate(180deg);
}

header {
  background: linear-gradient(180deg, #360143, #2a81fc);
  color: white;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgb(54, 66, 109);
}

header h1 {
  margin: 0;
  font-size: 2.4rem;
}

header p {
  max-width: 800px;
  margin: 15px auto 0;
  font-size: 1.1rem;
  color: var(--white);
}

main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

section {
  margin-bottom: 60px;
}

h2 {
  margin-bottom: 30px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--titre-color);
  border-left: 6px solid var(--titre-color);
  padding-left: 10px;
}

p {
  line-height: 1.7;
  margin-bottom: 1em;
  color: var(--text-color);
}

.card {
  background: var(--background-color);
  border-radius: 20px;
  padding: 10px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin: 30px auto;
  border-left: 3px solid transparent;
  transition: border-left-color 0.3s ease;
}

.card:hover {
  border-left-color: #3498db;
}

.titleh3 {
  color: #00bcd4;
  margin-top: 20px;
}

.table-container {
  max-width: 1400px;
  margin: auto;
  overflow-x: auto;
  border-radius: 12px;
}

.IA table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  min-width: 1100px;
}

.IA thead {
  background: #0e48e9;
}

.IA th,
.IA td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: white;
}

.IA th {
  color: white;
  font-weight: 600;
  position: sticky;
  top: 0;
}

.IA .clickable-row {
  cursor: pointer;
  transition: background 0.2s ease;
}

.IA .clickable-row:hover {
  background-color: #243447;
}

.IA .badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}

.IA .yes {
  background: var(--yes);
  color: #fff;
}

.IA .no {
  background: var(--no);
  color: #fff;
}

.IA .limit {
  background: #f59e0b;
  color: #fff;
}

.IA .caption {
  text-align: center;
  margin-top: 15px;
  font-size: 0.8rem;
  opacity: 0.7;
}

.mistralIllsutration,
.duckIllsutration {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.mistralIllsutration img {
  width: 15rem;
  height: auto;
  display: block;
}

.duckIllsutration img {
  width: 10rem;
  height: auto;
  display: block;
}

.ContainerMistral::after,
.ContainerDuck::after {
  content: "";
  display: block;
  clear: both;
}

footer {
  background: linear-gradient(135deg, #33405e 0%, #231549 100%);
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 20px;
}

.footer-section h3 {
  color: #4cc9f0;
  font-size: 1.2em;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-section p {
  line-height: 1.6;
  color: #b8c1ec;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b8c1ec;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #4cc9f0;
  transform: translateX(5px);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo-text {
  font-size: 1.5em;
  font-weight: bold;
  color: #4cc9f0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #b8c1ec;
  font-size: 0.9em;
  margin: 0;
}

.footer-credits {
  margin-top: 10px;
  font-size: 0.85em;
  color: #8892b6;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(76, 201, 240, 0.1);
  border-radius: 50%;
  color: #4cc9f0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2em;
}

.social-link:hover {
  background: #4cc9f0;
  color: #1a1a2e;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .IA table {
    font-size: 0.8rem;
  }

  .IA th,
  .IA td {
    padding: 10px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  footer {
    padding: 40px 0 20px;
  }
}
