@charset "UTF-8";

/* =========================================================
   CHUN-FM — Style (SPA + Topbar persistante) — CLEAN
   ========================================================= */

:root{
  --blue:#1c70d8;
  --blue-ink:#0b2b5a;
  --bg:#f4f4f4;
  --card:#ffffff;
  --muted:#4e5f78;
  --shadow:0 2px 10px rgba(0,0,0,.12);
  --radius:12px;

  --topbar-h:92px;      /* hauteur topbar */
  --hero-y:58%;         /* ajuste le cadrage du lac (0%=haut, 100%=bas) */
}

*{ box-sizing:border-box; }

html, body{ height:100%; }

body{
  margin:0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color:#333;
}

a{ color: var(--blue); }

img{ max-width:100%; height:auto; display:block; }

/* ========================== TOPBAR =========================== */

.topbar{
  position: fixed;
  top:0; left:0; right:0;
  height: var(--topbar-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 20px;

  /* Important: évite de “voir à travers” le hero */
  background: rgba(255,255,255,.96);

  z-index:1000;
  transition: background .25s ease, box-shadow .25s ease;
}

.topbar.scrolled{
  background:#fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

.topbar-left, .topbar-center, .topbar-right{
  flex:1;
  display:flex;
  align-items:center;
}

.topbar-left{ gap:10px; }

.topbar-center{
  justify-content:center;
  flex-direction:column;
  gap:6px;
}

.topbar-center span,
.topbar-center-title{
  font-size: 13px;
  color:#222;
}

.audio-player{ width:min(420px, 90%); }

.topbar-right{
  justify-content:flex-end;
  gap:18px;
}

.menu a{
  margin-left: 18px;
  text-decoration:none;
  color: var(--blue);
  font-weight: bold;
  font-size: 16px;
}
.menu a.active{ text-decoration: underline; }

.clock-display{
  font-size: 16px;
  font-weight: bold;
  color: var(--blue);
}

.mini-logo{
  height: 40px;
  width:auto;
  opacity:0;
  visibility:hidden;
  transform: translateX(-12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.topbar.scrolled .mini-logo{
  opacity:1;
  visibility:visible;
  transform: translateX(0);
}

.zone-country-text{
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .2px;
  color: var(--blue);
  white-space: nowrap;
  line-height: 1;
  transform: translateY(-2px);
}


.onair-text{
  font-size: 13px;
  color:#444;
  font-weight:500;
}

/* ========================== APP =========================== */

.app{
  padding-top: var(--topbar-h);
  min-height: calc(100vh - var(--topbar-h));
}

.footer-bar{
  text-align:center;
  padding: 16px 0;
  color:#666;
}


/* ========================== ACCUEIL / HERO ========================== */

:root{
  /* Ajuste ça pour “descendre” ou “monter” ce qu’on voit du lac */
  --hero-y: 40%; /* ex: 52% (plus haut) / 65% (plus bas) */
}

.page-accueil{
  position: relative;
  background:#fff;
}

.hero-lac{
  height: 420px;
  position: relative;

  /* IMPORTANT : doit être À L’INTÉRIEUR de .hero-lac */
  background: url("/assets/img/lac-kiwanis.jpg") center var(--hero-y) / cover no-repeat;

  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-end;
  padding-top: 80px;
  padding-right: 80px;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
  overflow:hidden;
}

.hero-lac::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(0,0,0,.18), rgba(0,0,0,.05));
}

.hero-lac > *{
  position: relative;
  z-index: 1;
}

/* Logo 20 ans dans le lac */
.logo-chun{
  width: 240px;
  position: absolute;
  top: 20px;
  left: 40px;
  z-index: 5;
}


.titre-hero{ font-size: 2.6rem; margin:0; }
.sous-titre-hero{
  font-weight:bold;
  font-size: 2.6rem;
  margin-top: -10px;
  margin-bottom: 40px;
  text-align:center;
}

/* MÉTÉO */
.meteo-container{
  width: min(1100px, calc(100% - 40px));
  margin: -18px auto 18px;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  border-bottom: 3px solid rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
  box-shadow: var(--shadow);

  position: relative;
  z-index: 6; /* au-dessus du bas du hero */
}

.meteo-temp{
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  min-width: 90px;
  text-align:right;
}

.meteo-info{
  display:flex;
  flex-direction:column;
  gap:2px;
  text-align:left;
}
.meteo-ville{ font-weight: 900; }
.meteo-desc, .meteo-ressenti{ font-weight: 700; opacity:.95; }

/* TITRES / INTRO */
.section-title{
  font-size: 2.2rem;
  margin: 14px 0 10px;
  text-align: center;
  color: var(--blue);
}

.intro-text{
  margin: 0 auto 14px;
  max-width: 1100px;
  padding: 0 20px;
  color: #444;
  line-height: 1.5;
}

/* =========================
   PUB SLIDER (fade) — liens cliquables
   ========================= */

.pub-slider{
  width: min(1100px, calc(100% - 40px));
  margin: 10px auto 22px;
  height: 110px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.pub-slide{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition: opacity .6s ease;

  /* important maintenant que .pub-slide est un <a> */
  text-decoration: none;
  color: inherit;
  cursor: pointer;

  /* évite qu'un lien invisible capte le clic */
  pointer-events: none;
}

/* Slide visible + cliquable */
.pub-slide.active{
  opacity: 1;
  pointer-events: auto;
}

.pub-slide:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 12px;
}

.pub-slide img{
  max-height: 70px;
  max-width: 92%;
  width:auto;
  height:auto;
  object-fit: contain;
}


/* ENTREVUES */
.entrevues-section{
  max-width: 1100px;
  margin: 0 auto 30px;
  padding: 0 20px 30px;
  border-top: 1px solid rgba(0,0,0,.12);
}

.ent-container{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.ent-card{
  background: #fff;
  border-radius: var(--radius);
  padding: 15px;
  box-shadow: var(--shadow);
  text-align:center;
}
.ent-card strong{ display:block; margin-bottom: 8px; }
.ent-card audio{ width: 100%; margin-top: 10px; }

/* =================== ACCUEIL : CARTES ÉMISSIONS =================== */

.shows-section{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto 50px;
  padding: 10px 0 30px;
}

.show-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.show-card{
  background:#fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height: 320px;
}

/* stable & pro : pas d’étirement */
.show-photo{
  width:100%;
  height: 190px;
  object-fit: cover;
  object-position: center 20%;
  background:#eef3fb;
}

.show-photo.contain{
  object-fit: contain;
  padding: 14px;
  background:#fff;
  height: 210px;
}

.show-title{
  margin: 12px 14px 6px;
  font-size: 18px;
  font-weight: 900;
  text-align:center;
}

.show-host{
  text-align:center;
  font-weight: 800;
  color: var(--blue);
  margin: 0 14px 10px;
}

.show-desc{
  margin: 0 14px 16px;
  color:#444;
  line-height: 1.45;
  text-align:center;
}

.show-sponsor{
  display:block;
  width: fit-content;
  margin: 0 auto 10px;
}

/* Ajustements cadrage si une photo coupe mal */
.show-photo.pos-top{ object-position: center top; }
.show-photo.pos-center{ object-position: center center; }
.show-photo.pos-low{ object-position: center 40%; }
.show-photo.pos-face{ object-position: center 18%; }

/* =================== EN ONDE (SIMIAN) =================== */

.page-enonde{ padding-top: 20px; }

.song-list{
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 28px;
}

.song-card{
  background:#fff;
  padding:12px 16px;
  border-radius:var(--radius);
  margin:10px auto;
  max-width: 680px;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
  text-align:left;
}

.song-time{ font-size:12px; font-weight:800; color: var(--blue); }
.song-title{ margin-top:4px; font-weight:900; }
.song-artist, .song-extra{ margin-top:2px; color: var(--muted); font-weight:700; }

.song-loading, .song-empty{
  text-align:center;
  color: var(--muted);
  padding: 10px 0;
  font-weight:700;
}

.song-section{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto 18px;
}


/* =================== PAGES GENERIQUES =================== */

.page-wrap{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  margin: 12px 0;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.badge{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(28,112,216,.10);
  border: 1px solid rgba(28,112,216,.25);
  color: var(--blue-ink);
  font-weight: 800;
  font-size: 12px;
}

/* =================== ANIMATEURS (cartes) =================== */

.anim-wrapper{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.anim-card{
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.anim-photo{
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 20%;
  background: #f0f3f8;
}

.anim-card h3{
  margin: 14px 16px 6px;
  font-size: 18px;
  color: var(--blue-ink);
}

.anim-role{
  margin: 0 16px 12px;
  color: var(--muted);
  font-weight: 700;
}

.anim-show-block{
  margin: 10px 16px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(28,112,216,.06);
  border: 1px solid rgba(28,112,216,.18);
}

.anim-show-block h4{
  margin: 0 0 6px;
  color: var(--blue-ink);
  font-size: 14px;
}

.anim-show-block p{
  margin: 0;
  color: #334155;
  line-height: 1.45;
}

.anim-card a{
  font-weight: 800;
  text-decoration: none;
}
.anim-card a:hover{ text-decoration: underline; }

/* helpers cadrage animateurs */
.anim-photo.pos-top{ object-position: center 8%; }
.anim-photo.pos-center{ object-position: center center; }
.anim-photo.pos-low{ object-position: center 35%; }
.anim-photo.pos-face{ object-position: center 20%; }

.anim-show-logo{
  width: 100%;
  max-height: 110px;
  object-fit: contain;
  display: block;
  margin: 10px auto 8px;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  border: 1px solid rgba(0,0,0,.08);
}

.anim-badge{ margin: 6px 0 10px; }

/* ========================== RESPONSIVE =========================== */

@media (max-width: 1100px){
  .show-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px){
  :root{ --hero-y: 62%; } /* petit ajustement mobile */

  .logo-chun{ left: 20px; width: 200px; top: 95px; }
  .hero-lac{ padding-right: 20px; }

  .ent-container{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .anim-wrapper{ grid-template-columns: 1fr; }

  .menu a{ margin-left: 12px; font-size: 15px; }
  .zone-country-text{ font-size: 22px; }
}


/* ===== Horaire (table) ===== */
#app[data-page="horaire"] .schedule-wrap{
  overflow:auto;              /* scroll horizontal si écran petit */
  border-radius: 14px;
  box-shadow: var(--shadow);
  background:#fff;
}

#app[data-page="horaire"] .schedule-table{
  width:100%;
  border-collapse: collapse;
  min-width: 980px;           /* garde le tableau lisible */
  font-size: 16px;
}

#app[data-page="horaire"] .schedule-table thead th{
  background: var(--blue);
  color:#fff;
  padding: 10px;
  position: sticky;
  top: 0;                     /* reste visible quand tu scroll dans le tableau */
}

#app[data-page="horaire"] .schedule-table td{
  padding: 10px;
  border-top: 1px solid rgba(0,0,0,.08);
  vertical-align: top;
}

/* =========================
   HUSKIES (page) — FINAL CLEAN
   ========================= */

#app[data-page="huskies"]{
  --huskies-bg-x: 50%;
  --huskies-bg-y: 50%;

  background: url("/assets/img/Fond%20Huskies%20Glace.jpg") var(--huskies-bg-x) var(--huskies-bg-y) / cover no-repeat;
  min-height: calc(100vh - var(--topbar-h));
  position: relative;
}

/* léger voile (lisibilité sans tuer la glace) */
#app[data-page="huskies"]::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.05);
  pointer-events:none;
  z-index:0;
}

#app[data-page="huskies"] .huskies-wrap{
  position:relative;
  z-index:1;
  max-width:1100px;
  margin:0 auto;
  padding: 18px 16px 28px;
  min-height: calc(100vh - var(--topbar-h));
}

