/*-----------------------------------*
  #SOBRE.CSS – Estilo da biografia
/*-----------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&family=Forum&display=swap');

:root {
  --gold-crayola: hsl(42, 100%, 70%);
  --quick-silver: hsla(0, 0%, 65%, 1);
  --white: #ffffff;
  --black: #000000;
  --dark-bg: #0f0f0f;
  --font-primary: 'DM Sans', sans-serif;
  --font-secondary: 'Forum', cursive;
  --radius: 8px;
  --transition: 0.3s ease;
}

body {
  background-color: var(--dark-bg);
  color: var(--white);
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section {
  padding: 40px 0;
}

.section-subtitle {
  color: var(--gold-crayola);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 8px;
}

.section-title {
  font-size: 3rem;
  font-family: var(--font-secondary);
  text-align: center;
  margin-bottom: 40px;
  color: var(--white);
}

.card-text {
  font-size: 1.1rem;
  color: var(--quick-silver);
  text-align: justify;
  line-height: 1.9;
  padding: 0 10px;
}

.card-text p {
  margin-bottom: 24px;
}

.text-center {
  text-align: center;
}

/* Foto do artista */
.image-wrapper img.artist-photo {
  width: 280px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

/* Botão */
.btn {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid var(--gold-crayola);
  padding: 12px 30px;
  color: var(--gold-crayola);
  background: transparent;
  border-radius: var(--radius);
  font-weight: bold;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--gold-crayola);
  color: var(--black);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.btn .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--black);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover .text-1 {
  transform: translateY(-120%);
  opacity: 0;
}

.btn:hover .text-2 {
  top: 50%;
  opacity: 1;
}

/* Galeria de imagens */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.gallery-grid img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90vh;
  border-radius: 10px;
}

.modal-caption {
  margin: 15px auto;
  text-align: center;
  color: #ccc;
  font-size: 16px;
  max-width: 80%;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

.modal-close:hover {
  color: var(--gold-crayola);
}

/* Responsivo */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }

  .card-text {
    font-size: 1rem;
    padding: 0 5px;
  }

  .container {
    padding: 40px 15px;
  }

  .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

  .gallery-grid img {
    height: 280px;
  }
}
