* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: url('../img/GHwwSWuQtFICGAT-800x450-noPad.png'), auto;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
  color: #000000;
  min-height: 100vh;
}

/* Menu hamburger simplifié - technique checkbox basique */
#menu-toggle {
  display: none;
}

header {
  background: rgba(101, 93, 255, 0.15);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #655dff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffff00;
  text-shadow: 2px 2px 4px rgba(101, 93, 255, 0.5);
}

.menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
}

.menu-btn span {
  width: 30px;
  height: 3px;
  background: #ffff00;
  border-radius: 3px;
  transition: all 0.3s;
}

.nav-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-links a {
  background: #655dff;
  color: #ffff00;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

/* Effet de survol simplifié - juste changement de couleur et position */
.nav-links a:hover {
  background: #7d75ff;
  transform: translateY(-2px);
}

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

/* Cartes simplifiées - pas d'animations complexes */
.content-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(101, 93, 255, 0.2);
  transition: all 0.3s;
}

.content-card:hover {
  box-shadow: 0 12px 40px rgba(101, 93, 255, 0.3);
  transform: translateY(-5px);
}

h1 {
  color: #655dff;
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
}

h2 {
  color: #655dff;
  font-size: 28px;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 3px solid #655dff;
}

h3 {
  color: #000000;
  font-size: 22px;
  margin-top: 20px;
  margin-bottom: 10px;
}

p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #000000;
}

.highlight {
  color: #655dff;
  font-weight: 600;
}

