html, body {
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
}

body > *:first-child {
  margin-top: 0 !important;
}

/* --- GLOBAL --- */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #0b1f3a;
  color: #ffffff;
  line-height: 1.6;
  position: relative;
}

/* --- NAVBAR --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(4, 26, 48, 0.8); /* correction du rgba aussi */
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 50px;
  height: auto;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.5));
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.brand {
  margin-left: 10px;
  font-size: 1.3em;
  font-weight: 600;
}

nav a {
  margin-left: 20px;
  color: #d1d5db;
  text-decoration: none;
  transition: 0.2s;
}

nav a:hover {
  color: #ffffff;
}

.discord-btn {
  padding: 8px 15px;
  background: #5865F2;
  border-radius: 6px;
  color: white !important;
}

/* --- DROPDOWN --- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  margin-left: 20px;
  color: #d1d5db;
  text-decoration: none;
  transition: 0.2s;
  cursor: pointer;
}

.dropdown-toggle:hover {
  color: #ffffff;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 20px; /* aligné avec ton margin-left */
  background: rgba(4, 26, 48, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #d1d5db;
  text-decoration: none;
  transition: 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

/* --- HERO --- */
.hero {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(180deg, #0b1f3a, #091a30);
}

.hero h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
}

.cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #3b82f6;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.cta:hover {
  background: #2563eb;
}

/* --- SERVICES --- */
.services {
  padding: 80px 40px;
}

.services h2 {
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.card {
  background: #091a30;
  padding: 25px;
  border-radius: 12px;
  transition: 0.2s;
  border: 1px solid rgba(255,255,255,0.05);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.why {
  padding: 60px 20px;
  text-align: center;
}

.why h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: #eee;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
}

.more-about a {
  color: #888;
  text-decoration: none;
  font-size: 0.95rem;
}

.more-about a:hover {
  color: #ccc;
}

/* --- FOOTER V2 --- */
.footer-v2 {
  background: linear-gradient(180deg, #0b1f3a 0%, #091a30 100%);
  padding: 40px 30px 15px;
  margin-top: 60px;
  color: #d1d5db;
}

/* TOP SECTION */
.footer-top {
  display: grid;
  grid-template-columns: 1fr 0.4fr 0.6fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 25px auto;
}

/* COLONNE Notre histoire */
.footer-brand h3 {
  font-size: 1.7em;
  color: #3b82f6;
  margin-bottom: 8px;
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95em;
  line-height: 1.4;
}

/* COLONNES Services & Ressources */
.footer-col h4 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9em;
  transition: 0.2s;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* COLONNE Contact */
.footer-contact h4 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.05em;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 6px;
  white-space: nowrap;
}

.footer-contact a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-contact li.copy {
  position: relative;
  cursor: pointer;
}

.footer-contact .copied-msg {
  opacity: 0;
  color: #ffffff;
  font-size: 0.85em;
  transition: opacity 0.3s;
}

.footer-contact .copied-msg.show {
  opacity: 1;
}

.copy-mail .copied-msg {
  position: absolute;
  right: 90px;
  top: 0;
}

.copy-address .copied-msg {
  position: absolute;
  right: 40px;
  top: 0;
}

/* BAS DU FOOTER */
.footer-bottom {
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  opacity: 0.7;
  font-size: 0.85em;
}

/* === PAGE ASSOCIATION (ISOLÉE) === */

body.association-page {
  padding-top: 80px; /* Compense la navbar sticky */
  overflow-x: hidden; /* Évite les scrolls fantômes */
}

body.association-page section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
}

body.association-page .hero {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 120px 20px;
  background: linear-gradient(180deg, #0b1f3a, #091a30);
}

body.association-page .hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

body.association-page .hero .lead {
  font-size: 1.2rem;
  color: #ccc;
}

.center-content {
  text-align: center;
}

.center-content h2 {
  text-align: center;
  margin-bottom: 20px;
}

.center-content p,
.center-content ul,
.center-content li {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px; /* pour garder une bonne lisibilité */
}

/* === SECTION ÉQUIPE — STYLE 2 (Premium Glow) === */

body.association-page .team-style2 {
  text-align: center;
}

body.association-page .team-style2 h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #fff;
}

body.association-page .team-style2 .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 20px auto 0;
}

@media (max-width: 900px) {
  body.association-page .team-style2 .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  body.association-page .team-style2 .team-grid {
    grid-template-columns: 1fr;
  }
}