/* IMPORTANT : on neutralise les liens “nus” (fini la ligne bleue) */
#app[data-page="huskies"] a{
  text-decoration: none;
}

/* Logo CHUN : ancré AU VIEWPORT (donc “plus à droite” vraiment) */
#app[data-page="huskies"] .huskies-top-logo{
  position: fixed;
  top: calc(var(--topbar-h) + 14px);
  right: 14px;

  width: 170px;      /* <- taille (change ici) */
  height: auto;

  z-index: 2000;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}

/* Mobile : logo Huskies désactivé */
@media (max-width: 980px){
  #app[data-page="huskies"] .huskies-top-logo{
    display: none !important;
  }
}

/* Quickbar */
#app[data-page="huskies"] .huskies-quickbar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;

  /* on laisse de l’air pour éviter que les boutons passent sous le logo */
  padding: 10px 190px 10px 12px;

  border-radius: 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}

@media (max-width: 980px){
  #app[data-page="huskies"] .huskies-quickbar{
    padding-right: 12px; /* sur mobile le logo est masqué */
  }
}

#app[data-page="huskies"] .huskies-pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;

  font-weight: 800;
  font-size: 14px;

  background: rgba(255,255,255,.88);
  color: var(--blue-ink);
}
#app[data-page="huskies"] .huskies-pill:hover{ transform: translateY(-1px); }

