/* =============================================
   chrysOsyl — Feuille de style principale
   Modifiez librement les couleurs, tailles, etc.
   ============================================= */

/* === VARIABLES DE COULEURS (modifiez ici) === */
:root {
  --or:       #C9A96E;   /* doré accent */
  --or-clair: #E8C98A;   /* doré clair */
  --noir:     #0A0A0A;   /* fond principal */
  --gris-fonce: #141414; /* sections alternées */
  --gris:     #2A2A2A;   /* bordures, cartes */
  --texte:    #E8E4DC;   /* texte principal */
  --texte-doux: #9A9590; /* texte secondaire */
  --blanc:    #FFFFFF;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--noir);
  color: var(--texte);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: var(--or); text-decoration: none; }
a:hover { color: var(--or-clair); }

h1, h2, h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.15;
}

/* === NAVIGATION === */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 4rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.nav-logo {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  color: var(--or);
  letter-spacing: 0.05em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--texte-doux);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--or); }

/* === HERO === */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: 70%;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.55) 50%,
    rgba(10,10,10,0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 2rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 10vw, 7rem);
  color: var(--blanc);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--texte-doux);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-tags span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 50px;
  color: var(--or);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--or);
  font-size: 1.3rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === BOUTONS === */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--or);
  color: var(--noir);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--or-clair);
  color: var(--noir);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border: 1px solid var(--or);
  color: var(--or);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--or);
  color: var(--noir);
}

/* === SECTION COMMUNE === */
section { padding: 7rem 4rem; }

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 0.6rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--blanc);
}

/* === À PROPOS === */
#about {
  background: var(--gris-fonce);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 70%;
  margin: 0 auto;
  border-radius: 2px;
  filter: grayscale(20%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--blanc);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--texte-doux);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.platform-link {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--gris);
  color: var(--texte-doux);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.platform-link:hover {
  border-color: var(--or);
  color: var(--or);
}

/* === ALBUMS === */
#albums {
  background: var(--noir);
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.album-card {
  background: var(--gris-fonce);
  border: 1px solid var(--gris);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.album-card:hover {
  transform: translateY(-6px);
  border-color: var(--or);
}

.album-cover-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.album-card:hover .album-cover { transform: scale(1.05); }

.album-hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.album-card:hover .album-hover { opacity: 1; }

.btn-play {
  padding: 0.7rem 1.6rem;
  background: var(--or);
  color: var(--noir);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 2px;
}
.btn-play:hover { color: var(--noir); background: var(--or-clair); }

.album-info {
  padding: 1.4rem;
}

.album-info h3 {
  font-size: 1.3rem;
  color: var(--blanc);
  margin-bottom: 0.2rem;
}

.album-year {
  font-size: 0.75rem;
  color: var(--or);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.album-desc {
  font-size: 0.88rem;
  color: var(--texte-doux);
  margin-bottom: 1rem;
}

.album-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  font-size: 0.7rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--gris);
  color: var(--texte-doux);
  border-radius: 50px;
  transition: border-color 0.2s, color 0.2s;
}
.pill:hover { border-color: var(--or); color: var(--or); }

/* === CLIPS === */
#clips {
  background: var(--gris-fonce);
}

.clips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.clip-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.clip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.clip-item:hover img { transform: scale(1.06); }

.clip-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.clip-item:hover .clip-overlay { opacity: 1; }

.clip-overlay span {
  font-size: 3rem;
  color: var(--or);
  text-shadow: 0 0 20px rgba(201,169,110,0.6);
}

/* === CONTACT === */
#contact {
  background: var(--noir);
  text-align: center;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blanc);
  margin-bottom: 1rem;
}

.contact-sub {
  color: var(--texte-doux);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.social-row {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  color: var(--texte-doux);
}
.social-row a { color: var(--texte-doux); }
.social-row a:hover { color: var(--or); }

/* === FOOTER === */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--gris);
  font-size: 0.8rem;
  color: var(--texte-doux);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  section { padding: 5rem 2rem; }
  #navbar { padding: 1rem 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .albums-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 1.5rem; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .albums-grid { grid-template-columns: 1fr; }
  .clips-grid { grid-template-columns: 1fr; }
}

/* === ANIMATIONS AU SCROLL === */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Délai progressif pour les cartes */
.album-card:nth-child(2).animate { transition-delay: 0.15s; }
.album-card:nth-child(3).animate { transition-delay: 0.3s; }
.clip-item:nth-child(2).animate  { transition-delay: 0.1s; }
.clip-item:nth-child(3).animate  { transition-delay: 0.2s; }
.clip-item:nth-child(4).animate  { transition-delay: 0.3s; }

/* === TIKTOK BANNER === */
.tiktok-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  background: rgba(201,169,110,0.07);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 4px;
  padding: 1rem 2rem;
  margin: 0 auto 3rem auto;
  max-width: 600px;
  color: var(--texte-doux);
  font-size: 0.95rem;
}

