/* Palette rose uniquement */
:root {
  --rose-pale: #fff6fa;
  --rose-clair: #ffe4ec;
  --rose-medium: #ffb6c9;
  --rose-fonce: #d87093;
  --texte: #663344;
}

/* Base */
body {
  margin: 0;
  font-family: "Trebuchet MS", sans-serif;
  background: var(--rose-pale);
  color: var(--texte);
  display: flex;
  justify-content: center;
  padding: 2rem;
}

/* Conteneur principal */
.container {
  background: var(--rose-clair);
  max-width: 800px;
  width: 100%;
  padding: 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Header */
header {
  text-align: center;
  margin-bottom: 2rem;
}

/* Bannière image collée en haut */
.banner-img {
  margin: -2rem -2rem 0 -2rem;
}

.banner-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem 1rem 0 0;
}

/* Header texte */
.banner h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--rose-fonce);
  text-align: center;
}

.banner p {
  margin: 0.5rem 0 0;
  color: var(--rose-medium);
  font-style: italic;
  text-align: center;
}

/* Navigation full width collée sous la bannière */
nav {
  margin: 0 -2rem 0 -2rem;
  background: var(--rose-medium);
  border-radius: 0 0 1rem 1rem;
  padding: 0.5rem 0;
}

.tabs {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.8rem;
}

.tabs a {
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-weight: bold;
  color: var(--rose-pale);
  transition: background 0.2s, color 0.2s;
}

.tabs a:hover {
  background: var(--rose-fonce);
  color: white;
}

.tabs a.active {
  background: var(--rose-fonce);
  color: white;
}

/* Sections */
h2 {
  color: var(--rose-fonce);
  margin-top: 0;
}

.tab-content {
  display: none;
  margin-top: 1.5rem;
}

.tab-content.active {
  display: block;
}

.container-about {
  background: var(--rose-pale);
  padding: 1rem;
  border-radius: 1rem;
  border: 2px dashed var(--rose-medium);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px solid var(--rose-medium);
  color: var(--rose-fonce);
}

/* Bouton rond du lecteur YouTube */
#music-wrapper {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

#music-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--rose-medium);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

#music-circle:hover {
  background: var(--rose-fonce);
}

/* Info musique juste sous le bouton */
#music-info {
  background: #ffe4ec;
  color: #663344;
  padding: 0.3rem 0.6rem;
  border-radius: 0.6rem;
  margin-top: 0.3rem;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  pointer-events: none;
}

#music-wrapper:hover #music-info {
  opacity: 1;
  transform: translateY(0);
}

/* cacher le lecteur youtube */
#yt-player {
  width: 0;
  height: 0;
  visibility: hidden;
  position: absolute;
}

/* Bouton About Me + pop-up */
#about-circle {
  position: fixed;
  left: 1rem;
  bottom: 220px; /* un peu plus haut que le bouton musique */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--rose-medium);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
}

#about-circle:hover {
  background: var(--rose-fonce);
}

#about-circle img {
  width: 30px;
  height: 30px;
}

/* Pop-up About Me centré */
#about-block {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffe4ec;
  color: #663344;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  max-width: 400px;
  text-align: center;
  z-index: 2000;
}
