:root{
  --bg:#0b0c10;
  --card:#12141a;
  --muted:#aab0bd;
  --text:#f3f5fb;
  --primary:#7c5cff;
  --primary2:#22c55e;
  --border:rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1100px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(124,92,255,.35), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(34,197,94,.22), transparent 55%),
    var(--bg);
  line-height:1.45;
}

a{color:inherit}
.wrap{max-width:var(--max); margin:0 auto; padding:18px;}

header{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,12,16,.65);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
}

.brand{
  display:flex; align-items:center; gap:10px; text-decoration:none;
  font-weight:800; letter-spacing:.2px;
}

.logo{
  width:38px; height:38px; border-radius:12px;
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(34,197,94,1));
  box-shadow: var(--shadow);
}

.navlinks{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.navlinks a{
  text-decoration:none; color:var(--muted);
  padding:8px 10px; border-radius:12px;
}
.navlinks a:hover{background:rgba(255,255,255,.06); color:var(--text)}
.navlinks a.active{background:rgba(255,255,255,.08); color:var(--text); border:1px solid var(--border)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid var(--border);
  text-decoration:none;
  background:rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
}
.btn.primary{
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(124,92,255,.65));
  border-color: rgba(124,92,255,.4);
}
.btn.green{
  background: linear-gradient(135deg, rgba(34,197,94,1), rgba(34,197,94,.65));
  border-color: rgba(34,197,94,.35);
  color:#07130b;
  font-weight:800;
}
.btn:focus{outline:2px solid rgba(124,92,255,.45); outline-offset:2px}

.card{
  background: rgba(18,20,26,.75);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pagehead{
  padding: 26px 0 10px;
}
.pagehead h1{
  margin:0 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height:1.05;
  letter-spacing: -.6px;
  opacity: 1 !important;
}
.pagehead p{
  margin:0;
  color:var(--muted);
  max-width:70ch;
  opacity: 1 !important;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2,1fr)} }
@media (max-width: 520px){ .grid{grid-template-columns: 1fr} }

/* Grille 4 colonnes responsive */
.grid4{
  grid-template-columns: repeat(4, minmax(0,1fr));
}
@media (max-width: 1280px){ .grid4{grid-template-columns: repeat(3,1fr)} }
@media (max-width: 980px){ .grid4{grid-template-columns: repeat(2,1fr)} }
@media (max-width: 520px){ .grid4{grid-template-columns: 1fr} }

.tile{padding:16px;}
.tile h3{margin:8px 0 6px}
.tile p{margin:0; color:var(--muted); font-size:14px}

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 13px;
}

.hero{
  padding: 28px 0 14px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  align-items:stretch;
}
@media (max-width: 920px){ .hero{grid-template-columns:1fr;} }

.heroLeft{padding:22px;}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.heroLeft h1{
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.6px;
}
.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}
.ctaRow{display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px;}

.stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
  margin-top: 18px;
}
@media (max-width: 520px){ .stats{grid-template-columns:1fr; } }
.stat{
  padding: 14px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
}
.stat strong{display:block; font-size: 18px}
.stat span{color:var(--muted); font-size: 13px}

.formBox{padding:18px;}
.formTitle{margin: 6px 0 12px; font-weight:900}
form{display:grid; gap:10px}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:10px}
@media (max-width:520px){ .grid2{grid-template-columns:1fr} }
input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
}
select{
  background: #1a1a2e url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%23f3f5fb' d='M6 9L1 4h10z'/></svg>") no-repeat right 12px center;
  padding-right: 36px;
  appearance: none;
  cursor: pointer;
  border-color: rgba(124,92,255,.3);
  color: #f3f5fb !important;
}
select option{
  background: #1a1a2e;
  color: #f3f5fb;
}
textarea{min-height: 92px; resize: vertical;}
input::placeholder, textarea::placeholder{color:rgba(170,176,189,.75)}
.hint{color:var(--muted); font-size: 12px}

.tableWrap{overflow:auto}
table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(18,20,26,.55);
}
table.tarif-table{
  background: rgba(18,20,26,.90);
}
th, td{
  padding: 12px 12px;
  border-bottom:1px solid var(--border);
  text-align:left;
  vertical-align:top;
}
th{color:var(--muted); font-weight:800}
tr:last-child td{border-bottom:none}

.banner{
  padding: 18px;
  display:flex; gap:14px; align-items:center; justify-content:space-between; flex-wrap:wrap;
}
.banner strong{font-size: 18px}
.tiny{font-size:12px; color: var(--muted); margin-top:8px}

footer{
  border-top:1px solid var(--border);
  margin-top: 20px;
  padding: 20px 0;
  color: var(--muted);
  font-size: 13px;
}

.footerLinks{display:flex; gap:12px; flex-wrap:wrap; align-items:center}
.footerLinks a{color:var(--muted); text-decoration:none}
.footerLinks a:hover{color:var(--text)}

.chip{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  color:var(--text);
  white-space:nowrap;
}

.tbl{width:100%; border-collapse:separate; border-spacing:0}
.tbl th, .tbl td{padding:8px 10px; border-bottom:1px solid var(--border); text-align:left}
.tbl th{color:var(--muted); font-weight:700; font-size:12px}

/* Force les images et textes importants à être opaques - écrase TOUTES les règles d'opacité du thème */
article.card img {
  opacity: 1 !important;
}
.card div img {
  opacity: 1 !important;
}
img {
  opacity: 1 !important;
}

/* Force la lisibilité des titres et textes importants */
h1, h2, h3, h4, h5, h6 {
  opacity: 1 !important;
}
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
  opacity: 1 !important;
}
.card p {
  opacity: 1 !important;
}
.tile h3 {
  opacity: 1 !important;
}
.banner strong {
  opacity: 1 !important;
}
.btn {
  opacity: 1 !important;
}