.tiktok-btn {
  padding: 0.5rem 1.3rem;
  background: var(--or);
  color: var(--noir);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s;
}
.tiktok-btn:hover { background: var(--or-clair); color: var(--noir); }

/* === IFRAMES YOUTUBE === */
.clip-item iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* === TIKTOK BOUTON BAS === */
.tiktok-bottom {
  text-align: center;
  margin-top: 3rem;
}

.tiktok-big-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #010101 0%, #1a1a2e 100%);
  border: 2px solid var(--or);
  color: var(--or);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 0 20px rgba(201,169,110,0.15);
}
.tiktok-big-btn:hover {
  background: var(--or);
  color: var(--noir);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,169,110,0.35);
}

/* === HERO BOTTOM (boutons en bas) === */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 2rem;
  margin-top: -18rem;
}

.hero-bottom {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* === FORMULAIRE CONTACT === */
.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
  margin: 2rem auto;
  text-align: left;
}

.form-wrap input,
.form-wrap textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--gris);
  border-radius: 2px;
  padding: 0.85rem 1.1rem;
  color: var(--texte);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-wrap input:focus,
.form-wrap textarea:focus {
  border-color: var(--or);
}

.form-wrap textarea { resize: vertical; }

.form-wrap .btn-primary { width: 100%; cursor: pointer; border: none; font-size: 0.9rem; }

.form-success {
  background: rgba(201,169,110,0.1);
  border: 1px solid var(--or);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  color: var(--or);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 520px;
  margin: 2rem auto;
  text-align: center;
}

/* === FOOTER 3 COLONNES === */
footer {
  background: #080808;
  border-top: 1px solid var(--gris);
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.footer-col {
  text-align: left;
}

.footer-col h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.2rem;
  padding-left: 0.8rem;
  border-left: 2px solid var(--or);
}

.footer-col p {
  font-size: 0.85rem;
  color: var(--texte-doux);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-col a {
  color: var(--texte-doux);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--or); }

.footer-docs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.footer-docs .pill {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
}

.footer-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
.footer-socials a {
  color: var(--texte-doux);
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--or); }

.footer-sites {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-sites a {
  font-size: 0.8rem;
  color: var(--texte-doux);
}
.footer-sites a:hover { color: var(--or); }

.footer-bottom {
  border-top: 1px solid var(--gris);
  text-align: center;
  padding: 1.2rem;
  font-size: 0.78rem;
  color: var(--texte-doux);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* === CANVAS PARTICULES === */
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* === LOGO IMAGE === */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* === CONTACT LAYOUT 2 COLONNES === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin: 2rem auto 0;
  max-width: 900px;
  text-align: left;
}

.contact-photo img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  border: 1px solid var(--gris);
}

.contact-form-side .form-wrap {
  margin: 0;
  max-width: 100%;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* === SPOTIFY CARD === */
.spotify-card {
  min-height: 380px;
  padding: 0 !important;
  overflow: hidden;
}
.spotify-card iframe {
  display: block;
  min-height: 380px;
}

/* === ALBUM BADGE PROCHAINEMENT === */
.album-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--noir);
  background: var(--or);
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(201,169,110,0); }
}

.btn-play.soon {
  padding: 0.7rem 1.2rem;
  background: rgba(201,169,110,0.15);
  color: var(--or);
  border: 1px solid var(--or);
  font-size: 0.8rem;
  border-radius: 2px;
  cursor: default;
}

/* === CLIPS 3 COLONNES === */
.clips-grid-3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

.clips-promo {
  text-align: center;
  margin: 2.5rem auto 0;
  max-width: 700px;
  font-size: 0.95rem;
  color: var(--texte-doux);
  background: rgba(201,169,110,0.07);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 4px;
  padding: 1rem 2rem;
  line-height: 1.7;
}
.clips-promo a { color: var(--or); }

/* === COMPTEUR ANIMÉ === */
#compteur {
  background: var(--noir);
  padding: 4rem 2rem;
  border-top: 1px solid var(--gris);
  border-bottom: 1px solid var(--gris);
}

.compteur-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.compteur-item {
  padding: 1.5rem 1rem;
}

.compteur-nb {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--or);
  line-height: 1;
}

.compteur-unit {
  font-size: 1.1rem;
  color: var(--or-clair);
  font-weight: 600;
  margin-left: 0.2rem;
}

.compteur-label {
  font-size: 0.8rem;
  color: var(--texte-doux);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .compteur-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === CURSEUR DORÉ === */
* { cursor: none !important; }

#cursor-gold {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--or);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px rgba(201,169,110,0.6);
}

#cursor-gold.hover {
  width: 22px;
  height: 22px;
  background: transparent;
  border: 2px solid var(--or);
  box-shadow: 0 0 14px rgba(201,169,110,0.5);
}

#cursor-gold.click {
  width: 8px;
  height: 8px;
  background: var(--or-clair);
}