/* Head */
#app[data-page="huskies"] .huskies-head{
  margin-top:14px;
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.30);
  backdrop-filter: blur(6px);
  color: var(--blue-ink);
}
#app[data-page="huskies"] .huskies-head h1{ margin:0 0 6px; line-height:1.1; }
#app[data-page="huskies"] .huskies-head p{ margin:0; opacity:.92; }

/* Josyane */
#app[data-page="huskies"] .huskies-bio-card{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 220px 1fr;  /* 260 -> 220 */
  gap: 12px;                         /* 16 -> 12 */

  background: rgba(255,255,255,0.92);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

@media (max-width: 820px){
  #app[data-page="huskies"] .huskies-bio-card{ grid-template-columns: 1fr; }
}

#app[data-page="huskies"] .huskies-bio-photo{
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center 20%;
}

#app[data-page="huskies"] .huskies-bio-body{ padding: 16px; color:#111; }

#app[data-page="huskies"] .huskies-bio-body h3{
  margin:0 0 6px;
  font-size: 22px;
  font-weight: 900;
  color: var(--blue-ink);
}

#app[data-page="huskies"] .huskies-bio-role{
  margin:0 0 12px;
  font-weight: 800;
  color: var(--blue);
}

#app[data-page="huskies"] .huskies-bio-block{
  margin-top: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(28,112,216,.06);
  border: 1px solid rgba(28,112,216,.18);
}