body.association-page .team-style2 .member {
  background: #0d1224;
  border: 1px solid rgba(59,130,246,0.25);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(59,130,246,0.15);
  transition: 0.25s ease;
}

body.association-page .team-style2 .member:hover {
  box-shadow: 0 0 30px rgba(59,130,246,0.35);
  transform: translateY(-6px);
}

body.association-page .team-style2 .member h3 {
  margin: 0 0 10px 0;
  font-size: 1.4rem;
  color: #fff;
}

body.association-page .team-style2 .member p {
  margin: 0;
  color: #bfc7d5;
  font-size: 1rem;
}

/* PAGE CONTACT */
.contact-page {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* TITRE */
.contact-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

/* INTRO */
.contact-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #bbb;
  margin-bottom: 30px;
}

/* FORMULAIRE */
.contact-form {
  background: #0d0d0d;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #1a1a1a;
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.15);
  box-sizing: border-box;
}

/* GROUPES */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

/* LABELS */
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #9bb4ff;
}

/* CHAMPS */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #222;
  background: #111;
  color: #ddd;
  font-size: 1rem;
  box-sizing: border-box;
  transition: 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
  outline: none;
}

/* BOUTON */
.btn-contact {
  width: 100%;
  padding: 12px;
  background: #3b82f6;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-contact:hover {
  background: #1e60d4;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* EMAIL EN DESSOUS */
.contact-mail {
  text-align: center;
  margin-top: 20px;
  color: #bbb;
}

.contact-mail a {
  color: #3b82f6;
  text-decoration: underline;
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #0d0d0d;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #1a1a1a;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
  max-width: 400px;
}

.modal-content h2 {
  margin-bottom: 10px;
}

.modal-content button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #3b82f6;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}

.modal-content button:hover {
  background: #1e60d4;
}

/* --- Pages services : layout général --- */

.service-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  color: #ffffff;
}

.service-detail h1 {
  font-size: 2.6em;
  margin-bottom: 20px;
  text-align: center;
}

.service-desc {
  color: #d0d0d0;
  font-size: 1.1em;
  margin: 0 auto 50px auto;
  max-width: 800px;
  text-align: center;
  line-height: 1.6;
}

/* --- Grille d'offres --- */

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

/* --- Carte d'offre --- */

.offer-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 25px 20px;
  backdrop-filter: blur(6px);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.offer-card h2 {
  font-size: 1.4em;
  margin: 0;
}

.offer-card .offer-badge {
  display: inline-block;
  font-size: 0.8em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.15);
  border: 1px solid rgba(0, 200, 255, 0.5);
  color: #aee9ff;
}

.offer-card .offer-tag-free {
  background: rgba(0, 255, 150, 0.15);
  border-color: rgba(0, 255, 150, 0.6);
  color: #b5ffd7;
}

.offer-card p.offer-desc {
  margin: 5px 0 10px 0;
  color: #d0d0d0;
  font-size: 0.95em;
}

.offer-features {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  font-size: 0.9em;
  color: #d8d8d8;
}

.offer-features li::before {
  content: "• ";
  color: #00c8ff;
}

.offer-cta {
  margin-top: auto;
  font-size: 0.9em;
  color: #a0e4ff;
  opacity: 0.9;
}

/* --- PRIX DES OFFRES --- */
.offer-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 5px 0 8px;
}

.offer-price .amount {
  font-size: 1.8em;
  font-weight: 700;
  color: #ffffff;
}

.offer-price .period {
  font-size: 0.9em;
  color: #d1d5db;
  opacity: 0.8;
}

/* --- Effet hover --- */

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- Badge “pop” pour l’offre gratuite ou mise en avant --- */

.offer-card.highlight {
  border-color: rgba(0, 255, 150, 0.7);
  box-shadow: 0 0 18px rgba(0, 255, 150, 0.25);
}

.order-section {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px; /* <-- c’est ça qui descend les badges */
}

