/* ========================================
   STYLES GLOBAUX - Bureau des Légendes
   ======================================== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  background: #000;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container principal */
.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* Sections */
section {
  margin-bottom: 80px;
  padding: 0 20px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 30px;
  background: linear-gradient(135deg, #fff, #1e90ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

section h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 40px;
  margin-bottom: 20px;
  color: #1e90ff;
}

section p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 20px;
  line-height: 1.8;
  opacity: 0.95;
}

section .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

/* Boxes de contenu */
.content-box {
  background: linear-gradient(135deg, rgba(30,144,255,0.1), rgba(13,13,13,0.8));
  border: 1px solid rgba(30,144,255,0.3);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 8px 32px rgba(30,144,255,0.15);
  transition: all 0.3s ease;
}

.content-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(30,144,255,0.25);
  border-color: rgba(30,144,255,0.6);
}

/* Liste de commissions */
.commission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.commission-card {
  background: linear-gradient(135deg, rgba(30,144,255,0.15), rgba(13,13,13,0.9));
  border: 2px solid rgba(30,144,255,0.4);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.commission-card:hover {
  transform: scale(1.05);
  border-color: #1e90ff;
  box-shadow: 0 10px 30px rgba(30,144,255,0.3);
}

.commission-card h4 {
  font-size: 1.5rem;
  color: #1e90ff;
  margin-bottom: 15px;
}

.commission-card .amount {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin: 20px 0;
  text-shadow: 0 0 20px rgba(30,144,255,0.5);
}

.commission-card p {
  font-size: 1rem;
  opacity: 0.85;
}

/* Liste à puces stylisée */
ul.feature-list {
  list-style: none;
  margin: 30px 0;
}

ul.feature-list li {
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
  line-height: 1.8;
}

ul.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #1e90ff;
  font-weight: bold;
  font-size: 1.5rem;
}

/* Tableau détaillé */
.table-wrapper {
  overflow-x: auto;
  margin: 40px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(13,13,13,0.8);
  border-radius: 10px;
  overflow: hidden;
}

table thead {
  background: linear-gradient(135deg, #1e90ff, #4da6ff);
}

table th {
  padding: 20px;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

table td {
  padding: 20px;
  border-bottom: 1px solid rgba(30,144,255,0.2);
  font-size: 1rem;
}

table tr:hover {
  background: rgba(30,144,255,0.1);
}

/* Bouton CTA */
.btn-cta {
  display: inline-block;
  padding: 20px 50px;
  background: linear-gradient(135deg, #1e90ff, #4da6ff);
  color: #fff;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 30px auto;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.4);
  text-align: center;
  display: block;
  max-width: 500px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.btn-cta:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(30, 144, 255, 0.6);
  border-color: #fff;
}

.btn-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-cta:hover::before {
  width: 300px;
  height: 300px;
}

/* Section highlight */
.highlight-box {
  background: linear-gradient(135deg, rgba(30,144,255,0.2), rgba(77,166,255,0.1));
  border-left: 5px solid #1e90ff;
  padding: 30px;
  margin: 40px 0;
  border-radius: 10px;
}

.highlight-box strong {
  color: #1e90ff;
  font-size: 1.2rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 60px 20px;
  background: rgba(13,13,13,0.95);
  border-top: 1px solid rgba(30,144,255,0.3);
}

footer p {
  opacity: 0.7;
  font-size: 1rem;
}

/* Emoji icons */
.emoji-icon {
  font-size: 2rem;
  margin-right: 15px;
  display: inline-block;
}

/* Illustrations */
.illustration {
  width: 100%;
  max-width: 500px;
  margin: 40px auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.icon-item {
  text-align: center;
  padding: 25px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  border: 1px solid rgba(30,144,255,0.2);
  transition: all 0.3s ease;
}

.icon-item:hover {
  transform: translateY(-5px);
  border-color: #1e90ff;
  box-shadow: 0 10px 30px rgba(30,144,255,0.2);
}

.icon-item .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.icon-item .label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 0 15px;
  }

  .commission-grid {
    grid-template-columns: 1fr;
  }

  table th, table td {
    padding: 12px 8px;
    font-size: 0.9rem;
  }

  .content-box {
    padding: 20px 15px;
  }
}