.yellow-highlight {
  color: #e4e414;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

/* Cartes simplifiées - juste hover basique */
.card {
  background: linear-gradient(135deg, rgba(101, 93, 255, 0.1) 0%, rgba(255, 255, 139, 0.1) 100%);
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #655dff;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(101, 93, 255, 0.3);
  border-color: #ffff00;
}

.card h3 {
  color: #655dff;
  margin-bottom: 10px;
}

ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.intro-section {
  text-align: center;
  padding: 40px 20px;
}

.intro-section h1 {
  font-size: 48px;
  color: #ffff00;
  text-shadow: 3px 3px 6px rgba(101, 93, 255, 0.6);
  margin-bottom: 20px;
}

.intro-section p {
  font-size: 20px;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 30px;
}

footer {
  background: rgba(255, 255, 255, 0.1);
  border-top: 2px solid #655dff;
  padding: 20px;
  text-align: center;
  color: #ffffff;
  margin-top: 60px;
  font-size: 18px;
  font-weight: 600;
  color: #ffff8b;
  text-shadow: 2px 2px 5px #645cff;
  letter-spacing: 1px;
}

footer a {
  color: #ffff8b;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

footer a:hover {
  color: #ffffff;
}

/* Images simplifiées - juste zoom basique */
img {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 20px auto;
  border-radius: 12px;
  transition: transform 0.3s;
}

img:hover {
  transform: scale(1.05);
}

.card.with-image {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.card.with-image .text-content {
  flex: 1;
}

.card.with-image img {
  width: 150px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.logo-with-img {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #ffff00;
  text-shadow: 2px 2px 4px rgba(101, 93, 255, 0.5);
}

.logo-with-img img {
  width: 180px;
  height: 80px;
  object-fit: contain;
}

/* Glossaire simplifié - juste bordure et hover basique */
.glossary-term {
  background: rgba(101, 93, 255, 0.05);
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  border-left: 4px solid #655dff;
  transition: all 0.3s;
}

.glossary-term:hover {
  background: rgba(101, 93, 255, 0.15);
  transform: translateX(10px);
}

.glossary-term strong {
  color: #655dff;
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

/* Tableaux simplifiés - pas d'effets complexes */
.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  overflow: hidden;
}

.stats-table thead {
  background: #655dff;
  color: #ffff00;
}

.stats-table thead tr th {
  padding: 15px;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  border-bottom: 3px solid #ffff00;
}

.stats-table tbody tr {
  transition: background 0.3s;
  border-bottom: 1px solid rgba(101, 93, 255, 0.1);
}

.stats-table tbody tr:hover {
  background: rgba(101, 93, 255, 0.1);
}

.stats-table tbody tr td {
  padding: 12px 15px;
  color: #000000;
  font-size: 15px;
}

.stats-table tbody tr td:first-child {
  font-weight: 600;
  color: #655dff;
}

.chart-container {
  margin: 25px 0;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 2px solid rgba(101, 93, 255, 0.2);
}

.chart-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.ward-image {
  display: block;
  margin: 20px auto;
  max-width: 200px;
  border-radius: 12px;
  transition: transform 0.3s;
}

.footer-section h3 {
  color: #ffff00;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(101, 93, 255, 0.5);
}

.footer-section p {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ffff8b;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.footer-section ul li a:hover {
  color: #ffffff;
}

.footer-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

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

.footer-bottom p {
  color: #ffff8b;
  font-size: 14px;
  margin: 0;
}

/* Responsive Design */
/* Mobiles*/
@media only screen
and (max-device-width: 460px)
and (min-device-width: 360px)
and (orientation: portrait)
{
  body {
    font-size: 14px;
  }

  header {
    padding: 0px 0;
  }

  nav {
    padding: 0 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .logo {
    font-size: 20px;
  }

  .menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  .container {
    max-width: 100%;
    margin: 20px auto;
    padding: 0 15px;
  }

  .content-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  h1 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  h2 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  h3 {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 8px;
  }

  p {
    margin-bottom: 12px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 15px 0;
  }

  .card {
    padding: 15px;
  }

  .card.with-image {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .card.with-image img {
    width: 120px;
  }

  .logo-with-img {
    font-size: 20px;
    gap: 8px;
  }

  .logo-with-img img {
    width: 150px;
    height: 60px;
  }

  .intro-section {
    padding: 30px 15px;
  }

  .intro-section h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .intro-section p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  footer {
    padding: 15px;
    margin-top: 40px;
    font-size: 14px;
  }

  img {
    max-width: 100%;
    margin: 15px auto;
  }

  .stats-table thead tr th,
  .stats-table tbody tr td {
    padding: 10px;
    font-size: 14px;
  }

  .chart-container {
    margin: 20px 0;
    padding: 15px;
  }

  .ward-image {
    max-width: 150px;
  }

  .glossary-term {
    padding: 12px;
    margin-bottom: 12px;
  }

  .glossary-term strong {
    font-size: 16px;
  }
}

/* Tablettes paysage */
@media only screen
and (min-width: 660px)
and (max-width: 1024px)
and (orientation: landscape)
{
  body {
    font-size: 18px;
  }

  header {
    padding: 0;
  }

  nav {
    padding: 0 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .logo {
    font-size: 28px;
  }

  .menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 14, 39, 0.98);
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: right 0.4s;
    border-left: 2px solid #655dff;
  }

  #menu-toggle:checked ~ .nav-links {
    right: 0;
  }

  #menu-toggle:checked + .menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  #menu-toggle:checked + .menu-btn span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked + .menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .container {
    max-width: 100%;
    padding: 0 30px;
  }

  .content-card {
    padding: 35px;
    margin-bottom: 35px;
  }

  h1 {
    font-size: 42px;
    margin-bottom: 25px;
  }

  h2 {
    font-size: 32px;
    margin-top: 35px;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 12px;
  }

  p {
    margin-bottom: 18px;
    font-size: 18px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 25px 0;
  }

  .card {
    padding: 25px;
  }

  .card.with-image {
    gap: 25px;
  }

  .card.with-image img {
    width: 180px;
  }

  .logo-with-img {
    font-size: 28px;
    gap: 12px;
  }

  .logo-with-img img {
    width: 200px;
    height: 90px;
  }

  .intro-section {
    padding: 50px 30px;
  }

  .intro-section h1 {
    font-size: 52px;
    margin-bottom: 25px;
  }

  .intro-section p {
    font-size: 22px;
    margin-bottom: 35px;
  }

  footer {
    padding: 25px;
    margin-top: 70px;
    font-size: 20px;
  }

  img {
    max-width: 700px;
    margin: 25px auto;
  }

  .stats-table thead tr th,
  .stats-table tbody tr td {
    padding: 18px;
    font-size: 16px;
  }

  .chart-container {
    margin: 30px 0;
    padding: 25px;
  }

  .ward-image {
    max-width: 250px;
  }

  .glossary-term {
    padding: 18px;
    margin-bottom: 18px;
  }

  .glossary-term strong {
    font-size: 20px;
  }
}
