/* Palette inspirée de ton image */
:root {
  --bg-color: #050608;
  --bg-elevated: #0b0f16;
  --accent-blue: #0b75d1;
  --accent-blue-soft: rgba(11, 117, 209, 0.4);
  --text-color: #f5f5f5;
  --text-muted: #c8c8c8;
}

/* Reset simple */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

/* remplace ton body actuel par ceci (garde les couleurs) */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
}

/* pour que le contenu prenne l’espace restant entre header et footer */
main {
  flex: 1;
}
/* ---------- HEADER & NAV ---------- */

.tg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.98),
    rgba(5, 6, 8, 0.92),
    rgba(5, 6, 8, 0.88)
  );
  border-bottom: 1px solid var(--accent-blue-soft);
  backdrop-filter: blur(10px);
}

.tg-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */

.tg-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.tg-logo-img {
  width: 40px;
  height: auto;
  /*border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(11, 117, 209, 0.8);*/
}

.tg-logo-text {
  font-family: "Bangers", system-ui, sans-serif;
  text-decoration: none;
  letter-spacing: 0.06em;
  font-size: 1.4rem;
  color: var(--accent-blue);
  text-shadow:
    0 0 8px rgba(11, 117, 209, 0.8),
    0 0 18px rgba(11, 117, 209, 0.6);
}

/* Menu desktop */

.tg-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tg-nav a {
  position: relative;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

/* Soulignement animé bleu */
.tg-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-blue);
  box-shadow: 0 0 12px rgba(11, 117, 209, 0.9);
  transition: width 0.2s ease;
}

.tg-nav a:hover {
  color: var(--accent-blue);
}

.tg-nav a:hover::after {
  width: 100%;
}

/* Lien du menu pour la page active */
.tg-nav a.active {
  color: var(--accent-blue);
}

.tg-nav a.active::after {
  width: 100%;
}

/* Bouton hamburger (caché sur grand écran) */

.tg-nav-toggle {
  display: none;
  padding: 0.35rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  cursor: pointer;
  outline: none;
}

.tg-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-color);
  margin: 4px 0;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
  .tg-header-inner {
    padding-inline: 1rem;
  }

  /* Afficher le hamburger */
  .tg-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* Cacher le menu horizontal au départ */
  .tg-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(5, 6, 8, 0.98);
    border-bottom: 1px solid var(--accent-blue-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
  }

  .tg-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.75rem;
  }

  .tg-nav a {
    font-size: 0.95rem;
  }

  /* Quand le menu est ouvert */
  .tg-nav.is-open {
    max-height: 260px; /* assez pour 4 items */
  }
}






    /* Footer Styling (UNCHANGED) */
    .tg-footer {
      background: linear-gradient(to top, rgba(5, 6, 8, 0.98), rgba(5, 6, 8, 0.92));
      border-top: 1px solid var(--accent-blue-soft);
    }
    .tg-footer-inner {
      max-width: 1200px; margin: 0 auto; padding: 0.9rem 1.25rem;
      display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    }
    .tg-footer-left { display: flex; align-items: center; }
    .tg-footer-logo { height: 50px; width: auto; object-fit: contain; filter: drop-shadow(0 0 14px rgba(11, 117, 209, 0.8)); }
    .tg-footer-center { text-align: center; flex: 1; }
    .tg-footer-center p { font-size: 0.85rem; color: var(--text-muted); }
    .tg-footer-right { display: flex; align-items: center; gap: 0.75rem; }
    .tg-social-link {
      display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
      border-radius: 999px; background: rgba(11, 117, 209, 0.1); border: 1px solid rgba(11, 117, 209, 0.35);
      transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    }
    .tg-social-link img { width: 50px; height: auto; object-fit: contain; }
    .tg-social-link:hover { background: var(--accent-blue); box-shadow: 0 0 16px rgba(11, 117, 209, 0.9); transform: translateY(-1px) scale(1.05); }
    @media (max-width: 700px) {
      .tg-footer-inner { flex-direction: column; text-align: center; }
      .tg-footer-right { justify-content: center; }
    }

/* ---------- PAGE NOUS JOINDRE ---------- */

.tg-main-contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Intro */