.order-section p {
  color: #cbd5e1;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.big-order-btn {
  padding: 14px 30px;
  background: #10b981; /* vert émeraude */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.big-order-btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

/* Popup */
.order-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.order-menu-content {
  background: #0f172a;
  padding: 25px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
}

.order-info-text {
  margin-top: 10px;
  margin-bottom: 5px;
  color: #cbd5e1;
  font-size: 0.95em;
}

.order-info-list {
  text-align: left;
  margin: 0 auto 15px;
  list-style: none;
  padding-left: 0;
  color: #e2e8f0;
  font-size: 0.9em;
  line-height: 1.5;
}

.order-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.order-btn {
  display: block;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: 0.2s;
}

.order-btn.mail {
  background: #0ea5e9;
  color: white;
}

.order-btn.mail:hover {
  background: #0284c7;
}

.order-btn.discord {
  background: #5865F2;
  color: white;
}

.order-btn.discord:hover {
  background: #4752c4;
}

.close-menu {
  margin-top: 20px;
  padding: 8px 18px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 0.95em;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}

.close-menu:hover {
  background: #111827;
  border-color: #475569;
  color: #e5e7eb;
}

/* Icône info */
.os-info {
  position: relative;
  display: inline-block;
  margin-left: 6px;
  cursor: pointer;
  color: #38bdf8;
  font-size: 0.9em;
  vertical-align: middle;
}

/* Tooltip */
.os-tooltip {
  display: none;
  position: absolute;
  left: 0;
  top: 20px;
  background: #1e293b;
  color: #e2e8f0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85em;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 10000;
}

/* Affichage au survol */
.os-info:hover .os-tooltip {
  display: block;
}

.badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 12px; /* plus grand */
  border-radius: 8px;
  font-size: 0.9em; /* plus gros */
  font-weight: 600;
  color: #e2e8f0;
  backdrop-filter: blur(4px);
}

.compare-header {
  text-align: center;
  margin: 50px 0 20px;
}