/* Commanditaires (reuse pub-slider global) */
#app[data-page="huskies"] .huskies-pubs{
  margin-top: 12px;
}
#app[data-page="huskies"] .huskies-pubs .pub-slider{
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.35);
  height: 90px;
}
#app[data-page="huskies"] .huskies-pubs .pub-slide{
  text-decoration:none;
}
#app[data-page="huskies"] .huskies-pubs .pub-slide img{
  max-height: 56px;
}

/* Grille cartes */
#app[data-page="huskies"] .huskies-grid{
  margin-top:14px;
  display:grid;
  gap:12px;
  grid-template-columns: repeat(12, 1fr);
}

#app[data-page="huskies"] .huskies-card{
  grid-column: span 6;
  border-radius:16px;
  overflow:hidden;

  background: rgba(255,255,255,.40);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  color: var(--blue-ink);
}
@media (max-width: 900px){
  #app[data-page="huskies"] .huskies-card{ grid-column: span 12; }
}

#app[data-page="huskies"] .huskies-card-link{
  display:grid;
  grid-template-columns: 160px 1fr;
  color:inherit;
  min-height:120px;
}
@media (max-width: 520px){
  #app[data-page="huskies"] .huskies-card-link{ grid-template-columns: 1fr; }
}

#app[data-page="huskies"] .huskies-media{
  width:100%;
  height:100%;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  background: rgba(255,255,255,0.20);
}
#app[data-page="huskies"] .huskies-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  object-position: center center;
}

/* logos dans cartes */
#app[data-page="huskies"] .huskies-media--contain img{
  object-fit: contain;
  padding: 10px;
}

#app[data-page="huskies"] .huskies-card-body{
  padding:12px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
}
#app[data-page="huskies"] .huskies-card-body h3{ margin:0; font-size:1.05rem; line-height:1.2; }
#app[data-page="huskies"] .huskies-card-body p{ margin:0; opacity:.92; font-size:.95rem; }
#app[data-page="huskies"] .huskies-card-action{ margin-top:6px; font-weight:800; opacity:.95; }

