/* ===== RESET GLOBAL ===== */
* { box-sizing: border-box; }

/* ===== GLOBAL & BODY ===== */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #001f3f, #00bfff);
    color: #fff;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Footer en bas */
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ===== HEADER ===== */
header, .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
    width: 100%;
    border-bottom: 1px solid rgba(0,191,255,0.3);
    box-sizing: border-box;
}

header .logo img {
    height: 60px;
    cursor: pointer;
}

header nav, .navbar {
    display: flex;
    gap: 20px;
}

header nav a, .navbar a {
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

header nav a:hover, .navbar a:hover {
    background: rgba(0,191,255,0.3);
    backdrop-filter: blur(12px);
    color: #00bfff;
    box-shadow: 0 0 15px rgba(0,191,255,0.5);
}

/* ===== MAIN ===== */
main {
    flex: 1 0 auto; /* prend tout l'espace restant */
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ===== CONTAINERS ===== */
.container, .day-card, form {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 20px rgba(0,191,255,0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.container:hover, .day-card:hover, form:hover {
    box-shadow: 0 0 30px rgba(0,191,255,0.5);
    transform: translateY(-2px);
}

/* ===== TITRES ===== */
h1, h2 {
    color: #00bfff;
    margin-bottom: 15px;
    text-align: center;
}

/* ===== BUTTONS ===== */
button, .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: rgba(0,191,255,0.3);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover, .btn:hover {
    background: rgba(0,191,255,0.6);
    box-shadow: 0 0 15px rgba(0,191,255,0.5);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
}

.social-links a {
    display: inline-block;
    background: rgba(0,191,255,0.1);
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s ease;
}

.social-links a img {
    height: 40px;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    filter: brightness(0) saturate(100%) invert(66%) sepia(84%) saturate(3000%) hue-rotate(180deg) brightness(100%) contrast(100%);
}

.social-links a:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) saturate(200%) invert(54%) sepia(81%) hue-rotate(174deg);
    box-shadow: 0 0 15px #00bfff, 0 0 25px #00bfff;
}

/* ===== TWITCH IFRAME ===== */
.twitch-container iframe {
    border: 0;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,191,255,0.3);
    width: 100%;
    max-width: 700px;
    height: 400px;
    display: block;
    margin: 0 auto;
}

/* ===== FORMULAIRES ===== */
input, textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,191,255,0.3);
    border-radius: 12px;
    padding: 10px 15px;
    color: #fff;
    font-size: 1em;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

input:focus, textarea:focus {
    border: 1px solid #00bfff;
    box-shadow: 0 0 10px rgba(0,191,255,0.5);
    outline: none;
}

/* ===== FOOTER ===== */
footer, .main-footer {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
    width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0,191,255,0.3);
    color: #e0e0e0;
}

.footer-left a,
.footer-center,
.footer-right {
    color: #00bfff;
    transition: color 0.3s, text-shadow 0.3s;
}

.footer-left a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #00bfff;
}

.footer-left { flex: 1; text-align: left; }
.footer-center { flex: 1; text-align: center; }
.footer-right { flex: 1; text-align: right; }

/* ===== PLANNING (public) ===== */
.planning-title{
  text-align:center;
  color:#00bfff;
  margin-bottom:18px;
  text-shadow:0 0 10px rgba(0,191,255,0.35);
}

/* 3 colonnes x 2 lignes (6 cartes) */
.planning-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  max-width:1100px;
  margin:0 auto 40px auto;
}

.day-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(0,191,255,0.3);
  border-radius:16px;
  padding:16px;
  text-align:center;
  box-shadow:0 0 18px rgba(0,191,255,0.2);
  transition:box-shadow .3s, transform .3s;
}
.day-card:hover{
  box-shadow:0 0 28px rgba(0,191,255,0.45);
  transform: translateY(-2px);
}

.day-title{
  font-size:1.25rem;
  font-weight:700;
  color:#00ffff;
  margin-bottom:10px;
  text-shadow:0 0 6px rgba(0,191,255,0.35);
}

.day-content{
  font-size:1rem;
  color:#fff;
  opacity:.95;
  min-height:84px;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}

