/* --- RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- GLOBAL --- */
body {
  font-family: 'Arial', sans-serif !important;
  background: #0d0d0d !important;
  color: #eee !important;
}

/* --- CARBONE BACKGROUND --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('../../assets/img/carbon.jpg') !important;
  background-size: 300px !important;
  opacity: 0.15 !important;
  z-index: -1 !important;
}

/* --- MAIN WRAPPER --- */
.main {
  padding: 30px 25px !important;
}

/* --- HEADER RACING --- */
header {
  position: relative !important;
  background: #000 !important;
  border-bottom: 4px solid #c00 !important;
  padding: 10px 25px !important;
  display: flex !important;
  align-items: center !important;
  gap: 25px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6), inset 0 -2px 0 #999 !important;
  overflow: visible !important;
}

/* Bande rouge racing animée */
header::before {
  content: "";
  position: absolute !important;
  top: 0 !important;
  left: -200px !important;
  width: 200px !important;
  height: 4px !important;
  background: linear-gradient(90deg, #900, #f00, #900) !important;
  animation: speedline 2s linear infinite !important;
}

@keyframes speedline {
  from { left: -200px; }
  to { left: 100%; }
}

/* --- LOGO RACING XXL (x2) --- */
header .logo img {
  height: 160px !important;
  width: auto !important;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.7)) !important;
  position: relative !important;
  top: 20px !important;
  transform: translateY(20px) !important;
  z-index: 2 !important;
}

/* --- MENU --- */
nav ul {
  list-style: none !important;
  display: flex !important;
  gap: 15px !important;
  flex-wrap: wrap !important; /* RESPONSIVE */
}

nav a {
  text-decoration: none !important;
  color: #eee !important;
  font-size: 16px !important;
  font-weight: bold !important;
  letter-spacing: 1px !important;
  padding: 6px 12px !important;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a) !important;
  border: 1px solid #555 !important;
  border-radius: 4px !important;
  box-shadow: inset 0 0 4px #000, 0 0 6px rgba(255,255,255,0.2) !important;
  transition: 0.2s !important;
  white-space: normal !important; /* RESPONSIVE */
}

nav a:hover {
  color: #ff0 !important;
  transform: translateY(-3px) !important;
}

/* --- TITRES GÉNÉRAUX (JAUNE) --- */
h1, h2 {
  color: #ff0 !important;
  margin-bottom: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  border-left: 6px solid #c00 !important;
  padding-left: 10px !important;
}

h3 {
  color: #ff0 !important;
  margin-bottom: 10px !important;
  text-shadow: 0 0 6px rgba(255,255,0,0.6) !important;
}

/* --- TITRES PRESSE (ROUGE) --- */
.press-item h3 {
  color: #c00 !important;
  text-shadow: 0 0 6px rgba(255,0,0,0.6) !important;
}

/* --- TITRES SPONSORS (ROUGE + CONTOUR JAUNE) --- */
.partner-card h3 {
  color: #c00 !important;
  font-weight: bold !important;
  font-size: 24px !important;
  text-shadow:
    -1px -1px 0 #ff0,
     1px -1px 0 #ff0,
    -1px  1px 0 #ff0,
     1px  1px 0 #ff0 !important;
  margin-bottom: 10px !important;
}

/* --- SECTIONS --- */
section {
  margin: 40px 0 !important;
  padding-bottom: 30px !important;
  border-bottom: 2px solid #222 !important;
}

/* --- BOUTONS --- */
.btn {
  display: inline-block !important;
  padding: 10px 15px !important;
  background: #c00 !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  transition: 0.2s !important;
  box-shadow: 0 0 8px rgba(0,0,0,0.6) !important;
}

.btn:hover {
  background: #900 !important;
  transform: scale(1.05) !important;
  box-shadow: 0 0 12px #c00 !important;
}

/* --- YOUTUBE --- */
.videos-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 25px !important;
}

.video-card {
  background: rgba(26,26,26,0.6) !important;
  border: 2px solid #333 !important;
  padding: 15px !important;
  border-radius: 8px !important;
  box-shadow: 0 0 10px rgba(0,0,0,0.6) !important;
  transition: 0.2s !important;
}

.video-card:hover {
  border-color: #ff0 !important;
  box-shadow: 0 0 12px #ff0 !important;
}

.video-card img {
  width: 100% !important;
  border-radius: 6px !important;
  margin-bottom: 10px !important;
}