.compare-header h2 {
  font-size: 2em;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.compare-header p {
  font-size: 1em;
  color: #94a3b8;
}

.compare-container {
  max-width: 1000px; /* ajuste selon la largeur de tes cards */
  margin: 0 auto;   /* centre le tableau */
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px auto;
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  color: #e2e8f0;
  font-size: 0.95em;
}

.compare-table thead {
  background: #0f172a;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.03);
}

.compare-table tbody tr:hover {
  background: rgba(255,255,255,0.06);
  transition: 0.2s ease;
}

.compare-table th {
  font-weight: 700;
  color: #38bdf8;
}

.game-why-choose {
  max-width: 1000px;
  margin: 70px auto;
  padding: 0 20px;
  text-align: center;
  color: #e2e8f0;
}

.game-why-choose h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

.game-why-subtitle {
  color: #94a3b8;
  margin-bottom: 40px;
  font-size: 1.1em;
}

.game-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.game-why-item {
  background: #1e293b;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.25s ease, background 0.25s ease;
}

.game-why-item:hover {
  transform: translateY(-4px);
  background: #243447;
}

.game-why-icon {
  font-size: 2em;
  display: block;
  margin-bottom: 12px;
}

.game-why-item h3 {
  margin-bottom: 8px;
  color: #38bdf8;
}

.game-why-item p {
  color: #94a3b8;
  font-size: 0.95em;
  line-height: 1.5;
}

.engagements {
  max-width: 1200px;
  margin: 70px auto;
  padding: 0 20px;
  text-align: center;
  color: #e2e8f0;
}

.engagements h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

.engagements-subtitle {
  color: #94a3b8;
  margin-bottom: 40px;
  font-size: 1.1em;
}

.engagements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.engagements-item {
  background: #1e293b;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.25s ease, background 0.25s ease;
}

.engagements-item:hover {
  transform: translateY(-4px);
  background: #243447;
}

.engagements-icon {
  font-size: 2em;
  display: block;
  margin-bottom: 12px;
}

.engagements-item h3 {
  margin-bottom: 8px;
  color: #38bdf8;
}

.engagements-item p {
  color: #94a3b8;
  font-size: 0.95em;
  line-height: 1.5;
}

.testimonials {
  max-width: 1200px;
  margin: 70px auto;
  padding: 0 20px;
  text-align: center;
  color: #e2e8f0;
}

.testimonials h2 {
  font-size: 2.2em;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial {
  background: #1e293b;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.testimonial-text {
  font-size: 1em;
  color: #e2e8f0;
  margin-bottom: 10px;
}

.testimonial-author {
  color: #94a3b8;
  font-size: 0.9em;
}

.step {
  width: 30%;
  position: relative;
}

.step-icon {
  font-size: 2em;
  background: #1e293b;
  padding: 12px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  position: relative;
  z-index: 2;
}

.step h3 {
  margin-top: 15px;
  color: #38bdf8;
}

.step p {
  color: #94a3b8;
}

.asso-mission {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.asso-mission h2 {
  font-size: 2.4em;
  color: #e2e8f0;
  margin-bottom: 40px;
}

.asso-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mission-card {
  background: #1e293b;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.25s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  background: #243447;
}

.mission-icon {
  font-size: 2.2em;
  margin-bottom: 15px;
}

.mission-card h3 {
  color: #38bdf8;
  margin-bottom: 10px;
}

.mission-card p {
  color: #94a3b8;
  font-size: 1em;
}

.asso-timeline-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
  color: #e2e8f0;
}

.asso-timeline-section h2 {
  font-size: 2.4em;
  margin-bottom: 50px;
}

.asso-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 40px 0;
}

.asso-timeline::before {
  content: "";
  position: absolute;
  top: 55px; /* ligne parfaitement centrée */
  left: 0;
  right: 0;
  height: 3px;
  background: #334155;
}

.timeline-item {
  width: 18%;
  position: relative;
  text-align: center;
}

.timeline-dot {
  width: 22px;
  height: 22px;
  background: #1e293b;
  border: 3px solid #38bdf8;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.timeline-item h3 {
  color: #38bdf8;
  margin-bottom: 8px;
  font-size: 1.3em;
}

.timeline-item p {
  color: #94a3b8;
  font-size: 0.95em;
}

/* Intro de la frise */
.timeline-intro {
  max-width: 900px;
  margin: 40px auto 20px;
  color: #94a3b8;
  font-size: 1.1em;
  text-align: center;
}

/* Appel à rejoindre l'association */
.asso-join {
  max-width: 900px;
  margin: 70px auto;
  padding: 0 20px;
  text-align: center;
}

.asso-join h2 {
  font-size: 2em;
  color: #38bdf8;
  margin-bottom: 15px;
}

.asso-join p {
  color: #94a3b8;
  font-size: 1.1em;
  line-height: 1.6;
}

.asso-counters {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.asso-counters h2 {
  font-size: 2.4em;
  color: #e2e8f0;
  margin-bottom: 40px;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.counter-box {
  background: #1e293b;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}

.counter {
  font-size: 2.8em;
  font-weight: bold;
  color: #38bdf8;
  display: block;
  margin-bottom: 10px;
}

.counters-intro {
  margin-bottom: 1.5rem;
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 600px;
}

.counter-box p {
  color: #94a3b8;
  font-size: 1.1em;
}

.with-plus::after {
  content: "+";
  font-size: 0.8em;
  margin-left: -1px;
}

.with-percent::after {
  content: "%";
  margin-left: 0;
}

.asso-faq-accordion {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  color: #e2e8f0;
}

.asso-faq-accordion h2 {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 40px;
  color: #38bdf8;
}

.faq-acc {
  margin-bottom: 15px;
}

.faq-acc button {
  width: 100%;
  background: #1e293b;
  color: #38bdf8;
  padding: 15px 20px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  text-align: left;
  font-size: 1.1em;
  cursor: pointer;
  transition: 0.25s ease;
}

.faq-acc button:hover {
  background: #243447;
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #1e293b;
  border-radius: 0 0 10px 10px;
  padding: 0 20px;
}

.acc-content p {
  margin: 15px 0;
  color: #94a3b8;
}

/* JS-free accordion */
.faq-acc button.active + .acc-content {
  max-height: 200px;
}

/* Page mentions legales */
.legal-page {
  max-width: 900px;
  margin: 80px auto 60px auto;
  padding: 40px 30px;
  background: rgba(10, 25, 50, 0.9);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e5e7eb;
  line-height: 1.7;
  font-size: 0.98rem;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #f9fafb;
  text-align: left;
  letter-spacing: 0.03em;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #cbd5f5;
  position: relative;
  padding-left: 14px;
}

.legal-page h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
}

.legal-page p {
  margin: 0 0 10px 0;
  color: #d1d5db;
}

.legal-page strong {
  color: #e5e7eb;
  font-weight: 600;
}

.legal-page a {
  color: #38bdf8;
  text-decoration: none;
  border-bottom: 1px dashed rgba(56, 189, 248, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-page a:hover {
  color: #7dd3fc;
  border-color: rgba(125, 211, 252, 0.9);
}

@media (max-width: 768px) {
  .legal-page {
    margin: 70px 15px 40px 15px;
    padding: 30px 20px;
    font-size: 0.95rem;
  }

  .legal-page h1 {
    font-size: 1.6rem;
  }

  .legal-page h2 {
    font-size: 1.05rem;
  }
}

/* ========================= */
/* === RESPONSIVE MOBILE === */
/* ========================= */

/* NAVBAR */
/* Cacher le bouton burger sur PC */
.mobile-menu-toggle {
  display: none;
}

/* Cacher le menu overlay par défaut */
.overlay-menu {
  display: none;
}

/* Activer le menu burger uniquement sur mobile */
@media (max-width: 900px) {

  /* Cacher la navbar desktop */
  .navbar nav {
    display: none;
  }

  /* Bouton burger — VERSION ANIMÉE */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;

    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;

    z-index: 10000 !important;
  }

  .mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s ease;
  }

  /* Animation quand le menu est ouvert */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Menu overlay — VERSION COMPACTE */
  .overlay-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: absolute;
    top: 80px; /* juste sous la navbar */
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    max-width: 500px;
    height: auto;

    background: rgba(4, 26, 48, 0.98);
    backdrop-filter: blur(10px);

    gap: 20px;
    padding: 25px 20px;
    text-align: center;

    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0,0,0,0.4);

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;

    z-index: 9999 !important;
  }

  .overlay-menu.show {
    opacity: 1;
    pointer-events: auto;
  }

  /* Liens du menu mobile */
  .overlay-menu a {
    font-size: 1.4rem;
    color: #d1d5db;
    text-decoration: none;

    width: auto;
    max-width: 100%;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    text-align: center;
  }

  .overlay-menu a:hover {
    color: #fff;
  }

  .close-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
  }
}

