@charset "utf-8";

/* Bloc */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px;
}

.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(39, 16, 31, .88), rgba(11, 7, 13, .92));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn .6s ease both;
}

.card--glow {
  box-shadow:
    0 0 0 1px rgba(216, 182, 111, .055),
    0 0 28px rgba(145, 45, 77, .13),
    0 16px 44px rgba(0, 0, 0, .46),
    inset 0 1px 0 rgba(255,255,255,.065);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Profil */
#profil,
#profil header {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
}

#profil > div:last-child,
#profil header > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.avatar {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid rgba(216, 182, 111, .34);
  display: block;
}

.avatar-glow {
  border-radius: 24px;
  padding: 4px;
  background: linear-gradient(145deg, rgba(216, 182, 111, .20), rgba(145, 45, 77, .11));
  box-shadow:
    0 0 24px rgba(145, 45, 77, .19),
    0 12px 30px rgba(0, 0, 0, .36);
}

.tagline {
  font-size: 1rem;
  margin: 0;
  max-width: 78ch;
}

/* Lecteur YouTube */
.note {
  font-size: 1rem;
}

.sc-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border: 1px solid rgba(216, 182, 111, .27);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(145, 45, 77, .18), transparent 34%),
    linear-gradient(145deg, #080509, #160a12 58%, #090509);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, .48),
    0 0 26px rgba(145, 45, 77, .12),
    inset 0 0 38px rgba(0, 0, 0, .34);
}

.sc-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.035);
  box-shadow:
    inset 0 0 0 1px rgba(216, 182, 111, .035),
    inset 0 0 34px rgba(0,0,0,.24);
}

.sc-wrap iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Chansons */
ul {
  margin: 8px 0 0 0;
  padding-left: 1rem;
}

li {
  margin: 6px 0;
}

.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.songs-grid ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0;
}

.songs-grid li {
  margin-bottom: .4rem;
}

.songs-grid li::marker {
  color: var(--accent-warm);
}

.songs-grid em {
  font-style: normal;
}

.songs-flyer .link-flyer {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.songs-flyer .link-flyer em {
  transition: color .25s ease, text-shadow .25s ease;
}

.songs-flyer .link-flyer:hover em {
  color: var(--accent-warm-soft);
  text-shadow: 0 0 12px rgba(145, 45, 77, .32);
}

.flyer-preview {
  position: absolute;
  top: 50%;
  left: 120%;
  transform: translateY(-85%);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #080509;
  padding: 4px;
  border: 1px solid rgba(216, 182, 111, .27);
  border-radius: 8px;
  box-shadow:
    0 14px 34px rgba(0,0,0,.58),
    0 0 24px rgba(145, 45, 77, .14);
  transition: opacity .25s ease, visibility .25s ease;
}

.flyer-preview img {
  width: 240px;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.link-flyer:hover .flyer-preview {
  opacity: 1;
  visibility: visible;
}

/* Réseaux */
.social-network-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-logo {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid var(--border);
  display: block;
  background: #080509;
}

.social-logo-glow {
  border-radius: 24px;
  padding: 0;
  background: linear-gradient(145deg, rgba(216, 182, 111, .10), rgba(145, 45, 77, .12));
  box-shadow:
    0 0 26px rgba(145, 45, 77, .15),
    0 12px 28px rgba(0,0,0,.28);
}

.social-network-content {
  flex: 1;
  min-width: 0;
}

.social-network-content h2 {
  margin-top: 0;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}

/* Contact */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  font-family: inherit;
  font-size: .95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;

  border: 1px solid rgba(216, 199, 208, .26);
  border-radius: 12px;

  background: linear-gradient(
    180deg,
    rgba(66, 23, 41, .58),
    rgba(27, 10, 20, .76)
  );

  color: var(--text);
  caret-color: var(--accent-warm);

  line-height: 1.4;
  resize: vertical;

  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    inset 0 -10px 24px rgba(0, 0, 0, .12);
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(216, 182, 111, .39);
  background:
    linear-gradient(180deg, rgba(75, 25, 46, .64), rgba(31, 11, 23, .78));
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(214, 195, 204, .60);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(241, 231, 236, .65);
  background: linear-gradient(
    180deg,
    rgba(76, 27, 48, .66),
    rgba(31, 11, 23, .82)
  );

  box-shadow:
    0 0 0 3px rgba(216, 199, 208, .08),
    0 0 18px rgba(169, 143, 157, .10),
    inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 -10px 24px rgba(0, 0, 0, .12);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: .5rem;
}

@media (max-width: 640px) {
  .container {
    padding: 14px;
  }

  .card {
    padding: 16px;
    border-radius: 16px;
  }

  #profil,
  #profil header {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .avatar-glow,
  .social-logo-glow {
    margin-inline: auto;
  }

  .social-network-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .socials {
    justify-content: center;
  }

  .flyer-preview {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none;
  }
}