/* Bande du haut : ENLEVER le fond (glace visible) */
#app[data-page="huskies"] .huskies-toprow{
  background: transparent !important;
  border: 0 !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* FIX: empêcher le texte de passer sur les images (cartes Huskies) */
#app[data-page="huskies"] .huskies-card-link{
  display: grid !important;
  grid-template-columns: 190px 1fr !important;
  gap: 14px !important;
  align-items: center !important;
}

#app[data-page="huskies"] .huskies-media{
  margin: 0 !important;
  width: 190px !important;
  height: 110px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}

#app[data-page="huskies"] .huskies-media img{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
}

#app[data-page="huskies"] .huskies-media--contain img{
  object-fit: contain !important;
  padding: 10px !important;
}

@media (max-width: 520px){
  #app[data-page="huskies"] .huskies-card-link{
    grid-template-columns: 1fr !important;
  }
  #app[data-page="huskies"] .huskies-media{
    width: 100% !important;
    height: 180px !important;
  }
}

/* =========================
   CONTACT (page) — CLEAN
   ========================= */

#app[data-page="contact"]{
  background: var(--bg);
}

/* Formulaire en haut */
#app[data-page="contact"] .contact-form-card{
  margin-top: 10px;
}

/* Grille 3 colonnes */
#app[data-page="contact"] .contact-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
  align-items: start;
}

@media (max-width: 980px){
  #app[data-page="contact"] .contact-grid{ grid-template-columns: 1fr; }
}

/* Titres */
#app[data-page="contact"] .contact-card h3,
#app[data-page="contact"] .contact-form-card h3,
#app[data-page="contact"] .audience-card h3{
  margin: 0 0 10px;
  color: var(--blue-ink);
  font-size: 18px;
}

/* Liste infos */
#app[data-page="contact"] .contact-list{
  list-style:none;
  padding:0;
  margin:0;
}
#app[data-page="contact"] .contact-list li{
  margin: 8px 0;
  font-weight: 700;
  color:#334155;
}
#app[data-page="contact"] .contact-list a{
  font-weight: 900;
  text-decoration:none;
}
#app[data-page="contact"] .contact-list a:hover{ text-decoration: underline; }

/* Bloc ventes */
#app[data-page="contact"] .sales-card{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
#app[data-page="contact"] .sales-photo{
  width: 96px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
#app[data-page="contact"] .sales-name{
  font-weight: 900;
  font-size: 16px;
  line-height: 1.1;
}
#app[data-page="contact"] .sales-role{
  font-weight: 800;
  color: var(--blue);
  margin-top: 2px;
}
#app[data-page="contact"] .sales-lines{
  margin-top: 8px;
  display:flex;
  flex-direction:column;
  gap: 4px;
  color:#334155;
  font-weight: 700;
}
#app[data-page="contact"] .sales-lines a{
  text-decoration:none;
  font-weight: 900;
  color: var(--blue-ink);
}
#app[data-page="contact"] .sales-lines a:hover{ text-decoration: underline; }

#app[data-page="contact"] .sales-note{
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

/* Équipe */
#app[data-page="contact"] .team-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
#app[data-page="contact"] .team-list li strong{
  display:block;
  font-weight: 900;
  color:#111;
}
#app[data-page="contact"] .team-list li span{
  display:block;
  font-weight: 700;
  color: var(--muted);
}

/* Formulaire */
#app[data-page="contact"] .contact-form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items:end;
}

@media (max-width: 980px){
  #app[data-page="contact"] .contact-form{
    grid-template-columns: 1fr;
  }
}

#app[data-page="contact"] .contact-form label{
  display:flex;
  flex-direction:column;
  gap: 6px;
  font-weight: 800;
  color:#111;
}

#app[data-page="contact"] .contact-form input,
#app[data-page="contact"] .contact-form textarea{
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  outline: none;
  width: 100%;
}

#app[data-page="contact"] .contact-form-message{
  grid-column: 1 / -1;
}