/* HERO (toutes pages) */
@media (max-width: 600px) {
  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* SERVICES (accueil) */
@media (max-width: 700px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* ENGAGEMENTS (accueil) */
@media (max-width: 900px) {
  .engagements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .engagements-grid {
    grid-template-columns: 1fr;
  }
}

/* TÉMOIGNAGES (accueil) */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ASSOCIATION — COUNTERS */
@media (max-width: 900px) {
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .counters-grid {
    grid-template-columns: 1fr;
  }
}

/* ASSOCIATION — TIMELINE */
@media (max-width: 900px) {
  .asso-timeline {
    flex-direction: column;
    gap: 40px;
  }

  .asso-timeline::before {
    display: none;
  }

  .timeline-item {
    width: 100%;
  }

  .timeline-dot {
    margin-bottom: 10px;
  }
}

/* ASSOCIATION — MISSION */
@media (max-width: 900px) {
  .asso-mission-grid {
    grid-template-columns: 1fr;
  }
}

/* CONTACT — Formulaire */
@media (max-width: 600px) {
  .contact-page {
    margin: 40px auto;
    padding: 0 15px;
  }

  .contact-form {
    padding: 20px;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 10px;
  }

  .btn-contact {
    font-size: 1rem;
    padding: 10px;
  }
}

/* SERVICES — Offres VPS */
@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    padding: 20px;
  }

  .offer-card h2 {
    font-size: 1.2em;
  }

  .offer-price .amount {
    font-size: 1.6em;
  }

  .offer-features li {
    font-size: 0.9em;
  }
}

/* SERVICES — Pourquoi choisir AccessHeberg */
@media (max-width: 900px) {
  .game-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .game-why-grid {
    grid-template-columns: 1fr;
  }

  .game-why-item {
    padding: 20px;
  }

  .game-why-icon {
    font-size: 1.8em;
  }

  .game-why-item h3 {
    font-size: 1.2em;
  }

  .game-why-item p {
    font-size: 0.95em;
  }
}

/* FOOTER — version mobile */
@media (max-width: 900px) {
  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 30px 20px;
    text-align: left;
  }

  .footer-column {
    width: 100%;
  }

  .footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
  }

  .footer-column p,
  .footer-column a {
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.6;
    text-decoration: none;
  }

  .footer-column a:hover {
    color: #fff;
  }

  .footer-contact li {
    white-space: normal;
  }

  .footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 20px;
  }
}


/* AJUSTEMENTS GLOBAUX */
@media (max-width: 600px) {
  section {
    padding: 40px 20px;
  }

  h2 {
    font-size: 1.6rem;
  }
}

/* Popup commande */
@media (max-width: 400px) {
  .order-menu-content {
    width: 90%;
    padding: 20px;
  }

  .order-info-list li {
    font-size: 0.9em;
  }

  .order-btn {
    font-size: 0.95em;
    padding: 10px;
  }
}

/* ============================
   DEBUG MODE (désactivé)
   Activer pour voir tous les outlines
   ============================ */

/*
* {
  outline: 2px solid red !important;
}
*/