.day-content .status{
  display:inline-block;
  margin-top:6px;
  padding:6px 14px;
  border-radius:999px;
  font-weight:700;
  font-size:.9rem;
  letter-spacing:.5px;
  color:#fff;
}
.day-content .status.on{
  background:linear-gradient(90deg,#00bfff,#00ffff);
  box-shadow:0 0 8px #00bfff, 0 0 15px #00ffff;
}
.day-content .status.off{
  background:linear-gradient(90deg,#555,#888);
  box-shadow:0 0 5px #333;
}

/* Responsive (optionnel) */
@media (max-width: 980px){ .planning-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px){ .planning-grid{ grid-template-columns:1fr; } }

/* ===== ABOUT PAGE ===== */
.about-hero {
  padding: 40px 30px;
  text-align: center;
}
.about-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
.about-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #00bfff;
  text-shadow: 0 0 10px rgba(0,191,255,0.35);
}
.about-title span { color: #fff; }
.about-subtitle { opacity: 0.95; }

/* Intro (image + bio) */
.about-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
}
.about-avatar {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,191,255,0.25);
}
.about-intro-right h2 {
  color: #00bfff;
  margin-bottom: 8px;
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.about-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,191,255,0.25);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,191,255,0.20);
  transition: box-shadow .25s, transform .25s;
}
.about-stat-card:hover {
  box-shadow: 0 0 28px rgba(0,191,255,0.45);
  transform: translateY(-2px);
}
.about-stat-number {
  font-size: 1.6rem;
  color: #00e1ff;
  margin-bottom: 6px;
}
.about-stat-label { opacity: 0.9; }

/* ===== ABOUT – Passions (dédup) ===== */
.about-passions { margin-top: 30px; text-align: center; }
.about-passions h2 { margin-bottom: 10px; color: #00bfff; }

.about-passions-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 191, 255, 0.2);
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: bold;
  border: 1px solid rgba(0,191,255,0.25);
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
  transition: transform .25s, box-shadow .25s, background .25s;
}

.about-pill:hover {
  background: rgba(0, 191, 255, 0.4);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

/* Socials */
.about-socials h2 { margin-bottom: 12px; color: #00bfff; text-align: center; }
.about-socials-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.about-social {
  display: inline-flex;
  background: rgba(0,191,255,0.1);
  border-radius: 12px;
  padding: 10px;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.about-social img {
  height: 40px;
  filter: brightness(0) saturate(100%) invert(66%) sepia(84%) saturate(3000%) hue-rotate(180deg) brightness(100%) contrast(100%);
}
.about-social:hover {
  transform: translateY(-2px) scale(1.06);
  background: rgba(0,191,255,0.35);
  box-shadow: 0 0 20px rgba(0,191,255,0.45);
}

/* Message + CTA */
.about-message { text-align: center; }
.about-message h2 { color: #00bfff; margin-bottom: 10px; }
.about-cta {
  margin-top: 14px;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 12px;
  background: rgba(0,191,255,0.28);
  border: 1px solid rgba(0,191,255,0.25);
  transition: .25s;
}
.about-cta:hover {
  background: rgba(0,191,255,0.5);
  box-shadow: 0 0 16px rgba(0,191,255,0.35);
  color: #fff;
}

/* ===== Responsive About ===== */
@media (max-width: 980px){
  .about-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-intro-left { order: -1; }
  .about-avatar { margin: 0 auto; }
  .about-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px){
  .about-stats { grid-template-columns: 1fr; }
}

/* ===== Accessibilité : réduire animations ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================
   MEDIA / RWD – SITE PUBLIC
   (À COLLER EN BAS DE style.css)
========================= */

/* Médias fluides */
img, video { max-width: 100%; height: auto; display: block; }
.twitch-container iframe,
iframe.responsive { width: 100%; height: auto; aspect-ratio: 16/9; border: 0; }

/* ===== Tablette (≤ 992px) ===== */
@media (max-width: 992px) {
  header, .main-header { padding: 12px 24px; }
  .navbar { gap: 12px; flex-wrap: wrap; }
  main { padding: 32px 16px; gap: 24px; }
  .container { padding: 22px; }

  /* Planning : 2 colonnes */
  .planning-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .day-card { padding: 14px; }
}

/* ===== Téléphone (≤ 640px) ===== */
@media (max-width: 640px) {
  /* Header compact */
  header, .main-header { padding: 10px 14px; }
  .navbar { gap: 8px; }
  .navbar a { padding: 6px 10px; border-radius: 6px; }

  /* Contenu */
  main { padding: 20px 12px; gap: 18px; }
  .container { padding: 16px; border-radius: 14px; }

  /* Social icons */
  .social-links { gap: 14px; margin-bottom: 28px; }
  .social-links a img { height: 28px; }

  /* Planning : 1 colonne */
  .planning-grid { grid-template-columns: 1fr; gap: 14px; }
  .day-title { font-size: 1.05rem; }

  /* Footer en pile */
  footer, .main-footer {
    padding: 12px 14px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  /* Formulaires : évite zoom iOS */
  input, textarea, select { font-size: 16px; }
}

/* ===== Très petit (≤ 420px) ===== */
@media (max-width: 420px) {
  .navbar a { font-size: 0.95rem; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.2rem; }
  .btn { width: 100%; }
}