.tg-contact-hero {
  background: radial-gradient(circle at top left,
              rgba(11, 117, 209, 0.25),
              rgba(5, 6, 8, 0.95));
  border-radius: 18px;
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid rgba(11, 117, 209, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
}

.tg-contact-hero-inner h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.tg-contact-hero-inner p {
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.5;
}

/* Grille coordonnées + formulaire */

.tg-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Cartes de la colonne gauche */

.tg-contact-info h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.tg-contact-card {
  background: var(--bg-elevated);
  border-radius: 16px;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(11, 117, 209, 0.28);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
  margin-bottom: 1rem;
}

.tg-contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.tg-contact-card p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.tg-contact-card a {
  color: var(--accent-blue);
  text-decoration: none;
}

.tg-contact-card a:hover {
  text-decoration: underline;
}

.tg-contact-list {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0.4rem 0 0.6rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.tg-contact-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Liste d'heures */

.tg-hours-list {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.tg-hours-list div {
  margin-bottom: 0.3rem;
}

.tg-hours-list dt {
  font-weight: 600;
}

.tg-hours-list dd {
  margin-left: 0;
}

/* Liens rapides */

.tg-contact-links {
  list-style: none;
  margin-top: 0.35rem;
}

.tg-contact-links li + li {
  margin-top: 0.2rem;
}

/* Formulaire */

.tg-contact-form-wrapper h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.tg-contact-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.tg-contact-form {
  background: var(--bg-elevated);
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid rgba(11, 117, 209, 0.4);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.85);
}

.tg-field-group {
  margin-bottom: 0.9rem;
}

.tg-field-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.tg-field-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.tg-contact-form input,
.tg-contact-form select,
.tg-contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 14, 0.95);
  color: var(--text-color);
  font-size: 0.92rem;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.tg-contact-form input::placeholder,
.tg-contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.tg-contact-form input:focus,
.tg-contact-form select:focus,
.tg-contact-form textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 1px rgba(11, 117, 209, 0.6);
  background: rgba(10, 10, 14, 1);
}

/* Carte illustration à la place du formulaire */
.tg-contact-illustration-card {
  background: var(--bg-elevated);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(11, 117, 209, 0.4);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-contact-illustration-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: contain;
}

/* Checkbox consentement */

.tg-field-group-inline {
  display: flex;
  align-items: flex-start;
}

.tg-checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.tg-checkbox input {
  margin-top: 0.1rem;
}

/* Bouton */

.tg-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: radial-gradient(circle at top left,
              rgba(11, 117, 209, 0.9),
              rgba(0, 50, 110, 1));
  color: #ffffff;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.8),
    0 0 18px rgba(11, 117, 209, 0.8);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.tg-btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(11, 117, 209, 1);
}

.tg-btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
}

.tg-form-hint {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Section "Avant de nous écrire" + emplacement */

.tg-contact-extra {
  margin-top: 0.5rem;
}

.tg-contact-extra-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.tg-contact-extra-block {
  background: var(--bg-elevated);
  border-radius: 16px;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(11, 117, 209, 0.25);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.8);
}

.tg-contact-extra-block h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.tg-contact-extra-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Checklist */

.tg-checklist {
  list-style: none;
  margin-top: 0.3rem;
}

.tg-checklist li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tg-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: var(--accent-blue);
}

/* Placeholder carte */

.tg-map-placeholder {
  margin-top: 0.7rem;
  border-radius: 14px;
  border: 1px dashed rgba(11, 117, 209, 0.55);
  padding: 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: radial-gradient(circle at top,
              rgba(11, 117, 209, 0.15),
              rgba(5, 6, 8, 0.98));
}

/* FAQ */

.tg-contact-faq {
  margin-top: 1.5rem;
}

.tg-contact-faq-inner {
  background: var(--bg-elevated);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.3rem;
  border: 1px solid rgba(11, 117, 209, 0.3);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.85);
}

.tg-contact-faq-inner h2 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.tg-faq-item {
  border-radius: 12px;
  background: rgba(8, 10, 16, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0.5rem;
  padding: 0.55rem 0.7rem;
}

.tg-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.93rem;
}

.tg-faq-item summary::-webkit-details-marker {
  display: none;
}

.tg-faq-item p {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 900px) {
  .tg-contact-grid {
    grid-template-columns: 1fr;
  }

  .tg-contact-extra-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tg-main-contact {
    padding-inline: 1rem;
  }

  .tg-field-grid-2 {
    grid-template-columns: 1fr;
  }
}

    /* ---------- SECTIONS GÉNÉRIQUES ---------- */

.tg-section {
  padding: 3rem 1.25rem;
}

.tg-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- HERO TÉLÉCHARGEMENTS ---------- */

/* ---------- HERO TÉLÉCHARGEMENTS ---------- */

.tg-downloads-hero {
  /* 1. The gradient creates a dark filter so text remains readable.
     2. The url() loads your image.
     IMPORTANT: Ensure the path '../images/' is correct relative to your CSS file.
  */
  background: 
    linear-gradient(to bottom, rgba(5, 6, 8, 0.85), rgba(5, 6, 8, 0.60)),
    url('../images/back1.jpg');

  /* Ensures the image covers the whole area and stays centered */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  
  border-bottom: 1px solid var(--accent-blue-soft);
  
  /* Optional: Add a slight parallax effect for a "gaming" feel */
  background-attachment: fixed; 
}

.downloads-title {
  font-family: "Bangers", system-ui, sans-serif;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--accent-blue);
  text-shadow:
    0 0 10px rgba(11, 117, 209, 0.9),
    0 0 25px rgba(11, 117, 209, 0.5);
}

.downloads-intro {
  max-width: 720px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.downloads-intro .highlight {
  color: var(--accent-blue);
  font-weight: 600;
}

