@charset "utf-8";

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

.card {
	background:
		linear-gradient(180deg, rgba(206, 238, 255, .30) 0%, rgba(8, 43, 91, .84) 38%, rgba(2, 15, 38, .86) 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(18px, 3vw, 30px);
	box-shadow: var(--shadow-soft);
	animation: fadeIn .6s ease both;
	backdrop-filter: blur(12px);
	position: relative;
}

.card::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(255,255,255,.16), transparent 26%, transparent 74%, rgba(143,232,255,.10)),
		radial-gradient(circle at 18% 0%, rgba(226, 247, 255, .22), transparent 38%),
		radial-gradient(circle at 88% 100%, rgba(27, 132, 226, .18), transparent 42%);
	opacity: .82;
	border-radius: inherit;
}

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

.card--glow {
	box-shadow: var(--shadow-soft), var(--shadow-glow);
}

@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;
}

@media (max-width: 640px) {
	#profil,
	#profil header {
		grid-template-columns: 1fr;
		gap: 16px;
		text-align: center;
	}

	.avatar-glow {
		margin-inline: auto;
	}
}

.avatar {
	width: 220px;
	height: 220px;
	border-radius: 20px;
	object-fit: cover;
	border: 2px solid rgba(225, 247, 255, .58);
	display: block;
}

.avatar-glow {
	border-radius: 24px;
	padding: 4px;
	box-shadow:
		0 0 20px rgba(143, 232, 255, .30),
		0 0 44px rgba(38, 151, 225, .18);
}

.tagline {
	font-size: clamp(.95rem, 1.4vw, 1.05rem);
	margin: 0;
	color: rgba(226, 241, 255, .88);
	max-width: 78ch;
}

/* Youtube */
.note {
	font-size: 1rem;
	color: var(--muted);
}

.sc-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 1px solid rgba(174, 224, 255, .48);
	border-radius: 18px;
	overflow: hidden;
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.22),
		0 18px 45px rgba(0, 8, 28, .42),
		0 0 34px rgba(80, 196, 255, .24);
	background: #020B1C;
}

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

/* Songs */
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: 0.4rem;
}

.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 0.25s ease;
}

.songs-flyer .link-flyer:hover em {
    color: #8FE8FF;
}

.flyer-preview {
    position: absolute;
    top: 50%;
    left: 120%;
    transform: translateY(-85%);
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
	
    background: #020B1C;
    padding: 4px;
    border: 1px solid rgba(174, 224, 255, .42);
    border-radius: 8px;
    box-shadow:
		0 10px 30px rgba(0, 8, 28, .38),
		0 0 24px rgba(143, 232, 255, .18);

    transition: opacity 0.25s ease, visibility 0.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;
}

.social-logo-glow {
  border-radius: 24px;
  padding: 0px;
  box-shadow: 0 0 34px rgba(143, 232, 255, .18);
}

.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;
}

@media (max-width: 640px) {
  .social-network-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .socials {
    justify-content: center;
  }
}
/* 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: 0.95rem;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(174, 224, 255, .38);
	border-radius: 12px;
	background: rgba(2, 13, 34, .58);
	color: var(--text);
	line-height: 1.4;
	resize: vertical;
	transition: all 0.25s ease;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: rgba(226, 241, 255, .56);
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: rgba(143, 232, 255, .78);
	background: rgba(248, 251, 255, .96);
	color: #020B1C;
	box-shadow:
		0 0 0 3px rgba(143, 232, 255, .20),
		0 0 0 18px rgba(42, 151, 222, .16);
}

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