.video-card a {
  color: #ff0 !important;
  text-decoration: none !important;
  font-weight: bold !important;
}

.video-card a:hover {
  color: #fff !important;
  text-shadow: 0 0 6px #c00 !important;
}

.video-date {
  font-size: 13px !important;
  color: #ccc !important;
}

/* --- FACEBOOK --- */
.fb-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 25px !important;
}

.fb-card {
  background: rgba(26,26,26,0.6) !important;
  border: 2px solid #444 !important;
  padding: 15px !important;
  border-radius: 8px !important;
  box-shadow: 0 0 10px rgba(0,0,0,0.6) !important;
  text-align: center !important;
  transition: 0.2s !important;
}

.fb-card:hover {
  border-color: #ff0 !important;
  box-shadow: 0 0 12px #ff0 !important;
}

.fb-card img {
  width: 100% !important;
  border-radius: 6px !important;
  margin-bottom: 10px !important;
}

.fb-card h3 {
  margin-bottom: 10px !important;
}

.fb-date {
  color: #ccc !important;
  font-size: 13px !important;
  margin-bottom: 10px !important;
}

/* --- PARTENAIRES --- */
.partners-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)) !important;
  gap: 35px !important;
}

.partner-card {
  background: rgba(26,26,26,0.6) !important;
  border: 2px solid #888 !important;
  padding: 25px !important;
  text-align: center !important;
  border-radius: 8px !important;
  box-shadow: 0 0 12px rgba(255,255,255,0.2) !important;
  transition: 0.2s !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

.partner-card:hover {
  border-color: #ff0 !important;
  box-shadow: 0 0 12px #ff0 !important;
}

.partner-card img {
  max-width: 260px !important;
  margin-bottom: 10px !important;
  filter: drop-shadow(0 0 4px rgba(255,255,0,0.3)) !important;
}

/* --- PRESSE --- */
.press-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 25px !important;
}

.press-item {
  background: rgba(26,26,26,0.6) !important;
  border: 2px solid #c00 !important;
  padding: 20px !important;
  border-radius: 8px !important;
  box-shadow: 0 0 12px rgba(255,0,0,0.4) !important;
}

.press-item:hover {
  border-color: #ff0 !important;
  box-shadow: 0 0 12px #ff0 !important;
}

.press-item img {
  width: 100% !important;
  border-radius: 6px !important;
  margin-bottom: 10px !important;
}

.press-item .source {
  color: #ff0 !important;
  font-weight: bold !important;
  margin-bottom: 12px !important;
}

.press-btn {
  margin-top: 8px !important;
}

/* --- CONTACT --- */
.contact-section {
  background: #111 !important;
  padding: 25px !important;
  border-radius: 8px !important;
  border: 2px solid #333 !important;
  box-shadow: 0 0 10px rgba(0,0,0,0.6) !important;
}

.contact-wrapper {
  display: flex !important;
  gap: 25px !important;
  flex-wrap: wrap !important;
}

.contact-left,
.contact-right {
  flex: 1 !important;
  min-width: 280px !important;
}

.contact-left p {
  color: #ccc !important;
  margin-bottom: 10px !important;
}

.contact-right p {
  color: #eee !important;
  margin-bottom: 10px !important;
}

/* --- FOOTER --- */
footer {
  background: #000 !important;
  color: #888 !important;
  text-align: center !important;
  padding: 15px !important;
  margin-top: 40px !important;
  border-top: 2px solid #222 !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {

  /* Header en colonne */
  header {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: center !important;
  }

  /* Menu en colonne */
  nav {
    width: 100% !important;
  }

  nav ul {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  nav a {
    width: 100% !important;
    text-align: center !important;
    padding: 12px !important;
    font-size: 18px !important;
  }

  /* Logo réduit */
  header .logo img {
    height: 120px !important;
    transform: none !important;
  }

  .main {
    padding: 20px 15px !important;
  }
}
/* --- LIENS HYPERTEXTE GLOBAUX (TinyMCE + contenu) --- */
a,
a:visited {
  color: #fff !important;        /* Blanc */
  font-weight: bold !important;  /* Gras */
  text-decoration: underline !important; /* Lisible partout */
  text-underline-offset: 3px !important;
}

a:hover {
  color: #ff0 !important;        /* Jaune au survol */
  text-shadow: 0 0 6px #c00 !important; /* Glow rouge */
  cursor: pointer !important;
}