#app[data-page="contact"] .contact-submit{
  justify-self: end;
  padding: 10px 14px;
  border-radius: 12px;
  border: 0;
  background: var(--blue);
  color:#fff;
  font-weight: 900;
  cursor:pointer;
  box-shadow: var(--shadow);
}

@media (max-width: 980px){
  #app[data-page="contact"] .contact-submit{
    justify-self: start;
  }
}

#app[data-page="contact"] .contact-submit:hover{
  transform: translateY(-1px);
}

#app[data-page="contact"] .contact-form-note{
  grid-column: 1 / -1;
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

/* Graphique auditoire (plein largeur + lisible) */
#app[data-page="contact"] .audience-card{
  margin-top: 12px;
}

#app[data-page="contact"] .audience-note{
  margin: 6px 0 14px;
  color: var(--muted);
  font-weight: 700;
}

#app[data-page="contact"] .audience-figure{
  margin: 0;
  display:flex;
  justify-content:center;
}

#app[data-page="contact"] .audience-img{
  width: 100%;
  max-width: 1100px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background:#fff;
  box-shadow: var(--shadow);
}

/* =========================================================
   RESPONSIVE FIX (tablet + mobile) + WP admin bar
   ========================================================= */

/* WordPress admin bar (quand tu es logué) */
body.admin-bar .topbar { top: 32px; }
@media (max-width: 782px){
  body.admin-bar .topbar { top: 46px; }
}

/* Tablet & small desktop */

/* ========================== TABLETTES (10") ========================== */
/* Beaucoup de tablettes 10" sont à 1280px de large (souvent en paysage).
   On applique donc le layout “stack” du topbar avant d’atteindre le breakpoint 980px. */
@media (max-width: 1280px){
  .topbar{
    position: sticky;   /* au lieu de fixed */
    top: 0;
    height: auto;
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .topbar-left{ flex: 0 0 auto; }

  .topbar-center{
    flex: 1 1 100%;
    order: 2;
    justify-content: center;
    text-align: center;
  }

  .topbar-right{
    flex: 1 1 100%;
    order: 3;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Un peu plus compact, évite les collisions logo/titre/player */
  .zone-country-text{
    font-size: 24px;
  }

  /* Player : largeur contrôlée */
  #audioPlayer, .audio-player, audio{
    width: 100%;
    max-width: 620px;
  }
}

@media (max-width: 980px){
  /* Le topbar arrête de flotter au-dessus du contenu */
  .topbar{
    position: sticky;   /* au lieu de fixed */
    top: 0;
    height: auto;
    padding: 10px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Les 3 zones passent en “ligne(s)” proprement */
  .topbar-left{ flex: 0 0 auto; }
  .topbar-center{
    flex: 1 1 100%;
    order: 2;
    justify-content: center;
    text-align: center;
  }
  .topbar-right{
    flex: 1 1 100%;
    order: 3;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Liens plus “tap friendly” */
  .topbar-right a{
    display: inline-block;
    padding: 10px 12px;
  }

  /* Player pleine largeur (évite l’écrasement) */
  #audioPlayer, .audio-player{
    width: 100%;
    max-width: 520px;
  }
}

/* Téléphones (Pixel, etc.) : menu défilable si ça ne rentre pas */
@media (max-width: 480px){
  .topbar-right{
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .topbar-right a{ white-space: nowrap; }
  .topbar-right::-webkit-scrollbar{ display:none; }
}
.ent-date{
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #4e5f78;
}
/* ===================
   EN ONDES — colonnes
   =================== */

.enonde-columns{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.enonde-columns .song-section{
  width: 100%;
  margin: 0;
}

.enonde-columns .song-list{
  width: 100%;
  margin: 0;
}

.small-title{
  font-size: 1.55rem;
  margin-top: 10px;
}

@media (max-width: 820px){
  .enonde-columns{
    grid-template-columns: 1fr;
  }
}
/* =========================
   FOOTER CONTACT
   ========================= */

.site-footer{
  background: #0b2b5a;
  color: #fff;
  padding: 22px 20px;
  margin-top: 30px;
}

.site-footer-inner{
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.site-footer a{
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover{
  text-decoration: underline;
}

@media (max-width: 700px){
  .site-footer-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}
